@alfresco/aca-content 4.0.0-A.2-10284 → 4.0.0-A.2-10325
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/ui/custom-theme.scss
CHANGED
|
@@ -12,11 +12,18 @@ $mat-warn-palette: mat.define-palette($aca-warn, A100);
|
|
|
12
12
|
$app-typography: mat.define-typography-config($font-family: 'Open Sans'
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
@include mat.core(
|
|
15
|
+
@include mat.core();
|
|
16
16
|
|
|
17
|
-
$custom-theme: mat.define-light-theme(
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
$custom-theme: mat.define-light-theme(
|
|
18
|
+
(
|
|
19
|
+
color: (
|
|
20
|
+
primary: $mat-primary-palette,
|
|
21
|
+
accent: $mat-accent-palette,
|
|
22
|
+
warn: $mat-warn-palette
|
|
23
|
+
),
|
|
24
|
+
typography: $app-typography
|
|
25
|
+
)
|
|
26
|
+
);
|
|
20
27
|
|
|
21
28
|
@mixin custom-theme($theme) {
|
|
22
29
|
@include mat.all-component-themes($theme);
|
|
@@ -21,13 +21,18 @@ $alfresco-typography: get-mat-typography(
|
|
|
21
21
|
$alfresco-typography
|
|
22
22
|
);
|
|
23
23
|
|
|
24
|
-
@include mat-core(
|
|
24
|
+
@include mat-core();
|
|
25
25
|
|
|
26
26
|
$palettes: get-mat-palettes($primary-color, $accent-color);
|
|
27
27
|
$custom-theme: mat-light-theme(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
(
|
|
29
|
+
color: (
|
|
30
|
+
primary: map-get($palettes, primary),
|
|
31
|
+
accent: map-get($palettes, accent),
|
|
32
|
+
warn: map-get($palettes, warning)
|
|
33
|
+
),
|
|
34
|
+
typography: $alfresco-typography
|
|
35
|
+
)
|
|
31
36
|
);
|
|
32
37
|
|
|
33
38
|
@if $background-color {
|
package/ui/overrides/ay11.scss
CHANGED
|
@@ -157,13 +157,21 @@
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content {
|
|
161
|
+
outline: 2px solid var(--theme-datetimepicker-cell-focus-border);
|
|
162
|
+
}
|
|
163
|
+
|
|
160
164
|
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content:not(.mat-datetimepicker-calendar-body-selected) {
|
|
161
|
-
background-color:
|
|
162
|
-
|
|
165
|
+
background-color: var(--theme-datetimepicker-cell-background) !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
|
|
169
|
+
background-color: var(--theme-datetimepicker-cell-focus-background);
|
|
170
|
+
color: var(--theme-datetimepicker-font-color);
|
|
163
171
|
}
|
|
164
172
|
|
|
165
173
|
.mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
|
|
166
|
-
background-color:
|
|
174
|
+
background-color: var(--theme-datetimepicker-selected-date-background);
|
|
167
175
|
}
|
|
168
176
|
|
|
169
177
|
.mat-expansion-panel .mat-expansion-panel-header {
|
|
@@ -41,6 +41,11 @@ $black-heading: #4e4c4c;
|
|
|
41
41
|
$grey-dropdown-background: #eee;
|
|
42
42
|
$grey-divider: rgba(0,0,0,.22);
|
|
43
43
|
$pagination-background-color: #ffffff;
|
|
44
|
+
$datetimepicker-font-color: rgba(black, 0.87);
|
|
45
|
+
$datetimepicker-selected-date-background: #2254b2;
|
|
46
|
+
$datetimepicker-cell-background-color: #ffffff;
|
|
47
|
+
$datetimepicker-cell-focus-border-color: #1F74DB;
|
|
48
|
+
$datetimepicker-cell-focus-background-color: rgba(33, 33, 33, 0.12);
|
|
44
49
|
|
|
45
50
|
$defaults: (
|
|
46
51
|
--theme-primary-color: mat.get-color-from-palette($primary),
|
|
@@ -73,6 +78,11 @@ $defaults: (
|
|
|
73
78
|
--theme-about-panel-border-color: $grey-background,
|
|
74
79
|
--theme-about-panel-background-color: #ffffff,
|
|
75
80
|
--theme-about-panel-title-color: #212121,
|
|
81
|
+
--theme-datetimepicker-font-color: $datetimepicker-font-color,
|
|
82
|
+
--theme-datetimepicker-selected-date-background: $datetimepicker-selected-date-background,
|
|
83
|
+
--theme-datetimepicker-cell-background: $datetimepicker-cell-background-color,
|
|
84
|
+
--theme-datetimepicker-cell-focus-border: $datetimepicker-cell-focus-border-color,
|
|
85
|
+
--theme-datetimepicker-cell-focus-background: $datetimepicker-cell-focus-background-color
|
|
76
86
|
);
|
|
77
87
|
|
|
78
88
|
// propagates SCSS variables into the CSS variables scope
|