AAE-34493 Improved internal mat-selectors (#10829)

This commit is contained in:
Denys Vuika
2025-04-28 11:17:36 -04:00
committed by GitHub
parent dc35ef8a6f
commit b1113c51a7
104 changed files with 1131 additions and 544 deletions

View File

@@ -1,9 +1,9 @@
@import 'styles/mat-selectors'; @use '../mat-selectors.scss' as ms;
adf-aspect-list-dialog { adf-aspect-list-dialog {
display: block; display: block;
#{$mat-expansion-panel-body} { #{ms.$mat-expansion-panel-body} {
margin-top: -2px; margin-top: -2px;
} }
} }
@@ -35,7 +35,7 @@ adf-aspect-list-dialog {
padding-right: 4px; padding-right: 4px;
padding-top: 0; padding-top: 0;
#{$mat-dialog-content} { #{ms.$mat-dialog-content} {
padding: 0; padding: 0;
} }

View File

@@ -1,4 +1,5 @@
@import 'styles/mat-selectors'; @use '../mat-selectors.scss' as ms;
$dialog-title-height: 100px; $dialog-title-height: 100px;
$dialog-information-height: 44px; $dialog-information-height: 44px;
$dialog-buttons-height: 68px; $dialog-buttons-height: 68px;
@@ -49,7 +50,7 @@ $dialog-list-height: calc(65vh - ($dialog-title-height + $dialog-information-hei
box-shadow: none; box-shadow: none;
background: border-box; background: border-box;
#{$mat-checkbox-background} { #{ms.$mat-checkbox-background} {
height: 16px; height: 16px;
width: 16px; width: 16px;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../mat-selectors.scss' as ms;
$dropdown-horizontal-offset: 30px; $dropdown-horizontal-offset: 30px;
@@ -98,6 +98,6 @@ $dropdown-horizontal-offset: 30px;
} }
} }
#{$cdk-overlay-pane}:has(>.adf-breadcrumb-dropdown-panel){ #{ms.$cdk-overlay-pane}:has(> .adf-breadcrumb-dropdown-panel) {
min-width: fit-content; min-width: fit-content;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors.scss' as ms;
.adf-categories-management { .adf-categories-management {
.adf-category-name-field { .adf-category-name-field {
@@ -20,7 +20,7 @@
box-sizing: content-box; box-sizing: content-box;
} }
#{$mat-form-field-error} { #{ms.$mat-form-field-error} {
padding-top: 5px; padding-top: 5px;
} }
} }
@@ -56,7 +56,7 @@
background-color: inherit; background-color: inherit;
color: inherit; color: inherit;
&:not(#{$mat-list-item-disabled}):hover { &:not(#{ms.$mat-list-item-disabled}):hover {
cursor: pointer; cursor: pointer;
background: var(--adf-theme-mat-grey-color-a200); background: var(--adf-theme-mat-grey-color-a200);
} }
@@ -86,7 +86,7 @@
overflow-wrap: anywhere; overflow-wrap: anywhere;
} }
#{$mat-list-item-disabled} #{$mat-list-item-primary-text} { #{ms.$mat-list-item-disabled} #{ms.$mat-list-item-primary-text} {
opacity: 1; opacity: 1;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
$panel-properties-height: 56px !default; $panel-properties-height: 56px !default;
@@ -11,11 +11,11 @@ $panel-properties-height: 56px !default;
margin: 12px; margin: 12px;
adf-card-view-textitem { adf-card-view-textitem {
#{$mat-form-field-subscript-wrapper} { #{ms.$mat-form-field-subscript-wrapper} {
display: none; display: none;
} }
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-bottom: 0; padding-bottom: 0;
} }
} }
@@ -47,7 +47,7 @@ $panel-properties-height: 56px !default;
} }
} }
#{$mat-expansion-panel-body} { #{ms.$mat-expansion-panel-body} {
padding-top: 16px; padding-top: 16px;
input { input {
@@ -64,7 +64,7 @@ $panel-properties-height: 56px !default;
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
} }
#{$mat-chip} { #{ms.$mat-chip} {
&.metadata-properties-tag-chip { &.metadata-properties-tag-chip {
// TODO: bug open https://github.com/angular/components/issues/26584 // TODO: bug open https://github.com/angular/components/issues/26584
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors.scss' as ms;
/* stylelint-disable no-descending-specificity */ /* stylelint-disable no-descending-specificity */
$content-node-selector-thumbnail-width: 35px !default; $content-node-selector-thumbnail-width: 35px !default;
@@ -15,8 +15,8 @@ h2.adf-search-results-label {
color: var(--adf-theme-foreground-text-color-087); color: var(--adf-theme-foreground-text-color-087);
} }
#{$mdc-dialog} { #{ms.$mdc-dialog} {
#{$mat-dialog-surface}:is(div) { #{ms.$mat-dialog-surface}:is(div) {
padding-bottom: 0; padding-bottom: 0;
} }
} }
@@ -41,17 +41,17 @@ h2.adf-search-results-label {
} }
&-content { &-content {
#{$mat-input-element} { #{ms.$mat-input-element} {
&:focus::placeholder { &:focus::placeholder {
color: var(--theme-primary-color); color: var(--theme-primary-color);
} }
} }
#{$mat-form-field-wrapper} { #{ms.$mat-form-field-wrapper} {
#{$mat-form-field-flex} { #{ms.$mat-form-field-flex} {
align-items: center; align-items: center;
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-bottom: 0; padding-bottom: 0;
} }
} }
@@ -59,13 +59,13 @@ h2.adf-search-results-label {
.adf-sites-dropdown-form-field { .adf-sites-dropdown-form-field {
label { label {
&#{$mat-form-field-label} { &#{ms.$mat-form-field-label} {
top: 32px; top: 32px;
} }
} }
} }
#{$mat-form-field-subscript-wrapper} { #{ms.$mat-form-field-subscript-wrapper} {
height: 16px; height: 16px;
} }
@@ -88,7 +88,7 @@ h2.adf-search-results-label {
} }
} }
#{$mat-form-field-subscript-wrapper} { #{ms.$mat-form-field-subscript-wrapper} {
display: none; display: none;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../mat-selectors.scss' as ms;
adf-content-node-selector { adf-content-node-selector {
.adf-upload-dialog { .adf-upload-dialog {
@@ -42,7 +42,7 @@ adf-content-node-selector {
} }
.adf-content-node-selector-dialog { .adf-content-node-selector-dialog {
#{$mat-form-field} { #{ms.$mat-form-field} {
width: 100%; width: 100%;
} }
@@ -50,7 +50,7 @@ adf-content-node-selector {
color: var(--adf-theme-foreground-base-color-045); color: var(--adf-theme-foreground-base-color-045);
} }
#{$mat-dialog-title} { #{ms.$mat-dialog-title} {
margin-bottom: 0; margin-bottom: 0;
padding: 0; padding: 0;

View File

@@ -1,8 +1,8 @@
@import 'styles/mat-selectors'; @use '../mat-selectors.scss' as ms;
.adf-share-link-dialog { .adf-share-link-dialog {
.adf-share-link { .adf-share-link {
#{$mat-form-field-flex} { #{ms.$mat-form-field-flex} {
height: 48px; height: 48px;
} }
@@ -35,7 +35,7 @@
&__form { &__form {
padding-top: 8px; padding-top: 8px;
#{$mat-form-field-infix}:has(.adf-share-link__input) { #{ms.$mat-form-field-infix}:has(.adf-share-link__input) {
border-top: 0.9375em solid transparent; border-top: 0.9375em solid transparent;
border-bottom: 0.9375em solid transparent; border-bottom: 0.9375em solid transparent;
height: 16px; height: 16px;

View File

@@ -1,21 +1,21 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors.scss' as ms;
.adf-folder-dialog { .adf-folder-dialog {
.adf-folder-dialog-content { .adf-folder-dialog-content {
padding: 0; padding: 0;
overflow: unset; overflow: unset;
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-bottom: 3.5px; padding-bottom: 3.5px;
} }
#{$mat-form-field-hide-placeholder} { #{ms.$mat-form-field-hide-placeholder} {
#{$mat-floating-label} { #{ms.$mat-floating-label} {
padding-top: 20px; padding-top: 20px;
} }
} }
#{$mat-form-field-hint-wrapper} { #{ms.$mat-form-field-hint-wrapper} {
padding-left: 0; padding-left: 0;
margin-left: -2px; margin-left: -2px;
color: var(--adf-theme-foreground-secondary-text-color); color: var(--adf-theme-foreground-secondary-text-color);

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors.scss' as ms;
.adf-library-dialog { .adf-library-dialog {
.adf-library-dialog-content { .adf-library-dialog-content {
@@ -28,34 +28,34 @@
padding-top: 4.5px; padding-top: 4.5px;
} }
#{$mat-floating-label} { #{ms.$mat-floating-label} {
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
} }
&#{$mat-form-field-hide-placeholder} { &#{ms.$mat-form-field-hide-placeholder} {
#{$mat-floating-label} { #{ms.$mat-floating-label} {
padding-top: 20px; padding-top: 20px;
} }
} }
&-description { &-description {
&#{$mat-form-field-hide-placeholder} { &#{ms.$mat-form-field-hide-placeholder} {
#{$mat-floating-label} { #{ms.$mat-floating-label} {
padding-top: 20px; padding-top: 20px;
} }
} }
} }
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-bottom: 3.5px; padding-bottom: 3.5px;
} }
#{$mat-form-field-error-wrapper} { #{ms.$mat-form-field-error-wrapper} {
margin-left: -2px; margin-left: -2px;
font-size: 10.5px; font-size: 10.5px;
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
#{$mat-form-field-error} { #{ms.$mat-form-field-error} {
height: 13.125px; height: 13.125px;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../flex' as flex;
.adf-document-list { .adf-document-list {
min-height: 0; min-height: 0;
@@ -143,7 +143,7 @@
word-break: break-all; word-break: break-all;
white-space: pre-line; white-space: pre-line;
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
font-size: 48px; font-size: 48px;
} }
} }
@@ -165,12 +165,12 @@
object-fit: contain; object-fit: contain;
margin-top: 17px; margin-top: 17px;
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
width: 250px; width: 250px;
} }
} }
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
&-drag-drop, &-drag-drop,
&-any-files-here-to-add { &-any-files-here-to-add {
display: none; display: none;

View File

@@ -0,0 +1,81 @@
@charset "UTF-8";
/* stylelint-disable */
// Non-overlapping Material Design breakpoints
// @type map
$breakpoints: (
xs: (
begin: 0,
end: 599.9px
),
sm: (
begin: 600px,
end: 959.9px
),
md: (
begin: 960px,
end: 1279.9px
),
lg: (
begin: 1280px,
end: 1919.9px
),
xl: (
begin: 1920px,
end: 4999.99px
)
) !default;
// Overlapping breakpoints that are greater than defined
// Material Design breakpoints
// @type map
$overlapping-gt: (
gt-xs: 600px,
gt-sm: 960px,
gt-md: 1280px,
gt-lg: 1920px
) !default;
// Overlapping breakpoints that are less than defined
// Material Design breakpoints
// @type map
$overlapping-lt: (
lt-sm: 599.9px,
lt-md: 959.9px,
lt-lg: 1279.9px,
lt-xl: 1919.9px
) !default;
// Media Query Mixin, takes a breakpoint and returns a wrapping
// media query statement
// e.g.
//
// @include layout-bp(xs) {
// background-color: red;
// }
//
// becomes
//
// @media (min-width: 0px) and (max-width: 599px) {
// background-color: red;
// }
@mixin layout-bp($bp) {
@if map-has-key($breakpoints, $bp) {
$min: map-get(map-get($breakpoints, $bp), begin);
$max: map-get(map-get($breakpoints, $bp), end);
@media (min-width: $min) and (max-width: $max) {
@content;
}
} @else if map-has-key($overlapping-gt, $bp) {
$min: map-get($overlapping-gt, $bp);
@media (min-width: $min) {
@content;
}
} @else if map-has-key($overlapping-lt, $bp) {
$max: map-get($overlapping-lt, $bp);
@media (max-width: $max) {
@content;
}
}
}
/* stylelint-enable */

View File

@@ -0,0 +1,190 @@
/* Variables in this file are used in the Angular Material library. Do not modify them unless you know what you are doing. */
$material-icons: '.material-icons';
$mat-icon: '.mat-icon';
$mat-icon-button: '.mat-mdc-icon-button';
$mat-icon-button-hover: '.mdc-icon-button__ripple';
$mat-accent: '.mat-accent';
$mat-focused: '.mat-focused';
$mat-line: '.mat-line';
$mat-tab-label: '.mat-mdc-tab';
$mat-tab-label-active: '.mdc-tab--active';
$mat-tab-label-content: '.mdc-tab__content';
$mat-tab-label-container: '.mat-mdc-tab-label-container';
$mat-expansion-panel-body: '.mat-expansion-panel-body';
$mat-tab-label-text: '.mdc-tab__text-label';
$mat-tab-list: '.mat-mdc-tab-list';
$mat-tab-body: '.mat-mdc-tab-body';
$mat-tab-body-wrapper: '.mat-mdc-tab-body-wrapper';
$mat-tab-body-content: '.mat-mdc-tab-body-content';
$mat-tab-header: '.mat-mdc-tab-header';
$mat-tab-labels: '.mat-mdc-tab-labels';
$mat-tab-ink-bar: '.mdc-tab-indicator';
$mat-chip: '.mat-mdc-chip';
$mat-chip-list: '.mat-mdc-chip-list';
$mat-chip-list-wrapper: '.mat-chip-list-wrapper';
$mat-checkbox: '.mat-mdc-checkbox';
$mat-checkbox-box: '.mdc-checkbox';
$mat-checkbox-frame: '.mdc-checkbox__checkmark';
$mat-checkbox-label: '.mdc-label';
$mat-checkbox-checked: '.mat-mdc-checkbox-checked';
$mat-button: '.mat-mdc-button';
$mat-button-label: '.mdc-button__label';
$mat-button-label-text: '.mdc-button__label';
$mat-radio-checked: '.mat-mdc-radio-checked';
$mat-radio-label: '.mdc-label';
$mat-progress-bar: '.mat-mdc-progress-bar';
$mat-progress-spinner: '.mat-mdc-progress-spinner';
$mat-form-field: '.mat-mdc-form-field';
$mat-form-field-flex: '.mat-mdc-form-field-flex';
$mat-form-field-outline: '.mat-mdc-form-field-outline';
$mat-form-field-wrapper: '.mat-mdc-text-field-wrapper';
$mat-line-ripple: '.mdc-line-ripple';
$mat-form-field-subscript-wrapper: '.mat-mdc-form-field-subscript-wrapper';
$mat-form-field-prefix: '.mat-mdc-form-field-text-prefix';
$mat-form-field-suffix: '.mat-mdc-form-field-text-suffix';
$mat-form-text-field-infix: '.mat-mdc-form-text-infix';
$mat-form-field-label: '.mat-mdc-floating-label';
$mat-form-field-invalid: '.mat-form-field-invalid';
$mat-form-field-appearance-outline: '.mat-form-field-appearance-outline';
$mat-text-field-outlined: '.mdc-text-field--outlined';
$mat-text-field-outlined-thick: '.mdc-text-field--outlined-thick';
$mat-text-field-focused: '.mdc-text-field--focused';
$mat-dialog-actions: '.mat-mdc-dialog-actions';
$mat-dialog-container: '.mdc-dialog__container';
$mat-dialog-content: '.mat-mdc-dialog-content';
$mat-button-toggle: '.mat-button-toggle';
$mat-button-toggle-checked: '.mat-button-toggle-checked';
$mat-button-touch-target: '.mat-mdc-button-touch-target';
$mat-input-element: '.mat-mdc-input-element';
$mat-card: '.mat-mdc-card';
$mat-card-actions: '.mat-mdc-card-actions';
$mat-card-header-text: '.mat-mdc-card-header-text';
$mat-card-title: '.mat-mdc-card-title';
$mat-card-content: '.mat-mdc-card-content';
$mat-mini-fab: '.mat-mdc-mini-fab';
$mat-list-item-primary-text: '.mdc-list-item__primary-text';
$mat-list-item-end: '.mdc-list-item__end';
$mat-table: '.mat-mdc-table';
$mat-header-row: '.mat-mdc-header-row';
$mat-row: '.mat-mdc-row';
$mat-select: '.mat-mdc-select';
$mat-select-value: '.mat-select-value';
$mat-select-value-text: '.mat-mdc-select-value-text';
$mat-select-panel: '.mat-mdc-select-panel';
$mat-grid-tile: '.mat-grid-tile';
$mat-sidenav-content: '.mat-sidenav-content';
$mat-drawer-transition: '.mat-drawer-transition';
$mat-drawer-content: '.mat-drawer-content';
$mat-subheader: '.mat-mdc-subheader';
$mat-menu-panel: '.mat-mdc-menu-panel';
$mat-menu-content: '.mat-mdc-menu-content';
$mat-expansion-panel: '.mat-expansion-panel';
$mat-expansion-panel-header: '.mat-expansion-panel-header';
$mat-expanded: '.mat-expanded';
$mat-calendar: '.mat-calendar';
$mat-calendar-header: '.mat-calendar-header';
$mat-calendar-content: '.mat-calendar-content';
$mat-calendar-table-header: '.mat-calendar-table-header';
$mat-calendar-body-disabled: '.mat-calendar-body-disabled';
$mat-toolbar: '.mat-toolbar';
$mat-slide-toggle: '.mat-mdc-slide-toggle';
$mat-list-item-content: '.mdc-list-item__content';
$mat-list-item-unscoped-content: '.mat-mdc-list-item-unscoped-content';
$mat-text-field-no-label: '.mdc-text-field--no-label';
$mat-form-field-infix: '.mat-mdc-form-field-infix';
$mat-form-field-hide-placeholder: '.mat-form-field-hide-placeholder';
$mat-form-field-hint-wrapper: '.mat-mdc-form-field-hint-wrapper';
$mat-form-field-error-wrapper: '.mat-mdc-form-field-error-wrapper';
$mat-form-field-error: '.mat-mdc-form-field-error';
$mat-checkbox-background: '.mdc-checkbox__background';
$mat-dialog-content: '.mdc-dialog__content';
$mat-floating-label: '.mdc-floating-label';
$mat-floating-label-above: '.mdc-floating-label--float-above';
$mat-select-arrow-wrapper: '.mat-mdc-select-arrow-wrapper';
$mat-dialog-title: '.mdc-dialog__title';
$mat-expansion-panel-body: '.mat-expansion-panel-body';
$mat-dialog-surface: '.mat-mdc-dialog-surface';
$mdc-dialog: '.mdc-dialog';
$mat-text-filed-input: '.mdc-text-field__input';
$mat-floating-label-float-above: '.mdc-floating-label--float-above';
$mat-floating-label-required: '.mdc-floating-label--required';
$mat-evolution-chip: '.mdc-evolution-chip';
$mat-standard-chip: '.mat-mdc-standard-chip';
$mat-evolution-chip-action: '.mdc-evolution-chip__action';
$mat-evolution-chip-text-label: '.mdc-evolution-chip__text-label';
$mat-notched-outline: '.mdc-notched-outline';
$mat-evolution-chip-graphic: '.mdc-evolution-chip__graphic';
$mat-select-trigger: '.mat-mdc-select-trigger';
$mat-select-arrow: '.mat-mdc-select-arrow';
$mat-notched-outline-leading: '.mdc-notched-outline__leading';
$mat-notched-outline-trailing: '.mdc-notched-outline__trailing';
$mat-notched-outline-notch: '.mdc-notched-outline__notch';
$mat-evolution-chip-set: '.mdc-evolution-chip-set';
$mat-mdc-button: '.mdc-button';
$mat-outlined-button: '.mat-mdc-outlined-button';
$mat-button-base: '.mat-mdc-button-base';
$mat-button-touch-target: '.mat-mdc-button-touch-target';
$mat-evolution-chip-text-label: '.mdc-evolution-chip__text-label';
$cdk-overlay-pane: '.cdk-overlay-pane';
$cdk-drag-preview: '.cdk-drag-preview';
$mat-snackbar: '.mdc-snackbar';
$mat-snack-bar-container: '.mat-mdc-snack-bar-container';
$mat-snackbar-label: '.mdc-snackbar__label';
$mat-datetimepicker-dialog: '.mat-datetimepicker-dialog';
$mat-tab-indicator-underline: '.mdc-tab-indicator__content--underline';
$mat-autocomplete-panel: '.mat-mdc-autocomplete-panel';
$mat-menu-surface: '.mdc-menu-surface';
$mat-text-field-filled: '.mdc-text-field--filled';
$mat-text-field-disabled: '.mdc-text-field--disabled';
$mat-form-field-focus-overlay: '.mat-mdc-form-field-focus-overlay';
$mat-form-field-error-wrapper: '.mat-mdc-form-field-error-wrapper';
$mat-text-field-textarea: '.mdc-text-field--textarea';
$mat-list-item-disabled: '.mdc-list-item--disabled';
$mat-chip-focus-overlay: '.mat-mdc-chip-focus-overlay';
$mat-primary: '.mat-primary';
$mat-checkbox-touch-target: '.mat-mdc-checkbox-touch-target';
$mat-switch: '.mdc-switch';
$mat-switch-ripple: '.mdc-switch-ripple';
$mat-switch-selected: '.mdc-switch--selected';
$mat-switch-checked: '.mdc-switch--checked';
$mat-switch-handle-track: '.mdc-switch__handle-track';
$mat-switch-handle: '.mdc-switch__handle';
$mat-switch-track: '.mdc-switch__track';
$mat-switch-icons: '.mdc-switch__icons';
$mat-switch-shadow: '.mdc-switch__shadow';
$mat-switch-unselected: '.mdc-switch--unselected';
$mat-chip-action: '.mat-mdc-chip-action';
$mat-chip-graphic: '.mat-mdc-chip-graphic';
$mat-data-table-row: '.mdc-data-table__row';
$mat-data-table-cell: '.mdc-data-table__cell';
$mat-data-table-header-cell: '.mdc-data-table__header-cell';
$mat-toolbar-single-row: '.mat-toolbar-single-row';
$mat-toolbar-multiple-row: '.mat-toolbar-multiple-row';
$mat-unthemed: '.mat-unthemed';
$mat-calendar-period-button: '.mat-calendar-period-button';
$mat-radio-button: '.mat-mdc-radio-button';
$mat-radio: '.mdc-radio';
$mat-tab-ripple: '.mdc-tab__ripple';
$mat-tab-disabled: '.mat-mdc-tab-disabled';
$mat-tab-group: '.mat-mdc-tab-group';
$mat-tab-group-stretch: '.mat-mdc-tab-group-stretch-tabs';
$mat-list-item: '.mdc-list-item';
$mat-menu-item: '.mat-mdc-menu-item';
$mat-icon-no-color: '.mat-icon-no-color';
$mat-submenu-icon: '.mat-menu-submenu-icon';
$mat-mdc-submenu-icon: '.mat-mdc-menu-submenu-icon';
$mdc-form-field: '.mdc-form-field';
$mat-divider-horizontal: '.mat-divider-horizontal';
$mat-accordion: '.mat-accordion';
$mdc-list: '.mdc-list';
$mat-form-field-icon-suffix: '.mat-mdc-form-field-icon-suffix';
$mat-text-field: '.mdc-text-field';
$mat-form-field-disabled: '.mat-form-field-disabled';
$mat-select-disabled: '.mat-mdc-select-disabled';
$mat-select-value: '.mat-mdc-select-value';
$mat-checkbox-native-control: '.mdc-checkbox__native-control';
$mat-checkbox-selected: '.mdc-checkbox--selected';
$mat-checkbox-ripple: '.mat-mdc-checkbox-ripple';
$mat-list-base: '.mat-mdc-list-base';
$mat-card-header: '.mat-mdc-card-header';

View File

@@ -1,7 +1,7 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
#{$mdc-dialog} { #{ms.$mdc-dialog} {
#{$mat-dialog-surface}:is(div) { #{ms.$mat-dialog-surface}:is(div) {
padding-bottom: 0; padding-bottom: 0;
} }
} }
@@ -31,11 +31,11 @@
width: 100%; width: 100%;
justify-content: unset; justify-content: unset;
#{$mat-button-label} { #{ms.$mat-button-label} {
padding-right: 0; padding-right: 0;
} }
#{$mat-icon} { #{ms.$mat-icon} {
font-size: 24px; font-size: 24px;
width: 24px; width: 24px;
height: 24px; height: 24px;

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
$search-result-height: calc(100% - 60px); $search-result-height: calc(100% - 60px);
@@ -9,7 +9,7 @@ $search-result-height: calc(100% - 60px);
overflow: auto; overflow: auto;
border: 2px solid var(--adf-theme-foreground-text-color-007); border: 2px solid var(--adf-theme-foreground-text-color-007);
#{$mat-list-item-end} { #{ms.$mat-list-item-end} {
display: none; display: none;
} }
@@ -54,18 +54,18 @@ $search-result-height: calc(100% - 60px);
padding-bottom: 0; padding-bottom: 0;
padding-top: 12px; padding-top: 12px;
#{$mat-form-field-wrapper} { #{ms.$mat-form-field-wrapper} {
#{$mat-form-field-flex} { #{ms.$mat-form-field-flex} {
align-items: center; align-items: center;
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
} }
} }
} }
#{$mat-form-field-subscript-wrapper} { #{ms.$mat-form-field-subscript-wrapper} {
height: 16px; height: 16px;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
.adf { .adf {
&-permission-card { &-permission-card {
@@ -88,7 +88,7 @@
height: calc(100% - 63px); height: calc(100% - 63px);
} }
&-local-permission-container#{$mat-card-content} { &-local-permission-container#{ms.$mat-card-content} {
overflow: hidden; overflow: hidden;
flex: 1 1 auto; flex: 1 1 auto;
padding: 0; padding: 0;

View File

@@ -1,11 +1,11 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
.adf-role-selector-field#{$mat-form-field} { .adf-role-selector-field#{ms.$mat-form-field} {
width: 100%; width: 100%;
max-width: 200px; max-width: 200px;
height: 40px; height: 40px;
#{$mat-form-field-infix}:not(:disabled) { #{ms.$mat-form-field-infix}:not(:disabled) {
padding-top: 8px; padding-top: 8px;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
.adf-search-check-list > div { .adf-search-check-list > div {
display: flex; display: flex;
@@ -21,7 +21,7 @@
white-space: nowrap; white-space: nowrap;
} }
#{$mat-checkbox-box} { #{ms.$mat-checkbox-box} {
margin-left: 4px; margin-left: 4px;
margin-top: 5px; margin-top: 5px;
margin-bottom: 4px; margin-bottom: 4px;

View File

@@ -1,21 +1,21 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
adf-search-chip-autocomplete-input { adf-search-chip-autocomplete-input {
.adf-chip-list { .adf-chip-list {
width: 100%; width: 100%;
} }
.adf-chip-list:has(#{$mat-notched-outline}) { .adf-chip-list:has(#{ms.$mat-notched-outline}) {
margin-top: 4px; margin-top: 4px;
} }
#{$mat-form-text-field-infix} { #{ms.$mat-form-text-field-infix} {
border: none; border: none;
} }
.adf-chip-list#{$mat-form-field} { .adf-chip-list#{ms.$mat-form-field} {
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-top: 14px; padding-top: 14px;
padding-bottom: 14px; padding-bottom: 14px;
min-height: unset; min-height: unset;
@@ -35,8 +35,8 @@ adf-search-chip-autocomplete-input {
padding: 4px 0; padding: 4px 0;
} }
#{$mat-evolution-chip-set} { #{ms.$mat-evolution-chip-set} {
#{$mat-evolution-chip} { #{ms.$mat-evolution-chip} {
margin-left: 0; margin-left: 0;
margin-right: 4px; margin-right: 4px;
} }

