qms-angular 1.0.89 → 1.0.90
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/bundles/qms-angular.umd.js +109 -63
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/themes.const.js +3 -0
- package/esm2015/lib/components/button/button-toggle.js +1 -1
- package/esm2015/lib/components/button/button.js +3 -3
- package/esm2015/lib/components/comment/comment.js +1 -1
- package/esm2015/lib/components/list/list.js +5 -3
- package/esm2015/lib/components/related/content/related-content.component.js +1 -1
- package/esm2015/lib/components/related/list-other-related/list-related.component.js +1 -1
- package/esm2015/lib/components/related/popup/related-popup.component.js +1 -1
- package/esm2015/lib/components/related/risk/analysis/analysis.component.js +1 -1
- package/esm2015/lib/components/related/risk/list/list.component.js +1 -1
- package/esm2015/lib/components/related/risk/result/result.component.js +1 -1
- package/esm2015/lib/components/rich-text/rich-text.js +1 -1
- package/esm2015/lib/components/select-dialog/select-dialog.js +1 -1
- package/esm2015/lib/components/select-include-children/select-include-children.component.js +1 -1
- package/esm2015/lib/components/select-one/select-one.component.js +1 -1
- package/esm2015/lib/components/select-process-document/select-process-document.component.js +1 -1
- package/esm2015/lib/components/table/table-action.js +2 -2
- package/esm2015/lib/components/tree/tree.component.js +1 -1
- package/esm2015/lib/components/treeNew/tree.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +1 -1
- package/esm2015/lib/services/theming.service.js +36 -0
- package/esm2015/lib/shared.module.js +1 -1
- package/esm2015/public-api.js +3 -1
- package/fesm2015/qms-angular.js +69 -32
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/common/themes.const.d.ts +2 -0
- package/lib/components/list/list.d.ts +1 -1
- package/lib/services/theming.service.d.ts +7 -0
- package/lib.theme.scss +11 -9
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/qms-angular.metadata.json +1 -1
- package/src/lib/components/breadcrumb/breadcrumb.scss +2 -1
- package/src/lib/components/button/_button-base.scss +45 -52
- package/src/lib/components/button/_button-theme.scss +4 -2
- package/src/lib/components/button/button-icon.scss +17 -14
- package/src/lib/components/button/button-toggle.scss +64 -115
- package/src/lib/components/comment/comment.scss +3 -2
- package/src/lib/components/dialog/dialog.scss +2 -1
- package/src/lib/components/list/_list-base.scss +2 -2
- package/src/lib/components/list/_list-expansion.scss +33 -7
- package/src/lib/components/list/list.scss +21 -4
- package/src/lib/components/related/content/related-content.component.scss +4 -2
- package/src/lib/components/related/list-other-related/list-related.component.scss +7 -6
- package/src/lib/components/related/popup/related-popup.component.scss +10 -9
- package/src/lib/components/related/risk/analysis/analysis.component.scss +4 -3
- package/src/lib/components/related/risk/list/list.component.scss +7 -6
- package/src/lib/components/related/risk/result/result.component.scss +9 -8
- package/src/lib/components/rich-text/rich-text.scss +3 -2
- package/src/lib/components/select-dialog/select-dialog.scss +5 -5
- package/src/lib/components/select-include-children/select-include-children.component.scss +10 -9
- package/src/lib/components/select-one/select-one.component.scss +5 -4
- package/src/lib/components/select-process-document/select-process-document.component.scss +12 -12
- package/src/lib/components/substance-conflict/substance-conflict.component.scss +4 -3
- package/src/lib/components/table/table.scss +4 -3
- package/src/lib/components/tooltip/tooltip.scss +3 -1
- package/src/lib/components/tree/tree.component.scss +12 -12
- package/src/lib/components/treeNew/tree.component.scss +11 -18
- package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +3 -2
- package/src/themes/_non-bg-scrollbar.scss +4 -3
- package/src/themes/core/_app-bar.scss +5 -4
- package/src/themes/core/_button.scss +14 -12
- package/src/themes/core/_checkbox.scss +9 -24
- package/src/themes/core/_chip-input.scss +29 -27
- package/src/themes/core/_chip.scss +12 -10
- package/src/themes/core/_date-picker.scss +9 -8
- package/src/themes/core/_dropdown-menu.scss +12 -11
- package/src/themes/core/_file-upload.scss +12 -11
- package/src/themes/core/_form-prefix.scss +6 -4
- package/src/themes/core/_form.scss +28 -27
- package/src/themes/core/_progress.scss +5 -3
- package/src/themes/core/_radio.scss +13 -15
- package/src/themes/core/_range-slider.scss +34 -33
- package/src/themes/core/_scrollbar.scss +25 -34
- package/src/themes/core/_search-field.scss +5 -3
- package/src/themes/core/_select.scss +5 -2
- package/src/themes/core/_slide-toggle.scss +10 -11
- package/src/themes/core/_styles.scss +19 -17
- package/src/themes/core/_tab.scss +88 -87
- package/src/themes/core/_table.scss +18 -17
- package/src/themes/core/_text-block.scss +3 -1
- package/src/themes/theme/_mixins.scss +18 -0
- package/src/themes/theme/_theme.scss +17 -0
- package/src/themes/theme/_variable.scss +303 -0
- package/src/themes/_color.scss +0 -61
- package/src/themes/_scrollbar.scss +0 -27
- package/src/themes/core/_colors.scss +0 -60
@@ -1,5 +1,6 @@
|
|
1
1
|
@import "../../lib/components/list/list.scss";
|
2
|
-
@import "
|
2
|
+
@import "../theme/variable";
|
3
|
+
@import "../theme/mixins";
|
3
4
|
|
4
5
|
.mat-menu-item{
|
5
6
|
&.qms-dropdown-menu-item{
|
@@ -32,25 +33,25 @@
|
|
32
33
|
background: black(0.08);
|
33
34
|
}
|
34
35
|
}
|
35
|
-
|
36
|
+
|
36
37
|
&:active {
|
37
38
|
&:not([aria-disabled="true"]) {
|
38
39
|
background: black(0.12);
|
39
40
|
}
|
40
|
-
}
|
41
|
-
|
42
|
-
|
41
|
+
}
|
42
|
+
|
43
|
+
|
43
44
|
&.cdk-keyboard-focused {
|
44
|
-
border: 2px solid $primary;
|
45
|
+
border: 2px solid theme-apply($primary);
|
45
46
|
border-radius: $border-radius-default;
|
46
47
|
}
|
47
|
-
|
48
|
+
|
48
49
|
&.active-item {
|
49
|
-
color: $primary;
|
50
|
+
color: theme-apply($primary);
|
50
51
|
.mat-icon{
|
51
52
|
color: #1954A9;
|
52
53
|
}
|
53
|
-
|
54
|
+
|
54
55
|
@include color-inherit;
|
55
56
|
}
|
56
57
|
}
|
@@ -72,11 +73,11 @@
|
|
72
73
|
@include size($size-md);
|
73
74
|
}
|
74
75
|
}
|
75
|
-
|
76
|
+
|
76
77
|
.caption{
|
77
78
|
font-size: 14px;
|
78
79
|
font-family: Open Sans, Arial, Sans-Serif;
|
79
80
|
}
|
80
81
|
}
|
81
82
|
}
|
82
|
-
}
|
83
|
+
}
|
@@ -1,14 +1,15 @@
|
|
1
|
-
@import "
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
2
3
|
|
3
4
|
|
4
5
|
.mat-form-field:not(.mat-form-field-disabled){
|
5
6
|
&.qms-file-upload{
|
6
7
|
&.mat-focused{
|
7
8
|
mat-icon{
|
8
|
-
color: $active;
|
9
|
-
|
9
|
+
color: theme-apply($active);
|
10
|
+
|
10
11
|
svg{
|
11
|
-
fill: $active;
|
12
|
+
fill: theme-apply($active);
|
12
13
|
}
|
13
14
|
}
|
14
15
|
|
@@ -24,10 +25,10 @@
|
|
24
25
|
border-bottom: 2px solid #1954A9;
|
25
26
|
|
26
27
|
mat-icon{
|
27
|
-
color: $active;
|
28
|
-
|
28
|
+
color: theme-apply($active);
|
29
|
+
|
29
30
|
svg{
|
30
|
-
fill: $active;
|
31
|
+
fill: theme-apply($active);
|
31
32
|
}
|
32
33
|
}
|
33
34
|
|
@@ -64,7 +65,7 @@ qms-list{
|
|
64
65
|
button{
|
65
66
|
font-weight: 600;
|
66
67
|
font-family: "Open Sans";
|
67
|
-
color: $active;
|
68
|
+
color: theme-apply($active);
|
68
69
|
cursor: pointer;
|
69
70
|
font-size: 0.875em;
|
70
71
|
padding: 0;
|
@@ -75,9 +76,9 @@ qms-list{
|
|
75
76
|
span{
|
76
77
|
cursor: pointer;
|
77
78
|
}
|
78
|
-
|
79
|
+
|
79
80
|
}
|
80
81
|
}
|
81
|
-
|
82
|
+
|
82
83
|
}
|
83
|
-
}
|
84
|
+
}
|
@@ -1,5 +1,7 @@
|
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
1
3
|
@import "typography";
|
2
|
-
|
4
|
+
|
3
5
|
.mat-form-field {
|
4
6
|
&.qms-form {
|
5
7
|
.mat-form-field-flex {
|
@@ -11,7 +13,7 @@
|
|
11
13
|
.mat-form-field-prefix {
|
12
14
|
margin-right: 0.75rem;
|
13
15
|
mat-icon > svg {
|
14
|
-
fill: $active;
|
16
|
+
fill: theme-apply($active);
|
15
17
|
}
|
16
18
|
}
|
17
19
|
}
|
@@ -21,7 +23,7 @@
|
|
21
23
|
.mat-form-field-prefix {
|
22
24
|
margin-right: 0.75rem;
|
23
25
|
mat-icon > svg {
|
24
|
-
fill: $error;
|
26
|
+
fill: theme-apply($error);
|
25
27
|
}
|
26
28
|
}
|
27
29
|
}
|
@@ -35,4 +37,4 @@
|
|
35
37
|
}
|
36
38
|
}
|
37
39
|
}
|
38
|
-
}
|
40
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
1
3
|
@import "typography";
|
2
|
-
@import "colors";
|
3
4
|
|
4
5
|
$height-input: 51px;
|
5
6
|
$padding-field-flex: 0.25rem 1rem 0.25rem 1rem;
|
@@ -110,32 +111,32 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
110
111
|
|
111
112
|
&.mat-focused {
|
112
113
|
.mat-form-field-label {
|
113
|
-
color: $primary;
|
114
|
+
color: theme-apply($primary);
|
114
115
|
}
|
115
116
|
|
116
117
|
mat-icon,
|
117
118
|
.material-icons {
|
118
|
-
color: $primary;
|
119
|
+
color: theme-apply($primary);
|
119
120
|
}
|
120
121
|
}
|
121
122
|
|
122
123
|
&.mat-form-field-invalid {
|
123
124
|
.mat-form-field-label {
|
124
|
-
color: $error;
|
125
|
+
color: theme-apply($error);
|
125
126
|
}
|
126
127
|
}
|
127
128
|
|
128
129
|
&:not(.mat-form-field-disabled):focus {
|
129
|
-
border-bottom: 2px solid $primary;
|
130
|
+
border-bottom: 2px solid theme-apply($primary);
|
130
131
|
padding: 2px;
|
131
132
|
|
132
133
|
.mat-form-field-label {
|
133
|
-
color: $primary;
|
134
|
+
color: theme-apply($primary);
|
134
135
|
}
|
135
136
|
|
136
137
|
mat-icon,
|
137
138
|
.material-icons {
|
138
|
-
color: $primary;
|
139
|
+
color: theme-apply($primary);
|
139
140
|
}
|
140
141
|
|
141
142
|
.mat-form-field-flex {
|
@@ -149,17 +150,17 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
149
150
|
|
150
151
|
&:not(.mat-form-field-disabled):focus {
|
151
152
|
.mat-form-field-label {
|
152
|
-
color: $primary;
|
153
|
+
color: theme-apply($primary);
|
153
154
|
}
|
154
155
|
|
155
156
|
mat-icon,
|
156
157
|
.material-icons {
|
157
|
-
color: $primary;
|
158
|
+
color: theme-apply($primary);
|
158
159
|
}
|
159
160
|
|
160
161
|
.mat-form-field-flex {
|
161
162
|
background-color: black(0.08);
|
162
|
-
border-bottom: 2px solid $primary;
|
163
|
+
border-bottom: 2px solid theme-apply($primary);
|
163
164
|
padding: $padding-field-flex;
|
164
165
|
}
|
165
166
|
}
|
@@ -172,21 +173,21 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
172
173
|
|
173
174
|
&.mat-focused {
|
174
175
|
.mat-form-field-label {
|
175
|
-
color: $primary;
|
176
|
+
color: theme-apply($primary);
|
176
177
|
}
|
177
178
|
|
178
179
|
|
179
180
|
.mat-form-field-flex {
|
180
181
|
background-color: black(0.08);
|
181
182
|
|
182
|
-
border-bottom: 2px solid $primary;
|
183
|
+
border-bottom: 2px solid theme-apply($primary);
|
183
184
|
padding: $padding-field-flex;
|
184
185
|
}
|
185
186
|
}
|
186
187
|
|
187
188
|
&.mat-form-field-invalid {
|
188
189
|
.mat-form-field-label {
|
189
|
-
color: $error;
|
190
|
+
color: theme-apply($error);
|
190
191
|
}
|
191
192
|
|
192
193
|
mat-icon,
|
@@ -196,21 +197,21 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
196
197
|
|
197
198
|
.mat-form-field-ripple {
|
198
199
|
height: 2px;
|
199
|
-
background-color: $error;
|
200
|
+
background-color: theme-apply($error);
|
200
201
|
transform: scaleX(1);
|
201
202
|
}
|
202
203
|
|
203
204
|
.mat-form-field-flex {
|
204
|
-
border-bottom: 2px solid $error;
|
205
|
+
border-bottom: 2px solid theme-apply($error);
|
205
206
|
}
|
206
207
|
}
|
207
208
|
|
208
209
|
&.mat-form-field-disabled {
|
209
210
|
.mat-form-field-flex {
|
210
|
-
background-color: $disabled;
|
211
|
+
background-color: theme-apply($disabled);
|
211
212
|
|
212
213
|
&:hover {
|
213
|
-
background-color: $disabled;
|
214
|
+
background-color: theme-apply($disabled);
|
214
215
|
}
|
215
216
|
}
|
216
217
|
|
@@ -233,7 +234,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
233
234
|
padding: $padding-field-flex;
|
234
235
|
height: $height-input;
|
235
236
|
border-bottom: 1px solid black(0.38);
|
236
|
-
|
237
|
+
|
237
238
|
|
238
239
|
&:hover {
|
239
240
|
background-color: black(0.08);
|
@@ -270,11 +271,11 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
270
271
|
|
271
272
|
.mat-input-element {
|
272
273
|
font-weight: 600;
|
273
|
-
color: $default-color;
|
274
|
+
color: theme-apply($default-color);
|
274
275
|
font-size: 16px;
|
275
276
|
line-height: 22px;
|
276
277
|
font-family: 'Open sans';
|
277
|
-
|
278
|
+
|
278
279
|
|
279
280
|
&::placeholder {
|
280
281
|
color: black(0.6);
|
@@ -289,7 +290,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
289
290
|
}
|
290
291
|
|
291
292
|
.mat-error {
|
292
|
-
color: $error;
|
293
|
+
color: theme-apply($error);
|
293
294
|
display: flex;
|
294
295
|
justify-content: space-between;
|
295
296
|
font-size: 0.75rem;
|
@@ -316,7 +317,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
316
317
|
|
317
318
|
.mat-select-min-line, mat-select-trigger {
|
318
319
|
font-weight: 600;
|
319
|
-
color
|
320
|
+
color:theme-apply($default-color);
|
320
321
|
font-size: 16px;
|
321
322
|
line-height: 22px;
|
322
323
|
font-family: 'Open Sans', sans-serif;
|
@@ -327,11 +328,11 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
327
328
|
}
|
328
329
|
|
329
330
|
.mat-select.mat-select-invalid .mat-select-arrow {
|
330
|
-
color: $error;
|
331
|
-
}
|
331
|
+
color: theme-apply($error);
|
332
|
+
}
|
332
333
|
}
|
333
334
|
|
334
|
-
&.qms-form.qms-search-field, &.qms-form.qms-file-upload,
|
335
|
+
&.qms-form.qms-search-field, &.qms-form.qms-file-upload,
|
335
336
|
&.qms-form:not(.mat-form-field-disabled):focus.qms-file-upload,
|
336
337
|
&.qms-form:not(.mat-form-field-disabled):focus.qms-search-field{
|
337
338
|
.mat-form-field-flex{
|
@@ -364,7 +365,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
364
365
|
font-weight: 600;
|
365
366
|
font-family: "Open Sans";
|
366
367
|
font-size: 1em;
|
367
|
-
|
368
|
+
|
368
369
|
.mat-form-field-wrapper {
|
369
370
|
border-radius: 0.25em;
|
370
371
|
}
|
@@ -424,7 +425,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
|
|
424
425
|
margin-bottom: 0.25em;
|
425
426
|
}
|
426
427
|
}
|
427
|
-
|
428
|
+
|
428
429
|
.mat-error{
|
429
430
|
font-weight: 400;
|
430
431
|
}
|
@@ -1,9 +1,11 @@
|
|
1
|
-
@import "
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
3
|
+
|
2
4
|
.mat-form-field {
|
3
5
|
&.qms-search-field-loading, &.qms-file-upload-loading {
|
4
6
|
.mat-form-field-underline::before {
|
5
7
|
height: 2px;
|
6
|
-
background-color: $active;
|
8
|
+
background-color: theme-apply($active);
|
7
9
|
}
|
8
10
|
}
|
9
|
-
}
|
11
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
1
3
|
@import "typography";
|
2
|
-
@import "colors";
|
3
4
|
|
4
5
|
// RADIO STYLES
|
5
6
|
.mat-radio-group.ng-invalid {
|
@@ -9,7 +10,6 @@
|
|
9
10
|
&:not(.mat-radio-disabled).cdk-program-focused {
|
10
11
|
.mat-radio-persistent-ripple {
|
11
12
|
opacity: 1;
|
12
|
-
// border: 2px solid $secondary;
|
13
13
|
background: black(0.08);
|
14
14
|
}
|
15
15
|
}
|
@@ -61,7 +61,7 @@
|
|
61
61
|
.text-label {
|
62
62
|
font-size: 1rem;
|
63
63
|
line-height: 28px;
|
64
|
-
color: $default-color;
|
64
|
+
color: theme-apply($default-color);
|
65
65
|
white-space: break-spaces;
|
66
66
|
}
|
67
67
|
|
@@ -73,13 +73,12 @@
|
|
73
73
|
}
|
74
74
|
|
75
75
|
.mat-error {
|
76
|
-
color: $error;
|
76
|
+
color: theme-apply($error);
|
77
77
|
}
|
78
78
|
|
79
79
|
&:not(.mat-radio-disabled).cdk-keyboard-focused {
|
80
80
|
.mat-radio-persistent-ripple {
|
81
81
|
opacity: 1;
|
82
|
-
// border: 2px solid $primary;
|
83
82
|
background: black(0.08);
|
84
83
|
}
|
85
84
|
}
|
@@ -87,8 +86,7 @@
|
|
87
86
|
&:not(.mat-radio-disabled).mat-radio-checked.cdk-keyboard-focused {
|
88
87
|
.mat-radio-persistent-ripple {
|
89
88
|
opacity: 1;
|
90
|
-
|
91
|
-
background: $secondary-light-6-opacity;
|
89
|
+
background: theme-apply($secondary-light-6-opacity);
|
92
90
|
}
|
93
91
|
}
|
94
92
|
|
@@ -102,7 +100,7 @@
|
|
102
100
|
|
103
101
|
&.error-form {
|
104
102
|
.mat-radio-outer-circle {
|
105
|
-
border: 2px solid $error;
|
103
|
+
border: 2px solid theme-apply($error);
|
106
104
|
}
|
107
105
|
}
|
108
106
|
|
@@ -115,14 +113,14 @@
|
|
115
113
|
&:active {
|
116
114
|
span.mat-radio-persistent-ripple {
|
117
115
|
opacity: 1;
|
118
|
-
background-color: $secondary-light-12-opacity;
|
116
|
+
background-color: theme-apply($secondary-light-12-opacity);
|
119
117
|
transition-duration: 150ms;
|
120
|
-
}
|
118
|
+
}
|
121
119
|
}
|
122
120
|
&:hover {
|
123
121
|
.mat-ripple-element {
|
124
122
|
opacity: 1;
|
125
|
-
background-color: $secondary-light-6-opacity;
|
123
|
+
background-color: theme-apply($secondary-light-6-opacity);
|
126
124
|
}
|
127
125
|
}
|
128
126
|
}
|
@@ -130,16 +128,16 @@
|
|
130
128
|
|
131
129
|
&.mat-radio-checked {
|
132
130
|
.mat-radio-outer-circle {
|
133
|
-
border-color: $secondary;
|
131
|
+
border-color: theme-apply($secondary);
|
134
132
|
}
|
135
133
|
}
|
136
134
|
|
137
135
|
.mat-radio-inner-circle {
|
138
|
-
background-color: $secondary;
|
136
|
+
background-color: theme-apply($secondary);
|
139
137
|
}
|
140
138
|
|
141
139
|
&.mat-radio-checked .mat-radio-persistent-ripple {
|
142
|
-
background-color: $secondary-light-6-opacity;
|
140
|
+
background-color: theme-apply($secondary-light-6-opacity);
|
143
141
|
}
|
144
142
|
|
145
143
|
.mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple) {
|
@@ -149,7 +147,7 @@
|
|
149
147
|
&.mat-radio-checked
|
150
148
|
.mat-radio-ripple
|
151
149
|
.mat-ripple-element:not(.mat-radio-persistent-ripple) {
|
152
|
-
background-color: $secondary;
|
150
|
+
background-color: theme-apply($secondary);
|
153
151
|
}
|
154
152
|
}
|
155
153
|
}
|
@@ -1,14 +1,15 @@
|
|
1
|
-
@import "
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
2
3
|
|
3
4
|
.mat-slider{
|
4
5
|
&.qms-range-slider{
|
5
6
|
&:not(.mat-slider-disabled){
|
6
7
|
.mat-slider-track-background{
|
7
|
-
background-color: $slider-background;
|
8
|
+
background-color: theme-apply($slider-background);
|
8
9
|
}
|
9
10
|
|
10
11
|
.mat-slider-track-fill{
|
11
|
-
background: $active;
|
12
|
+
background: theme-apply($active);
|
12
13
|
}
|
13
14
|
|
14
15
|
.mat-slider-thumb{
|
@@ -16,8 +17,8 @@
|
|
16
17
|
bottom: -6px;
|
17
18
|
width: 12px;
|
18
19
|
height: 12px;
|
19
|
-
background-color: $active;
|
20
|
-
border-color: $active;
|
20
|
+
background-color: theme-apply($active);
|
21
|
+
border-color: theme-apply($active);
|
21
22
|
box-sizing: border-box;
|
22
23
|
border: 3px solid transparent;
|
23
24
|
border-radius: 50%;
|
@@ -25,7 +26,7 @@
|
|
25
26
|
|
26
27
|
.mat-slider-thumb:after {
|
27
28
|
content: "";
|
28
|
-
background-color: $slider-hover-border;
|
29
|
+
background-color: theme-apply($slider-hover-border);
|
29
30
|
background-size: 0%;
|
30
31
|
background-position: center;
|
31
32
|
display: block;
|
@@ -44,27 +45,27 @@
|
|
44
45
|
|
45
46
|
&.mat-slider-min-value:not(.mat-slider-thumb-label-showing){
|
46
47
|
.mat-slider-thumb {
|
47
|
-
background-color: $active;
|
48
|
-
border-color: $slider-focus-border;
|
48
|
+
background-color: theme-apply($active);
|
49
|
+
border-color: theme-apply($slider-focus-border);
|
49
50
|
}
|
50
51
|
}
|
51
|
-
|
52
|
+
|
52
53
|
&.mat-slider-has-ticks .mat-slider-wrapper::after{
|
53
|
-
border-color: $slider-tick-color;
|
54
|
+
border-color: theme-apply($slider-tick-color);
|
54
55
|
}
|
55
56
|
|
56
57
|
&.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover{
|
57
|
-
border-color: $slider-hover-border;
|
58
|
+
border-color: theme-apply($slider-hover-border);
|
58
59
|
}
|
59
60
|
|
60
61
|
&:focus-visible{
|
61
|
-
border-color: $slider-focus-border;
|
62
|
+
border-color: theme-apply($slider-focus-border);
|
62
63
|
}
|
63
64
|
|
64
65
|
&.cdk-mouse-focused, &.cdk-touch-focused, &.cdk-program-focused{
|
65
66
|
.mat-slider-thumb {
|
66
67
|
border-width: 18px;
|
67
|
-
border-color: $slider-focus-border;
|
68
|
+
border-color: theme-apply($slider-focus-border);
|
68
69
|
transform: scale(0.7);
|
69
70
|
}
|
70
71
|
}
|
@@ -79,7 +80,7 @@
|
|
79
80
|
}
|
80
81
|
}
|
81
82
|
}
|
82
|
-
|
83
|
+
|
83
84
|
&.mat-slider-disabled{
|
84
85
|
.mat-slider-thumb{
|
85
86
|
background-color: black(0.26);
|
@@ -88,11 +89,11 @@
|
|
88
89
|
}
|
89
90
|
|
90
91
|
.mat-slider-ticks{
|
91
|
-
background-image: repeating-linear-gradient(to right, $slider-tick-color, $slider-tick-color 2px, transparent 0, transparent);
|
92
|
+
background-image: repeating-linear-gradient(to right, theme-apply($slider-tick-color), theme-apply($slider-tick-color) 2px, transparent 0, transparent);
|
92
93
|
opacity: 1;
|
93
94
|
}
|
94
95
|
.mat-slider-focus-ring{
|
95
|
-
background-color: transparent;
|
96
|
+
background-color: transparent;
|
96
97
|
}
|
97
98
|
}
|
98
99
|
}
|
@@ -104,7 +105,7 @@
|
|
104
105
|
&:focus-visible{
|
105
106
|
.mat-slider-thumb {
|
106
107
|
border-width: 18px;
|
107
|
-
border-color: $slider-focus-border;
|
108
|
+
border-color: theme-apply($slider-focus-border);
|
108
109
|
transform: scale(0.7);
|
109
110
|
}
|
110
111
|
}
|
@@ -113,15 +114,15 @@
|
|
113
114
|
.mat-slider-thumb-label {
|
114
115
|
border-radius: 10%;
|
115
116
|
transform: rotate(0deg);
|
116
|
-
background: $default-color;
|
117
|
+
background: theme-apply($default-color);
|
117
118
|
}
|
118
119
|
|
119
120
|
.mat-slider-thumb {
|
120
121
|
border-width: 18px;
|
121
|
-
border-color: $slider-pressed;
|
122
|
+
border-color: theme-apply($slider-pressed);
|
122
123
|
transform: scale(0.7);
|
123
124
|
}
|
124
|
-
|
125
|
+
|
125
126
|
.mat-slider-thumb-label-text {
|
126
127
|
transform: rotate(0deg);
|
127
128
|
}
|
@@ -130,14 +131,14 @@
|
|
130
131
|
position: absolute;
|
131
132
|
left: calc(50% - 8px);
|
132
133
|
top: 28px;
|
133
|
-
width: 0;
|
134
|
-
height: 0;
|
134
|
+
width: 0;
|
135
|
+
height: 0;
|
135
136
|
content: '';
|
136
137
|
margin: 0 auto;
|
137
138
|
transform: rotate(0deg);
|
138
139
|
border-left: 8px solid transparent;
|
139
140
|
border-right: 8px solid transparent;
|
140
|
-
border-top: 6px solid $default-color;
|
141
|
+
border-top: 6px solid theme-apply($default-color);
|
141
142
|
}
|
142
143
|
}
|
143
144
|
}
|
@@ -149,18 +150,18 @@
|
|
149
150
|
&:not(.mat-slider-disabled){
|
150
151
|
&.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover{
|
151
152
|
.mat-slider-thumb{
|
152
|
-
border-color: $slider-hover-border;
|
153
|
+
border-color: theme-apply($slider-hover-border);
|
153
154
|
}
|
154
|
-
|
155
|
+
|
155
156
|
}
|
156
157
|
.mat-slider-thumb {
|
157
158
|
height: 48px;
|
158
159
|
width: 48px;
|
159
|
-
border-color: $slider-hover-border;
|
160
|
-
border: solid 18px $slider-hover-border;
|
160
|
+
border-color: theme-apply($slider-hover-border);
|
161
|
+
border: solid 18px theme-apply($slider-hover-border);
|
161
162
|
bottom: -24px;
|
162
163
|
right: -24px;
|
163
|
-
background-clip: padding-box;
|
164
|
+
background-clip: padding-box;
|
164
165
|
}
|
165
166
|
}
|
166
167
|
|
@@ -173,18 +174,18 @@
|
|
173
174
|
}
|
174
175
|
|
175
176
|
.mat-slider{
|
176
|
-
&.qms-range-slider{
|
177
|
+
&.qms-range-slider{
|
177
178
|
&.cdk-focused, &.cdk-keyboard-focused, &.cdk-mouse-focused, &.cdk-touch-focused, &.cdk-program-focused{
|
178
179
|
&:not(.mat-slider-disabled){
|
179
180
|
.mat-slider-thumb {
|
180
181
|
transform: scale(0.7);
|
181
182
|
height: 48px;
|
182
183
|
width: 48px;
|
183
|
-
border-color: $slider-focus-border;
|
184
|
-
border: solid 18px $slider-focus-border;
|
184
|
+
border-color: theme-apply($slider-focus-border);
|
185
|
+
border: solid 18px theme-apply($slider-focus-border);
|
185
186
|
bottom: -24px;
|
186
187
|
right: -24px;
|
187
|
-
background-clip: padding-box;
|
188
|
+
background-clip: padding-box;
|
188
189
|
}
|
189
190
|
}
|
190
191
|
|
@@ -194,7 +195,7 @@
|
|
194
195
|
}
|
195
196
|
}
|
196
197
|
}
|
197
|
-
|
198
|
+
|
198
199
|
}
|
199
200
|
}
|
200
201
|
|