mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-38566 Remove globals mixin (#11798)
* [AAE-38566] moved styles for mat-calendar to components * [AAE-38482] moved styles for mat-datetimepicker to components * [AAE-38482] removed mixin globals * [AAE-38482] removed mat-calendar styles * [AAE-38482] removed mat-datetimepicker styles * [AAE-38482] removed calendar related selectors
This commit is contained in:
@@ -1,61 +0,0 @@
|
|||||||
@use './mat-selectors' as ms;
|
|
||||||
|
|
||||||
@mixin globals() {
|
|
||||||
#{ms.$mat-expansion-panel} {
|
|
||||||
& #{ms.$mat-expansion-panel-header}.cdk-keyboard-focused,
|
|
||||||
& #{ms.$mat-expansion-panel-header}.cdk-program-focused,
|
|
||||||
&:not(#{ms.$mat-expanded}) #{ms.$mat-expansion-panel-header}:hover {
|
|
||||||
&:not([aria-disabled='true']) {
|
|
||||||
background-color: var(--mat-sys-surface-container);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-datetimepicker-calendar} {
|
|
||||||
#{ms.$mat-datetimepicker-calendar-header} {
|
|
||||||
#{ms.$mat-datetimepicker-calendar-header-year} {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-datetimepicker-calendar-header-date} {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-datetimepicker-calendar-header-time} {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-datetimepicker-calendar-content} {
|
|
||||||
#{ms.$mat-datetimepicker-calendar-table-header} th {
|
|
||||||
color: var(--mat-sys-on-surface);
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-datetimepicker-calendar-body-disabled} > div {
|
|
||||||
color: var(--mat-sys-on-surface);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-snackbar} {
|
|
||||||
&#{ms.$mat-snack-bar-container} {
|
|
||||||
margin: 24px;
|
|
||||||
|
|
||||||
#{ms.$mat-snackbar-label} {
|
|
||||||
line-height: unset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-datetimepicker-dialog} {
|
|
||||||
#{ms.$mat-dialog-container} {
|
|
||||||
#{ms.$mat-dialog-surface} {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#{ms.$mat-button-base} {
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
@forward './globals';
|
|
||||||
@forward './flex';
|
@forward './flex';
|
||||||
@forward './mixins';
|
@forward './mixins';
|
||||||
@forward './mat-selectors';
|
@forward './mat-selectors';
|
||||||
|
|||||||
Reference in New Issue
Block a user