View File

@@ -1,8 +1,8 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
@import 'styles/flex'; @use '../../flex' as flex;
$mat-menu-overlay-min-width: 112px !default; // 56 * 2 $mat-menu-overlay-min-width: 112px !default; // 56 * 2
$mat-menu-overlay-max-width: 280px !default; // 56 * 5 $mat-menu-overlay-max-width: 280px !default; // 56 * 5
.adf { .adf {
&-search-result-autocomplete { &-search-result-autocomplete {
@@ -24,7 +24,7 @@ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
background-color: var(--adf-theme-background-card-color); background-color: var(--adf-theme-background-card-color);
border-radius: 2px; border-radius: 2px;
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;

View File

@@ -1,7 +1,7 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
adf-search-date-range-tabbed { adf-search-date-range-tabbed {
#{$mat-tab-header} { #{ms.$mat-tab-header} {
margin-top: -5px; margin-top: -5px;
} }
} }

View File

@@ -1,50 +1,50 @@
@import "styles/mat-selectors"; @use '../../../../mat-selectors' as ms;
adf-search-date-range { adf-search-date-range {
.adf-search-date-range-container { .adf-search-date-range-container {
margin-top: 20px; margin-top: 20px;
padding: 10px; padding: 10px;
.adf-search-date-range-form-field-select { .adf-search-date-range-form-field-select {
width: 180px; width: 180px;
min-width: 180px; min-width: 180px;
}
&-row {
display: flex;
flex-direction: row;
padding-bottom: 21px;
align-items: center;
&-date {
margin-top: 8px;
}
#{$mat-select-arrow-wrapper} {
height: unset;
}
.adf-search-date-range-input-field {
width: 75px;
}
.adf-search-date-range-form-field {
padding-left: 10px;
flex: 1;
margin-bottom: 12px;
#{$mat-form-field-flex} {
align-items: center;
#{$mat-form-field-infix} {
padding: 0.375em 0 4px;
}
} }
}
}
}
.adf-search-widget-extra-width { &-row {
max-width: 500px; display: flex;
} flex-direction: row;
padding-bottom: 21px;
align-items: center;
&-date {
margin-top: 8px;
}
#{ms.$mat-select-arrow-wrapper} {
height: unset;
}
.adf-search-date-range-input-field {
width: 75px;
}
.adf-search-date-range-form-field {
padding-left: 10px;
flex: 1;
margin-bottom: 12px;
#{ms.$mat-form-field-flex} {
align-items: center;
#{ms.$mat-form-field-infix} {
padding: 0.375em 0 4px;
}
}
}
}
}
.adf-search-widget-extra-width {
max-width: 500px;
}
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../../mat-selectors.scss' as ms;
adf-search-facet-chip-tabbed { adf-search-facet-chip-tabbed {
.adf-search-filter-chip-tabbed { .adf-search-filter-chip-tabbed {
@@ -6,7 +6,7 @@ adf-search-facet-chip-tabbed {
pointer-events: none; pointer-events: none;
} }
#{$mat-evolution-chip-graphic} { #{ms.$mat-evolution-chip-graphic} {
display: none; display: none;
} }
} }
@@ -16,6 +16,6 @@ adf-search-facet-chip-tabbed {
} }
} }
.adf-search-widget-extra-width#{$mat-menu-panel} { .adf-search-widget-extra-width#{ms.$mat-menu-panel} {
max-width: 500px; max-width: 500px;
} }

