[ACS-8445] Testing Angular 15 - Columns button is not centered properly (#10013)

This commit is contained in:
dominikiwanekhyland 2024-08-01 11:10:18 +02:00 committed by GitHub
parent 8be3175cf2
commit e9e5592e95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 33 additions and 27 deletions

View File

@ -10,7 +10,7 @@ adf-search-chip-autocomplete-input {
margin-top: 4px; margin-top: 4px;
} }
#{$mat-form--text-field-infix} { #{$mat-form-text-field-infix} {
border: none; border: none;
} }

View File

@ -9,7 +9,7 @@ adf-search-properties {
display: block; display: block;
} }
#{$mat-text-field--no-label} { #{$mat-text-field-no-label} {
#{$mat-form-field-infix} { #{$mat-form-field-infix} {
padding-top: 9px; padding-top: 9px;
padding-bottom: 9px; padding-bottom: 9px;

View File

@ -17,12 +17,12 @@
.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} { #{$mat-text-field-no-label} #{$mat-form-field-infix} {
padding: 0; padding: 0;
} }
#{$mat-form-field-wrapper} { #{$mat-form-field-wrapper} {
background-color: initial; background-color: unset;
} }
#{$mat-select} { #{$mat-select} {
@ -49,7 +49,7 @@
color: var(--adf-metadata-property-panel-title-color); color: var(--adf-metadata-property-panel-title-color);
} }
.mdc-line-ripple { #{$mat-line-ripple} {
display: none; display: none;
} }

View File

@ -46,7 +46,7 @@
} }
} }
#{$mat-form--text-field-infix} { #{$mat-form-text-field-infix} {
border-top-width: 0; border-top-width: 0;
} }

View File

@ -203,6 +203,12 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
&--fileSize { &--fileSize {
min-width: $data-table-cell-min-width-file-size; min-width: $data-table-cell-min-width-file-size;
} }
button {
#{$mat-icon} {
margin-top: -10px;
}
}
} }
.adf-datatable-cell-header.adf-expand-cell-1, .adf-datatable-cell-header.adf-expand-cell-1,
@ -433,13 +439,13 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
/* mobile phone */ /* mobile phone */
@media all and (max-width: 768px) { @media all and (width <= 768px) {
.adf-desktop-only.adf-ellipsis-cell { .adf-desktop-only.adf-ellipsis-cell {
display: none; display: none;
} }
} }
@media (max-device-width: 768px) { @media (device-width <= 768px) {
.adf-desktop-only.adf-ellipsis-cell { .adf-desktop-only.adf-ellipsis-cell {
display: none; display: none;
} }
@ -557,7 +563,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
} }
.cdk-drag-preview { #{$cdk-drag-preview} {
&.adf-datatable-cell-header { &.adf-datatable-cell-header {
border-radius: 6px; border-radius: 6px;
background-color: var(--theme-background-color); background-color: var(--theme-background-color);
@ -568,7 +574,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 #{$mat-checkbox-label} {
position: absolute; position: absolute;
width: 1px; width: 1px;
height: 1px; height: 1px;
@ -620,7 +626,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
align-items: center; align-items: center;
height: inherit; height: inherit;
.adf-datatable-body[role="rowgroup"] { .adf-datatable-body[role='rowgroup'] {
.adf-datatable-row { .adf-datatable-row {
height: 100%; height: 100%;
background-color: var(--adf-theme-background-card-color); background-color: var(--adf-theme-background-card-color);
@ -660,7 +666,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
} }
} }
@media screen and (max-width: 380px) { @media screen and (width <= 380px) {
.adf-datatable-header { .adf-datatable-header {
max-height: 50%; max-height: 50%;
} }

View File

@ -4,11 +4,17 @@
$adf-inplace-input-padding: 7px; $adf-inplace-input-padding: 7px;
.adf-inplace-input-container { .adf-inplace-input-container {
&-error {
.adf-inplace-input {
border: 1px solid var(--theme-warn-color);
}
}
#{$mat-line-ripple} { #{$mat-line-ripple} {
display: none; display: none;
} }
#{$mat-form--text-field-infix} { #{$mat-form-text-field-infix} {
display: flex; display: flex;
border-top: 0; border-top: 0;
} }
@ -35,10 +41,4 @@ $adf-inplace-input-padding: 7px;
background-color: var(--adf-theme-background-hover-color); background-color: var(--adf-theme-background-hover-color);
} }
} }
&-error {
.adf-inplace-input {
border: 1px solid var(--theme-warn-color);
}
}
} }

View File

@ -15,9 +15,8 @@
&-left-label-input-datepicker { &-left-label-input-datepicker {
#{$mat-form-field-suffix} { #{$mat-form-field-suffix} {
top: 0; top: 0;
} }
#{$mat-form--text-field-infix} { #{$mat-form-text-field-infix} {
width: 100%; width: 100%;
} }
} }

View File

