qms-angular 1.0.89 → 1.0.92
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 +181 -94
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/themes.const.js +3 -0
- package/esm2015/lib/components/banner/models/qms-banner.model.js +9 -1
- package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.js +8 -4
- package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.module.js +7 -4
- 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/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.js +28 -7
- 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/common/flowchart/service/kitchensink-service.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/helper/fileHelper.js +15 -0
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +5 -18
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +9 -3
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +3 -3
- 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 +138 -61
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/common/themes.const.d.ts +2 -0
- package/lib/components/banner/models/qms-banner.model.d.ts +10 -0
- package/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.d.ts +2 -1
- package/lib/components/list/list.d.ts +1 -1
- package/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.d.ts +7 -3
- package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +1 -1
- package/lib/qms-ckeditor-components/common/helper/fileHelper.d.ts +1 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +0 -1
- package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +3 -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/banner/qms-banner-confirm/qms-banner-confirm.component.scss +14 -0
- 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 +45 -138
- 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 +37 -7
- package/src/lib/components/list/list.scss +23 -5
- 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 -10
- 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/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.scss +1 -2
- 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 -10
- 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 -13
- 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 +19 -18
- 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,12 +1,13 @@
|
|
1
|
-
@import "
|
2
|
-
@import "
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
3
|
+
|
3
4
|
.mat-tab-group{
|
4
5
|
&.qms-tab-group{
|
5
6
|
.qms-tab-label{
|
6
7
|
display: flex;
|
7
8
|
flex-direction: column;
|
8
9
|
align-items: center;
|
9
|
-
color: $tab-dark-background;
|
10
|
+
color: theme-apply($tab-dark-background);
|
10
11
|
font-family: Open Sans, Arial, Sans-Serif;
|
11
12
|
}
|
12
13
|
|
@@ -16,7 +17,7 @@
|
|
16
17
|
|
17
18
|
.mat-tab-label-active{
|
18
19
|
.qms-tab-label{
|
19
|
-
color: $active;
|
20
|
+
color: theme-apply($active);
|
20
21
|
font-weight: 600;
|
21
22
|
}
|
22
23
|
}
|
@@ -35,12 +36,12 @@
|
|
35
36
|
opacity: 1;
|
36
37
|
height: auto;
|
37
38
|
min-height: 48px;
|
38
|
-
&:hover,
|
39
|
+
&:hover,
|
39
40
|
&:focus-visible,
|
40
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
41
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
41
42
|
&.cdk-program-focused:not(.mat-tab-disabled),
|
42
43
|
.mat-ripple-element{
|
43
|
-
background: $tab-disable-background;
|
44
|
+
background: theme-apply($tab-disable-background);
|
44
45
|
}
|
45
46
|
}
|
46
47
|
|
@@ -48,12 +49,12 @@
|
|
48
49
|
.mat-tab-header-pagination-chevron{
|
49
50
|
border-color: black(0.38);
|
50
51
|
}
|
51
|
-
|
52
|
+
|
52
53
|
}
|
53
54
|
|
54
55
|
.mat-tab-header-pagination{
|
55
56
|
.mat-tab-header-pagination-chevron{
|
56
|
-
border-color: $tab-border;
|
57
|
+
border-color: theme-apply($tab-border);
|
57
58
|
}
|
58
59
|
}
|
59
60
|
}
|
@@ -63,7 +64,7 @@
|
|
63
64
|
display: flex;
|
64
65
|
flex-direction: column;
|
65
66
|
align-items: center;
|
66
|
-
color: $popup-title-color;
|
67
|
+
color: theme-apply($popup-title-color);
|
67
68
|
font-family: Open Sans, Arial, Sans-Serif;
|
68
69
|
font-weight: 400;
|
69
70
|
.mat-icon{
|
@@ -73,10 +74,10 @@
|
|
73
74
|
|
74
75
|
.mat-tab-label-active{
|
75
76
|
.qms-tab-label{
|
76
|
-
color: $active;
|
77
|
+
color: theme-apply($active);
|
77
78
|
font-weight: 600;
|
78
79
|
.mat-icon{
|
79
|
-
color: $active;
|
80
|
+
color: theme-apply($active);
|
80
81
|
}
|
81
82
|
}
|
82
83
|
}
|
@@ -102,37 +103,37 @@
|
|
102
103
|
|
103
104
|
.mat-ripple.mat-tab-label{
|
104
105
|
&:hover{
|
105
|
-
background: $tab-hover-background;
|
106
|
+
background: theme-apply($tab-hover-background);
|
106
107
|
.qms-tab-label{
|
107
108
|
font-weight: 600;
|
108
109
|
}
|
109
110
|
}
|
110
111
|
|
111
112
|
&:focus-visible{
|
112
|
-
background-color: $tab-hover-background;
|
113
|
+
background-color: theme-apply($tab-hover-background);
|
113
114
|
}
|
114
115
|
|
115
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
116
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
116
117
|
&.cdk-program-focused:not(.mat-tab-disabled){
|
117
|
-
background: $tab-hover-background;
|
118
|
+
background: theme-apply($tab-hover-background);
|
118
119
|
}
|
119
120
|
|
120
121
|
.mat-ripple-element{
|
121
|
-
background-color: $tab-hover-background
|
122
|
+
background-color: theme-apply($tab-hover-background)
|
122
123
|
}
|
123
|
-
|
124
|
+
|
124
125
|
&.mat-tab-label-active{
|
125
126
|
&:hover{
|
126
|
-
background: $tab-hover-background;
|
127
|
+
background: theme-apply($tab-hover-background);
|
127
128
|
.qms-tab-label{
|
128
129
|
font-weight: 600;
|
129
130
|
}
|
130
131
|
}
|
131
|
-
|
132
|
+
|
132
133
|
&:focus-visible, .mat-ripple-element,
|
133
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
134
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
134
135
|
&.cdk-program-focused:not(.mat-tab-disabled){
|
135
|
-
background: $tab-disable-background;
|
136
|
+
background: theme-apply($tab-disable-background);
|
136
137
|
}
|
137
138
|
}
|
138
139
|
}
|
@@ -140,21 +141,21 @@
|
|
140
141
|
.mat-tab-header-pagination-chevron{
|
141
142
|
border-color: black(0.38);
|
142
143
|
}
|
143
|
-
|
144
|
+
|
144
145
|
}
|
145
146
|
|
146
147
|
.mat-tab-header-pagination{
|
147
148
|
.mat-tab-header-pagination-chevron{
|
148
|
-
border-color: $tab-border;
|
149
|
+
border-color: theme-apply($tab-border);
|
149
150
|
}
|
150
151
|
}
|
151
152
|
}
|
152
153
|
|
153
154
|
&.qms-tab-group-advanced.primary{
|
154
|
-
background: $tab-dark-background;
|
155
|
+
background: theme-apply($tab-dark-background);
|
155
156
|
|
156
157
|
.mat-tab-labels{
|
157
|
-
border-bottom: 1px solid $tab-primary-label;
|
158
|
+
border-bottom: 1px solid theme-apply($tab-primary-label);
|
158
159
|
}
|
159
160
|
.qms-tab-label{
|
160
161
|
display: flex;
|
@@ -163,16 +164,16 @@
|
|
163
164
|
color: white;
|
164
165
|
font-weight: 400;
|
165
166
|
.mat-icon{
|
166
|
-
color: $tab-primary-icon;
|
167
|
+
color: theme-apply($tab-primary-icon);
|
167
168
|
}
|
168
169
|
}
|
169
170
|
|
170
171
|
|
171
172
|
.mat-tab-disabled{
|
172
173
|
.qms-tab-label{
|
173
|
-
color: $tab-primary-label;
|
174
|
+
color: theme-apply($tab-primary-label);
|
174
175
|
.mat-icon{
|
175
|
-
color: $tab-primary-label;
|
176
|
+
color: theme-apply($tab-primary-label);
|
176
177
|
}
|
177
178
|
}
|
178
179
|
}
|
@@ -180,7 +181,7 @@
|
|
180
181
|
.mat-tab-label-active{
|
181
182
|
.qms-tab-label{
|
182
183
|
color: white;
|
183
|
-
font-weight: 600;
|
184
|
+
font-weight: 600;
|
184
185
|
.mat-icon{
|
185
186
|
color: white;
|
186
187
|
}
|
@@ -189,44 +190,44 @@
|
|
189
190
|
|
190
191
|
.mat-ripple.mat-tab-label{
|
191
192
|
&:hover{
|
192
|
-
background: $tab-primary-background-hover;
|
193
|
+
background: theme-apply($tab-primary-background-hover);
|
193
194
|
.qms-tab-label{
|
194
195
|
font-weight: 600;
|
195
196
|
}
|
196
197
|
}
|
197
198
|
|
198
199
|
&:focus-visible{
|
199
|
-
background-color: $tab-primary-label;
|
200
|
+
background-color: theme-apply($tab-primary-label);
|
200
201
|
}
|
201
202
|
|
202
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
203
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
203
204
|
&.cdk-program-focused:not(.mat-tab-disabled){
|
204
|
-
background-color: $tab-primary-label;
|
205
|
+
background-color: theme-apply($tab-primary-label);
|
205
206
|
}
|
206
207
|
|
207
208
|
.mat-ripple-element{
|
208
|
-
background-color: $tab-primary-label;
|
209
|
+
background-color: theme-apply($tab-primary-label);
|
209
210
|
}
|
210
|
-
|
211
|
+
|
211
212
|
&.mat-tab-label-active{
|
212
213
|
&:hover{
|
213
|
-
background: $tab-primary-background-hover;
|
214
|
+
background: theme-apply($tab-primary-background-hover);
|
214
215
|
.qms-tab-label{
|
215
216
|
font-weight: 600;
|
216
217
|
}
|
217
218
|
}
|
218
|
-
|
219
|
+
|
219
220
|
&:focus-visible{
|
220
|
-
background-color: $tab-primary-label;
|
221
|
+
background-color: theme-apply($tab-primary-label);
|
221
222
|
}
|
222
223
|
|
223
224
|
.mat-ripple-element{
|
224
|
-
background-color
|
225
|
+
background-color:theme-apply($tab-primary-label);;
|
225
226
|
}
|
226
227
|
}
|
227
|
-
|
228
|
+
|
228
229
|
&.mat-tab-disabled:hover{
|
229
|
-
background: $tab-dark-background;
|
230
|
+
background: theme-apply($tab-dark-background);
|
230
231
|
}
|
231
232
|
}
|
232
233
|
|
@@ -238,9 +239,9 @@
|
|
238
239
|
|
239
240
|
.mat-tab-header-pagination.mat-tab-header-pagination-disabled{
|
240
241
|
.mat-tab-header-pagination-chevron{
|
241
|
-
border-color: $tab-primary-border;
|
242
|
+
border-color: theme-apply($tab-primary-border);
|
242
243
|
}
|
243
|
-
|
244
|
+
|
244
245
|
}
|
245
246
|
|
246
247
|
.mat-tab-header-pagination{
|
@@ -269,7 +270,7 @@
|
|
269
270
|
display: flex;
|
270
271
|
flex-direction: column;
|
271
272
|
align-items: center;
|
272
|
-
color: $tab-dark-background;
|
273
|
+
color: theme-apply($tab-dark-background);
|
273
274
|
font-family: Open Sans, Arial, Sans-Serif;
|
274
275
|
}
|
275
276
|
|
@@ -278,7 +279,7 @@
|
|
278
279
|
}
|
279
280
|
|
280
281
|
.mat-tab-label-active{
|
281
|
-
color: $active;
|
282
|
+
color: theme-apply($active);
|
282
283
|
font-weight: 600;
|
283
284
|
}
|
284
285
|
|
@@ -296,12 +297,12 @@
|
|
296
297
|
opacity: 1;
|
297
298
|
height: auto;
|
298
299
|
min-height: 48px;
|
299
|
-
&:hover,
|
300
|
+
&:hover,
|
300
301
|
&:focus-visible,
|
301
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
302
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
302
303
|
&.cdk-program-focused:not(.mat-tab-disabled),
|
303
304
|
.mat-ripple-element{
|
304
|
-
background: $tab-disable-background;
|
305
|
+
background: theme-apply($tab-disable-background);
|
305
306
|
}
|
306
307
|
}
|
307
308
|
|
@@ -313,12 +314,12 @@
|
|
313
314
|
.mat-tab-header-pagination-chevron{
|
314
315
|
border-color: black(0.38);
|
315
316
|
}
|
316
|
-
|
317
|
+
|
317
318
|
}
|
318
319
|
|
319
320
|
.mat-tab-header-pagination{
|
320
321
|
.mat-tab-header-pagination-chevron{
|
321
|
-
border-color: $tab-border;
|
322
|
+
border-color: theme-apply($tab-border);
|
322
323
|
}
|
323
324
|
}
|
324
325
|
}
|
@@ -328,7 +329,7 @@
|
|
328
329
|
display: flex;
|
329
330
|
flex-direction: column;
|
330
331
|
align-items: center;
|
331
|
-
color: $tab-dark-background;
|
332
|
+
color: theme-apply($tab-dark-background);
|
332
333
|
font-family: Open Sans, Arial, Sans-Serif;
|
333
334
|
font-weight: 400;
|
334
335
|
.mat-icon{
|
@@ -339,9 +340,9 @@
|
|
339
340
|
.mat-tab-label-active{
|
340
341
|
&.qms-tab-label{
|
341
342
|
font-weight: 600;
|
342
|
-
color: $active;
|
343
|
+
color: theme-apply($active);
|
343
344
|
.mat-icon{
|
344
|
-
color: $active;
|
345
|
+
color: theme-apply($active);
|
345
346
|
}
|
346
347
|
}
|
347
348
|
}
|
@@ -367,35 +368,35 @@
|
|
367
368
|
|
368
369
|
.mat-tab-link{
|
369
370
|
&:hover{
|
370
|
-
background: $tab-hover-background;
|
371
|
+
background: theme-apply($tab-hover-background);
|
371
372
|
font-weight: 600;
|
372
373
|
}
|
373
374
|
|
374
375
|
&:focus-visible{
|
375
|
-
background-color: $tab-hover-background;
|
376
|
+
background-color: theme-apply($tab-hover-background);
|
376
377
|
}
|
377
378
|
|
378
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
379
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
379
380
|
&.cdk-program-focused:not(.mat-tab-disabled){
|
380
|
-
background: $tab-hover-background;
|
381
|
+
background: theme-apply($tab-hover-background);
|
381
382
|
}
|
382
383
|
|
383
384
|
.mat-ripple-element{
|
384
|
-
background-color: $tab-hover-background
|
385
|
+
background-color: theme-apply($tab-hover-background)
|
385
386
|
}
|
386
|
-
|
387
|
+
|
387
388
|
&.mat-tab-label-active{
|
388
389
|
&:hover{
|
389
|
-
background: $tab-hover-background;
|
390
|
+
background: theme-apply($tab-hover-background);
|
390
391
|
.qms-tab-label{
|
391
392
|
font-weight: 600;
|
392
393
|
}
|
393
394
|
}
|
394
|
-
|
395
|
+
|
395
396
|
&:focus-visible, .mat-ripple-element,
|
396
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
397
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
397
398
|
&.cdk-program-focused:not(.mat-tab-disabled){
|
398
|
-
background: $tab-disable-background;
|
399
|
+
background: theme-apply($tab-disable-background);
|
399
400
|
}
|
400
401
|
}
|
401
402
|
}
|
@@ -403,19 +404,19 @@
|
|
403
404
|
.mat-tab-header-pagination-chevron{
|
404
405
|
border-color: black(0.38);
|
405
406
|
}
|
406
|
-
|
407
|
+
|
407
408
|
}
|
408
409
|
|
409
410
|
.mat-tab-header-pagination{
|
410
411
|
.mat-tab-header-pagination-chevron{
|
411
|
-
border-color: $tab-border;
|
412
|
+
border-color: theme-apply($tab-border);
|
412
413
|
}
|
413
414
|
}
|
414
415
|
}
|
415
416
|
|
416
417
|
&.qms-tab-group-advanced.primary{
|
417
|
-
background: $tab-dark-background;
|
418
|
-
|
418
|
+
background: theme-apply($tab-dark-background);
|
419
|
+
|
419
420
|
.qms-tab-label{
|
420
421
|
display: flex;
|
421
422
|
flex-direction: column;
|
@@ -423,15 +424,15 @@
|
|
423
424
|
color: white;
|
424
425
|
font-weight: 400;
|
425
426
|
.mat-icon{
|
426
|
-
color: $tab-primary-icon;
|
427
|
+
color: theme-apply($tab-primary-icon);
|
427
428
|
}
|
428
429
|
}
|
429
|
-
|
430
|
+
|
430
431
|
.mat-tab-disabled{
|
431
432
|
&.qms-tab-label{
|
432
|
-
color: $tab-primary-label;
|
433
|
+
color: theme-apply($tab-primary-label);
|
433
434
|
.mat-icon{
|
434
|
-
color: $tab-primary-label;
|
435
|
+
color: theme-apply($tab-primary-label);
|
435
436
|
}
|
436
437
|
}
|
437
438
|
}
|
@@ -443,46 +444,46 @@
|
|
443
444
|
color: white;
|
444
445
|
}
|
445
446
|
}
|
446
|
-
|
447
|
+
|
447
448
|
|
448
449
|
.mat-tab-link{
|
449
450
|
&:hover{
|
450
|
-
background: $tab-primary-background-hover;
|
451
|
+
background: theme-apply($tab-primary-background-hover);
|
451
452
|
font-weight: 600;
|
452
453
|
}
|
453
454
|
|
454
455
|
&:focus-visible{
|
455
|
-
background-color: $tab-primary-label;
|
456
|
+
background-color: theme-apply($tab-primary-label);
|
456
457
|
}
|
457
458
|
|
458
|
-
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
459
|
+
&.cdk-keyboard-focused:not(.mat-tab-disabled),
|
459
460
|
&.cdk-program-focused:not(.mat-tab-disabled){
|
460
|
-
background-color: $tab-primary-label;
|
461
|
+
background-color: theme-apply($tab-primary-label);
|
461
462
|
}
|
462
463
|
|
463
464
|
.mat-ripple-element{
|
464
|
-
background-color: $tab-dark-background;
|
465
|
+
background-color: theme-apply($tab-dark-background);
|
465
466
|
}
|
466
|
-
|
467
|
+
|
467
468
|
&.mat-tab-label-active{
|
468
469
|
&:hover{
|
469
|
-
background: $tab-primary-background-hover;
|
470
|
+
background: theme-apply($tab-primary-background-hover);
|
470
471
|
.qms-tab-label{
|
471
472
|
font-weight: 600;
|
472
473
|
}
|
473
474
|
}
|
474
|
-
|
475
|
+
|
475
476
|
&:focus-visible{
|
476
|
-
background-color: $tab-primary-label;
|
477
|
+
background-color: theme-apply($tab-primary-label);
|
477
478
|
}
|
478
479
|
|
479
480
|
.mat-ripple-element{
|
480
|
-
background-color
|
481
|
+
background-color:theme-apply($tab-primary-label);;
|
481
482
|
}
|
482
483
|
}
|
483
|
-
|
484
|
+
|
484
485
|
&.mat-tab-disabled:hover{
|
485
|
-
background: $tab-dark-background;
|
486
|
+
background: theme-apply($tab-dark-background);
|
486
487
|
}
|
487
488
|
}
|
488
489
|
|
@@ -494,9 +495,9 @@
|
|
494
495
|
|
495
496
|
.mat-tab-header-pagination.mat-tab-header-pagination-disabled{
|
496
497
|
.mat-tab-header-pagination-chevron{
|
497
|
-
border-color: $tab-primary-border;
|
498
|
+
border-color: theme-apply($tab-primary-border);
|
498
499
|
}
|
499
|
-
|
500
|
+
|
500
501
|
}
|
501
502
|
|
502
503
|
.mat-tab-header-pagination{
|
@@ -1,5 +1,6 @@
|
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
1
3
|
@import "typography";
|
2
|
-
@import "colors";
|
3
4
|
|
4
5
|
.qms-table {
|
5
6
|
.mat-checkbox.qms-group-options {
|
@@ -11,7 +12,7 @@
|
|
11
12
|
}
|
12
13
|
|
13
14
|
&.mat-checkbox-indeterminate .mat-checkbox-background, &.mat-checkbox-checked .mat-checkbox-background {
|
14
|
-
background-color: $primary !important;
|
15
|
+
background-color: theme-apply($primary) !important;
|
15
16
|
}
|
16
17
|
|
17
18
|
&.mat-checkbox-checked {
|
@@ -78,7 +79,7 @@
|
|
78
79
|
}
|
79
80
|
|
80
81
|
&[tabindex]:focus-visible {
|
81
|
-
outline: 2px auto $primary;
|
82
|
+
outline: 2px auto theme-apply($primary);
|
82
83
|
}
|
83
84
|
|
84
85
|
&:hover {
|
@@ -86,12 +87,12 @@
|
|
86
87
|
}
|
87
88
|
|
88
89
|
&:active {
|
89
|
-
background:
|
90
|
+
background: theme-apply($primary-light-24-opacity);
|
90
91
|
}
|
91
92
|
|
92
93
|
&-selected {
|
94
|
+
background: theme-apply($tab-focus-background);
|
93
95
|
transition: background 0.2s;
|
94
|
-
background: $tab-focus-background;
|
95
96
|
|
96
97
|
&:hover {
|
97
98
|
background: rgba(40, 115, 223, 0.06);
|
@@ -133,7 +134,7 @@
|
|
133
134
|
align-items: stretch!important;
|
134
135
|
flex: unset;
|
135
136
|
padding-left: 4px;
|
136
|
-
|
137
|
+
|
137
138
|
.qms-row-checkbox {
|
138
139
|
padding: 0 19px;
|
139
140
|
display: flex;
|
@@ -147,7 +148,7 @@
|
|
147
148
|
.qms-row-checkbox-container:first-child {
|
148
149
|
align-items: stretch!important;
|
149
150
|
flex: unset;
|
150
|
-
|
151
|
+
|
151
152
|
.qms-row-checkbox {
|
152
153
|
padding: 0 19px;
|
153
154
|
display: flex;
|
@@ -160,7 +161,7 @@
|
|
160
161
|
&.qms-expand-table {
|
161
162
|
.mat-header-cell {
|
162
163
|
padding-left: 0;
|
163
|
-
|
164
|
+
|
164
165
|
.expand-icon-header {
|
165
166
|
margin-left: 15px;
|
166
167
|
}
|
@@ -196,7 +197,7 @@
|
|
196
197
|
}
|
197
198
|
|
198
199
|
mat-icon {
|
199
|
-
color: $primary;
|
200
|
+
color: theme-apply($primary);
|
200
201
|
}
|
201
202
|
}
|
202
203
|
}
|
@@ -211,33 +212,33 @@
|
|
211
212
|
.qms-table-row {
|
212
213
|
&.expandable-group {
|
213
214
|
padding-left: 0!important;
|
214
|
-
border-left: 4px solid $primary-light-32-opacity;
|
215
|
+
border-left: 4px solid theme-apply($primary-light-32-opacity);
|
215
216
|
border-radius: 4px 4px 0 0;
|
216
217
|
}
|
217
218
|
}
|
218
219
|
|
219
220
|
.qms-collapse-group {
|
220
221
|
border: 1px solid #E0E0E0;
|
221
|
-
border-left: 4px solid $primary-light-32-opacity;
|
222
|
+
border-left: 4px solid theme-apply($primary-light-32-opacity);
|
222
223
|
border-bottom-left-radius: 4px;
|
223
224
|
border-bottom-right-radius: 4px;
|
224
225
|
border-top: none;
|
225
226
|
padding-left: 12px;
|
226
227
|
padding-top: 6px;
|
227
|
-
background: $background-area;
|
228
|
+
background: theme-apply($background-area);
|
228
229
|
|
229
230
|
cursor: pointer;
|
230
231
|
|
231
232
|
&[tabindex]:focus-visible {
|
232
|
-
outline: 2px auto $primary;
|
233
|
+
outline: 2px auto theme-apply($primary);
|
233
234
|
}
|
234
|
-
|
235
|
+
|
235
236
|
.mat-icon {
|
236
|
-
color: $primary;
|
237
|
+
color: theme-apply($primary);
|
237
238
|
}
|
238
239
|
.qms-text-collapse {
|
239
240
|
vertical-align: super;
|
240
|
-
color: $primary;
|
241
|
+
color: theme-apply($primary);
|
241
242
|
font-weight: 600;
|
242
243
|
font-size: 12px;
|
243
244
|
line-height: 16px;
|
@@ -249,7 +250,7 @@
|
|
249
250
|
margin-top: unset;
|
250
251
|
border-radius: unset;
|
251
252
|
padding-left: 0!important;
|
252
|
-
border-left: 4px solid $primary-light-32-opacity;
|
253
|
+
border-left: 4px solid theme-apply($primary-light-32-opacity);
|
253
254
|
}
|
254
255
|
}
|
255
256
|
|
@@ -259,4 +260,4 @@
|
|
259
260
|
border-radius: 0;
|
260
261
|
}
|
261
262
|
}
|
262
|
-
}
|
263
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@import 'variable';
|
2
|
+
|
3
|
+
@mixin theme-map($map: ()) {
|
4
|
+
@each $key, $value in $map {
|
5
|
+
#{$key}: $value;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
@function theme-apply($key, $fallback: null, $map: $qms-theme-default) {
|
10
|
+
@if not map-has-key($map, $key) {
|
11
|
+
@error "key: '#{$key}', is not a key in map: #{$map}";
|
12
|
+
}
|
13
|
+
@if ($fallback) {
|
14
|
+
@return var($key, $fallback);
|
15
|
+
} @else {
|
16
|
+
@return var($key);
|
17
|
+
}
|
18
|
+
}
|