View File

@@ -1,7 +1,7 @@
@import 'styles/mat-selectors'; @use '../../../../mat-selectors.scss' as ms;
.adf-search-filter-chip { .adf-search-filter-chip {
#{$mat-evolution-chip-graphic} { #{ms.$mat-evolution-chip-graphic} {
display: none; display: none;
} }

View File

@@ -1,5 +1,5 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
.adf-search-filter-chip, .adf-search-filter-chip,
.adf-search-filter-chip-tabbed { .adf-search-filter-chip-tabbed {
@@ -52,15 +52,15 @@
} }
} }
.adf-search-filter-chip#{$mat-evolution-chip}#{$mat-standard-chip} { .adf-search-filter-chip#{ms.$mat-evolution-chip}#{ms.$mat-standard-chip} {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
#{$mat-standard-chip} { #{ms.$mat-standard-chip} {
-webkit-font-smoothing: unset; -webkit-font-smoothing: unset;
} }
#{$mat-evolution-chip-set} { #{ms.$mat-evolution-chip-set} {
margin-top: -4px; margin-top: -4px;
} }

View File

@@ -1,5 +1,5 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
.adf-filter { .adf-filter {
&-button:has(.adf-filter-icon) { &-button:has(.adf-filter-icon) {
@@ -73,7 +73,7 @@
padding-right: 16px; padding-right: 16px;
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
#{$mat-button-label} { #{ms.$mat-button-label} {
font-weight: unset; font-weight: unset;
} }
} }

View File

@@ -1,14 +1,14 @@
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
adf-search-filter-tabbed { adf-search-filter-tabbed {
#{$mat-tab-header} { #{ms.$mat-tab-header} {
margin-top: 0; margin-top: 0;
} }
.adf-search-tab-label-active { .adf-search-tab-label-active {
border-bottom: 1px solid var(--theme-primary-color); border-bottom: 1px solid var(--theme-primary-color);
#{$mat-tab-label-text} { #{ms.$mat-tab-label-text} {
color: var(--adf-theme-foreground-secondary-text-color); color: var(--adf-theme-foreground-secondary-text-color);
} }
} }

View File

@@ -1,5 +1,5 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
.adf-search-form { .adf-search-form {
&.adf-search-form-button { &.adf-search-form-button {
@@ -28,7 +28,7 @@
text-align: left; text-align: left;
} }
.adf-search-form-icon#{$mat-icon} { .adf-search-form-icon#{ms.$mat-icon} {
font-size: 24px; font-size: 24px;
height: 24px; height: 24px;
width: 24px; width: 24px;

View File

@@ -1,5 +1,5 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/mat-selectors'; @use '../../../mat-selectors.scss' as ms;
adf-search-properties { adf-search-properties {
.adf-search-properties-form { .adf-search-properties-form {
@@ -9,39 +9,39 @@ adf-search-properties {
display: block; display: block;
} }
#{$mat-text-field-no-label} { #{ms.$mat-text-field-no-label} {
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-top: 9px; padding-top: 9px;
padding-bottom: 9px; padding-bottom: 9px;
display: inline-block; display: inline-block;
} }
} }
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
height: 37.5px; height: 37.5px;
min-height: 37.5px; min-height: 37.5px;
display: inline-block; display: inline-block;
} }
#{$mat-select-trigger} { #{ms.$mat-select-trigger} {
height: 17.5px; height: 17.5px;
} }
#{$mat-select-arrow-wrapper} { #{ms.$mat-select-arrow-wrapper} {
width: 16px; width: 16px;
} }
#{$mat-line-ripple} { #{ms.$mat-line-ripple} {
&::before { &::before {
display: none; display: none;
} }
} }
#{$mat-select-arrow} { #{ms.$mat-select-arrow} {
margin-left: 5px; margin-left: 5px;
} }
#{$mat-form-field} { #{ms.$mat-form-field} {
margin-bottom: 18px; margin-bottom: 18px;
} }
} }
@@ -49,7 +49,7 @@ adf-search-properties {
adf-search-chip-autocomplete-input { adf-search-chip-autocomplete-input {
display: block; display: block;
#{$mat-text-field-outlined} { #{ms.$mat-text-field-outlined} {
&-start, &-start,
&-end { &-end {
border-top: 1px solid var(--adf-theme-mat-grey-color-a400); border-top: 1px solid var(--adf-theme-mat-grey-color-a400);
@@ -65,15 +65,15 @@ adf-search-properties {
} }
} }
#{$mat-focused} { #{ms.$mat-focused} {
#{$mat-text-field-outlined} { #{ms.$mat-text-field-outlined} {
outline: 2px auto -webkit-focus-ring-color; outline: 2px auto -webkit-focus-ring-color;
} }
} }
#{$mat-form-field-appearance-outline} { #{ms.$mat-form-field-appearance-outline} {
#{$mat-text-field-outlined-thick} { #{ms.$mat-text-field-outlined-thick} {
#{$mat-text-field-outlined} { #{ms.$mat-text-field-outlined} {
&-start, &-start,
&-end { &-end {
border-width: 1px; border-width: 1px;
@@ -82,11 +82,11 @@ adf-search-properties {
} }
} }
#{$mat-notched-outline-leading} { #{ms.$mat-notched-outline-leading} {
border-color: var(--adf-theme-foreground-text-color-027); border-color: var(--adf-theme-foreground-text-color-027);
} }
#{$mat-notched-outline-trailing} { #{ms.$mat-notched-outline-trailing} {
border-color: var(--adf-theme-foreground-text-color-027); border-color: var(--adf-theme-foreground-text-color-027);
} }
} }
@@ -107,14 +107,14 @@ adf-search-properties {
.adf-search-properties-file-size-operator, .adf-search-properties-file-size-operator,
.adf-search-properties-file-size-unit { .adf-search-properties-file-size-unit {
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
border: 1px solid var(--adf-theme-mat-grey-color-a400); border: 1px solid var(--adf-theme-mat-grey-color-a400);
border-radius: 5px; border-radius: 5px;
padding: 9px; padding: 9px;
} }
&#{$mat-focused} { &#{ms.$mat-focused} {
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
outline: 2px auto -webkit-focus-ring-color; outline: 2px auto -webkit-focus-ring-color;
} }
} }

View File

