mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
126 lines
2.3 KiB
SCSS
126 lines
2.3 KiB
SCSS
@use '../styles/mat-selectors' as ms;
|
|
|
|
.aca-rule-details {
|
|
.aca-rule-details__form__triggers {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.aca-rule-details__name__label {
|
|
padding-top: 1.5em;
|
|
}
|
|
|
|
.aca-rule-details__form__others {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
&__form {
|
|
position: relative;
|
|
|
|
& > div {
|
|
padding: 0 20px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
&.aca-rule-details__form__description {
|
|
padding-top: 0;
|
|
border: none;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
&__row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
|
|
& > label,
|
|
& > .aca-label {
|
|
font-weight: bold;
|
|
color: var(--adf-theme-foreground-text-color);
|
|
width: 20%;
|
|
min-width: 100px;
|
|
max-width: 150px;
|
|
padding: 0.5em 0;
|
|
}
|
|
|
|
& > div {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
&__field {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
font-size: inherit;
|
|
|
|
label[for='rule-details-name-input'] {
|
|
transform: translateY(-20%) scale(1);
|
|
}
|
|
|
|
&__textarea {
|
|
min-height: 4em;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:not(:nth-child(1)) {
|
|
border-top: 1px solid var(--theme-border-color);
|
|
}
|
|
|
|
&__conditions {
|
|
width: 100%;
|
|
margin: 14px 0 36px;
|
|
|
|
& > .aca-rule-details-error {
|
|
margin-left: 16px;
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.aca-rule-details-error {
|
|
font-size: 75%;
|
|
height: 1em;
|
|
}
|
|
|
|
&__actions {
|
|
.aca-rule-action-list {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
&.aca-read-only,
|
|
#{ms.$mat-form-field-disabled} {
|
|
#{ms.$mat-notched-outline-leading},
|
|
#{ms.$mat-notched-outline-trailing},
|
|
#{ms.$mat-notched-outline-notch} {
|
|
border: none;
|
|
}
|
|
|
|
#{ms.$mat-line-ripple} {
|
|
&::before,
|
|
&::after {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
*:disabled,
|
|
#{ms.$mat-select-disabled} #{ms.$mat-select-value} {
|
|
color: inherit;
|
|
}
|
|
|
|
#{ms.$mat-select-arrow-wrapper} {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.aca-rule-details__form__row #{ms.$mat-form-field-flex} #{ms.$mat-form-field-infix} {
|
|
padding-bottom: 0.375em;
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.aca-rule-details__form__row aca-rule-action #{ms.$mat-form-field-flex} #{ms.$mat-form-field-infix} {
|
|
padding-top: 0.1em;
|
|
padding-bottom: 0.1em;
|
|
}
|
|
}
|
|
}
|