qms-angular 1.0.88 → 1.0.91
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 +199 -100
- 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 +4 -3
- 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/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/directives/text-truncate/text-truncate.directive.js +7 -3
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/functions/common.function.js +32 -1
- package/esm2015/lib/qms-ckeditor-components/common/helper/fileHelper.js +15 -0
- package/esm2015/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.js +1 -1
- 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/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +6 -4
- 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 +157 -67
- 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 +7 -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/directives/text-truncate/text-truncate.directive.d.ts +2 -1
- package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +1 -1
- package/lib/qms-ckeditor-components/common/functions/common.function.d.ts +12 -0
- 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/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/ckeditor.js.map +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ar.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/az.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/bg.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ca.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/cs.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/da.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/de.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/el.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/en-au.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/en-gb.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/eo.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/es.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/et.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/eu.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fa.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fi.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/fr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/gl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/he.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hi.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/hu.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/id.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/it.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ja.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/km.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/kn.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ko.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ku.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/lt.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/lv.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/nb.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ne.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/nl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/no.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pt-br.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/pt.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ro.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ru.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sk.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sl.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sq.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sr-latn.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/sv.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/th.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/tk.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/tr.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/ug.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/uk.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/vi.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/zh-cn.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/translations/zh.js +1 -1
- package/src/assets/qms-ckeditor-plugin/package-lock.json +0 -1
- package/src/assets/qms-ckeditor-plugin/package.json +0 -1
- package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +1 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/heading.js +119 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingbuttonsui.js +103 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingcommand.js +96 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingediting.js +163 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingui.js +115 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/index.js +22 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/heading.css +35 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading1.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading2.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading3.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading4.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading5.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading6.svg +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/title.js +598 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/utils.js +42 -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 +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 +37 -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 -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/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/lib/qms-ckeditor-components/styles/_modules.scss +9 -0
- 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 +35 -19
- 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,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
|
-
|
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-
|
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,22 @@
|
|
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-
|
33
|
+
background-color: theme-apply($primary-light-12-opacity);
|
34
34
|
}
|
35
35
|
|
36
36
|
&.qms-button-toggle-checked {
|
37
|
-
background-color: $primary-light-
|
38
|
-
color: $primary;
|
37
|
+
background-color: theme-apply($primary-light-12-opacity);
|
38
|
+
color: theme-apply($primary);
|
39
39
|
}
|
40
40
|
|
41
41
|
+ {
|
@@ -53,7 +53,7 @@
|
|
53
53
|
right: 0;
|
54
54
|
width: 3px;
|
55
55
|
height: 100%;
|
56
|
-
background: $primary-light;
|
56
|
+
background: theme-apply($primary-light);
|
57
57
|
}
|
58
58
|
|
59
59
|
&:before {
|
@@ -64,22 +64,22 @@
|
|
64
64
|
right: 0;
|
65
65
|
bottom: 0;
|
66
66
|
left: 0;
|
67
|
-
border: 3px solid $primary-light;
|
67
|
+
border: 3px solid theme-apply($primary-light);
|
68
68
|
}
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|
72
72
|
&.qms-button-toggle-appearance-active {
|
73
|
-
background-color: $primary-light-
|
74
|
-
color: $primary;
|
73
|
+
background-color: theme-apply($primary-light-12-opacity);
|
74
|
+
color: theme-apply($primary);
|
75
75
|
|
76
76
|
&:hover {
|
77
|
-
background-color: $primary;
|
77
|
+
background-color: theme-apply($primary);
|
78
78
|
color: white;
|
79
79
|
}
|
80
80
|
|
81
81
|
&.qms-button-toggle-checked {
|
82
|
-
background-color: $primary;
|
82
|
+
background-color: theme-apply($primary);
|
83
83
|
color: white;
|
84
84
|
}
|
85
85
|
|
@@ -91,104 +91,93 @@
|
|
91
91
|
|
92
92
|
&.cdk-keyboard-focused {
|
93
93
|
&::after {
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
94
|
+
content: "";
|
95
|
+
display: block;
|
96
|
+
position: absolute;
|
97
|
+
top: 0;
|
98
|
+
right: 0;
|
99
|
+
width: 3px;
|
100
|
+
height: 100%;
|
101
|
+
background: theme-apply($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 theme-apply($primary-light);
|
113
|
+
}
|
114
114
|
}
|
115
115
|
}
|
116
116
|
|
117
117
|
&.qms-button-toggle-appearance-dark {
|
118
|
-
background-color: $default-color;
|
118
|
+
background-color: theme-apply($default-color);
|
119
119
|
color: rgba(255, 255, 255, 0.6);
|
120
120
|
|
121
121
|
.mat-icon {
|
122
|
-
color: $primary-light-32-opacity;
|
122
|
+
color: theme-apply($primary-light-32-opacity);
|
123
123
|
}
|
124
124
|
|
125
125
|
&:hover {
|
126
|
-
background-color: $primary-lighter;
|
127
|
-
color: $primary;
|
126
|
+
background-color: theme-apply($primary-lighter);
|
127
|
+
color: theme-apply($primary);
|
128
128
|
}
|
129
129
|
|
130
130
|
&.qms-button-toggle-checked {
|
131
|
-
background-color: $primary-lighter;
|
132
|
-
color: $primary;
|
131
|
+
background-color: theme-apply($primary-lighter);
|
132
|
+
color: theme-apply($primary);
|
133
133
|
|
134
134
|
.mat-icon {
|
135
|
-
color: $primary;
|
135
|
+
color: theme-apply($primary);
|
136
136
|
}
|
137
137
|
}
|
138
138
|
|
139
139
|
+ {
|
140
140
|
.qms-button-toggle {
|
141
|
-
border-left: solid 1px rgba(71, 71, 71, 1);
|
141
|
+
border-left: solid 1px rgba(71, 71, 71, 1);
|
142
142
|
}
|
143
143
|
}
|
144
144
|
|
145
145
|
&.cdk-keyboard-focused {
|
146
146
|
&::after {
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
147
|
+
content: "";
|
148
|
+
display: block;
|
149
|
+
position: absolute;
|
150
|
+
top: 0;
|
151
|
+
right: 0;
|
152
|
+
width: 3px;
|
153
|
+
height: 100%;
|
154
|
+
background: theme-apply($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 theme-apply($primary-light);
|
166
|
+
}
|
167
167
|
}
|
168
168
|
}
|
169
169
|
|
170
170
|
&.qms-button-toggle-disabled {
|
171
171
|
cursor: default !important;
|
172
172
|
background: #e4e4e4 !important;
|
173
|
-
color: rgba(0,0,0
|
173
|
+
color: rgba(0, 0, 0, 0.38) !important;
|
174
174
|
|
175
175
|
.mat-icon {
|
176
|
-
color: rgba(0,0,0
|
176
|
+
color: rgba(0, 0, 0, 0.38) !important;
|
177
177
|
}
|
178
178
|
}
|
179
179
|
}
|
180
180
|
|
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
181
|
}
|
193
182
|
|
194
183
|
.qms-button-toggle {
|
@@ -216,48 +205,8 @@
|
|
216
205
|
}
|
217
206
|
|
218
207
|
.qms-button-toggle {
|
219
|
-
// &:not([disabled]):hover {
|
220
|
-
// text-decoration: none;
|
221
|
-
// }
|
222
208
|
|
223
209
|
.qms-button-toggle-label-content > * {
|
224
210
|
vertical-align: middle;
|
225
211
|
}
|
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
212
|
}
|
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;
|
@@ -3,7 +3,7 @@ $qms-list-top: 6px;
|
|
3
3
|
$item-height: 40px;
|
4
4
|
$leading-icon: 24px;
|
5
5
|
$leading-icon-padding: 4px;
|
6
|
-
$subtitle-color: $default-color;
|
6
|
+
$subtitle-color: theme-apply($default-color);
|
7
7
|
$subtitle-weight: 600;
|
8
8
|
$border-bottom-item: #e0e0e0;
|
9
9
|
$size-caption: 0.75rem;
|
@@ -15,7 +15,7 @@ $two-line-height: 63px;
|
|
15
15
|
// $three-line-height: 88px;
|
16
16
|
$three-line-height: 81px;
|
17
17
|
$border-radius-default: 2px;
|
18
|
-
$image-circle-size: 40px;
|
18
|
+
$image-circle-size: 40px;
|
19
19
|
$image-square-size: 56px;
|
20
20
|
$image-rect-width: 100px;
|
21
21
|
$image-rect-unset: unset;
|