@@ -1,5 +1,3 @@
@import 'styles/mat-selectors';
.adf-search-text { .adf-search-text {
padding: 0; padding: 0;

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors.scss' as ms;
adf-tags-creator { adf-tags-creator {
display: block; display: block;
@@ -77,7 +77,7 @@ adf-tags-creator {
background-color: inherit; background-color: inherit;
color: inherit; color: inherit;
&:not(#{$mat-list-item-disabled}):hover { &:not(#{ms.$mat-list-item-disabled}):hover {
cursor: pointer; cursor: pointer;
background: var(--adf-theme-mat-grey-color-a200); background: var(--adf-theme-mat-grey-color-a200);
} }
@@ -93,7 +93,7 @@ adf-tags-creator {
min-height: 62px; min-height: 62px;
} }
#{$mat-list-item-disabled} #{$mat-list-item-primary-text} { #{ms.$mat-list-item-disabled} #{ms.$mat-list-item-primary-text} {
opacity: 1; opacity: 1;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../mat-selectors.scss' as ms;
.adf-new-version-radio-group { .adf-new-version-radio-group {
display: inline-flex; display: inline-flex;
@@ -26,11 +26,11 @@
width: 100%; width: 100%;
float: right; float: right;
#{$mat-floating-label} { #{ms.$mat-floating-label} {
padding-bottom: 10px; padding-bottom: 10px;
} }
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-top: 12px; padding-top: 12px;
padding-bottom: 0; padding-bottom: 0;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors' as ms;
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
.adf-feature-flags-overrides-header { .adf-feature-flags-overrides-header {
@@ -36,8 +36,8 @@
width: 100%; width: 100%;
display: flex; display: flex;
#{$mat-form-field-subscript-wrapper}, #{ms.$mat-form-field-subscript-wrapper},
#{$mat-line-ripple} { #{ms.$mat-line-ripple} {
display: none; display: none;
} }
} }

View File

@@ -0,0 +1,2 @@
$mat-form-field-subscript-wrapper: '.mat-mdc-form-field-subscript-wrapper';
$mat-line-ripple: '.mdc-line-ripple';

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../styles/flex' as flex;
.app-shell { .app-shell {
display: flex; display: flex;
@@ -23,13 +23,13 @@
} }
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
.adf-app-title { .adf-app-title {
display: none; display: none;
} }
} }
@media screen and (max-width: 719px) { @media screen and (width <= 719px) {
.adf-app-logo { .adf-app-logo {
display: none; display: none;
} }

View File

@@ -0,0 +1,81 @@
@charset "UTF-8";
/* stylelint-disable */
// Non-overlapping Material Design breakpoints
// @type map
$breakpoints: (
xs: (
begin: 0,
end: 599.9px
),
sm: (
begin: 600px,
end: 959.9px
),
md: (
begin: 960px,
end: 1279.9px
),
lg: (
begin: 1280px,
end: 1919.9px
),
xl: (
begin: 1920px,
end: 4999.99px
)
) !default;
// Overlapping breakpoints that are greater than defined
// Material Design breakpoints
// @type map
$overlapping-gt: (
gt-xs: 600px,
gt-sm: 960px,
gt-md: 1280px,
gt-lg: 1920px
) !default;
// Overlapping breakpoints that are less than defined
// Material Design breakpoints
// @type map
$overlapping-lt: (
lt-sm: 599.9px,
lt-md: 959.9px,
lt-lg: 1279.9px,
lt-xl: 1919.9px
) !default;
// Media Query Mixin, takes a breakpoint and returns a wrapping
// media query statement
// e.g.
//
// @include layout-bp(xs) {
// background-color: red;
// }
//
// becomes
//
// @media (min-width: 0px) and (max-width: 599px) {
// background-color: red;
// }
@mixin layout-bp($bp) {
@if map-has-key($breakpoints, $bp) {
$min: map-get(map-get($breakpoints, $bp), begin);
$max: map-get(map-get($breakpoints, $bp), end);
@media (min-width: $min) and (max-width: $max) {
@content;
}
} @else if map-has-key($overlapping-gt, $bp) {
$min: map-get($overlapping-gt, $bp);
@media (min-width: $min) {
@content;
}
} @else if map-has-key($overlapping-lt, $bp) {
$max: map-get($overlapping-lt, $bp);
@media (max-width: $max) {
@content;
}
}
}
/* stylelint-enable */

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf { .adf {
&-array-item-icon { &-array-item-icon {
@@ -22,7 +22,7 @@
} }
&-array-item-more-chip-container { &-array-item-more-chip-container {
&#{$mat-card} { &#{ms.$mat-card} {
box-shadow: none; box-shadow: none;
max-height: 300px; max-height: 300px;
overflow-y: auto; overflow-y: auto;
@@ -30,7 +30,7 @@
} }
&-property-value { &-property-value {
#{$mat-chip-list} { #{ms.$mat-chip-list} {
padding-top: 6px; padding-top: 6px;
} }
} }
@@ -45,7 +45,7 @@
border-color: var(--adf-theme-foreground-divider-color); border-color: var(--adf-theme-foreground-divider-color);
border-radius: 0; border-radius: 0;
#{$mat-chip}:hover { #{ms.$mat-chip}:hover {
cursor: pointer; cursor: pointer;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-card-view-dateitem { .adf-card-view-dateitem {
.adf-property-value { .adf-property-value {
@@ -50,7 +50,7 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
#{$mat-icon} { #{ms.$mat-icon} {
opacity: 0.5; opacity: 0.5;
&:hover { &:hover {

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-card-view-key-value-pairs-item { .adf-card-view-key-value-pairs-item {
.adf-property-col-key { .adf-property-col-key {
@@ -28,19 +28,19 @@
justify-content: center; justify-content: center;
} }
&__add-btn#{$mat-button} { &__add-btn#{ms.$mat-button} {
margin-bottom: 20px; margin-bottom: 20px;
} }
&__read-only { &__read-only {
padding-bottom: 20px; padding-bottom: 20px;
#{$mat-table} { #{ms.$mat-table} {
box-shadow: none; box-shadow: none;
} }
#{$mat-header-row}, #{ms.$mat-header-row},
#{$mat-row} { #{ms.$mat-row} {
padding: 0; padding: 0;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-card-view-selectitem { .adf-card-view-selectitem {
.adf-property-value { .adf-property-value {
@@ -17,23 +17,23 @@
.adf-property-value-editable.adf-property-value-editable { .adf-property-value-editable.adf-property-value-editable {
padding-left: 0; padding-left: 0;
#{$mat-text-field-no-label} #{$mat-form-field-infix} { #{ms.$mat-text-field-no-label} #{ms.$mat-form-field-infix} {
padding: 0; padding: 0;
} }
#{$mat-form-field-wrapper} { #{ms.$mat-form-field-wrapper} {
background-color: unset; background-color: unset;
} }
#{$mat-select} { #{ms.$mat-select} {
margin-top: 0; margin-top: 0;
border-radius: 6px; border-radius: 6px;
#{$mat-select-value} { #{ms.$mat-select-value} {
color: var(--adf-metadata-action-button-clear-color); color: var(--adf-metadata-action-button-clear-color);
} }
#{$mat-select-trigger} { #{ms.$mat-select-trigger} {
padding: 6px 12px 6px 6px; padding: 6px 12px 6px 6px;
} }
} }
@@ -43,7 +43,7 @@
padding-left: 10px; padding-left: 10px;
} }
#{$mat-form-field-subscript-wrapper} { #{ms.$mat-form-field-subscript-wrapper} {
display: none; display: none;
} }
@@ -53,7 +53,7 @@
color: var(--adf-metadata-property-panel-title-color); color: var(--adf-metadata-property-panel-title-color);
} }
#{$mat-line-ripple} { #{ms.$mat-line-ripple} {
display: none; display: none;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../../styles/mat-selectors' as ms;
$select-filter-height: 4em !default; $select-filter-height: 4em !default;
@@ -17,7 +17,7 @@ $select-filter-height: 4em !default;
background: var(--adf-theme-background-card-color); background: var(--adf-theme-background-card-color);
} }
#{$mat-form-field} { #{ms.$mat-form-field} {
width: 100%; width: 100%;
} }
@@ -26,7 +26,7 @@ $select-filter-height: 4em !default;
} }
} }
#{$mat-select-panel}.adf-select-filter { #{ms.$mat-select-panel}.adf-select-filter {
transform: none; transform: none;
overflow-x: hidden; overflow-x: hidden;
max-height: calc(256px + #{$select-filter-height}); max-height: calc(256px + #{$select-filter-height});

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-card-view-textitem { .adf-card-view-textitem {
.adf-textitem-error { .adf-textitem-error {
@@ -29,20 +29,20 @@
color: var(--adf-theme-foreground-text-color); color: var(--adf-theme-foreground-text-color);
} }
#{$mat-button-touch-target} { #{ms.$mat-button-touch-target} {
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
} }
#{$mat-form-field-icon-suffix} { #{ms.$mat-form-field-icon-suffix} {
position: absolute; position: absolute;
right: 1px; right: 1px;
bottom: 7px; bottom: 7px;
} }
.adf-textitem-chip-list-container { .adf-textitem-chip-list-container {
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
margin-top: 6px; margin-top: 6px;
} }
} }
@@ -56,7 +56,7 @@
} }
.adf-property-field { .adf-property-field {
#{$mat-input-element} { #{ms.$mat-input-element} {
color: var(--theme-primary-color); color: var(--theme-primary-color);
cursor: pointer; cursor: pointer;
} }
@@ -86,7 +86,7 @@
white-space: nowrap; white-space: nowrap;
} }
#{$mat-line-ripple} { #{ms.$mat-line-ripple} {
&::before, &::before,
&::after { &::after {
display: none; display: none;

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-property-list { .adf-property-list {
border: unset; border: unset;
@@ -28,11 +28,11 @@
.adf-property-field { .adf-property-field {
width: 100%; width: 100%;
#{mat-form-field-underline} { #{ms.$mat-form-field-underline} {
display: none; display: none;
} }
#{mat-input-element} { #{ms.$mat-input-element} {
text-overflow: ellipsis; text-overflow: ellipsis;
color: var(--adf-metadata-property-panel-title-color); color: var(--adf-metadata-property-panel-title-color);
padding: 6px 0; padding: 6px 0;
@@ -40,28 +40,28 @@
} }
.adf-card-view__key-value-pairs__row { .adf-card-view__key-value-pairs__row {
#{$mat-input-element} { #{ms.$mat-input-element} {
margin-top: 0; margin-top: 0;
padding-left: 12px; padding-left: 12px;
} }
} }
#{$mat-form-text-field-infix} { #{ms.$mat-form-text-field-infix} {
border-top-width: 0; border-top-width: 0;
} }
#{$mat-form-field-flex} { #{ms.$mat-form-field-flex} {
padding-top: 0; padding-top: 0;
} }
#{$mat-form-field-wrapper} { #{ms.$mat-form-field-wrapper} {
background-color: inherit; background-color: inherit;
padding-bottom: 0; padding-bottom: 0;
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
padding: 0; padding: 0;
justify-content: center; justify-content: center;
display: flex; display: flex;
@@ -92,7 +92,7 @@
height: 32px; height: 32px;
padding-left: 10px; padding-left: 10px;
#{$mat-input-element} { #{ms.$mat-input-element} {
color: var(--adf-metadata-action-button-clear-color); color: var(--adf-metadata-action-button-clear-color);
padding: 5px 0 6px 12px; padding: 5px 0 6px 12px;
margin: 5px 0 0; margin: 5px 0 0;
@@ -102,7 +102,7 @@
&.adf-property-readonly-value { &.adf-property-readonly-value {
color: var(--adf-metadata-property-panel-label-color); color: var(--adf-metadata-property-panel-label-color);
#{$mat-input-element} { #{ms.$mat-input-element} {
color: var(--adf-metadata-property-panel-label-color); color: var(--adf-metadata-property-panel-label-color);
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../styles/mat-selectors' as ms;
adf-comments { adf-comments {
.adf-comments-container { .adf-comments-container {
@@ -10,11 +10,11 @@ adf-comments {
width: 100%; width: 100%;
padding-bottom: 8px; padding-bottom: 8px;
#{$mat-form-field} { #{ms.$mat-form-field} {
width: 100%; width: 100%;
&#{$mat-form-field-invalid} { &#{ms.$mat-form-field-invalid} {
#{$mat-input-element} { #{ms.$mat-input-element} {
&::placeholder, &::placeholder,
&:focus::placeholder { &:focus::placeholder {
color: var(--theme-warn-color); color: var(--theme-warn-color);
@@ -23,15 +23,15 @@ adf-comments {
} }
} }
#{$mat-form-field-wrapper} { #{ms.$mat-form-field-wrapper} {
#{$mat-form-field-flex} { #{ms.$mat-form-field-flex} {
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
padding-bottom: 2px; padding-bottom: 2px;
padding-top: 25px; padding-top: 25px;
} }
} }
#{$mat-input-element} { #{ms.$mat-input-element} {
&:focus::placeholder { &:focus::placeholder {
color: var(--theme-primary-color); color: var(--theme-primary-color);
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
@@ -62,7 +62,7 @@ adf-comments {
justify-content: flex-end; justify-content: flex-end;
} }
#{$mat-list-item-unscoped-content} { #{ms.$mat-list-item-unscoped-content} {
display: flex; display: flex;
padding: 0 16px; padding: 0 16px;
} }

View File

@@ -1,7 +1,7 @@
/* stylelint-disable no-descending-specificity */ /* stylelint-disable no-descending-specificity */
@use '@angular/material' as mat; @use '@angular/material' as mat;
@import '../../../styles/mixins'; @use '../../../styles/mixins' as mixins;
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
$data-table-header-font-size: var(--theme-caption-font-size) !default; $data-table-header-font-size: var(--theme-caption-font-size) !default;
$data-table-header-sort-icon-size: var(--theme-subheading-2-font-size) !default; $data-table-header-sort-icon-size: var(--theme-subheading-2-font-size) !default;
@@ -53,7 +53,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
.adf-datatable-list, .adf-datatable-list,
#{$cdk-drag-preview} { #{ms.$cdk-drag-preview} {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: var(--adf-theme-background-card-color); background-color: var(--adf-theme-background-card-color);
@@ -145,14 +145,14 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
.adf-datatable-row { .adf-datatable-row {
@include material-animation-default(0.28s); @include mixins.material-animation-default(0.28s);
transition-property: background-color; transition-property: background-color;
border-top: 1px solid var(--adf-theme-foreground-text-color-007); border-top: 1px solid var(--adf-theme-foreground-text-color-007);
min-height: $data-table-row-height; min-height: $data-table-row-height;
cursor: pointer; cursor: pointer;
@include adf-no-select; @include mixins.adf-no-select;
&.adf-is-selected, &.adf-is-selected,
&.adf-is-selected:hover { &.adf-is-selected:hover {
@@ -238,7 +238,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
button { button {
#{$mat-icon} { #{ms.$mat-icon} {
margin-top: -10px; margin-top: -10px;
} }
} }
@@ -512,7 +512,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
.adf-datatable-cell-header { .adf-datatable-cell-header {
@include adf-no-select; @include mixins.adf-no-select;
position: relative; position: relative;
display: flex; display: flex;
@@ -532,7 +532,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
&.adf-sortable { &.adf-sortable {
@include adf-no-select; @include mixins.adf-no-select;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -544,7 +544,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
padding-right: 0.25rem; padding-right: 0.25rem;
&::after { &::after {
@include typo-icon; @include mixins.typo-icon;
font-size: $data-table-header-sort-icon-size; font-size: $data-table-header-sort-icon-size;
content: '\e5d8'; content: '\e5d8';
@@ -626,7 +626,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
} }
#{$cdk-drag-preview} { #{ms.$cdk-drag-preview} {
min-height: $data-table-row-height; min-height: $data-table-row-height;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@@ -646,7 +646,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
/* [Accessibility] Material checkbox labels */ /* [Accessibility] Material checkbox labels */
.adf-checkbox-sr-only #{$mat-checkbox-label} { .adf-checkbox-sr-only #{ms.$mat-checkbox-label} {
position: absolute; position: absolute;
width: 1px; width: 1px;
height: 1px; height: 1px;
@@ -692,7 +692,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
.adf-datatable--empty { .adf-datatable--empty {
@include flex-column; @include mixins.flex-column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@@ -719,7 +719,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
.adf-datatable-body { .adf-datatable-body {
@include flex-column; @include mixins.flex-column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

View File

@@ -1,7 +1,7 @@
@import 'styles/mat-selectors'; @use '../../styles/mat-selectors' as ms;
.adf-edit-json-dialog { .adf-edit-json-dialog {
#{$mat-dialog-content} { #{ms.$mat-dialog-content} {
height: 300px; height: 300px;
overflow: hidden; overflow: hidden;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../styles/mat-selectors' as ms;
.adf-dynamic-chip-list-container { .adf-dynamic-chip-list-container {
display: flex; display: flex;
@@ -60,10 +60,10 @@
margin-bottom: 0; margin-bottom: 0;
padding: 6px 11px; padding: 6px 11px;
#{$mat-evolution-chip-action} { #{ms.$mat-evolution-chip-action} {
padding: 2px 12px; padding: 2px 12px;
#{$mat-evolution-chip-text-label} { #{ms.$mat-evolution-chip-text-label} {
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
} }
} }

View File

@@ -1,6 +1,6 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/flex'; @use '../../styles/flex' as flex;
@import 'styles/mat-selectors'; @use '../../styles/mat-selectors' as ms;
.adf-hidden { .adf-hidden {
display: none; display: none;
@@ -18,7 +18,7 @@
display: grid; display: grid;
&-column-view { &-column-view {
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
display: flow; display: flow;
} }
@@ -47,7 +47,7 @@
} }
} }
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
.adf-grid-list-item { .adf-grid-list-item {
flex: 1 0 100%; flex: 1 0 100%;
} }
@@ -75,10 +75,10 @@
top: 1.8em; top: 1.8em;
} }
#{$mat-focused} { #{ms.$mat-focused} {
width: 100%; width: 100%;
#{$mat-text-field-focused} { #{ms.$mat-text-field-focused} {
label { label {
color: var(--theme-primary-color); color: var(--theme-primary-color);
} }
@@ -89,12 +89,12 @@
background-color: 300ms cubic-bezier(0.55, 0, 0.55, 0.2); background-color: 300ms cubic-bezier(0.55, 0, 0.55, 0.2);
} }
#{$mat-form-field-prefix} { #{ms.$mat-form-field-prefix} {
color: var(--theme-primary-color); color: var(--theme-primary-color);
} }
} }
#{$mat-grid-tile} { #{ms.$mat-grid-tile} {
overflow: visible; overflow: visible;
width: 80%; width: 80%;
} }
@@ -110,16 +110,16 @@
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
& #{$mat-card} { & #{ms.$mat-card} {
padding: 16px 24px; padding: 16px 24px;
overflow: hidden; overflow: hidden;
} }
& #{$mat-card-header-text} { & #{ms.$mat-card-header-text} {
margin: 0; margin: 0;
} }
& #{$mat-tab-body-content} { & #{ms.$mat-tab-body-content} {
overflow: hidden; overflow: hidden;
} }
@@ -132,13 +132,13 @@
text-transform: uppercase; text-transform: uppercase;
} }
& #{$mat-tab-ink-bar} { & #{ms.$mat-tab-ink-bar} {
#{$mat-tab-indicator-underline} { #{ms.$mat-tab-indicator-underline} {
border-top-width: 4px; border-top-width: 4px;
} }
} }
& #{$mat-form-field-wrapper} { & #{ms.$mat-form-field-wrapper} {
margin: 0 12px 0 0; margin: 0 12px 0 0;
} }
} }
@@ -201,7 +201,7 @@
padding-bottom: 25px; padding-bottom: 25px;
padding-right: 25px; padding-right: 25px;
& #{$mat-button} { & #{ms.$mat-button} {
height: 36px; height: 36px;
border-radius: 5px; border-radius: 5px;
width: auto; width: auto;
@@ -210,7 +210,7 @@
white-space: nowrap; white-space: nowrap;
} }
& #{$mat-button-label} { & #{ms.$mat-button-label} {
min-width: 58px; min-width: 58px;
} }
} }
@@ -223,7 +223,7 @@
} }
} }
&-left-label-input-container #{$mat-form-field-label} { &-left-label-input-container #{ms.$mat-form-field-label} {
top: auto; top: auto;
bottom: 0; bottom: 0;
} }
@@ -237,7 +237,7 @@
form-field { form-field {
width: 100%; width: 100%;
#{$mat-input-element} { #{ms.$mat-input-element} {
font-size: var(--theme-body-2-font-size); font-size: var(--theme-body-2-font-size);
padding-top: 8px; padding-top: 8px;
line-height: normal; line-height: normal;

View File

@@ -1,5 +1,5 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
$adf-inplace-input-padding: 7px; $adf-inplace-input-padding: 7px;
@@ -10,16 +10,16 @@ $adf-inplace-input-padding: 7px;
} }
} }
#{$mat-line-ripple} { #{ms.$mat-line-ripple} {
display: none; display: none;
} }
#{$mat-form-text-field-infix} { #{ms.$mat-form-text-field-infix} {
display: flex; display: flex;
border-top: 0; border-top: 0;
} }
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
padding: $adf-inplace-input-padding; padding: $adf-inplace-input-padding;
} }

