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.
Files changed (106) hide show
  1. package/bundles/qms-angular.umd.js +181 -94
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/common/themes.const.js +3 -0
  4. package/esm2015/lib/components/banner/models/qms-banner.model.js +9 -1
  5. package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.js +8 -4
  6. package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.module.js +7 -4
  7. package/esm2015/lib/components/button/button-toggle.js +1 -1
  8. package/esm2015/lib/components/button/button.js +3 -3
  9. package/esm2015/lib/components/comment/comment.js +1 -1
  10. package/esm2015/lib/components/list/list.js +5 -3
  11. package/esm2015/lib/components/related/content/related-content.component.js +1 -1
  12. package/esm2015/lib/components/related/list-other-related/list-related.component.js +1 -1
  13. package/esm2015/lib/components/related/popup/related-popup.component.js +1 -1
  14. package/esm2015/lib/components/related/risk/analysis/analysis.component.js +1 -1
  15. package/esm2015/lib/components/related/risk/list/list.component.js +1 -1
  16. package/esm2015/lib/components/related/risk/result/result.component.js +1 -1
  17. package/esm2015/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.js +28 -7
  18. package/esm2015/lib/components/rich-text/rich-text.js +1 -1
  19. package/esm2015/lib/components/select-dialog/select-dialog.js +1 -1
  20. package/esm2015/lib/components/select-include-children/select-include-children.component.js +1 -1
  21. package/esm2015/lib/components/select-one/select-one.component.js +1 -1
  22. package/esm2015/lib/components/select-process-document/select-process-document.component.js +1 -1
  23. package/esm2015/lib/components/table/table-action.js +2 -2
  24. package/esm2015/lib/components/tree/tree.component.js +1 -1
  25. package/esm2015/lib/components/treeNew/tree.component.js +1 -1
  26. package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +1 -1
  27. package/esm2015/lib/qms-ckeditor-components/common/helper/fileHelper.js +15 -0
  28. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +5 -18
  29. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +9 -3
  30. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +3 -3
  31. package/esm2015/lib/services/theming.service.js +36 -0
  32. package/esm2015/lib/shared.module.js +1 -1
  33. package/esm2015/public-api.js +3 -1
  34. package/fesm2015/qms-angular.js +138 -61
  35. package/fesm2015/qms-angular.js.map +1 -1
  36. package/lib/common/themes.const.d.ts +2 -0
  37. package/lib/components/banner/models/qms-banner.model.d.ts +10 -0
  38. package/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.d.ts +2 -1
  39. package/lib/components/list/list.d.ts +1 -1
  40. package/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.d.ts +7 -3
  41. package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +1 -1
  42. package/lib/qms-ckeditor-components/common/helper/fileHelper.d.ts +1 -0
  43. package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +0 -1
  44. package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +3 -1
  45. package/lib/services/theming.service.d.ts +7 -0
  46. package/lib.theme.scss +11 -9
  47. package/package.json +1 -1
  48. package/public-api.d.ts +2 -0
  49. package/qms-angular.metadata.json +1 -1
  50. package/src/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.scss +14 -0
  51. package/src/lib/components/breadcrumb/breadcrumb.scss +2 -1
  52. package/src/lib/components/button/_button-base.scss +45 -52
  53. package/src/lib/components/button/_button-theme.scss +4 -2
  54. package/src/lib/components/button/button-icon.scss +17 -14
  55. package/src/lib/components/button/button-toggle.scss +45 -138
  56. package/src/lib/components/comment/comment.scss +3 -2
  57. package/src/lib/components/dialog/dialog.scss +2 -1
  58. package/src/lib/components/list/_list-base.scss +2 -2
  59. package/src/lib/components/list/_list-expansion.scss +37 -7
  60. package/src/lib/components/list/list.scss +23 -5
  61. package/src/lib/components/related/content/related-content.component.scss +4 -2
  62. package/src/lib/components/related/list-other-related/list-related.component.scss +7 -6
  63. package/src/lib/components/related/popup/related-popup.component.scss +10 -10
  64. package/src/lib/components/related/risk/analysis/analysis.component.scss +4 -3
  65. package/src/lib/components/related/risk/list/list.component.scss +7 -6
  66. package/src/lib/components/related/risk/result/result.component.scss +9 -8
  67. package/src/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.scss +1 -2
  68. package/src/lib/components/rich-text/rich-text.scss +3 -2
  69. package/src/lib/components/select-dialog/select-dialog.scss +5 -5
  70. package/src/lib/components/select-include-children/select-include-children.component.scss +10 -10
  71. package/src/lib/components/select-one/select-one.component.scss +5 -4
  72. package/src/lib/components/select-process-document/select-process-document.component.scss +12 -13
  73. package/src/lib/components/substance-conflict/substance-conflict.component.scss +4 -3
  74. package/src/lib/components/table/table.scss +4 -3
  75. package/src/lib/components/tooltip/tooltip.scss +3 -1
  76. package/src/lib/components/tree/tree.component.scss +12 -12
  77. package/src/lib/components/treeNew/tree.component.scss +11 -18
  78. package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +3 -2
  79. package/src/themes/_non-bg-scrollbar.scss +4 -3
  80. package/src/themes/core/_app-bar.scss +5 -4
  81. package/src/themes/core/_button.scss +14 -12
  82. package/src/themes/core/_checkbox.scss +9 -24
  83. package/src/themes/core/_chip-input.scss +29 -27
  84. package/src/themes/core/_chip.scss +12 -10
  85. package/src/themes/core/_date-picker.scss +9 -8
  86. package/src/themes/core/_dropdown-menu.scss +12 -11
  87. package/src/themes/core/_file-upload.scss +12 -11
  88. package/src/themes/core/_form-prefix.scss +6 -4
  89. package/src/themes/core/_form.scss +28 -27
  90. package/src/themes/core/_progress.scss +5 -3
  91. package/src/themes/core/_radio.scss +13 -15
  92. package/src/themes/core/_range-slider.scss +34 -33
  93. package/src/themes/core/_scrollbar.scss +25 -34
  94. package/src/themes/core/_search-field.scss +5 -3
  95. package/src/themes/core/_select.scss +5 -2
  96. package/src/themes/core/_slide-toggle.scss +10 -11
  97. package/src/themes/core/_styles.scss +19 -17
  98. package/src/themes/core/_tab.scss +88 -87
  99. package/src/themes/core/_table.scss +19 -18
  100. package/src/themes/core/_text-block.scss +3 -1
  101. package/src/themes/theme/_mixins.scss +18 -0
  102. package/src/themes/theme/_theme.scss +17 -0
  103. package/src/themes/theme/_variable.scss +303 -0
  104. package/src/themes/_color.scss +0 -61
  105. package/src/themes/_scrollbar.scss +0 -27
  106. package/src/themes/core/_colors.scss +0 -60
