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,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 {
|
@@ -67,6 +68,7 @@
|
|
67
68
|
color: #323232;
|
68
69
|
align-items: stretch;
|
69
70
|
cursor: pointer;
|
71
|
+
transition: background 0.2s;
|
70
72
|
|
71
73
|
mat-cell:first-of-type {
|
72
74
|
padding: 0;
|
@@ -77,19 +79,28 @@
|
|
77
79
|
}
|
78
80
|
|
79
81
|
&[tabindex]:focus-visible {
|
80
|
-
outline: 2px auto $primary;
|
82
|
+
outline: 2px auto theme-apply($primary);
|
81
83
|
}
|
82
84
|
|
83
|
-
&:
|
85
|
+
&:hover {
|
84
86
|
background: rgba(0, 0, 0, 0.08);
|
85
87
|
}
|
86
88
|
|
89
|
+
&:active {
|
90
|
+
background: theme-apply($primary-light-24-opacity);
|
91
|
+
}
|
92
|
+
|
87
93
|
&-selected {
|
88
|
-
background: $tab-focus-background;
|
94
|
+
background: theme-apply($tab-focus-background);
|
95
|
+
transition: background 0.2s;
|
89
96
|
|
90
97
|
&:hover {
|
91
98
|
background: rgba(40, 115, 223, 0.06);
|
92
99
|
}
|
100
|
+
|
101
|
+
&:active {
|
102
|
+
background: rgba(40, 115, 223, 0.16);
|
103
|
+
}
|
93
104
|
}
|
94
105
|
|
95
106
|
&-disabled {
|
@@ -123,7 +134,7 @@
|
|
123
134
|
align-items: stretch!important;
|
124
135
|
flex: unset;
|
125
136
|
padding-left: 4px;
|
126
|
-
|
137
|
+
|
127
138
|
.qms-row-checkbox {
|
128
139
|
padding: 0 19px;
|
129
140
|
display: flex;
|
@@ -137,7 +148,7 @@
|
|
137
148
|
.qms-row-checkbox-container:first-child {
|
138
149
|
align-items: stretch!important;
|
139
150
|
flex: unset;
|
140
|
-
|
151
|
+
|
141
152
|
.qms-row-checkbox {
|
142
153
|
padding: 0 19px;
|
143
154
|
display: flex;
|
@@ -150,7 +161,7 @@
|
|
150
161
|
&.qms-expand-table {
|
151
162
|
.mat-header-cell {
|
152
163
|
padding-left: 0;
|
153
|
-
|
164
|
+
|
154
165
|
.expand-icon-header {
|
155
166
|
margin-left: 15px;
|
156
167
|
}
|
@@ -169,9 +180,14 @@
|
|
169
180
|
background: #F2F7FD;
|
170
181
|
border-bottom-left-radius: 0;
|
171
182
|
border-bottom-right-radius: 0;
|
183
|
+
transition: background 0.2s;
|
172
184
|
|
173
185
|
&:hover {
|
174
|
-
background:
|
186
|
+
background: #E6EFFB;
|
187
|
+
}
|
188
|
+
|
189
|
+
&:active {
|
190
|
+
background: rgba(40, 115, 223, 0.16);
|
175
191
|
}
|
176
192
|
|
177
193
|
.expand-icon {
|
@@ -181,7 +197,7 @@
|
|
181
197
|
}
|
182
198
|
|
183
199
|
mat-icon {
|
184
|
-
color: $primary;
|
200
|
+
color: theme-apply($primary);
|
185
201
|
}
|
186
202
|
}
|
187
203
|
}
|
@@ -196,33 +212,33 @@
|
|
196
212
|
.qms-table-row {
|
197
213
|
&.expandable-group {
|
198
214
|
padding-left: 0!important;
|
199
|
-
border-left: 4px solid $primary-light-32-opacity;
|
215
|
+
border-left: 4px solid theme-apply($primary-light-32-opacity);
|
200
216
|
border-radius: 4px 4px 0 0;
|
201
217
|
}
|
202
218
|
}
|
203
219
|
|
204
220
|
.qms-collapse-group {
|
205
221
|
border: 1px solid #E0E0E0;
|
206
|
-
border-left: 4px solid $primary-light-32-opacity;
|
222
|
+
border-left: 4px solid theme-apply($primary-light-32-opacity);
|
207
223
|
border-bottom-left-radius: 4px;
|
208
224
|
border-bottom-right-radius: 4px;
|
209
225
|
border-top: none;
|
210
226
|
padding-left: 12px;
|
211
227
|
padding-top: 6px;
|
212
|
-
background: $background-area;
|
228
|
+
background: theme-apply($background-area);
|
213
229
|
|
214
230
|
cursor: pointer;
|
215
231
|
|
216
232
|
&[tabindex]:focus-visible {
|
217
|
-
outline: 2px auto $primary;
|
233
|
+
outline: 2px auto theme-apply($primary);
|
218
234
|
}
|
219
|
-
|
235
|
+
|
220
236
|
.mat-icon {
|
221
|
-
color: $primary;
|
237
|
+
color: theme-apply($primary);
|
222
238
|
}
|
223
239
|
.qms-text-collapse {
|
224
240
|
vertical-align: super;
|
225
|
-
color: $primary;
|
241
|
+
color: theme-apply($primary);
|
226
242
|
font-weight: 600;
|
227
243
|
font-size: 12px;
|
228
244
|
line-height: 16px;
|
@@ -234,7 +250,7 @@
|
|
234
250
|
margin-top: unset;
|
235
251
|
border-radius: unset;
|
236
252
|
padding-left: 0!important;
|
237
|
-
border-left: 4px solid $primary-light-32-opacity;
|
253
|
+
border-left: 4px solid theme-apply($primary-light-32-opacity);
|
238
254
|
}
|
239
255
|
}
|
240
256
|
|
@@ -244,4 +260,4 @@
|
|
244
260
|
border-radius: 0;
|
245
261
|
}
|
246
262
|
}
|
247
|
-
}
|
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
|
+
}
|