View File

@@ -1,5 +1,5 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/mat-selectors'; @use '../../../../styles/mat-selectors' as ms;
.adf { .adf {
&-amount-widget { &-amount-widget {
@@ -14,17 +14,17 @@
&-amount-widget__input { &-amount-widget__input {
margin-top: -15px; margin-top: -15px;
#{$mat-focused} { #{ms.$mat-focused} {
transition: none; transition: none;
} }
#{$mat-form-field-prefix} { #{ms.$mat-form-field-prefix} {
padding-top: 16px; padding-top: 16px;
padding-bottom: 16px; padding-bottom: 16px;
align-self: flex-end; align-self: flex-end;
} }
&:not(#{$mat-focused}):not(#{$mat-form-field-invalid}) { &:not(#{ms.$mat-focused}):not(#{ms.$mat-form-field-invalid}) {
.adf-amount-widget__prefix-spacing { .adf-amount-widget__prefix-spacing {
color: var(--adf-theme-foreground-secondary-text-color); color: var(--adf-theme-foreground-secondary-text-color);
} }

View File

@@ -1,27 +1,27 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/mat-selectors'; @use '../../../../styles/mat-selectors' as ms;
.adf { .adf {
&-date-time-widget { &-date-time-widget {
#{$mat-form-field-suffix} { #{ms.$mat-form-field-suffix} {
top: 26px; top: 26px;
} }
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
top: 20px; top: 20px;
} }
} }
&-left-label-input-datepicker { &-left-label-input-datepicker {
#{$mat-form-field-suffix} { #{ms.$mat-form-field-suffix} {
top: 0; top: 0;
} }
#{$mat-form-text-field-infix} { #{ms.$mat-form-text-field-infix} {
width: 100%; width: 100%;
} }
} }
} }
.mat-datetimepicker-toggle { #{ms.$mat-datetimepicker-toggle} {
color: var(--adf-theme-foreground-icon-color); color: var(--adf-theme-foreground-icon-color);
} }

View File

@@ -1,5 +1,6 @@
/* stylelint-disable no-descending-specificity */ /* stylelint-disable no-descending-specificity */
@import 'styles/mat-selectors'; /* stylelint-disable declaration-no-important */
@use '../../../styles/mat-selectors' as ms;
ul > li > form-field > .adf-focus { ul > li > form-field > .adf-focus {
.adf-label { .adf-label {
@@ -36,15 +37,15 @@ ul > li > form-field > .adf-focus {
} }
&-invalid { &-invalid {
#{$mat-checkbox} { #{ms.$mat-checkbox} {
padding-bottom: 12px; padding-bottom: 12px;
} }
#{$mat-line-ripple} { #{ms.$mat-line-ripple} {
background-color: var(--theme-warn-color) !important; background-color: var(--theme-warn-color) !important;
} }
#{$mat-select} { #{ms.$mat-select} {
&-arrow { &-arrow {
color: var(--adf-theme-foreground-secondary-text-color) !important; color: var(--adf-theme-foreground-secondary-text-color) !important;
} }
@@ -54,7 +55,7 @@ ul > li > form-field > .adf-focus {
border-color: var(--theme-warn-color); border-color: var(--theme-warn-color);
} }
#{$mat-form-field-prefix} { #{ms.$mat-form-field-prefix} {
color: var(--adf-theme-foreground-secondary-text-color); color: var(--adf-theme-foreground-secondary-text-color);
} }
@@ -71,9 +72,9 @@ ul > li > form-field > .adf-focus {
/* query for Microsoft IE 11 */ /* query for Microsoft IE 11 */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
adf-form-field { adf-form-field {
#{$mat-input-element}, #{ms.$mat-input-element},
#{$mat-select}, #{ms.$mat-select},
#{$mat-form-field} { #{ms.$mat-form-field} {
display: block !important; display: block !important;
} }
} }

View File