@@ -35,6 +35,20 @@
35
35
  button {
36
36
  margin-left: 16px;
37
37
  }
38
+
39
+ &.banner-confirm-buttons {
40
+ ::ng-deep {
41
+ button{
42
+ &.qms-btn-icon.qms-btn-disabled {
43
+ background: transparent;
44
+ }
45
+
46
+ &.qms-btn-text.qms-btn-disabled {
47
+ background: transparent;
48
+ }
49
+ }
50
+ }
51
+ }
38
52
  }
39
53
  }
40
54
 
@@ -1,4 +1,5 @@
1
- @import "../../../themes/core/colors";
1
+ @import "../../../themes/theme/variable";
2
+ @import "../../../themes/theme/mixins";
2
3
 
3
4
  .breadcrumb-container{
4
5
  display: flex;
@@ -1,6 +1,7 @@
1
1
  @import "../../../themes/core/variables";
2
- @import "../../../themes/core/colors";
3
2
  @import "../../../themes/core/typography";
3
+ @import "../../../themes/theme/variable";
4
+ @import "../../../themes/theme/mixins";
4
5
 
5
6
  $margin: 0 !default;
6
7
  $border-radius: 4px !default;
@@ -56,7 +57,7 @@ $mini-fab-padding: 8px !default;
56
57
 
57
58
  &.qms-btn-disabled {
58
59
  cursor: default;
59
- background: $disabled;
60
+ background: theme-apply($disabled);
60
61
  color: black(0.38);
61
62
  }
62
63
 
@@ -76,8 +77,7 @@ $mini-fab-padding: 8px !default;
76
77
  height: $size;
77
78
  padding: 0;
78
79
  flex-shrink: 0;
79
- box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12),
80
- 0px 5px 5px black(0.2);
80
+ box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12), 0px 5px 5px black(0.2);
81
81
 