@ -101,7 +101,7 @@
} }
.adf-alfresco-logo { .adf-alfresco-logo {
padding: 24px 16px 24px; padding: 24px 16px;
} }
.adf-alfresco-logo img { .adf-alfresco-logo img {
@ -217,7 +217,7 @@
padding-bottom: 6px; padding-bottom: 6px;
} }
#{$mat-floating-label--required} { #{$mat-floating-label-required} {
&::after { &::after {
font-size: var(--theme-subheading-2-font-size); font-size: var(--theme-subheading-2-font-size);
} }

View File

@ -48,7 +48,7 @@ $mat-line-ripple: '.mdc-line-ripple';
$mat-form-field-subscript-wrapper: '.mat-mdc-form-field-subscript-wrapper'; $mat-form-field-subscript-wrapper: '.mat-mdc-form-field-subscript-wrapper';
$mat-form-field-prefix: '.mat-mdc-form-field-text-prefix'; $mat-form-field-prefix: '.mat-mdc-form-field-text-prefix';
$mat-form-field-suffix: '.mat-mdc-form-field-text-suffix'; $mat-form-field-suffix: '.mat-mdc-form-field-text-suffix';
$mat-form--text-field-infix: '.mat-mdc-form-text-infix'; $mat-form-text-field-infix: '.mat-mdc-form-text-infix';
$mat-form-field-label: '.mat-mdc-floating-label'; $mat-form-field-label: '.mat-mdc-floating-label';
$mat-form-field-invalid: '.mat-form-field-invalid'; $mat-form-field-invalid: '.mat-form-field-invalid';
$mat-form-field-appearance-outline: '.mat-form-field-appearance-outline'; $mat-form-field-appearance-outline: '.mat-form-field-appearance-outline';
@ -99,7 +99,7 @@ $mat-slide-toggle: '.mat-mdc-slide-toggle';
$mat-list: '.mat-mdc-list'; $mat-list: '.mat-mdc-list';
$mat-list-item-content: '.mdc-list-item__content'; $mat-list-item-content: '.mdc-list-item__content';
$mat-list-item-unscoped-content: '.mat-mdc-list-item-unscoped-content'; $mat-list-item-unscoped-content: '.mat-mdc-list-item-unscoped-content';
$mat-text-field--no-label: '.mdc-text-field--no-label'; $mat-text-field-no-label: '.mdc-text-field--no-label';
$mat-form-field-infix: '.mat-mdc-form-field-infix'; $mat-form-field-infix: '.mat-mdc-form-field-infix';
$mat-form-field-hide-placeholder: '.mat-form-field-hide-placeholder'; $mat-form-field-hide-placeholder: '.mat-form-field-hide-placeholder';
$mat-form-field-hint-wrapper: '.mat-mdc-form-field-hint-wrapper'; $mat-form-field-hint-wrapper: '.mat-mdc-form-field-hint-wrapper';
@ -116,7 +116,7 @@ $mat-dialog-surface: '.mat-mdc-dialog-surface';
$mdc-dialog: '.mdc-dialog'; $mdc-dialog: '.mdc-dialog';
$mat-text-filed-input: '.mdc-text-field__input'; $mat-text-filed-input: '.mdc-text-field__input';
$mat-floating-label-float-above: '.mdc-floating-label--float-above'; $mat-floating-label-float-above: '.mdc-floating-label--float-above';
$mat-floating-label--required: '.mdc-floating-label--required'; $mat-floating-label-required: '.mdc-floating-label--required';
$mat-evolution-chip: '.mdc-evolution-chip'; $mat-evolution-chip: '.mdc-evolution-chip';
$mat-standard-chip: '.mat-mdc-standard-chip'; $mat-standard-chip: '.mat-mdc-standard-chip';
$mat-evolution-chip-action: '.mdc-evolution-chip__action'; $mat-evolution-chip-action: '.mdc-evolution-chip__action';
@ -132,6 +132,7 @@ $mat-evolution-chip-set: '.mdc-evolution-chip-set';
$mat-button-base: '.mat-mdc-button-base'; $mat-button-base: '.mat-mdc-button-base';
$mat-evolution-chip-text-label: '.mdc-evolution-chip__text-label'; $mat-evolution-chip-text-label: '.mdc-evolution-chip__text-label';
$cdk-overlay-pane: '.cdk-overlay-pane'; $cdk-overlay-pane: '.cdk-overlay-pane';
$cdk-drag-preview: '.cdk-drag-preview';
$mat-snackbar: '.mdc-snackbar'; $mat-snackbar: '.mdc-snackbar';
$mat-snack-bar-container: '.mat-mdc-snack-bar-container'; $mat-snack-bar-container: '.mat-mdc-snack-bar-container';
$mat-snackbar-label: '.mdc-snackbar__label'; $mat-snackbar-label: '.mdc-snackbar__label';

View File

@ -18,7 +18,7 @@
top: 0; top: 0;
} }
#{$mat-form--text-field-infix} { #{$mat-form-text-field-infix} {
width: 100%; width: 100%;
} }
} }