@@ -1,11 +1,11 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/mat-selectors'; @use '../../../../styles/mat-selectors' as ms;
.adf { .adf {
&-text-widget { &-text-widget {
width: 100%; width: 100%;
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
top: 20px; top: 20px;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../styles/flex' as flex;
.adf { .adf {
&-userinfo-container { &-userinfo-container {
@@ -14,7 +14,7 @@
&-userinfo-name { &-userinfo-name {
padding: 0 5px; padding: 0 5px;
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
display: none; display: none;
} }
} }
@@ -65,7 +65,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
padding: 10px; padding: 10px;
} }
} }

View File

@@ -1,5 +1,5 @@
@import '../styles/mixins'; @use '../styles/mixins' as mixins;
@import 'styles/mat-selectors'; @use '../styles/mat-selectors' as ms;
$adf-info-drawer-layout-title-font-size: var(--theme-title-font-size) !default; $adf-info-drawer-layout-title-font-size: var(--theme-title-font-size) !default;
$adf-info-drawer-icon-size: 48px !default; $adf-info-drawer-icon-size: 48px !default;
@@ -7,25 +7,25 @@ $adf-info-drawer-icon-size-half: 24px !default;
.adf { .adf {
&-info-drawer { &-info-drawer {
@include flex-column; @include mixins.flex-column;
} }
&-info-drawer-layout { &-info-drawer-layout {
@include flex-column; @include mixins.flex-column;
overflow: auto; overflow: auto;
width: 100%; width: 100%;
background-color: var(--theme-card-background-color); background-color: var(--theme-card-background-color);
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.27); box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.27);
& #{$mat-tab-label-text} { & #{ms.$mat-tab-label-text} {
font-weight: bold; font-weight: bold;
text-align: left; text-align: left;
opacity: 1; opacity: 1;
} }
#{$mat-tab-label}#{$mat-tab-label-active} { #{ms.$mat-tab-label}#{ms.$mat-tab-label-active} {
& #{$mat-tab-label-text} { & #{ms.$mat-tab-label-text} {
color: inherit; color: inherit;
} }
} }
@@ -75,7 +75,7 @@ $adf-info-drawer-icon-size-half: 24px !default;
margin-bottom: 0; margin-bottom: 0;
} }
.adf-info-drawer-tabs #{$mat-tab-body-content} { .adf-info-drawer-tabs #{ms.$mat-tab-body-content} {
.adf-manage-versions-empty, .adf-manage-versions-empty,
.adf-manage-versions-no-permission { .adf-manage-versions-no-permission {
margin: 0; margin: 0;

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../styles/mat-selectors' as ms;
.adf { .adf {
&-info-drawer { &-info-drawer {
@@ -7,7 +7,7 @@
margin: 0; margin: 0;
} }
#{$mat-tab-label-text} { #{ms.$mat-tab-label-text} {
min-width: 0; min-width: 0;
} }
@@ -31,28 +31,28 @@
} }
.adf-info-drawer-tabs { .adf-info-drawer-tabs {
& #{$mat-tab-body-content} > * { & #{ms.$mat-tab-body-content} > * {
margin-bottom: 20px; margin-bottom: 20px;
display: block; display: block;
} }
& #{$mat-tab-body-content} > *:last-child { & #{ms.$mat-tab-body-content} > *:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
#{$mat-tab-label-text} { #{ms.$mat-tab-label-text} {
flex-grow: 1; flex-grow: 1;
#{$mat-icon} + span { #{ms.$mat-icon} + span {
padding-left: 5px; padding-left: 5px;
} }
} }
#{$mat-tab-body} { #{ms.$mat-tab-body} {
overflow-y: hidden; overflow-y: hidden;
} }
#{$mat-tab-body-content} { #{ms.$mat-tab-body-content} {
/* stylelint-disable */ /* stylelint-disable */
overflow: auto; overflow: auto;
/* stylelint-enable */ /* stylelint-enable */
@@ -65,7 +65,7 @@
/* stylelint-disable-next-line no-descending-specificity */ /* stylelint-disable-next-line no-descending-specificity */
.adf-info-drawer-tabs { .adf-info-drawer-tabs {
#{$mat-tab-label-container} { #{ms.$mat-tab-label-container} {
border-bottom: 1px solid rgba(0, 0, 0, 0.12); border-bottom: 1px solid rgba(0, 0, 0, 0.12);
} }
@@ -75,7 +75,7 @@
border-bottom: unset; border-bottom: unset;
opacity: 1; opacity: 1;
&#{$mat-tab-label} { &#{ms.$mat-tab-label} {
flex-grow: 1; flex-grow: 1;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../../styles/flex' as flex;
adf-layout-header .adf-toolbar-container-row { adf-layout-header .adf-toolbar-container-row {
color: var(--theme-header-text-color); color: var(--theme-header-text-color);
@@ -51,7 +51,7 @@ adf-layout-header .adf-toolbar-container-row {
padding: 0; padding: 0;
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
.adf-app-logo, .adf-app-logo,
.adf-app-title { .adf-app-title {
display: none; display: none;

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
adf-layout-container { adf-layout-container {
display: block; display: block;
@@ -34,8 +34,8 @@ adf-layout-container {
} }
/* stylelint-disable selector-class-pattern, declaration-no-important */ /* stylelint-disable selector-class-pattern, declaration-no-important */
#{$mat-sidenav-content}, #{ms.$mat-sidenav-content},
#{$mat-drawer-transition} #{$mat-drawer-content} { #{ms.$mat-drawer-transition} #{ms.$mat-drawer-content} {
margin-left: 0 !important; margin-left: 0 !important;
margin-right: 0 !important; margin-right: 0 !important;
transform: unset !important; transform: unset !important;

View File

@@ -1,6 +1,6 @@
@use '../../../styles/flex' as flex; @use '../../../styles/flex' as flex;
@import '../../../styles/mixins'; @use '../../../styles/mixins' as mixins;
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-sidenav-layout { .adf-sidenav-layout {
&-full-space { &-full-space {
@@ -13,7 +13,7 @@
width: 100%; width: 100%;
} }
@include flex-column; @include mixins.flex-column;
width: 100%; width: 100%;
@@ -25,15 +25,15 @@
flex: 0 0; flex: 0 0;
} }
#{$mat-drawer-content} { #{ms.$mat-drawer-content} {
@include flex-column; @include mixins.flex-column;
position: unset; position: unset;
overflow: auto; overflow: auto;
} }
.adf-layout-container-sidenav { .adf-layout-container-sidenav {
#{$mat-icon} { #{ms.$mat-icon} {
vertical-align: sub; vertical-align: sub;
} }
} }

View File

@@ -1,8 +1,8 @@
@import '../../../styles/mixins'; @use '../../../styles/mixins' as mixins;
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-login { .adf-login {
@include flex-column; @include mixins.flex-column;
} }
.adf-login-content { .adf-login-content {
@@ -204,7 +204,7 @@
padding-bottom: 16px; padding-bottom: 16px;
font-size: var(--theme-subheading-2-font-size); font-size: var(--theme-subheading-2-font-size);
#{$mat-form-field-infix} { #{ms.$mat-form-field-infix} {
min-height: 0; min-height: 0;
padding-bottom: 3px; padding-bottom: 3px;
padding-top: 20px; padding-top: 20px;
@@ -213,7 +213,7 @@
font-size: var(--theme-subheading-2-font-size); font-size: var(--theme-subheading-2-font-size);
} }
#{$mat-floating-label-required} { #{ms.$mat-floating-label-required} {
&::after { &::after {
font-size: var(--theme-subheading-2-font-size); font-size: var(--theme-subheading-2-font-size);
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../styles/mat-selectors' as ms;
$notification-item-height: 72px; $notification-item-height: 72px;
@@ -8,7 +8,7 @@ $notification-item-height: 72px;
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
} }
&-notification-history-menu_button#{$mat-button} { &-notification-history-menu_button#{ms.$mat-button} {
border-radius: 90%; border-radius: 90%;
padding: 0; padding: 0;
min-width: 40px; min-width: 40px;
@@ -154,11 +154,11 @@ $notification-item-height: 72px;
} }
} }
#{$mat-menu-panel}.adf-notification-history-menu.adf-notification-history-menu-panel { #{ms.$mat-menu-panel}.adf-notification-history-menu.adf-notification-history-menu-panel {
min-width: 320px; min-width: 320px;
max-height: 500px; max-height: 500px;
#{$mat-menu-content} { #{ms.$mat-menu-content} {
padding: 0; padding: 0;
} }
} }

View File

@@ -1,11 +1,11 @@
@import 'styles/mat-selectors'; @use '../styles/mat-selectors' as ms;
.adf-search-container { .adf-search-container {
&:has(.adf-input-form-field-divider) { &:has(.adf-input-form-field-divider) {
overflow: hidden; overflow: hidden;
} }
#{$mat-form-field-subscript-wrapper} { #{ms.$mat-form-field-subscript-wrapper} {
display: none; display: none;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../styles/mat-selectors' as ms;
:host { :host {
display: flex; display: flex;
@@ -20,7 +20,7 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
#{$mat-button} { #{ms.$mat-button} {
min-width: 0; min-width: 0;
margin: -8px; margin: -8px;
height: unset; height: unset;

View File

@@ -186,3 +186,13 @@ $mat-checkbox-selected: '.mdc-checkbox--selected';
$mat-checkbox-ripple: '.mat-mdc-checkbox-ripple'; $mat-checkbox-ripple: '.mat-mdc-checkbox-ripple';
$mat-list-base: '.mat-mdc-list-base'; $mat-list-base: '.mat-mdc-list-base';
$mat-card-header: '.mat-mdc-card-header'; $mat-card-header: '.mat-mdc-card-header';
$mat-datetimepicker-calendar: '.mat-datetimepicker-calendar';
$mat-datetimepicker-calendar-header: '.mat-datetimepicker-calendar-header';
$mat-datetimepicker-calendar-table-header: '.mat-datetimepicker-calendar-table-header';
$mat-datetimepicker-calendar-header-year: '.mat-datetimepicker-calendar-header-year';
$mat-datetimepicker-calendar-header-date: '.mat-datetimepicker-calendar-header-date';
$mat-datetimepicker-calendar-header-time: '.mat-datetimepicker-calendar-header-time';
$mat-datetimepicker-calendar-content: '.mat-datetimepicker-calendar-content';
$mat-datetimepicker-calendar-body-disabled: '.mat-datetimepicker-calendar-body-disabled';
$mat-datetimepicker-toggle: '.mat-datetimepicker-toggle';
$mat-form-field-underline: '.mat-form-field-underline';

View File

@@ -1,18 +1,18 @@
@import './mat-selectors'; @use './mat-selectors' as ms;
@mixin adf-material-theme() { @mixin adf-material-theme() {
#{$mat-expansion-panel} { #{ms.$mat-expansion-panel} {
& #{$mat-expansion-panel-header}.cdk-keyboard-focused, & #{ms.$mat-expansion-panel-header}.cdk-keyboard-focused,
& #{$mat-expansion-panel-header}.cdk-program-focused, & #{ms.$mat-expansion-panel-header}.cdk-program-focused,
&:not(#{$mat-expanded}) #{$mat-expansion-panel-header}:hover { &:not(#{ms.$mat-expanded}) #{ms.$mat-expansion-panel-header}:hover {
&:not([aria-disabled='true']) { &:not([aria-disabled='true']) {
background-color: var(--adf-theme-background-hover-color); background-color: var(--adf-theme-background-hover-color);
} }
} }
} }
#{$mat-calendar} { #{ms.$mat-calendar} {
#{$mat-calendar-header} { #{ms.$mat-calendar-header} {
button { button {
color: var(--adf-theme-foreground-text-color-087); color: var(--adf-theme-foreground-text-color-087);
@@ -22,68 +22,69 @@
} }
} }
#{$mat-calendar-content} { #{ms.$mat-calendar-content} {
#{$mat-calendar-table-header} th { #{ms.$mat-calendar-table-header} th {
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
} }
#{$mat-calendar-body-disabled} > div { #{ms.$mat-calendar-body-disabled} > div {
/* stylelint-disable-next-line declaration-no-important */
color: var(--adf-theme-foreground-text-color-054) !important; color: var(--adf-theme-foreground-text-color-054) !important;
} }
} }
} }
.mat-datetimepicker-calendar { #{ms.$mat-datetimepicker-calendar} {
.mat-datetimepicker-calendar-header { #{ms.$mat-datetimepicker-calendar-header} {
.mat-datetimepicker-calendar-header-year { #{ms.$mat-datetimepicker-calendar-header-year} {
opacity: 1; opacity: 1;
} }
.mat-datetimepicker-calendar-header-date { #{ms.$mat-datetimepicker-calendar-header-date} {
opacity: 1; opacity: 1;
} }
.mat-datetimepicker-calendar-header-time { #{ms.$mat-datetimepicker-calendar-header-time} {
opacity: 1; opacity: 1;
} }
} }
.mat-datetimepicker-calendar-content { #{ms.$mat-datetimepicker-calendar-content} {
.mat-datetimepicker-calendar-table-header th { #{ms.$mat-datetimepicker-calendar-table-header} th {
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
} }
.mat-datetimepicker-calendar-body-disabled > div { #{ms.$mat-datetimepicker-calendar-body-disabled} > div {
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
} }
} }
} }
#{$mat-snackbar} { #{ms.$mat-snackbar} {
&#{$mat-snack-bar-container} { &#{ms.$mat-snack-bar-container} {
margin: 24px; margin: 24px;
#{$mat-snackbar-label} { #{ms.$mat-snackbar-label} {
line-height: unset; line-height: unset;
} }
} }
} }
#{$mat-input-element} { #{ms.$mat-input-element} {
&:focus::placeholder { &:focus::placeholder {
color: var(--theme-primary-color); color: var(--theme-primary-color);
} }
} }
#{$mat-datetimepicker-dialog} { #{ms.$mat-datetimepicker-dialog} {
#{$mat-dialog-container} { #{ms.$mat-dialog-container} {
#{$mat-dialog-surface} { #{ms.$mat-dialog-surface} {
padding: 0; padding: 0;
} }
} }
} }
#{$mat-button-base} { #{ms.$mat-button-base} {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
} }

View File

