@onemrvapublic/design-system-theme 0.0.0-semantically-released
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/README.md +1 -0
- package/assets/img/no-result.svg +124 -0
- package/fesm2022/onemrvapublic-design-system-theme.mjs +43 -0
- package/fesm2022/onemrvapublic-design-system-theme.mjs.map +1 -0
- package/index.d.ts +9 -0
- package/index.scss +212 -0
- package/overrides/_button-toggle.scss +14 -0
- package/overrides/_button.scss +128 -0
- package/overrides/_cards.scss +11 -0
- package/overrides/_carousel.scss +13 -0
- package/overrides/_checkbox.scss +46 -0
- package/overrides/_chips.scss +42 -0
- package/overrides/_dialogs.scss +130 -0
- package/overrides/_divider.scss +9 -0
- package/overrides/_drag-and-drop.scss +74 -0
- package/overrides/_expansion.scss +40 -0
- package/overrides/_fab.scss +45 -0
- package/overrides/_form-field.scss +40 -0
- package/overrides/_icon-button.scss +18 -0
- package/overrides/_icon.scss +97 -0
- package/overrides/_input.scss +237 -0
- package/overrides/_layout.scss +35 -0
- package/overrides/_menu.scss +25 -0
- package/overrides/_panel.scss +66 -0
- package/overrides/_progress-bar.scss +29 -0
- package/overrides/_radio.scss +17 -0
- package/overrides/_select.scss +75 -0
- package/overrides/_slide-toggle.scss +23 -0
- package/overrides/_stepper.scss +196 -0
- package/overrides/_stickers.scss +13 -0
- package/overrides/_table.scss +111 -0
- package/overrides/_tabs.scss +24 -0
- package/overrides/_toast.scss +16 -0
- package/overrides/_toc.scss +26 -0
- package/overrides/_toolbar.scss +18 -0
- package/overrides/_tooltip.scss +17 -0
- package/package.json +23 -0
- package/palettes/_palette.scss +188 -0
- package/utilities/_animations.scss +54 -0
- package/utilities/_container.scss +42 -0
- package/utilities/_fonts.scss +158 -0
- package/utilities/_grid.scss +75 -0
- package/utilities/_media.scss +33 -0
- package/utilities/_palettes.scss +119 -0
- package/utilities/_spacing.scss +86 -0
- package/utilities/_tokens.scss +85 -0
- package/utilities/_utilities.scss +333 -0
- package/utilities/_variables.scss +51 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@mixin override() {
|
|
5
|
+
&.mat-focused,
|
|
6
|
+
&:hover {
|
|
7
|
+
.mdc-notched-outline {
|
|
8
|
+
.mdc-notched-outline__leading,
|
|
9
|
+
.mdc-notched-outline__trailing {
|
|
10
|
+
border-width: 2px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.mdc-notched-outline__notch {
|
|
14
|
+
border-width: 2px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//@mixin theme($theme) {
|
|
21
|
+
// @include mat.input-base($theme);
|
|
22
|
+
// @include mat.input-theme($theme);
|
|
23
|
+
//
|
|
24
|
+
// .mat-mdc-text-field-wrapper.mdc-text-field--outlined {
|
|
25
|
+
// .mdc-notched-outline--upgraded {
|
|
26
|
+
// .mdc-floating-label--float-above {
|
|
27
|
+
// --mat-mdc-form-field-label-transform: translateY(
|
|
28
|
+
// calc(calc(10px + var(--mat-form-field-container-height) / 2) * -1)
|
|
29
|
+
// );
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
32
|
+
// }
|
|
33
|
+
//
|
|
34
|
+
// .mat-mdc-form-field {
|
|
35
|
+
// line-height: 26px;
|
|
36
|
+
// padding: 8px;
|
|
37
|
+
// --mat-mdc-form-field-floating-label-scale: 1;
|
|
38
|
+
//
|
|
39
|
+
// .mat-mdc-form-field-required-marker {
|
|
40
|
+
// color: µ.error($theme, 500);
|
|
41
|
+
// }
|
|
42
|
+
//
|
|
43
|
+
// .mat-mdc-text-field-wrapper {
|
|
44
|
+
// padding: 0 8px;
|
|
45
|
+
// }
|
|
46
|
+
//
|
|
47
|
+
// .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
48
|
+
// color: µ.grayscale($theme, 900);
|
|
49
|
+
// }
|
|
50
|
+
//
|
|
51
|
+
// .mat-mdc-form-field-hint-spacer {
|
|
52
|
+
// display: none;
|
|
53
|
+
// }
|
|
54
|
+
//
|
|
55
|
+
// .mat-mdc-form-field-hint-wrapper {
|
|
56
|
+
// padding: 4px 0;
|
|
57
|
+
// }
|
|
58
|
+
//
|
|
59
|
+
// .mat-mdc-form-field-icon-suffix {
|
|
60
|
+
// mat-icon {
|
|
61
|
+
// height: auto;
|
|
62
|
+
// }
|
|
63
|
+
// }
|
|
64
|
+
//
|
|
65
|
+
// &:not(.mat-form-field-onemrva-warning) {
|
|
66
|
+
// .mat-mdc-form-field-error-wrapper {
|
|
67
|
+
// padding: 0;
|
|
68
|
+
// position: static;
|
|
69
|
+
//
|
|
70
|
+
// .mat-mdc-form-field-error {
|
|
71
|
+
// margin-bottom: 8px;
|
|
72
|
+
// padding: 8px 1em;
|
|
73
|
+
// background-color: #ffebe6;
|
|
74
|
+
// border-bottom: 1px solid µ.error($theme, 500);
|
|
75
|
+
// color: µ.error($theme, 500);
|
|
76
|
+
// display: flex;
|
|
77
|
+
// line-height: 1.125;
|
|
78
|
+
//
|
|
79
|
+
// .mat-icon {
|
|
80
|
+
// float: left;
|
|
81
|
+
// font-size: 16px;
|
|
82
|
+
// font-variation-settings: 'FILL' 1;
|
|
83
|
+
// margin-right: 8px;
|
|
84
|
+
// vertical-align: baseline;
|
|
85
|
+
// flex: 0 0 16px;
|
|
86
|
+
// line-height: 16px;
|
|
87
|
+
// }
|
|
88
|
+
// }
|
|
89
|
+
// }
|
|
90
|
+
// }
|
|
91
|
+
//
|
|
92
|
+
// mat-hint.with-counter {
|
|
93
|
+
// position: relative;
|
|
94
|
+
// height: 21px;
|
|
95
|
+
// width: 100%;
|
|
96
|
+
//
|
|
97
|
+
// .counter {
|
|
98
|
+
// position: absolute;
|
|
99
|
+
// right: 0;
|
|
100
|
+
// top: 0;
|
|
101
|
+
// }
|
|
102
|
+
// }
|
|
103
|
+
//
|
|
104
|
+
// &.mat-form-field-onemrva-warning {
|
|
105
|
+
// .mat-mdc-form-field-error-wrapper {
|
|
106
|
+
// padding: 0;
|
|
107
|
+
// position: static;
|
|
108
|
+
//
|
|
109
|
+
// .mat-mdc-form-field-error {
|
|
110
|
+
// margin-bottom: 8px;
|
|
111
|
+
// padding: 8px 1em;
|
|
112
|
+
// background-color: µ.warn($theme, 50);
|
|
113
|
+
// border-bottom: 1px solid µ.warn($theme, 600);
|
|
114
|
+
// color: µ.warn($theme, 600);
|
|
115
|
+
// display: flex;
|
|
116
|
+
// line-height: 1.125;
|
|
117
|
+
//
|
|
118
|
+
// .mat-icon {
|
|
119
|
+
// float: left;
|
|
120
|
+
// font-size: 16px;
|
|
121
|
+
// font-variation-settings: 'FILL' 1;
|
|
122
|
+
// margin-right: 8px;
|
|
123
|
+
// vertical-align: baseline;
|
|
124
|
+
// flex: 0 0 16px;
|
|
125
|
+
// line-height: 16px;
|
|
126
|
+
// }
|
|
127
|
+
// }
|
|
128
|
+
// }
|
|
129
|
+
//
|
|
130
|
+
// .mat-mdc-form-field-hint-wrapper {
|
|
131
|
+
// padding: 0;
|
|
132
|
+
// position: static;
|
|
133
|
+
//
|
|
134
|
+
// .mat-warn {
|
|
135
|
+
// margin-bottom: 8px;
|
|
136
|
+
// padding: 8px 1em;
|
|
137
|
+
// background-color: µ.warn($theme, 50);
|
|
138
|
+
// border-bottom: 1px solid µ.warn($theme, 600);
|
|
139
|
+
// color: µ.warn($theme, 600);
|
|
140
|
+
// display: flex;
|
|
141
|
+
// line-height: 1.125;
|
|
142
|
+
//
|
|
143
|
+
// .mat-icon {
|
|
144
|
+
// float: left;
|
|
145
|
+
// font-size: 16px;
|
|
146
|
+
// font-variation-settings: 'FILL' 1;
|
|
147
|
+
// margin-right: 8px;
|
|
148
|
+
// vertical-align: baseline;
|
|
149
|
+
// flex: 0 0 16px;
|
|
150
|
+
// }
|
|
151
|
+
// }
|
|
152
|
+
// }
|
|
153
|
+
// }
|
|
154
|
+
//
|
|
155
|
+
// &:not(.mat-form-field-invalid):not(.mat-form-field-onemrva-warning):not(
|
|
156
|
+
// .mat-form-field-disabled
|
|
157
|
+
// ) {
|
|
158
|
+
// .mdc-notched-outline {
|
|
159
|
+
// .mdc-notched-outline__leading,
|
|
160
|
+
// .mdc-notched-outline__trailing {
|
|
161
|
+
// border-color: µ.grayscale($theme, 200);
|
|
162
|
+
// outline: 1px solid transparent;
|
|
163
|
+
// }
|
|
164
|
+
//
|
|
165
|
+
// .mdc-notched-outline__notch {
|
|
166
|
+
// border-bottom-color: µ.grayscale($theme, 200);
|
|
167
|
+
// outline: 1px solid transparent;
|
|
168
|
+
// }
|
|
169
|
+
// }
|
|
170
|
+
//
|
|
171
|
+
// @include inputStyle(µ.grayscale($theme, 800));
|
|
172
|
+
// }
|
|
173
|
+
//
|
|
174
|
+
// &.mat-form-field-invalid:not(.mat-form-field-onemrva-warning):not(
|
|
175
|
+
// .mat-form-field-disabled
|
|
176
|
+
// ) {
|
|
177
|
+
// mat-label,
|
|
178
|
+
// .mat-mdc-form-field-required-marker {
|
|
179
|
+
// color: µ.error($theme);
|
|
180
|
+
// }
|
|
181
|
+
//
|
|
182
|
+
// .mdc-notched-outline {
|
|
183
|
+
// .mdc-notched-outline__leading,
|
|
184
|
+
// .mdc-notched-outline__trailing {
|
|
185
|
+
// border-width: 2px;
|
|
186
|
+
// border-color: µ.error($theme);
|
|
187
|
+
// }
|
|
188
|
+
//
|
|
189
|
+
// .mdc-notched-outline__notch {
|
|
190
|
+
// border-width: 2px;
|
|
191
|
+
// border-bottom-color: µ.error($theme);
|
|
192
|
+
// }
|
|
193
|
+
// }
|
|
194
|
+
//
|
|
195
|
+
// .mdc-text-field__input {
|
|
196
|
+
// caret-color: µ.error($theme, 500);
|
|
197
|
+
// }
|
|
198
|
+
//
|
|
199
|
+
// @include inputStyle(µ.error($theme));
|
|
200
|
+
// }
|
|
201
|
+
//
|
|
202
|
+
// &.mat-form-field-onemrva-warning:not(.mat-form-field-disabled) {
|
|
203
|
+
// .mdc-notched-outline {
|
|
204
|
+
// mat-label,
|
|
205
|
+
// .mat-mdc-form-field-required-marker {
|
|
206
|
+
// color: µ.warn($theme, 600);
|
|
207
|
+
// }
|
|
208
|
+
//
|
|
209
|
+
// .mdc-notched-outline__leading,
|
|
210
|
+
// .mdc-notched-outline__trailing {
|
|
211
|
+
// border-width: 2px;
|
|
212
|
+
// border-color: µ.warn($theme, 600);
|
|
213
|
+
// }
|
|
214
|
+
//
|
|
215
|
+
// .mdc-notched-outline__notch {
|
|
216
|
+
// border-width: 2px;
|
|
217
|
+
// border-bottom-color: µ.warn($theme, 600);
|
|
218
|
+
// }
|
|
219
|
+
// }
|
|
220
|
+
//
|
|
221
|
+
// @include inputStyle(µ.warn($theme, 600));
|
|
222
|
+
// }
|
|
223
|
+
//
|
|
224
|
+
// .mat-mdc-form-field-bottom-align::before {
|
|
225
|
+
// display: initial;
|
|
226
|
+
// order: 99;
|
|
227
|
+
// }
|
|
228
|
+
// }
|
|
229
|
+
//
|
|
230
|
+
// .mat-mdc-text-field-wrapper.mdc-text-field--outlined {
|
|
231
|
+
// .mat-mdc-form-field-infix {
|
|
232
|
+
// padding: 7px 0 4px 0;
|
|
233
|
+
// display: flex;
|
|
234
|
+
// align-items: center;
|
|
235
|
+
// }
|
|
236
|
+
// }
|
|
237
|
+
//}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin override() {
|
|
4
|
+
&:not(.light-theme) {
|
|
5
|
+
@media (prefers-color-scheme: dark) {
|
|
6
|
+
header {
|
|
7
|
+
.logo {
|
|
8
|
+
filter: brightness(0) invert(1);
|
|
9
|
+
}
|
|
10
|
+
.application-title {
|
|
11
|
+
color: var(--mat-sys-on-surface) !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.dark-theme {
|
|
18
|
+
header {
|
|
19
|
+
.logo {
|
|
20
|
+
filter: brightness(0) invert(1);
|
|
21
|
+
}
|
|
22
|
+
.application-title {
|
|
23
|
+
color: var(--mat-sys-on-surface);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.bkg {
|
|
29
|
+
.mat-drawer-content {
|
|
30
|
+
background-image: var(--background-error-page);
|
|
31
|
+
background-size: cover;
|
|
32
|
+
background-repeat: no-repeat;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin override() {
|
|
4
|
+
@include mat.menu-overrides(
|
|
5
|
+
(
|
|
6
|
+
item-label-text-weight: 500,
|
|
7
|
+
)
|
|
8
|
+
);
|
|
9
|
+
.cdk-overlay-container {
|
|
10
|
+
.mat-mdc-menu-content {
|
|
11
|
+
.menu-header {
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
font-size: 1.1rem;
|
|
14
|
+
color: var(--mat-sys-on-surface);
|
|
15
|
+
}
|
|
16
|
+
.mat-mdc-menu-item {
|
|
17
|
+
&:active,
|
|
18
|
+
&.active {
|
|
19
|
+
border-left: 4px solid var(--mat-sys-secondary);
|
|
20
|
+
font-weight: bold !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin override() {
|
|
4
|
+
&:not(.light-theme) {
|
|
5
|
+
onemrva-mat-panel {
|
|
6
|
+
&[class^='mat-'] {
|
|
7
|
+
@media (prefers-color-scheme: dark) {
|
|
8
|
+
@include mat.form-field-overrides(
|
|
9
|
+
(
|
|
10
|
+
outlined-label-text-color: var(--mat-sys-on-background),
|
|
11
|
+
outlined-outline-color: var(--mat-sys-on-background),
|
|
12
|
+
outlined-focus-label-text-color: var(--mat-sys-on-background),
|
|
13
|
+
outlined-focus-outline-color: var(--mat-sys-on-background),
|
|
14
|
+
outlined-hover-label-text-color: var(--mat-sys-on-background),
|
|
15
|
+
outlined-hover-outline-color: var(--mat-sys-on-background),
|
|
16
|
+
outlined-input-text-color: var(--mat-sys-on-background),
|
|
17
|
+
outlined-input-text-placeholder-color: var(
|
|
18
|
+
--mat-sys-on-background
|
|
19
|
+
),
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
@include mat.select-overrides(
|
|
23
|
+
(
|
|
24
|
+
enabled-arrow-color: var(--mat-sys-on-background),
|
|
25
|
+
focused-arrow-color: var(--mat-sys-on-background),
|
|
26
|
+
placeholder-text-color: var(--mat-sys-on-background),
|
|
27
|
+
enabled-trigger-text-color: var(--mat-sys-on-background),
|
|
28
|
+
)
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&.dark-theme {
|
|
35
|
+
onemrva-mat-panel {
|
|
36
|
+
onemrva-mat-panel {
|
|
37
|
+
&[class^='mat-'] {
|
|
38
|
+
@media (prefers-color-scheme: dark) {
|
|
39
|
+
@include mat.form-field-overrides(
|
|
40
|
+
(
|
|
41
|
+
outlined-label-text-color: var(--mat-sys-on-background),
|
|
42
|
+
outlined-outline-color: var(--mat-sys-on-background),
|
|
43
|
+
outlined-focus-label-text-color: var(--mat-sys-on-background),
|
|
44
|
+
outlined-focus-outline-color: var(--mat-sys-on-background),
|
|
45
|
+
outlined-hover-label-text-color: var(--mat-sys-on-background),
|
|
46
|
+
outlined-hover-outline-color: var(--mat-sys-on-background),
|
|
47
|
+
outlined-input-text-color: var(--mat-sys-on-background),
|
|
48
|
+
outlined-input-text-placeholder-color: var(
|
|
49
|
+
--mat-sys-on-background
|
|
50
|
+
),
|
|
51
|
+
)
|
|
52
|
+
);
|
|
53
|
+
@include mat.select-overrides(
|
|
54
|
+
(
|
|
55
|
+
enabled-arrow-color: var(--mat-sys-on-background),
|
|
56
|
+
focused-arrow-color: var(--mat-sys-on-background),
|
|
57
|
+
placeholder-text-color: var(--mat-sys-on-background),
|
|
58
|
+
enabled-trigger-text-color: var(--mat-sys-on-background),
|
|
59
|
+
)
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../utilities/palettes' as palettes;
|
|
3
|
+
|
|
4
|
+
@mixin override() {
|
|
5
|
+
@include mat.progress-bar-overrides(
|
|
6
|
+
(
|
|
7
|
+
track-height: 0.25rem,
|
|
8
|
+
)
|
|
9
|
+
);
|
|
10
|
+
//
|
|
11
|
+
//.mat-mdc-progress-bar {
|
|
12
|
+
// border-radius: var(--button-border-radius);
|
|
13
|
+
//
|
|
14
|
+
// .mdc-linear-progress__bar-inner {
|
|
15
|
+
// border-radius: var(--button-border-radius);
|
|
16
|
+
// }
|
|
17
|
+
// &[aria-valuenow='100'] {
|
|
18
|
+
// .mdc-linear-progress__bar-inner {
|
|
19
|
+
// @include mat.theme(
|
|
20
|
+
// (
|
|
21
|
+
// color: (
|
|
22
|
+
// primary: palettes.$success-palette,
|
|
23
|
+
// ),
|
|
24
|
+
// )
|
|
25
|
+
// );
|
|
26
|
+
// }
|
|
27
|
+
// }
|
|
28
|
+
//}
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin override() {
|
|
4
|
+
@include mat.radio-overrides(
|
|
5
|
+
(
|
|
6
|
+
selected-icon-color: var(--mat-sys-secondary),
|
|
7
|
+
selected-hover-icon-color: var(--mat-sys-secondary),
|
|
8
|
+
selected-focus-icon-color: var(--mat-sys-secondary),
|
|
9
|
+
label-text-font: var(--mat-sys-label-large-font),
|
|
10
|
+
label-text-size: var(--mat-sys-label-large-size),
|
|
11
|
+
label-text-weight: var(--mat-sys-label-large-weight),
|
|
12
|
+
)
|
|
13
|
+
);
|
|
14
|
+
.mat-radio-inner-circle {
|
|
15
|
+
background: var(--background-gradient);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@mixin override() {
|
|
5
|
+
mat-select {
|
|
6
|
+
&.mat-mdc-select-multiple {
|
|
7
|
+
.mat-mdc-select-value-text {
|
|
8
|
+
padding-right: calc(7 * var(--spacer));
|
|
9
|
+
display: block;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.cdk-overlay-container {
|
|
14
|
+
.mat-mdc-select-panel {
|
|
15
|
+
//overflow: hidden;
|
|
16
|
+
padding: 0;
|
|
17
|
+
.selection-choice {
|
|
18
|
+
background: var(--mat-sys-surface-container-high);
|
|
19
|
+
font: var(--mat-sys-body-small);
|
|
20
|
+
width: 98%;
|
|
21
|
+
a {
|
|
22
|
+
text-decoration: underline;
|
|
23
|
+
}
|
|
24
|
+
span {
|
|
25
|
+
&.grey {
|
|
26
|
+
color: var(--mat-sys-neutral10);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.mat-disabled {
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
cursor: default;
|
|
33
|
+
// color: var(--mat-sys-neutral10);
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.option-list {
|
|
38
|
+
overflow-y: auto;
|
|
39
|
+
height: auto;
|
|
40
|
+
max-height: 226px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.mat-mdc-option[aria-disabled='true'].contains-mat-select-search {
|
|
44
|
+
position: sticky;
|
|
45
|
+
top: 0;
|
|
46
|
+
z-index: 1;
|
|
47
|
+
opacity: 1;
|
|
48
|
+
margin-top: calc(-1 * var(--spacer));
|
|
49
|
+
pointer-events: all;
|
|
50
|
+
|
|
51
|
+
.mat-icon {
|
|
52
|
+
margin-right: 0;
|
|
53
|
+
margin-left: 0;
|
|
54
|
+
}
|
|
55
|
+
mat-pseudo-checkbox {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
.mdc-list-item__primary-text {
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.mat-select-search-toggle-all-checkbox {
|
|
63
|
+
padding-left: var(--half-spacer);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
//.mat-mdc-select {
|
|
68
|
+
// padding: 0;
|
|
69
|
+
// --mat-select-invalid-arrow-color: #{µ.error($theme, 500)};
|
|
70
|
+
// //.mat-mdc-text-field-wrapper.mdc-text-field--outlined
|
|
71
|
+
// // .mat-mdc-form-field-infix {
|
|
72
|
+
// // padding: 12px 0;
|
|
73
|
+
// //}
|
|
74
|
+
//}
|
|
75
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin override() {
|
|
4
|
+
@include mat.slide-toggle-overrides(
|
|
5
|
+
(
|
|
6
|
+
track-outline-color: var(--mat-sys-surface-variant),
|
|
7
|
+
selected-track-outline-color: var(--mat-sys-secondary),
|
|
8
|
+
//label-text-font: var(--brand-font),
|
|
9
|
+
//label-text-size: 1rem,
|
|
10
|
+
//label-text-weight: 500
|
|
11
|
+
)
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
.mat-mdc-slide-toggle {
|
|
15
|
+
.mdc-switch:enabled:hover:not(:active),
|
|
16
|
+
.mdc-switch:enabled:focus:not(:active),
|
|
17
|
+
.mdc-switch:enabled {
|
|
18
|
+
.mdc-switch__track:after {
|
|
19
|
+
background: var(--background-gradient);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@mixin override() {
|
|
5
|
+
@include mat.stepper-overrides(
|
|
6
|
+
(
|
|
7
|
+
header-icon-foreground-color: var(--mat-sys-outline-variant),
|
|
8
|
+
header-icon-background-color: var(--mat-sys-background),
|
|
9
|
+
header-selected-state-icon-background-color: var(--mat-sys-primary),
|
|
10
|
+
header-done-state-icon-background-color: var(--mat-sys-primary),
|
|
11
|
+
header-edit-state-icon-background-color: var(--mat-sys-primary),
|
|
12
|
+
header-selected-state-icon-foreground-color: var(--mat-sys-on-primary),
|
|
13
|
+
header-done-state-icon-foreground-color: var(--mat-sys-on-primary),
|
|
14
|
+
header-edit-state-icon-foreground-color: var(--mat-sys-on-primary),
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
mat-stepper,
|
|
19
|
+
mat-vertical-stepper,
|
|
20
|
+
onemrva-mat-vertical-stepper {
|
|
21
|
+
.mat-vertical-stepper-header {
|
|
22
|
+
.mat-step-icon {
|
|
23
|
+
border: 2px solid var(--mat-sys-outline-variant);
|
|
24
|
+
height: 2.5rem;
|
|
25
|
+
width: 2.5rem;
|
|
26
|
+
margin-right: 1rem;
|
|
27
|
+
.mat-step-icon-content {
|
|
28
|
+
mat-icon {
|
|
29
|
+
height: 1.6rem;
|
|
30
|
+
width: 1.6rem;
|
|
31
|
+
line-height: 1.6rem;
|
|
32
|
+
font-size: 1.6rem;
|
|
33
|
+
}
|
|
34
|
+
span {
|
|
35
|
+
font-size: 1.2rem;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.mat-step-icon-selected {
|
|
40
|
+
border: 2px solid var(--mat-sys-background);
|
|
41
|
+
outline: 2px solid var(--mat-sys-primary);
|
|
42
|
+
}
|
|
43
|
+
.mat-step-icon-state-done {
|
|
44
|
+
border: 2px solid var(--mat-sys-primary);
|
|
45
|
+
}
|
|
46
|
+
.mat-step-icon-state-error {
|
|
47
|
+
border: 2px solid var(--mat-sys-error);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.mat-vertical-content-container {
|
|
52
|
+
.mat-vertical-stepper-content {
|
|
53
|
+
.mat-vertical-content {
|
|
54
|
+
margin: var(--spacer);
|
|
55
|
+
padding: 0 1.5rem 1.5rem 1.5rem;
|
|
56
|
+
|
|
57
|
+
.mat-step-summary {
|
|
58
|
+
height: auto;
|
|
59
|
+
opacity: 1;
|
|
60
|
+
overflow: inherit;
|
|
61
|
+
transition:
|
|
62
|
+
height 0s 1s,
|
|
63
|
+
opacity 1s linear;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mat-step-form {
|
|
67
|
+
height: 0;
|
|
68
|
+
opacity: 0;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
transition: none;
|
|
71
|
+
|
|
72
|
+
mat-form-field {
|
|
73
|
+
opacity: 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&[aria-expanded='true'] {
|
|
79
|
+
.mat-vertical-content {
|
|
80
|
+
.mat-step-summary {
|
|
81
|
+
height: 0;
|
|
82
|
+
opacity: 0;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
transition: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.mat-step-form {
|
|
88
|
+
height: auto;
|
|
89
|
+
opacity: 1;
|
|
90
|
+
transition:
|
|
91
|
+
height 0s 1s,
|
|
92
|
+
opacity 1s linear;
|
|
93
|
+
overflow: inherit;
|
|
94
|
+
|
|
95
|
+
mat-form-field {
|
|
96
|
+
opacity: 1;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
&.mat-stepper-vertical-line {
|
|
103
|
+
&:before {
|
|
104
|
+
--mat-stepper-header-height: 3rem;
|
|
105
|
+
left: var(--spacer);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
//mat-stepper,
|
|
112
|
+
//mat-vertical-stepper,
|
|
113
|
+
//onemrva-mat-vertical-stepper {
|
|
114
|
+
// .mat-step-header {
|
|
115
|
+
// .mat-step-icon {
|
|
116
|
+
// background-color: white;
|
|
117
|
+
// border: 2px solid white;
|
|
118
|
+
// color: var(--mat-sys-background);
|
|
119
|
+
// height: 38px;
|
|
120
|
+
// width: 38px;
|
|
121
|
+
//
|
|
122
|
+
// &:not(.mat-step-icon-state-done):not(.mat-step-icon-state-edit):not(
|
|
123
|
+
// .mat-step-icon-selected
|
|
124
|
+
// ):not(.mat-step-icon-state-error) {
|
|
125
|
+
// //border: 2px solid µ.grayscale($theme);
|
|
126
|
+
// }
|
|
127
|
+
//
|
|
128
|
+
// .mat-icon {
|
|
129
|
+
// height: inherit;
|
|
130
|
+
// }
|
|
131
|
+
// }
|
|
132
|
+
// .mat-step-icon-selected,
|
|
133
|
+
// .mat-step-icon-state-done,
|
|
134
|
+
// .mat-step-icon-state-edit {
|
|
135
|
+
// //background-color: µ.primary($theme);
|
|
136
|
+
// color: white;
|
|
137
|
+
// border: none;
|
|
138
|
+
// border: 2px solid white;
|
|
139
|
+
// }
|
|
140
|
+
//
|
|
141
|
+
// .mat-step-icon-selected {
|
|
142
|
+
// border: 2px solid white;
|
|
143
|
+
// //outline: 2px solid µ.primary($theme);
|
|
144
|
+
// }
|
|
145
|
+
// .mat-step-icon-state-error {
|
|
146
|
+
// //background-color: µ.warn($theme, 600);
|
|
147
|
+
// color: white;
|
|
148
|
+
// outline: none;
|
|
149
|
+
// border: none;
|
|
150
|
+
// mat-icon {
|
|
151
|
+
// font-size: 16px;
|
|
152
|
+
// height: 16px;
|
|
153
|
+
// width: 16px;
|
|
154
|
+
// }
|
|
155
|
+
// }
|
|
156
|
+
//
|
|
157
|
+
// .mat-step-label.mat-step-label-error {
|
|
158
|
+
// //color: µ.warn($theme, 600);
|
|
159
|
+
// }
|
|
160
|
+
// }
|
|
161
|
+
// .mat-step-icon-state-done + .mat-stepper-horizontal-line {
|
|
162
|
+
// //border-top-color: µ.primary($theme);
|
|
163
|
+
// }
|
|
164
|
+
//
|
|
165
|
+
// .mat-stepper-horizontal-line {
|
|
166
|
+
// margin: unset;
|
|
167
|
+
// }
|
|
168
|
+
//
|
|
169
|
+
// .mat-stepper-vertical-line:before {
|
|
170
|
+
// top: 0;
|
|
171
|
+
// bottom: 0;
|
|
172
|
+
// }
|
|
173
|
+
//
|
|
174
|
+
// .mat-step-text-label {
|
|
175
|
+
// font-weight: 600;
|
|
176
|
+
// font-family: 'Source Sans Pro';
|
|
177
|
+
// }
|
|
178
|
+
//
|
|
179
|
+
// .mat-horizontal-content-container {
|
|
180
|
+
// padding-top: var(--spacer);
|
|
181
|
+
// }
|
|
182
|
+
//
|
|
183
|
+
// .mat-horizontal-stepper-header {
|
|
184
|
+
// padding: 0 16px;
|
|
185
|
+
// height: 58px;
|
|
186
|
+
// }
|
|
187
|
+
//
|
|
188
|
+
// .mat-vertical-stepper-header {
|
|
189
|
+
// padding: 16px;
|
|
190
|
+
// }
|
|
191
|
+
//}
|
|
192
|
+
//
|
|
193
|
+
//.mat-step-icon-content {
|
|
194
|
+
// font-family: 'Source Sans Pro';
|
|
195
|
+
//}
|
|
196
|
+
}
|