82
82
  .qms-btn-wrapper {
83
83
  padding: $padding 0;
@@ -87,8 +87,7 @@ $mini-fab-padding: 8px !default;
87
87
  }
88
88
 
89
89
  @mixin fab-ext {
90
- box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12),
91
- 0px 5px 5px black(0.2);
90
+ box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12), 0px 5px 5px black(0.2);
92
91
  padding: $padding-ext;
93
92
  border-radius: $border-radius-ext;
94
93
  line-height: $line-height-ext;
@@ -117,7 +116,7 @@ $mini-fab-padding: 8px !default;
117
116
 
118
117
  @mixin qms-btn($color) {
119
118
  @if $color == primary {
120
- background-color: $primary;
119
+ background-color: theme-apply($primary);
121
120
  color: white;
122
121
 
123
122
  &:not([disabled]):focus {
@@ -127,16 +126,16 @@ $mini-fab-padding: 8px !default;
127
126
  }
128
127
 
129
128
  &:not([disabled]):focus {
130
- background-color: $primary;
129
+ background-color: theme-apply($primary);
131
130
  box-shadow: 0 0 0 2px #8caad4;
132
131
  }
133
132
 
134
133
  &:not([disabled]):hover {
135
- background-color: $primary-light;
134
+ background-color: theme-apply($primary-light);
136
135
  color: white;
137
136
  }
138
137
  } @else if $color == secondary {
139
- background-color: $secondary;
138
+ background-color: theme-apply($secondary);
140
139
  color: white;
141
140
 
142
141
  &:not([disabled]):focus {
@@ -146,12 +145,12 @@ $mini-fab-padding: 8px !default;
146
145
  }
147
146
 
148
147
  &:not([disabled]):focus {
149
- background-color: $secondary;
148
+ background-color: theme-apply($secondary);
150
149
  box-shadow: 0 0 0 2px #cf9b87;
151
150
  }
152
151
 
153
152
  &:not([disabled]):hover {
154
- background-color: $secondary-light;
153
+ background-color: theme-apply($secondary-light);
155
154
  color: white;
156
155
  }
157
156
  }
@@ -160,7 +159,7 @@ $mini-fab-padding: 8px !default;
160
159
  @mixin qms-btn-outlined($color) {
161
160
  @if $color == primary {
162
161
  background-color: white;
163
- color: $primary;
162
+ color: theme-apply($primary);
164
163
  border: 1px solid black(0.12);
165
164
 
166
165
  &:not([disabled]):focus {
@@ -171,18 +170,18 @@ $mini-fab-padding: 8px !default;
171
170
 
172
171
  &:not([disabled]):focus {
173
172
  background-color: white;
174
- color: $primary;
175
- box-shadow: 0 0 0 2px $primary;
173
+ color: theme-apply($primary);
174
+ box-shadow: 0 0 0 2px theme-apply($primary);
176
175
  }
177
176
 
178
177
  &:not([disabled]):hover {
179
- background-color: $primary-light-6-opacity;
180
- color: $primary;
178
+ background-color: theme-apply($primary-light-6-opacity);
179
+ color: theme-apply($primary);
181
180
  }
182
181
  } @else if $color == secondary {
183
182
  background-color: white;
184
- color: $secondary;
185
- border: 1px solid $secondary;
183
+ color: theme-apply($secondary);
184
+ border: 1px solid theme-apply($secondary);
186
185
 
187
186
  &:not([disabled]):focus {
188
187
  &:not(:focus-visible) {
@@ -192,14 +191,14 @@ $mini-fab-padding: 8px !default;
192
191
 
193
192
  &:not([disabled]):focus {
194
193
  background-color: white;
195
- color: $secondary-light;
196
- box-shadow: 0 0 0 2px $secondary-dark;
194
+ color: theme-apply($secondary-light);
195
+ box-shadow: 0 0 0 2px theme-apply($secondary-dark);
197
196
  }
198
197
 
199
198
  &:not([disabled]):hover {
200
- background-color: $secondary-light-6-opacity;
201
- color: $secondary-light;
202
- border: 1px solid $secondary-light;
199
+ background-color: theme-apply($secondary-light-6-opacity);
200
+ color: theme-apply($secondary-light);
201
+ border: 1px solid theme-apply($secondary-light);
203
202
  }
204
203
  }
205
204
  }
@@ -207,7 +206,7 @@ $mini-fab-padding: 8px !default;
207
206
  @mixin qms-btn-text($color) {
208
207
  @if $color == primary {
209
208
  background-color: transparent;
210
- color: $primary;
209
+ color: theme-apply($primary);
211
210
 
212
211
  &:not([disabled]):focus {
213
212
  &:not(:focus-visible) {
@@ -217,17 +216,17 @@ $mini-fab-padding: 8px !default;
217
216
 
218
217
  &:not([disabled]):focus {
219
218
  background-color: transparent;
220
- color: $primary;
221
- box-shadow: 0 0 0 2px $primary;
219
+ color: theme-apply($primary);
220
+ box-shadow: 0 0 0 2px theme-apply($primary);
222
221
  }
223
222
 
224
223
  &:not([disabled]):hover {
225
- background-color: $primary-light-6-opacity;
226
- color: $primary;
224
+ background-color: theme-apply($primary-light-6-opacity);
225
+ color: theme-apply($primary);
227
226
  }
228
227
  } @else if $color == secondary {
229
228
  background-color: transparent;
230
- color: $secondary;
229
+ color: theme-apply($secondary);
231
230
 
232
231
  &:not([disabled]):focus {
233
232
  &:not(:focus-visible) {
@@ -237,13 +236,13 @@ $mini-fab-padding: 8px !default;
237
236
 
238
237
  &:not([disabled]):focus {
239
238
  background-color: transparent;
240
- color: $secondary-light;
241
- box-shadow: 0 0 0 2px $secondary-dark;
239
+ color: theme-apply($secondary-light);
240
+ box-shadow: 0 0 0 2px theme-apply($secondary-dark);
242
241
  }
243
242
 
244
243
  &:not([disabled]):hover {
245
- background-color: $secondary-light-6-opacity;
246
- color: $secondary-light;
244
+ background-color: theme-apply($secondary-light-6-opacity);
245
+ color: theme-apply($secondary-light);
247
246
  }
248
247
  }
249
248
  }
@@ -251,51 +250,45 @@ $mini-fab-padding: 8px !default;
251
250
  @mixin qms-btn-fab-outlined($color) {
252
251
  @if $color == primary {
253
252
  background-color: white;
254
- color: $primary;
253
+ color: theme-apply($primary);
255
254
  border: 1px solid black(0.12);
256
255
 
257
256
  &:not([disabled]):focus {
258
257
  &:not(:focus-visible) {
259
- box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12),
260
- 0px 5px 5px black(0.2);
258
+ box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12), 0px 5px 5px black(0.2);
261
259
  }
262
260
  }
263
261
 
264
262
  &:not([disabled]):focus {
265
263
  background-color: white;
266
- color: $primary;
267
- box-shadow: 0 0 0 2px $primary,
268
- 0px 8px 10px black(0.14), 0px 3px 14px black(0.12),
269
- 0px 5px 5px black(0.2);
264
+ color: theme-apply($primary);
265
+ box-shadow: 0 0 0 2px theme-apply($primary), 0px 8px 10px black(0.14), 0px 3px 14px black(0.12), 0px 5px 5px black(0.2);
270
266
  }
271
267
 
272
268
  &:not([disabled]):hover {
273
- background-color: $primary-light-6-opacity;
274
- color: $primary;
269
+ background-color: theme-apply($primary-light-6-opacity);
270
+ color: theme-apply($primary);
275
271
  }
276
272
  } @else if $color == secondary {
277
273
  background-color: white;
278
- color: $secondary;
274
+ color: theme-apply($secondary);
279
275
  border: 1px solid black(0.12);
280
276
 
281
277
  &:not([disabled]):focus {
282
278
  &:not(:focus-visible) {
283
- box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12),
284
- 0px 5px 5px black(0.2);
279
+ box-shadow: 0px 8px 10px black(0.14), 0px 3px 14px black(0.12), 0px 5px 5px black(0.2);
285
280
  }
286
281
  }
287
282
 
288
283
  &:not([disabled]):focus {
289
284
  background-color: white;
290
- color: $secondary-light;
291
- box-shadow: 0 0 0 2px $secondary-dark,
292
- 0px 8px 10px black(0.14), 0px 3px 14px black(0.12),
293
- 0px 5px 5px black(0.2);
285
+ color: theme-apply($secondary-light);
286
+ box-shadow: 0 0 0 2px theme-apply($secondary-dark), 0px 8px 10px black(0.14), 0px 3px 14px black(0.12), 0px 5px 5px black(0.2);
294
287
  }
295
288
 
296
289
  &:not([disabled]):hover {
297
- background-color: $secondary-light-6-opacity;
298
- color: $secondary-light;
290
+ background-color: theme-apply($secondary-light-6-opacity);
291
+ color: theme-apply($secondary-light);
299
292
  }
300
293
  }
301
294
  }
@@ -1,5 +1,7 @@
1
- @import "../../../themes/core/colors";
2
1
  @import "button-base";
2
+ @import "../../../themes/theme/variable";
3
+ @import "../../../themes/theme/mixins";
4
+
3
5
 
4
6
  /********** QMS BUTTON BASIC **********/
5
7
  .qms-btn {
@@ -204,7 +206,7 @@
204
206
  0px 5px 5px black(0.2);
205
207
  }
206
208
  }
207
-
209
+
208
210
  &:not([disabled]):focus {
209
211
  box-shadow: 0 0 0 2px #cf9b87,
210
212
  0px 8px 10px black(0.14), 0px 3px 14px black(0.12),
@@ -1,6 +1,9 @@
1
- @import "../../../themes/core/colors";
1
+
2
2
  @import "button-base";
3
3
  @import "button-theme";
4
+ @import "../../../themes/theme/variable";
5
+ @import "../../../themes/theme/mixins";
6
+
4
7
  $size: 48px;
5
8
 
6
9
  .qms-btn-icon {
@@ -68,12 +71,12 @@ $size: 48px;
68
71
  &:not([disabled]):hover,
69
72
  &:not([disabled]):focus {
70
73
  background-color: black(0.08);
71
- color: $default-color;
74
+ color: theme-apply($default-color);
72
75
  }
73
76
 
74
77
  &:not([disabled]):active {
75
78
  background-color: black(0.24);
76
- color: $default-color;
79
+ color: theme-apply($default-color);
77
80
  }
78
81
 
79
82
  // Disable button
@@ -84,17 +87,17 @@ $size: 48px;
84
87
 
85
88
  // Button light
86
89
  &:not(.qms-btn-disabled).active-icon {
87
- color: $primary;
90
+ color: theme-apply($primary);
88
91
 
89
92
  &:not([disabled]):hover,
90
93
  &:not([disabled]):focus {
91
- background-color: $primary-light-3-opacity;
92
- color: $primary;
94
+ background-color: theme-apply($primary-light-12-opacity);
95
+ color: theme-apply($primary);
93
96
  }
94
-
97
+
95
98
  &:not([disabled]):active {
96
- background-color: $primary-light-6-opacity;
97
- color: $primary;
99
+ background-color: theme-apply($primary-light-6-opacity);
100
+ color: theme-apply($primary);
98
101
  }
99
102
  }
100
103
  }
@@ -118,7 +121,7 @@ $size: 48px;
118
121
  }
119
122
 
120
123
  &.active-icon {
121
- color: $secondary-lighter;
124
+ color: theme-apply($secondary-lighter);
122
125
 
123
126
  &:not([disabled]):hover,
124
127
  &:not([disabled]):focus {
@@ -170,13 +173,13 @@ $size: 48px;
170
173
 
171
174
  &.active {
172
175
  .caption {
173
- color: $primary;
176
+ color: theme-apply($primary);
174
177
  }
175
178
  }
176
179
 
177
180
  &:not(.disabled):hover {
178
181
  .caption {
179
- color: $default-color;
182
+ color: theme-apply($default-color);
180
183
  }
181
184
  }
182
185
  &:not(.disabled):focus {
@@ -186,7 +189,7 @@ $size: 48px;
186
189
  }
187
190
  &:not(.disabled):active {
188
191
  .caption {
189
- color: $default-color;
192
+ color: theme-apply($default-color);
190
193
  }
191
194
  }
192
195
  .caption {
@@ -205,7 +208,7 @@ $size: 48px;
205
208
 
206
209
  &.active {
207
210
  .caption {
208
- color: $secondary-lighter;
211
+ color: theme-apply($secondary-lighter);
209
212
  }
210
213
  }
211
214
 
@@ -1,5 +1,6 @@
1
- @import "../../../themes/core/colors";
2
1
  @import "../../../themes/core/typography";
2
+ @import "../../../themes/theme/variable";
3
+ @import "../../../themes/theme/mixins";
3
4
 
4
5
  .qms-button-toggle-group {
5
6
  position: relative;
@@ -11,7 +12,7 @@
11
12
  border-radius: 4px;
12
13
  border: solid 1px #e0e0e0;
13
14
 
14
- .qms-button-toggle {
15
+ .qms-button-toggle {
15
16
  font-family: "Open Sans";
16
17
  white-space: nowrap;
17
18
  position: relative;
@@ -19,23 +20,23 @@
19
20
  font-weight: 600;
20
21
  line-height: 16px;
21
22
 
22
-
23
23
  &.qms-button-toggle-appearance-standard {
24
24
  background-color: white;
25
- color: $default-color;
25
+ color: theme-apply($default-color);
26
26
  position: relative;
27
27
 
28
28
  .mat-icon {
29
- color: $primary;
29
+ color: theme-apply($primary);
30
30
  }
31
31
 
32
32
  &:hover {
33
- background-color: $primary-light-3-opacity;
33
+ background-color: theme-apply($primary-light-24-opacity) !important;
34
+ color: theme-apply($primary);
34
35
  }
35
36
 
36
37
  &.qms-button-toggle-checked {
37
- background-color: $primary-light-3-opacity;
38
- color: $primary;
38
+ background-color: theme-apply($primary-light-12-opacity);
39
+ color: theme-apply($primary);
39
40
  }
40
41
 
41
42
  + {
@@ -45,41 +46,22 @@
45
46
  }
46
47
 
47
48
  &.cdk-keyboard-focused {
48
- &::after {
49
- content: "";
50
- display: block;
51
- position: absolute;
52
- top: 0;
53
- right: 0;
54
- width: 3px;
55
- height: 100%;
56
- background: $primary-light;
57
- }
58
-
59
- &:before {
60
- content: "";
61
- display: block;
62
- position: absolute;
63
- top: 0;
64
- right: 0;
65
- bottom: 0;
66
- left: 0;
67
- border: 3px solid $primary-light;
68
- }
49
+ background-color: theme-apply($primary-light-24-opacity) !important;
50
+ color: theme-apply($primary);
69
51
  }
70
52
  }
71
53
 
72
54
  &.qms-button-toggle-appearance-active {
73
- background-color: $primary-light-3-opacity;
74
- color: $primary;
55
+ background-color: theme-apply($primary-light-12-opacity);
56
+ color: theme-apply($primary);
75
57
 
76
58
  &:hover {
77
- background-color: $primary;
78
- color: white;
59
+ background-color: theme-apply($primary) !important;;
60
+ color: white !important;;
79
61
  }
80
62
 
81
63
  &.qms-button-toggle-checked {
82
- background-color: $primary;
64
+ background-color: theme-apply($primary);
83
65
  color: white;
84
66
  }
85
67
 
@@ -90,105 +72,70 @@
90
72
  }
91
73
 
92
74
  &.cdk-keyboard-focused {
93
- &::after {
94
- content: "";
95
- display: block;
96
- position: absolute;
97
- top: 0;
98
- right: 0;
99
- width: 3px;
100
- height: 100%;
101
- background: $primary-light;
102
- }
103
-
104
- &:before {
105
- content: "";
106
- display: block;
107
- position: absolute;
108
- top: 0;
109
- right: 0;
110
- bottom: 0;
111
- left: 0;
112
- border: 3px solid $primary-light;
113
- }
75
+ background-color: theme-apply($primary-light) !important;
76
+ color: white !important;;
114
77
  }
115
78
  }
116
79
 
117
80
  &.qms-button-toggle-appearance-dark {
118
- background-color: $default-color;
119
- color: rgba(255, 255, 255, 0.6);
81
+ background-color: theme-apply($default-color);
82
+ color: white(0.6);
120
83
 
121
84
  .mat-icon {
122
- color: $primary-light-32-opacity;
85
+ color: theme-apply($primary-light-32-opacity);
123
86
  }
124
87
 
125
88
  &:hover {
126
- background-color: $primary-lighter;
127
- color: $primary;
89
+ background-color: theme-apply($primary-lighter) !important;;
90
+ color: theme-apply($primary) !important;;
91
+
92
+ mat-icon, .mat-icon {
93
+ color: theme-apply($primary) !important;;
94
+ }
128
95
  }
129
96
 
130
97
  &.qms-button-toggle-checked {
131
- background-color: $primary-lighter;
132
- color: $primary;
98
+ background-color: theme-apply($primary-lighter);
99
+ color: theme-apply($primary);
133
100
 
134
101
  .mat-icon {
135
- color: $primary;
102
+ color: theme-apply($primary);
136
103
  }
137
104
  }
138
105
 
139
106
  + {
140
107
  .qms-button-toggle {
141
- border-left: solid 1px rgba(71, 71, 71, 1);
108
+ border-left: solid 1px rgba(71, 71, 71, 1);
142
109
  }
143
110
  }
144
111
 
145
112
  &.cdk-keyboard-focused {
146
- &::after {
147
- content: "";
148
- display: block;
149
- position: absolute;
150
- top: 0;
151
- right: 0;
152
- width: 3px;
153
- height: 100%;
154
- background: $primary-light;
155
- }
156
-
157
- &:before {
158
- content: "";
159
- display: block;
160
- position: absolute;
161
- top: 0;
162
- right: 0;
163
- bottom: 0;
164
- left: 0;
165
- border: 3px solid $primary-light;
166
- }
113
+ background-color: theme-apply($primary-lighter) !important;
114
+ color: theme-apply($primary) !important;
115
+
116
+ mat-icon, .mat-icon {
117
+ color: theme-apply($primary) !important;;
118
+ }
167
119
  }
168
120
  }
169
121
 
170
122
  &.qms-button-toggle-disabled {
171
123
  cursor: default !important;
172
124
  background: #e4e4e4 !important;
173
- color: rgba(0,0,0,.38) !important;
125
+ color: rgba(0, 0, 0, 0.38) !important;
126
+ user-select: none;
127
+
128
+ button {
129
+ cursor: default !important;
130
+ user-select: none;
131
+ }
174
132
 
175
133
  .mat-icon {
176
- color: rgba(0,0,0,.38) !important;
134
+ color: rgba(0, 0, 0, 0.38) !important;
177
135
  }
178
136
  }
179
137
  }
180
138
 
181
- // &.qms-button-toggle-group-appearance-standard {
182
- // background-color: white;
183
- // }
184
-
185
- // &.qms-button-toggle-group-appearance-active {
186
- // background-color: $primary-light-3-opacity;
187
- // }
188
-
189
- // &.qms-button-toggle-group-appearance-dark {
190
- // background-color: $default-color;
191
- // }
192
139
  }
193
140
 
194
141
  .qms-button-toggle {
@@ -216,48 +163,8 @@
216
163
  }
217
164
 
218
165
  .qms-button-toggle {
219
- // &:not([disabled]):hover {
220
- // text-decoration: none;
221
- // }
222
166
 
223
167
  .qms-button-toggle-label-content > * {
224
168
  vertical-align: middle;
225
169
  }
226
-
227
- // &::after {
228
- // content: "";
229
- // position: absolute;
230
- // top: 50%;
231
- // left: 50%;
232
- // width: 10px;
233
- // height: 10px;
234
- // background: rgba(255, 255, 255, 0.5);
235
- // opacity: 0;
236
- // border-radius: 100%;
237
- // transform: scale(1, 1) translate(-50%);
238
- // transform-origin: 50% 50%;
239
- // }
240
-
241
- // &:not([disabled]):focus {
242
- // &:not(:active) {
243
- // &::after {
244
- // animation: ripple 1s ease-out;
245
- // }
246
- // }
247
- // }
248
170
  }
249
-
250
- // @keyframes ripple {
251
- // 0% {
252
- // transform: scale(0, 0);
253
- // opacity: 1;
254
- // }
255
- // 20% {
256
- // transform: scale(25, 25);
257
- // opacity: 1;
258
- // }
259
- // 100% {
260
- // opacity: 0;
261
- // transform: scale(40, 40);
262
- // }
263
- // }
@@ -1,5 +1,6 @@
1
- @import "../../../themes/core/colors";
2
1
  @import "../../../themes/core/typography";
2
+ @import "../../../themes/theme/variable";
3
+ @import "../../../themes/theme/mixins";
3
4
 
4
5
  $bg-secondary: rgba(62, 87, 183, 0.12);
5
6
 
@@ -41,7 +42,7 @@ $bg-secondary: rgba(62, 87, 183, 0.12);
41
42
  }
42
43
 
43
44
  .btn-action {
44
- color: $primary;
45
+ color: theme-apply($primary);
45
46
  font-weight: 600;
46
47
  font-size: 13px;
47
48
  cursor: pointer;
@@ -1,4 +1,5 @@
1
- @import "../../../themes/core/colors";
1
+ @import "../../../themes/theme/variable";
2
+ @import "../../../themes/theme/mixins";
2
3
  @import "../../../themes/core/typography";
3
4
 
4
5
  ::ng-deep .qms-dialog {