@@ -1,5 +1,3 @@
@import 'styles/mat-selectors';
.adf-empty-content { .adf-empty-content {
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
display: flex; display: flex;

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../styles/flex' as flex;
.adf-error-content { .adf-error-content {
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
@@ -36,7 +36,7 @@
} }
} }
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
.adf-error-content { .adf-error-content {
&-code { &-code {
margin-top: 100px; margin-top: 100px;

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-image-viewer { .adf-image-viewer {
width: 100%; width: 100%;
@@ -33,7 +33,7 @@
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
.adf-toolbar #{$mat-toolbar} { .adf-toolbar #{ms.$mat-toolbar} {
max-height: 48px; max-height: 48px;
background-color: var(--adf-theme-background-card-color); background-color: var(--adf-theme-background-card-color);
border-width: 0; border-width: 0;

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-pdf-viewer { .adf-pdf-viewer {
width: 100%; width: 100%;
@@ -79,7 +79,7 @@
max-height: 100px; max-height: 100px;
max-width: 300px; max-width: 300px;
#{$mat-progress-bar} { #{ms.$mat-progress-bar} {
max-width: 300px; max-width: 300px;
margin: 0; margin: 0;
position: absolute; position: absolute;
@@ -98,7 +98,7 @@
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
.adf-toolbar #{$mat-toolbar} { .adf-toolbar #{ms.$mat-toolbar} {
max-height: 48px; max-height: 48px;
background-color: var(--adf-theme-background-card-color); background-color: var(--adf-theme-background-card-color);
border-width: 0; border-width: 0;

View File

@@ -1,5 +1,4 @@
/* stylelint-disable scss/at-extend-no-missing-placeholder */ /* stylelint-disable scss/at-extend-no-missing-placeholder */
@import 'styles/mat-selectors';
.adf-full-screen { .adf-full-screen {
width: 100%; width: 100%;

View File

@@ -1,5 +1,5 @@
/* stylelint-disable scss/at-extend-no-missing-placeholder */ /* stylelint-disable scss/at-extend-no-missing-placeholder */
@import 'styles/mat-selectors'; @use '../../styles/mat-selectors' as ms;
.adf-full-screen { .adf-full-screen {
width: 100%; width: 100%;
@@ -12,7 +12,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
#{$mat-toolbar} { #{ms.$mat-toolbar} {
color: var(--adf-theme-foreground-text-color-054); color: var(--adf-theme-foreground-text-color-054);
.adf-toolbar-title { .adf-toolbar-title {
@@ -33,7 +33,7 @@
} }
&-toolbar { &-toolbar {
#{$mat-toolbar} { #{ms.$mat-toolbar} {
background-color: var(--adf-theme-background-card-color-087); background-color: var(--adf-theme-background-card-color-087);
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors' as ms;
.adf-buttons-menu { .adf-buttons-menu {
margin-right: 10px; margin-right: 10px;
@@ -23,7 +23,7 @@
display: none; display: none;
} }
button > #{$material-icons} { button > #{ms.$material-icons} {
color: black; color: black;
margin: 0 10px; margin: 0 10px;
} }

View File

@@ -0,0 +1,3 @@
/* Variables in this file are used in the Angular Material library. Do not modify them unless you know what you are doing. */
$material-icons: '.material-icons';

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../../flex' as flex;
adf-cloud-app-list { adf-cloud-app-list {
width: 100%; width: 100%;
@@ -29,11 +29,11 @@ adf-cloud-app-list {
flex: 1 1 100%; flex: 1 1 100%;
max-width: 33.3333%; max-width: 33.3333%;
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
max-width: 50%; max-width: 50%;
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
max-width: 100%; max-width: 100%;
} }
} }

View File

@@ -0,0 +1,81 @@
@charset "UTF-8";
/* stylelint-disable */
// Non-overlapping Material Design breakpoints
// @type map
$breakpoints: (
xs: (
begin: 0,
end: 599.9px
),
sm: (
begin: 600px,
end: 959.9px
),
md: (
begin: 960px,
end: 1279.9px
),
lg: (
begin: 1280px,
end: 1919.9px
),
xl: (
begin: 1920px,
end: 4999.99px
)
) !default;
// Overlapping breakpoints that are greater than defined
// Material Design breakpoints
// @type map
$overlapping-gt: (
gt-xs: 600px,
gt-sm: 960px,
gt-md: 1280px,
gt-lg: 1920px
) !default;
// Overlapping breakpoints that are less than defined
// Material Design breakpoints
// @type map
$overlapping-lt: (
lt-sm: 599.9px,
lt-md: 959.9px,
lt-lg: 1279.9px,
lt-xl: 1919.9px
) !default;
// Media Query Mixin, takes a breakpoint and returns a wrapping
// media query statement
// e.g.
//
// @include layout-bp(xs) {
// background-color: red;
// }
//
// becomes
//
// @media (min-width: 0px) and (max-width: 599px) {
// background-color: red;
// }
@mixin layout-bp($bp) {
@if map-has-key($breakpoints, $bp) {
$min: map-get(map-get($breakpoints, $bp), begin);
$max: map-get(map-get($breakpoints, $bp), end);
@media (min-width: $min) and (max-width: $max) {
@content;
}
} @else if map-has-key($overlapping-gt, $bp) {
$min: map-get($overlapping-gt, $bp);
@media (min-width: $min) {
@content;
}
} @else if map-has-key($overlapping-lt, $bp) {
$max: map-get($overlapping-lt, $bp);
@media (max-width: $max) {
@content;
}
}
}
/* stylelint-enable */

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../mat-selectors' as ms;
/* cspell: disable-next-line */ /* cspell: disable-next-line */
/* stylelint-disable scss/at-extend-no-missing-placeholder */ /* stylelint-disable scss/at-extend-no-missing-placeholder */
@@ -38,7 +38,7 @@
} }
&-toolbar { &-toolbar {
#{$mat-toolbar} { #{ms.$mat-toolbar} {
background-color: var(--adf-theme-background-card-color-087); background-color: var(--adf-theme-background-card-color-087);
} }
} }
@@ -83,7 +83,7 @@
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
#{$mat-card-content} { #{ms.$mat-card-content} {
height: 100%; height: 100%;
overflow: hidden auto; overflow: hidden auto;
} }

View File

@@ -1,10 +1,10 @@
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@import 'styles/mat-selectors'; @use '../../../../mat-selectors' as ms;
.adf { .adf {
// eslint-disable-selector-class-pattern // eslint-disable-selector-class-pattern
&-date-widget { &-date-widget {
#{$mat-form-field-suffix} { #{ms.$mat-form-field-suffix} {
top: 26px; top: 26px;
} }
@@ -14,11 +14,11 @@
} }
&-left-label-input-datepicker { &-left-label-input-datepicker {
#{$mat-form-field-suffix} { #{ms.$mat-form-field-suffix} {
top: 0; top: 0;
} }
#{$mat-form-text-field-infix} { #{ms.$mat-form-text-field-infix} {
width: 100%; width: 100%;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../../mat-selectors' as ms;
.adf { .adf {
&-dropdown-widget { &-dropdown-widget {
@@ -27,7 +27,7 @@
margin-top: 1px; margin-top: 1px;
} }
#{$mat-select-arrow-wrapper} { #{ms.$mat-select-arrow-wrapper} {
height: auto; height: auto;
} }
} }

View File

@@ -0,0 +1,9 @@
/* Variables in this file are used in the Angular Material library. Do not modify them unless you know what you are doing. */
$mat-toolbar: '.mat-toolbar';
$mat-card-content: '.mat-mdc-card-content';
$mat-form-field-suffix: '.mat-mdc-form-field-text-suffix';
$mat-form-text-field-infix: '.mat-mdc-form-text-infix';
$mat-select-arrow-wrapper: '.mat-mdc-select-arrow-wrapper';
$mat-button: '.mat-mdc-button';
$mat-button-label: '.mdc-button__label';

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../../../flex' as flex;
.adf-edit-process-filter-date-error-container { .adf-edit-process-filter-date-error-container {
position: absolute; position: absolute;
@@ -50,7 +50,7 @@
max-width: 23%; max-width: 23%;
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
flex-flow: column; flex-flow: column;
:not(:last-child) { :not(:last-child) {

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../../../../flex' as flex;
.adf-edit-task-filter-checkbox { .adf-edit-task-filter-checkbox {
font-size: var(--theme-subheading-2-font-size); font-size: var(--theme-subheading-2-font-size);
@@ -60,7 +60,7 @@
flex: 1 1 23%; flex: 1 1 23%;
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
flex-flow: column; flex-flow: column;
:not(:last-child) { :not(:last-child) {

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../../../../flex' as flex;
.adf-edit-task-filter-checkbox { .adf-edit-task-filter-checkbox {
font-size: var(--theme-subheading-2-font-size); font-size: var(--theme-subheading-2-font-size);
@@ -60,7 +60,7 @@
flex: 1 1 23%; flex: 1 1 23%;
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
flex-flow: column; flex-flow: column;
:not(:last-child) { :not(:last-child) {

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../../mat-selectors' as ms;
.adf-task-form-cloud-container { .adf-task-form-cloud-container {
height: 100%; height: 100%;
@@ -16,7 +16,7 @@
border-radius: 5px; border-radius: 5px;
} }
#{$mat-button} { #{ms.$mat-button} {
height: 36px; height: 36px;
border-radius: 5px; border-radius: 5px;
width: auto; width: auto;
@@ -25,7 +25,7 @@
white-space: nowrap; white-space: nowrap;
} }
#{$mat-button-label} { #{ms.$mat-button-label} {
min-width: 58px; min-width: 58px;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../../flex' as flex;
.adf { .adf {
&-controls { &-controls {
@@ -28,7 +28,7 @@
} }
} }
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
adf-card-view .adf-property-value { adf-card-view .adf-property-value {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;

View File

@@ -1,21 +1,52 @@
@import 'styles/flex'; @use 'sass:map';
@import 'styles/mat-selectors'; @use '../styles/mat-selectors' as ms;
@use '../styles/flex' as flex;
.adf-app-list-item { .adf-app-list-item {
cursor: pointer; cursor: pointer;
} }
$tile-themes: ( $tile-themes: (
theme-1: (bg: #269abc, color: #168aac), theme-1: (
theme-2: (bg: #7da9b0, color: #6d99a0), bg: #269abc,
theme-3: (bg: #7689ab, color: #66799b), color: #168aac
theme-4: (bg: #c74e3e, color: #b73e2e), ),
theme-5: (bg: #fab96c, color: #eaa95c), theme-2: (
theme-6: (bg: #759d4c, color: #658d3c), bg: #7da9b0,
theme-7: (bg: #b1b489, color: #a1a479), color: #6d99a0
theme-8: (bg: #a17299, color: #916289), ),
theme-9: (bg: #696c67, color: #595c57), theme-3: (
theme-10: (bg: #cabb33, color: #baab23) bg: #7689ab,
color: #66799b
),
theme-4: (
bg: #c74e3e,
color: #b73e2e
),
theme-5: (
bg: #fab96c,
color: #eaa95c
),
theme-6: (
bg: #759d4c,
color: #658d3c
),
theme-7: (
bg: #b1b489,
color: #a1a479
),
theme-8: (
bg: #a17299,
color: #916289
),
theme-9: (
bg: #696c67,
color: #595c57
),
theme-10: (
bg: #cabb33,
color: #baab23
)
); );
.adf-app-list-spinner, .adf-app-list-spinner,
@@ -26,7 +57,7 @@ $tile-themes: (
flex-direction: column; flex-direction: column;
height: 85vh; height: 85vh;
#{$mat-progress-spinner} { #{ms.$mat-progress-spinner} {
margin: 0 auto; margin: 0 auto;
} }
} }
@@ -46,12 +77,12 @@ $tile-themes: (
flex: 1 1 33.3333%; flex: 1 1 33.3333%;
max-width: 33.3333%; max-width: 33.3333%;
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
flex: 1 1 50%; flex: 1 1 50%;
max-width: 50%; max-width: 50%;
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
flex: 1 1 100%; flex: 1 1 100%;
max-width: 100%; max-width: 100%;
} }
@@ -59,12 +90,12 @@ $tile-themes: (
&-card { &-card {
@for $i from 1 through 10 { @for $i from 1 through 10 {
&.theme-#{$i} { &.theme-#{$i} {
$tile-theme: map-get($tile-themes, theme-#{$i}); $tile-theme: map.get($tile-themes, theme-#{$i});
background-color: map-get($tile-theme, bg); background-color: map.get($tile-theme, bg);
.adf-app-listgrid-item-card-logo-icon { .adf-app-listgrid-item-card-logo-icon {
color: map-get($tile-theme, color); color: map.get($tile-theme, color);
} }
} }
} }
@@ -72,15 +103,12 @@ $tile-themes: (
outline: none; outline: none;
flex-direction: column; flex-direction: column;
display: flex; display: flex;
transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
min-height: 200px; min-height: 200px;
padding: 0; padding: 0;
&:hover { &:hover {
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
0 3px 14px 2px rgba(0, 0, 0, 0.12),
0 5px 5px -3px rgba(0, 0, 0, 0.2);
cursor: pointer; cursor: pointer;
transform: scale(1.015); transform: scale(1.015);
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../styles/flex' as flex;
.adf-attachment-list-loading-margin { .adf-attachment-list-loading-margin {
margin-left: calc((100% - 100px) / 2); margin-left: calc((100% - 100px) / 2);
@@ -41,7 +41,7 @@
object-fit: contain; object-fit: contain;
margin-top: 17px; margin-top: 17px;
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
width: 250px; width: 250px;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/flex'; @use '../../styles/flex' as flex;
.adf-attachment-list-loading-margin { .adf-attachment-list-loading-margin {
margin-left: calc((100% - 100px) / 2); margin-left: calc((100% - 100px) / 2);
@@ -23,7 +23,7 @@
word-break: break-all; word-break: break-all;
white-space: pre-line; white-space: pre-line;
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
font-size: 40px; font-size: 40px;
} }
} }
@@ -46,7 +46,7 @@
object-fit: contain; object-fit: contain;
margin-top: 17px; margin-top: 17px;
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
width: 250px; width: 250px;
} }
} }

View File

@@ -1,23 +1,23 @@
@import 'styles/mat-selectors'; @use '../../styles/mat-selectors' as ms;
.adf-form-container { .adf-form-container {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
& #{$mat-card} { & #{ms.$mat-card} {
padding: 16px 24px; padding: 16px 24px;
overflow: hidden; overflow: hidden;
} }
& #{$mat-card-header-text} { & #{ms.$mat-card-header-text} {
margin: 0; margin: 0;
} }
& #{$mat-tab-body-content} { & #{ms.$mat-tab-body-content} {
overflow: hidden; overflow: hidden;
} }
& #{$mat-tab-label-text} { & #{ms.$mat-tab-label-text} {
font-size: var(--theme-subheading-2-font-size); font-size: var(--theme-subheading-2-font-size);
line-height: var(--theme-headline-line-height); line-height: var(--theme-headline-line-height);
letter-spacing: -0.4px; letter-spacing: -0.4px;
@@ -26,79 +26,79 @@
text-transform: uppercase; text-transform: uppercase;
} }
& #{$mat-tab-ink-bar} { & #{ms.$mat-tab-ink-bar} {
height: 4px; height: 4px;
} }
& #{$mat-form-field-wrapper} { & #{ms.$mat-form-field-wrapper} {
margin: 0 12px 0 0; margin: 0 12px 0 0;
} }
} }
.adf-form-container-card { .adf-form-container-card {
.adf { .adf {
&-form-title { &-form-title {
font-size: var(--theme-title-font-size); font-size: var(--theme-title-font-size);
}
&-form-debug-container {
padding: 10px;
}
&-form-debug-container .adf-debug-toggle-text {
padding-left: 15px;
cursor: pointer;
}
&-form-debug-container .adf-debug-toggle-text:hover {
font-weight: bold;
}
&-form-reload-button {
position: absolute;
right: 12px;
top: 30px;
}
&-form-validation-button {
position: absolute;
right: 50px;
top: 39px;
color: var(--theme-accent-color);
& .adf-invalid-color {
color: var(--theme-warn-color);
}
}
&-form-hide-button {
display: none;
}
&-task-title {
text-align: center;
}
&-label {
width: 32px;
height: 16px;
font-size: var(--theme-caption-font-size);
line-height: var(--theme-headline-line-height);
text-align: left;
white-space: nowrap;
}
&-form-mat-card-actions {
float: right;
padding-bottom: 25px;
padding-right: 25px;
& #{ms.$mat-button} {
height: 36px;
border-radius: 5px;
} }
&-form-debug-container { & #{ms.$mat-button-label} {
padding: 10px;
}
&-form-debug-container .adf-debug-toggle-text {
padding-left: 15px;
cursor: pointer;
}
&-form-debug-container .adf-debug-toggle-text:hover {
font-weight: bold;
}
&-form-reload-button {
position: absolute;
right: 12px;
top: 30px;
}
&-form-validation-button {
position: absolute;
right: 50px;
top: 39px;
color: var(--theme-accent-color);
& .adf-invalid-color {
color: var(--theme-warn-color);
}
}
&-form-hide-button {
display: none;
}
&-task-title {
text-align: center;
}
&-label {
width: 32px;
height: 16px;
font-size: var(--theme-caption-font-size);
line-height: var(--theme-headline-line-height);
text-align: left;
white-space: nowrap;
}
&-form-mat-card-actions {
float: right;
padding-bottom: 25px;
padding-right: 25px;
& #{$mat-button} {
height: 36px;
border-radius: 5px;
}
& #{$mat-button-label} {
width: 58px; width: 58px;
height: 20px; height: 20px;
opacity: 0.54; opacity: 0.54;
@@ -109,11 +109,10 @@
} }
} }
form-field { form-field {
width: 100%; width: 100%;
#{$mat-input-element} { #{ms.$mat-input-element} {
font-size: var(--theme-body-2-font-size); font-size: var(--theme-body-2-font-size);
padding-top: 8px; padding-top: 8px;
line-height: normal; line-height: normal;

View File

@@ -1,7 +1,7 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-attach-file-widget-dialog { .adf-attach-file-widget-dialog {
#{$mat-dialog-actions} { #{ms.$mat-dialog-actions} {
background-color: var(--theme-background-color); background-color: var(--theme-background-color);
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
@@ -30,7 +30,6 @@
} }
} }
#{$mat-dialog-surface} { #{ms.$mat-dialog-surface} {
overflow-x: hidden; overflow-x: hidden;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf { .adf {
&-attach-folder-widget-container { &-attach-folder-widget-container {
@@ -28,7 +28,7 @@
&-attach-folder-files-row { &-attach-folder-files-row {
padding-left: 8px; padding-left: 8px;
#{$mat-line} { #{ms.$mat-line} {
margin-bottom: 0; margin-bottom: 0;
} }
} }
@@ -42,7 +42,7 @@
display: flex; display: flex;
flex-direction: row-reverse; flex-direction: row-reverse;
#{$mat-icon} { #{ms.$mat-icon} {
margin-left: 4px; margin-left: 4px;
margin-right: 0; margin-right: 0;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf { .adf {
&-dropdown-widget { &-dropdown-widget {
@@ -9,7 +9,7 @@
width: 100%; width: 100%;
} }
#{$mat-select-value-text} { #{ms.$mat-select-value-text} {
font-size: var(--theme-body-1-font-size); font-size: var(--theme-body-1-font-size);
} }

View File

@@ -1,10 +1,10 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf { .adf {
&-people-widget { &-people-widget {
width: 100%; width: 100%;
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
top: 10px; top: 10px;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf { .adf {
&-upload-widget-container { &-upload-widget-container {
@@ -27,7 +27,7 @@
} }
&-upload-files-row { &-upload-files-row {
#{$mat-line} { #{ms.$mat-line} {
margin-bottom: 0; margin-bottom: 0;
} }
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-assignment-header { .adf-assignment-header {
border-bottom: 1px solid var(--adf-theme-foreground-divider-color); border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
@@ -26,7 +26,7 @@
} }
} }
.adf-assignment-top-container#{$mat-card} { .adf-assignment-top-container#{ms.$mat-card} {
border-top: 1px solid var(--adf-theme-foreground-divider-color); border-top: 1px solid var(--adf-theme-foreground-divider-color);
margin: 0; margin: 0;
padding: 0; padding: 0;

View File

@@ -1,5 +1,5 @@
@import 'styles/flex'; @use '../../../styles/mat-selectors' as ms;
@import 'styles/mat-selectors'; @use '../../../styles/flex' as flex;
.adf { .adf {
&-start-process { &-start-process {
@@ -12,7 +12,7 @@
width: 100%; width: 100%;
} }
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
color: var(--adf-theme-mat-grey-color-a200-dark); color: var(--adf-theme-mat-grey-color-a200-dark);
} }
@@ -22,7 +22,7 @@
text-align: right; text-align: right;
} }
#{$mat-button} { #{ms.$mat-button} {
width: auto; width: auto;
padding: 0 16px; padding: 0 16px;
margin: 0 8px; margin: 0 8px;
@@ -40,7 +40,7 @@
} }
&-process-name { &-process-name {
margin-top: 16px margin-top: 16px;
} }
} }
@@ -62,11 +62,11 @@
} }
&-start-form-container { &-start-form-container {
#{$mat-card-content} { #{ms.$mat-card-content} {
margin-bottom: 100px; margin-bottom: 100px;
} }
#{$mat-card-header} { #{ms.$mat-card-header} {
display: none; display: none;
} }
@@ -81,7 +81,7 @@
padding-bottom: 16px; padding-bottom: 16px;
button { button {
text-wrap: none; text-wrap: nowrap;
} }
} }
@@ -92,11 +92,11 @@
align-items: baseline; align-items: baseline;
.adf-start-process-definition-select { .adf-start-process-definition-select {
.mat-mdc-select-arrow-wrapper { #{ms.$mat-select-arrow-wrapper} {
transform: none; transform: none;
svg { svg {
fill: initial; fill: currentcolor;
} }
} }
} }
@@ -107,7 +107,7 @@
} }
} }
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
.adf-start-process { .adf-start-process {
width: 90%; width: 90%;
margin-left: auto; margin-left: auto;

View File

@@ -0,0 +1,81 @@
@charset "UTF-8";
/* stylelint-disable */
// Non-overlapping Material Design breakpoints
// @type map
$breakpoints: (
xs: (
begin: 0,
end: 599.9px
),
sm: (
begin: 600px,
end: 959.9px
),
md: (
begin: 960px,
end: 1279.9px
),
lg: (
begin: 1280px,
end: 1919.9px
),
xl: (
begin: 1920px,
end: 4999.99px
)
) !default;
// Overlapping breakpoints that are greater than defined
// Material Design breakpoints
// @type map
$overlapping-gt: (
gt-xs: 600px,
gt-sm: 960px,
gt-md: 1280px,
gt-lg: 1920px
) !default;
// Overlapping breakpoints that are less than defined
// Material Design breakpoints
// @type map
$overlapping-lt: (
lt-sm: 599.9px,
lt-md: 959.9px,
lt-lg: 1279.9px,
lt-xl: 1919.9px
) !default;
// Media Query Mixin, takes a breakpoint and returns a wrapping
// media query statement
// e.g.
//
// @include layout-bp(xs) {
// background-color: red;
// }
//
// becomes
//
// @media (min-width: 0px) and (max-width: 599px) {
// background-color: red;
// }
@mixin layout-bp($bp) {
@if map-has-key($breakpoints, $bp) {
$min: map-get(map-get($breakpoints, $bp), begin);
$max: map-get(map-get($breakpoints, $bp), end);
@media (min-width: $min) and (max-width: $max) {
@content;
}
} @else if map-has-key($overlapping-gt, $bp) {
$min: map-get($overlapping-gt, $bp);
@media (min-width: $min) {
@content;
}
} @else if map-has-key($overlapping-lt, $bp) {
$max: map-get($overlapping-lt, $bp);
@media (max-width: $max) {
@content;
}
}
}
/* stylelint-enable */

View File

@@ -0,0 +1,25 @@
/* Variables in this file are used in the Angular Material library. Do not modify them unless you know what you are doing. */
$mat-progress-spinner: '.mat-mdc-progress-spinner';
$mat-card: '.mat-mdc-card';
$mat-card-header-text: '.mat-mdc-card-header-text';
$mat-card-content: '.mat-mdc-card-content';
$mat-card-header: '.mat-mdc-card-header';
$mat-card-title: '.mat-mdc-card-title';
$mat-tab-body-content: '.mat-mdc-tab-body-content';
$mat-tab-label-text: '.mdc-tab__text-label';
$mat-tab-ink-bar: '.mdc-tab-indicator';
$mat-form-field-wrapper: '.mat-mdc-text-field-wrapper';
$mat-button: '.mat-mdc-button';
$mat-button-label: '.mdc-button__label';
$mat-input-element: '.mat-mdc-input-element';
$mat-dialog-actions: '.mat-mdc-dialog-actions';
$mat-line: '.mat-line';
$mat-icon: '.mat-icon';
$mat-select-value-text: '.mat-mdc-select-value-text';
$mat-form-field-label: '.mat-mdc-floating-label';
$mat-form-field: '.mat-mdc-form-field';
$mat-form-field-prefix: '.mat-mdc-form-field-text-prefix';
$mat-slide-toggle: '.mat-mdc-slide-toggle';
$mat-select-arrow-wrapper: '.mat-mdc-select-arrow-wrapper';
$mat-dialog-surface: '.mat-mdc-dialog-surface';

View File

@@ -1,7 +1,7 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
.adf-attach-form { .adf-attach-form {
#{$mat-form-field} { #{ms.$mat-form-field} {
width: 100%; width: 100%;
} }

View File

@@ -1,4 +1,4 @@
@import 'styles/mat-selectors'; @use '../../../styles/mat-selectors' as ms;
:host { :host {
width: 100%; width: 100%;
@@ -8,7 +8,7 @@
font-weight: bolder; font-weight: bolder;
} }
#{$mat-form-field} { #{ms.$mat-form-field} {
width: 100%; width: 100%;
} }

View File

@@ -1,12 +1,12 @@
@import 'styles/flex'; @use '../../../styles/mat-selectors' as ms;
@import 'styles/mat-selectors'; @use '../../../styles/flex' as flex;
/* stylelint-disable no-descending-specificity */ /* stylelint-disable no-descending-specificity */
.adf-new-task-heading { .adf-new-task-heading {
padding-top: 12px; padding-top: 12px;
border-bottom: 1px solid var(--adf-theme-foreground-divider-color); border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
#{$mat-card-title} { #{ms.$mat-card-title} {
font-weight: bold; font-weight: bold;
font-size: var(--theme-adf-task-title-font-size); font-size: var(--theme-adf-task-title-font-size);
} }
@@ -32,11 +32,11 @@
} }
.adf-input-row { .adf-input-row {
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
flex-direction: column; flex-direction: column;
} }
@include layout-bp(lt-md) { @include flex.layout-bp(lt-md) {
mat-form-field { mat-form-field {
margin-right: 20px; margin-right: 20px;
} }
@@ -48,7 +48,7 @@
box-sizing: border-box; box-sizing: border-box;
max-width: 48%; max-width: 48%;
@include layout-bp(lt-sm) { @include flex.layout-bp(lt-sm) {
max-width: 100%; max-width: 100%;
} }
} }
@@ -69,20 +69,20 @@
} }
adf-start-task { adf-start-task {
#{$mat-button}.adf-uppercase { #{ms.$mat-button}.adf-uppercase {
text-transform: uppercase; text-transform: uppercase;
} }
people-widget.adf-people-widget-content { people-widget.adf-people-widget-content {
width: 100%; width: 100%;
#{$mat-form-field-label} { #{ms.$mat-form-field-label} {
top: -14px; top: -14px;
} }
} }
.adf-people-widget-content { .adf-people-widget-content {
#{$mat-form-field} { #{ms.$mat-form-field} {
width: 100%; width: 100%;
} }
@@ -96,7 +96,7 @@ adf-start-task {
} }
.adf { .adf {
&-start-task-input-container #{$mat-form-field-wrapper} { &-start-task-input-container #{ms.$mat-form-field-wrapper} {
padding-top: 8px; padding-top: 8px;
} }
@@ -136,7 +136,7 @@ adf-start-task {
border-color: var(--theme-warn-color); border-color: var(--theme-warn-color);
} }
#{$mat-form-field-prefix} { #{ms.$mat-form-field-prefix} {
color: var(--theme-warn-color); color: var(--theme-warn-color);
} }

Some files were not shown because too many files have changed in this diff Show More