qms-angular 1.0.89 → 1.0.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/qms-angular.umd.js +181 -94
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/themes.const.js +3 -0
- package/esm2015/lib/components/banner/models/qms-banner.model.js +9 -1
- package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.js +8 -4
- package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.module.js +7 -4
- package/esm2015/lib/components/button/button-toggle.js +1 -1
- package/esm2015/lib/components/button/button.js +3 -3
- package/esm2015/lib/components/comment/comment.js +1 -1
- package/esm2015/lib/components/list/list.js +5 -3
- package/esm2015/lib/components/related/content/related-content.component.js +1 -1
- package/esm2015/lib/components/related/list-other-related/list-related.component.js +1 -1
- package/esm2015/lib/components/related/popup/related-popup.component.js +1 -1
- package/esm2015/lib/components/related/risk/analysis/analysis.component.js +1 -1
- package/esm2015/lib/components/related/risk/list/list.component.js +1 -1
- package/esm2015/lib/components/related/risk/result/result.component.js +1 -1
- package/esm2015/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.js +28 -7
- package/esm2015/lib/components/rich-text/rich-text.js +1 -1
- package/esm2015/lib/components/select-dialog/select-dialog.js +1 -1
- package/esm2015/lib/components/select-include-children/select-include-children.component.js +1 -1
- package/esm2015/lib/components/select-one/select-one.component.js +1 -1
- package/esm2015/lib/components/select-process-document/select-process-document.component.js +1 -1
- package/esm2015/lib/components/table/table-action.js +2 -2
- package/esm2015/lib/components/tree/tree.component.js +1 -1
- package/esm2015/lib/components/treeNew/tree.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/helper/fileHelper.js +15 -0
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +5 -18
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +9 -3
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +3 -3
- package/esm2015/lib/services/theming.service.js +36 -0
- package/esm2015/lib/shared.module.js +1 -1
- package/esm2015/public-api.js +3 -1
- package/fesm2015/qms-angular.js +138 -61
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/common/themes.const.d.ts +2 -0
- package/lib/components/banner/models/qms-banner.model.d.ts +10 -0
- package/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.d.ts +2 -1
- package/lib/components/list/list.d.ts +1 -1
- package/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.d.ts +7 -3
- package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +1 -1
- package/lib/qms-ckeditor-components/common/helper/fileHelper.d.ts +1 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +0 -1
- package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +3 -1
- package/lib/services/theming.service.d.ts +7 -0
- package/lib.theme.scss +11 -9
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/qms-angular.metadata.json +1 -1
- package/src/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.scss +14 -0
- package/src/lib/components/breadcrumb/breadcrumb.scss +2 -1
- package/src/lib/components/button/_button-base.scss +45 -52
- package/src/lib/components/button/_button-theme.scss +4 -2
- package/src/lib/components/button/button-icon.scss +17 -14
- package/src/lib/components/button/button-toggle.scss +45 -138
- package/src/lib/components/comment/comment.scss +3 -2
- package/src/lib/components/dialog/dialog.scss +2 -1
- package/src/lib/components/list/_list-base.scss +2 -2
- package/src/lib/components/list/_list-expansion.scss +37 -7
- package/src/lib/components/list/list.scss +23 -5
- package/src/lib/components/related/content/related-content.component.scss +4 -2
- package/src/lib/components/related/list-other-related/list-related.component.scss +7 -6
- package/src/lib/components/related/popup/related-popup.component.scss +10 -10
- package/src/lib/components/related/risk/analysis/analysis.component.scss +4 -3
- package/src/lib/components/related/risk/list/list.component.scss +7 -6
- package/src/lib/components/related/risk/result/result.component.scss +9 -8
- package/src/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.scss +1 -2
- package/src/lib/components/rich-text/rich-text.scss +3 -2
- package/src/lib/components/select-dialog/select-dialog.scss +5 -5
- package/src/lib/components/select-include-children/select-include-children.component.scss +10 -10
- package/src/lib/components/select-one/select-one.component.scss +5 -4
- package/src/lib/components/select-process-document/select-process-document.component.scss +12 -13
- package/src/lib/components/substance-conflict/substance-conflict.component.scss +4 -3
- package/src/lib/components/table/table.scss +4 -3
- package/src/lib/components/tooltip/tooltip.scss +3 -1
- package/src/lib/components/tree/tree.component.scss +12 -12
- package/src/lib/components/treeNew/tree.component.scss +11 -18
- package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +3 -2
- package/src/themes/_non-bg-scrollbar.scss +4 -3
- package/src/themes/core/_app-bar.scss +5 -4
- package/src/themes/core/_button.scss +14 -12
- package/src/themes/core/_checkbox.scss +9 -24
- package/src/themes/core/_chip-input.scss +29 -27
- package/src/themes/core/_chip.scss +12 -10
- package/src/themes/core/_date-picker.scss +9 -8
- package/src/themes/core/_dropdown-menu.scss +12 -11
- package/src/themes/core/_file-upload.scss +12 -11
- package/src/themes/core/_form-prefix.scss +6 -4
- package/src/themes/core/_form.scss +28 -27
- package/src/themes/core/_progress.scss +5 -3
- package/src/themes/core/_radio.scss +13 -15
- package/src/themes/core/_range-slider.scss +34 -33
- package/src/themes/core/_scrollbar.scss +25 -34
- package/src/themes/core/_search-field.scss +5 -3
- package/src/themes/core/_select.scss +5 -2
- package/src/themes/core/_slide-toggle.scss +10 -11
- package/src/themes/core/_styles.scss +19 -17
- package/src/themes/core/_tab.scss +88 -87
- package/src/themes/core/_table.scss +19 -18
- package/src/themes/core/_text-block.scss +3 -1
- package/src/themes/theme/_mixins.scss +18 -0
- package/src/themes/theme/_theme.scss +17 -0
- package/src/themes/theme/_variable.scss +303 -0
- package/src/themes/_color.scss +0 -61
- package/src/themes/_scrollbar.scss +0 -27
- package/src/themes/core/_colors.scss +0 -60
@@ -1,7 +1,7 @@
|
|
1
|
-
@import "../../../themes/color.scss";
|
2
1
|
@import "../../../themes/core/scrollbar.scss";
|
3
2
|
@import "../../../themes/core/button.scss";
|
4
|
-
@import "../../../themes/
|
3
|
+
@import "../../../themes/theme/variable";
|
4
|
+
@import "../../../themes/theme/mixins";
|
5
5
|
|
6
6
|
.qmslib__related__popup__container {
|
7
7
|
.input__field {
|
@@ -13,7 +13,7 @@
|
|
13
13
|
padding: 10px;
|
14
14
|
outline: none;
|
15
15
|
border: none;
|
16
|
-
background: $background-input-text;
|
16
|
+
background: theme-apply($background-input-text);
|
17
17
|
}
|
18
18
|
|
19
19
|
.mat-icon {
|
@@ -99,14 +99,14 @@
|
|
99
99
|
.related__item__content {
|
100
100
|
height: 32px;
|
101
101
|
line-height: 32px;
|
102
|
-
background-color: $related-item-background;
|
102
|
+
background-color: theme-apply($related-item-background);
|
103
103
|
max-width: 100%;
|
104
104
|
margin-bottom: 5px;
|
105
105
|
margin-left: 2.5px;
|
106
106
|
margin-right: 2.5px;
|
107
107
|
|
108
108
|
.mat-icon {
|
109
|
-
color: $related-mat-icon-color;
|
109
|
+
color: theme-apply($related-mat-icon-color);
|
110
110
|
font-size: 24px;
|
111
111
|
}
|
112
112
|
|
@@ -127,13 +127,13 @@
|
|
127
127
|
height: 450px;
|
128
128
|
overflow-y: auto;
|
129
129
|
margin-top: 12px;
|
130
|
-
|
130
|
+
|
131
131
|
&.panel__content {
|
132
132
|
height: 450px;
|
133
133
|
overflow: auto;
|
134
134
|
margin-top: 12px;
|
135
135
|
}
|
136
|
-
|
136
|
+
|
137
137
|
&.panel__content_item {
|
138
138
|
height: 350px;
|
139
139
|
overflow: auto;
|
@@ -141,11 +141,10 @@
|
|
141
141
|
}
|
142
142
|
|
143
143
|
.splitview-header{
|
144
|
-
height: 30px;
|
145
144
|
font-size: 12px;
|
146
145
|
letter-spacing: 1px;
|
147
146
|
font-family: "RALEWAY";
|
148
|
-
font-weight: 600;
|
147
|
+
font-weight: 600;
|
149
148
|
display: flex;
|
150
149
|
align-items: center;
|
151
150
|
}
|
@@ -167,12 +166,12 @@
|
|
167
166
|
display: flex;
|
168
167
|
align-items: center;
|
169
168
|
min-height: 40px;
|
170
|
-
|
169
|
+
|
171
170
|
.mat-icon {
|
172
171
|
color: black(0.6);
|
173
172
|
margin-right: 17px;
|
174
173
|
min-width: fit-content;
|
175
|
-
|
174
|
+
|
176
175
|
svg {
|
177
176
|
display: block;
|
178
177
|
min-width: fit-content;
|
@@ -187,7 +186,7 @@
|
|
187
186
|
width: 100%;
|
188
187
|
|
189
188
|
.select-one-checked {
|
190
|
-
color: $primary;
|
189
|
+
color: theme-apply($primary);
|
191
190
|
}
|
192
191
|
}
|
193
192
|
}
|
@@ -310,4 +309,4 @@ cdk-virtual-scroll-viewport {
|
|
310
309
|
.related-viewport {
|
311
310
|
min-height: 300px;
|
312
311
|
}
|
313
|
-
}
|
312
|
+
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
@import
|
1
|
+
@import "../../../themes/theme/variable";
|
2
|
+
@import "../../../themes/theme/mixins";
|
2
3
|
|
3
4
|
.substance-conflict-container {
|
4
5
|
.content {
|
@@ -8,12 +9,12 @@
|
|
8
9
|
}
|
9
10
|
|
10
11
|
.conflict {
|
11
|
-
background-color: $background-conflict-info;
|
12
|
+
background-color: theme-apply($background-conflict-info);
|
12
13
|
padding: 15px;
|
13
14
|
display: flex;
|
14
15
|
font-size: 14px;
|
15
16
|
max-width: 570px;
|
16
|
-
|
17
|
+
|
17
18
|
.icon {
|
18
19
|
margin-right: 15px;
|
19
20
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
@import "../../../themes/
|
1
|
+
@import "../../../themes/theme/variable";
|
2
|
+
@import "../../../themes/theme/mixins";
|
2
3
|
@import "../../../themes/core/typography";
|
3
4
|
|
4
5
|
$heightAction: 46px;
|
@@ -84,7 +85,7 @@ button.btn-more {
|
|
84
85
|
display: none;
|
85
86
|
|
86
87
|
mat-icon {
|
87
|
-
color: $primary;
|
88
|
+
color: theme-apply($primary);
|
88
89
|
vertical-align: middle;
|
89
90
|
}
|
90
91
|
}
|
@@ -148,4 +149,4 @@ button.btn-more {
|
|
148
149
|
.block4 {
|
149
150
|
display: none;
|
150
151
|
}
|
151
|
-
}
|
152
|
+
}
|
@@ -1,6 +1,8 @@
|
|
1
|
-
@import "../../../themes/
|
1
|
+
@import "../../../themes/theme/variable";
|
2
|
+
@import "../../../themes/theme/mixins";
|
2
3
|
@import "../../../themes/core/typography";
|
3
4
|
@import "../list/list-base";
|
5
|
+
|
4
6
|
.qms-tooltip-container{
|
5
7
|
background: #FAFAFA;
|
6
8
|
border-radius: 0.25rem;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
@import "../../../themes/
|
2
|
-
@import "../../../themes/
|
1
|
+
@import "../../../themes/theme/variable";
|
2
|
+
@import "../../../themes/theme/mixins";
|
3
3
|
@import "../../../themes/core/typography";
|
4
4
|
|
5
5
|
.tree__container {
|
@@ -11,10 +11,10 @@
|
|
11
11
|
font-weight: normal;
|
12
12
|
font-size: 0.875rem;
|
13
13
|
line-height: 19px;
|
14
|
-
color: $default-color;
|
14
|
+
color: theme-apply($default-color);
|
15
15
|
|
16
16
|
.mat-tree-node {
|
17
|
-
color: $tree-node-color;
|
17
|
+
color: theme-apply($tree-node-color);
|
18
18
|
min-height: 0px;
|
19
19
|
|
20
20
|
.mat-checkbox.qms-group-options {
|
@@ -30,12 +30,12 @@
|
|
30
30
|
margin-left: 6px;
|
31
31
|
}
|
32
32
|
.button:hover {
|
33
|
-
background-color: $tree-node-background-color;
|
33
|
+
background-color: theme-apply($tree-node-background-color);
|
34
34
|
border-radius: 2px;
|
35
35
|
width: auto;
|
36
36
|
}
|
37
37
|
.button:focus {
|
38
|
-
background-color: $tree-node-background-color;
|
38
|
+
background-color: theme-apply($tree-node-background-color);
|
39
39
|
border-radius: 2px;
|
40
40
|
width: auto;
|
41
41
|
outline: 0;
|
@@ -47,13 +47,13 @@
|
|
47
47
|
|
48
48
|
.button-folder-boder:focus {
|
49
49
|
outline: 0;
|
50
|
-
background-color: $tree-node-boder-color;
|
50
|
+
background-color: theme-apply($tree-node-boder-color);
|
51
51
|
border-radius: 2px;
|
52
52
|
width: auto;
|
53
53
|
}
|
54
54
|
|
55
55
|
.button-folder-boder:hover {
|
56
|
-
background-color: $tree-node-boder-color;
|
56
|
+
background-color: theme-apply($tree-node-boder-color);
|
57
57
|
border-radius: 2px;
|
58
58
|
width: auto;
|
59
59
|
}
|
@@ -85,7 +85,7 @@
|
|
85
85
|
&.bgSelected {
|
86
86
|
|
87
87
|
.select-one-checked {
|
88
|
-
color: $primary;
|
88
|
+
color: theme-apply($primary);
|
89
89
|
}
|
90
90
|
}
|
91
91
|
}
|
@@ -108,7 +108,7 @@
|
|
108
108
|
cursor: pointer;
|
109
109
|
|
110
110
|
.select-one-checked {
|
111
|
-
color: $primary;
|
111
|
+
color: theme-apply($primary);
|
112
112
|
}
|
113
113
|
}
|
114
114
|
|
@@ -121,7 +121,7 @@
|
|
121
121
|
|
122
122
|
.tree-branch {
|
123
123
|
&:hover {
|
124
|
-
background-color: $primary-light-
|
124
|
+
background-color: theme-apply($primary-light-12-opacity);
|
125
125
|
}
|
126
126
|
}
|
127
127
|
|
@@ -169,7 +169,7 @@ svg {
|
|
169
169
|
}
|
170
170
|
}
|
171
171
|
|
172
|
-
.mat-checkbox.mat-checkbox-disabled.qms-group-options.mat-checkbox-checked .mat-checkbox-background{
|
172
|
+
.mat-checkbox.mat-checkbox-disabled.qms-group-options.mat-checkbox-checked .mat-checkbox-background{
|
173
173
|
background-color: #e0e0e0 !important;
|
174
174
|
}
|
175
175
|
|
@@ -1,20 +1,17 @@
|
|
1
|
-
@import "../../../themes/
|
2
|
-
@import "../../../themes/
|
1
|
+
@import "../../../themes/theme/variable";
|
2
|
+
@import "../../../themes/theme/mixins";
|
3
3
|
@import "../../../themes/core/typography";
|
4
4
|
|
5
5
|
.tree__container {
|
6
|
-
// .mat-tree{
|
7
|
-
// background: #00283A;
|
8
|
-
// }
|
9
6
|
font-family: "Open Sans";
|
10
7
|
font-style: normal;
|
11
8
|
font-weight: normal;
|
12
9
|
font-size: 0.875rem;
|
13
10
|
line-height: 19px;
|
14
|
-
color: $default-color;
|
11
|
+
color: theme-apply($default-color);
|
15
12
|
|
16
13
|
.mat-tree-node {
|
17
|
-
color: $tree-node-color;
|
14
|
+
color: theme-apply($tree-node-color);
|
18
15
|
min-height: 0px;
|
19
16
|
|
20
17
|
.mat-checkbox.qms-group-options {
|
@@ -30,12 +27,12 @@
|
|
30
27
|
margin-left: 6px;
|
31
28
|
}
|
32
29
|
.button:hover {
|
33
|
-
background-color: $tree-node-background-color;
|
30
|
+
background-color: theme-apply($tree-node-background-color);
|
34
31
|
border-radius: 2px;
|
35
32
|
width: auto;
|
36
33
|
}
|
37
34
|
.button:focus {
|
38
|
-
background-color: $tree-node-background-color;
|
35
|
+
background-color: theme-apply($tree-node-background-color);
|
39
36
|
border-radius: 2px;
|
40
37
|
width: auto;
|
41
38
|
outline: 0;
|
@@ -47,13 +44,13 @@
|
|
47
44
|
|
48
45
|
.button-folder-boder:focus {
|
49
46
|
outline: 0;
|
50
|
-
background-color: $tree-node-boder-color;
|
47
|
+
background-color: theme-apply($tree-node-boder-color);
|
51
48
|
border-radius: 2px;
|
52
49
|
width: auto;
|
53
50
|
}
|
54
51
|
|
55
52
|
.button-folder-boder:hover {
|
56
|
-
background-color: $tree-node-boder-color;
|
53
|
+
background-color: theme-apply($tree-node-boder-color);
|
57
54
|
border-radius: 2px;
|
58
55
|
width: auto;
|
59
56
|
}
|
@@ -85,15 +82,11 @@
|
|
85
82
|
&.bgSelected {
|
86
83
|
|
87
84
|
.select-one-checked {
|
88
|
-
color: $primary;
|
85
|
+
color: theme-apply($primary);
|
89
86
|
}
|
90
87
|
}
|
91
88
|
}
|
92
89
|
|
93
|
-
// span.text-node {
|
94
|
-
// // margin-left: 17px;
|
95
|
-
// }
|
96
|
-
|
97
90
|
.text-node-parent {
|
98
91
|
width: 100%;
|
99
92
|
display: flex;
|
@@ -108,7 +101,7 @@
|
|
108
101
|
cursor: pointer;
|
109
102
|
|
110
103
|
.select-one-checked {
|
111
|
-
color: $primary;
|
104
|
+
color: theme-apply($primary);
|
112
105
|
}
|
113
106
|
}
|
114
107
|
|
@@ -121,7 +114,7 @@
|
|
121
114
|
|
122
115
|
.tree-branch {
|
123
116
|
&:hover {
|
124
|
-
background-color: $primary-light-
|
117
|
+
background-color: theme-apply($primary-light-12-opacity);
|
125
118
|
}
|
126
119
|
}
|
127
120
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
@import "./styles/style.scss";
|
2
|
-
@import "../../themes/
|
2
|
+
@import "../../themes/theme/variable";
|
3
|
+
@import "../../themes/theme/mixins";
|
3
4
|
@import "../../themes/core/typography";
|
4
5
|
|
5
6
|
.qmsckeditor_container {
|
@@ -81,7 +82,7 @@
|
|
81
82
|
.ck.ck-editor__editable {
|
82
83
|
&:not(.ck-editor__nested-editable).ck-focused {
|
83
84
|
border: 1px solid #c4c4c4;
|
84
|
-
border-bottom: 2px solid $primary;
|
85
|
+
border-bottom: 2px solid theme-apply($primary);
|
85
86
|
border-radius: 4px;
|
86
87
|
box-shadow: none;
|
87
88
|
background-color: black(0.08);
|
@@ -1,10 +1,11 @@
|
|
1
|
-
@import './
|
1
|
+
@import './theme/variable';
|
2
|
+
|
2
3
|
::-webkit-scrollbar {
|
3
4
|
width: 12px;
|
4
5
|
}
|
5
6
|
|
6
7
|
::-webkit-scrollbar-track {
|
7
|
-
background: transparent;
|
8
|
+
background: transparent;
|
8
9
|
background-clip: content-box;
|
9
10
|
}
|
10
11
|
|
@@ -30,4 +31,4 @@
|
|
30
31
|
::-webkit-scrollbar-track:hover {
|
31
32
|
background: black(0.12);
|
32
33
|
background-clip: content-box;
|
33
|
-
}
|
34
|
+
}
|
@@ -1,14 +1,15 @@
|
|
1
1
|
@import "../../lib/components/list/list.scss";
|
2
|
-
@import "
|
2
|
+
@import "../theme/variable";
|
3
|
+
@import "../theme/mixins";
|
3
4
|
|
4
5
|
.qms-app-bar-dark {
|
5
|
-
background:
|
6
|
+
background: theme-apply($-qms-app-bar-dark-background-color);
|
6
7
|
width : 100% !important;
|
7
8
|
height : 56px !important;
|
8
9
|
}
|
9
10
|
|
10
11
|
.qms-app-bar-light {
|
11
|
-
background:
|
12
|
+
background: theme-apply($-qms-app-bar-light-background-color);
|
12
13
|
width : 100% !important;
|
13
14
|
height : 56px !important;
|
14
|
-
}
|
15
|
+
}
|
@@ -1,4 +1,6 @@
|
|
1
|
-
@import
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
3
|
+
|
2
4
|
.qms__popup {
|
3
5
|
.button__close {
|
4
6
|
float: right;
|
@@ -11,7 +13,7 @@
|
|
11
13
|
.qms__danger {
|
12
14
|
button {
|
13
15
|
border: none;
|
14
|
-
color: $text-white;
|
16
|
+
color: theme-apply($text-white);
|
15
17
|
padding: 0;
|
16
18
|
text-align: center;
|
17
19
|
text-decoration: none;
|
@@ -27,18 +29,18 @@
|
|
27
29
|
}
|
28
30
|
|
29
31
|
.red {
|
30
|
-
background-color: $button-red-background;
|
32
|
+
background-color: theme-apply($button-red-background);
|
31
33
|
margin-left: 10px;
|
32
34
|
}
|
33
35
|
|
34
36
|
.yellow {
|
35
|
-
background-color: $button-yellow-background;
|
37
|
+
background-color: theme-apply($button-yellow-background);
|
36
38
|
margin-left: 10px;
|
37
|
-
color: $popup-title-color;
|
39
|
+
color: theme-apply($popup-title-color);
|
38
40
|
}
|
39
41
|
|
40
42
|
.green {
|
41
|
-
background-color: $button-green-background;
|
43
|
+
background-color: theme-apply($button-green-background);
|
42
44
|
margin-left: 10px;
|
43
45
|
}
|
44
46
|
}
|
@@ -61,20 +63,20 @@
|
|
61
63
|
}
|
62
64
|
|
63
65
|
.confirm {
|
64
|
-
background: $button-background;
|
66
|
+
background: theme-apply($button-background);
|
65
67
|
}
|
66
68
|
.confirm:hover {
|
67
|
-
background: $primary-button-background-color;
|
68
|
-
color: $primary-button-text-color;
|
69
|
+
background: theme-apply($primary-button-background-color);
|
70
|
+
color: theme-apply($primary-button-text-color);
|
69
71
|
}
|
70
72
|
.confirm:disabled {
|
71
73
|
cursor: not-allowed;
|
72
74
|
}
|
73
75
|
.cancel {
|
74
|
-
background: $button-background;
|
76
|
+
background: theme-apply($button-background);
|
75
77
|
}
|
76
78
|
.cancel:hover {
|
77
|
-
background: $primary-button-background-color;
|
78
|
-
color: $primary-button-text-color;
|
79
|
+
background: theme-apply($primary-button-background-color);
|
80
|
+
color: theme-apply($primary-button-text-color);
|
79
81
|
}
|
80
82
|
}
|
@@ -1,5 +1,6 @@
|
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
1
3
|
@import "typography";
|
2
|
-
@import "colors";
|
3
4
|
|
4
5
|
// CHECKBOX STYLES
|
5
6
|
.mat-checkbox {
|
@@ -34,7 +35,7 @@
|
|
34
35
|
.text-label {
|
35
36
|
font-size: 1rem;
|
36
37
|
line-height: 28px;
|
37
|
-
color: $default-color;
|
38
|
+
color: theme-apply($default-color);
|
38
39
|
white-space: break-spaces;
|
39
40
|
}
|
40
41
|
|
@@ -46,7 +47,7 @@
|
|
46
47
|
}
|
47
48
|
|
48
49
|
.mat-error {
|
49
|
-
color: $error;
|
50
|
+
color: theme-apply($error);
|
50
51
|
}
|
51
52
|
|
52
53
|
&.cdk-keyboard-focused {
|
@@ -54,25 +55,20 @@
|
|
54
55
|
.mat-checkbox-persistent-ripple {
|
55
56
|
opacity: 1;
|
56
57
|
background-color: black(0.08);
|
57
|
-
// border: 2px solid $primary;
|
58
|
-
// background: $secondary-light-6-opacity;
|
59
58
|
}
|
60
59
|
}
|
61
60
|
}
|
62
61
|
|
63
|
-
&.cdk-keyboard-focused.ng-invalid {
|
62
|
+
&.cdk-keyboard-focused.ng-invalid {
|
64
63
|
.mat-checkbox-persistent-ripple {
|
65
64
|
opacity: 1;
|
66
65
|
background-color: black(0.08);
|
67
|
-
// border: 2px solid $secondary;
|
68
66
|
}
|
69
67
|
}
|
70
68
|
|
71
69
|
&.mat-checkbox-checked.cdk-keyboard-focused
|
72
70
|
.mat-checkbox-persistent-ripple {
|
73
|
-
|
74
|
-
// border: 2px solid $secondary;
|
75
|
-
background: $secondary-light-6-opacity;
|
71
|
+
background: theme-apply($secondary-light-6-opacity);
|
76
72
|
}
|
77
73
|
|
78
74
|
&.mat-checkbox-disabled:not(.mat-checkbox-checked) {
|
@@ -83,12 +79,6 @@
|
|
83
79
|
}
|
84
80
|
}
|
85
81
|
|
86
|
-
&.error-form {
|
87
|
-
.mat-checkbox-frame {
|
88
|
-
// border: 2px solid $error;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
92
82
|
&.mat-checkbox-checked {
|
93
83
|
background: rgba(207, 71, 20, 0.12);
|
94
84
|
}
|
@@ -96,21 +86,16 @@
|
|
96
86
|
&.mat-checkbox-checked {
|
97
87
|
&:not(.mat-checkbox-disabled) {
|
98
88
|
.mat-ripple-element {
|
99
|
-
background: $secondary-light-6-opacity;
|
89
|
+
background: theme-apply($secondary-light-6-opacity);
|
100
90
|
}
|
101
91
|
}
|
102
92
|
}
|
103
93
|
|
104
|
-
|
105
|
-
.mat-ripple-element {
|
106
|
-
// background: black(0.12) !important;
|
107
|
-
}
|
108
|
-
}
|
109
|
-
|
94
|
+
|
110
95
|
&.mat-checkbox-indeterminate,
|
111
96
|
&.mat-checkbox-checked {
|
112
97
|
.mat-checkbox-background {
|
113
|
-
background: $secondary;
|
98
|
+
background: theme-apply($secondary);
|
114
99
|
}
|
115
100
|
}
|
116
101
|
}
|
@@ -1,22 +1,24 @@
|
|
1
|
-
@import "
|
1
|
+
@import "../theme/variable";
|
2
|
+
@import "../theme/mixins";
|
2
3
|
@import "form";
|
4
|
+
|
3
5
|
.mat-form-field{
|
4
6
|
&.qms-chip-input, &.qms-chip-input-select{
|
5
7
|
font-family: Open Sans;
|
6
8
|
&.mat-form-field-disabled {
|
7
9
|
.mat-form-field-flex {
|
8
|
-
background-color: $disabled;
|
9
|
-
|
10
|
+
background-color: theme-apply($disabled);
|
11
|
+
|
10
12
|
&:hover {
|
11
|
-
background-color: $disabled;
|
13
|
+
background-color: theme-apply($disabled);
|
12
14
|
}
|
13
15
|
}
|
14
|
-
|
16
|
+
|
15
17
|
mat-icon,
|
16
18
|
.mat-input-element {
|
17
19
|
color: black(0.38);
|
18
20
|
}
|
19
|
-
|
21
|
+
|
20
22
|
button {
|
21
23
|
pointer-events: none;
|
22
24
|
}
|
@@ -24,11 +26,11 @@
|
|
24
26
|
|
25
27
|
&.mat-focused {
|
26
28
|
.mat-form-field-label {
|
27
|
-
color: $primary;
|
29
|
+
color: theme-apply($primary);
|
28
30
|
}
|
29
31
|
.mat-form-field-flex {
|
30
32
|
background-color: black(0.04);
|
31
|
-
border-bottom: 2px solid $primary;
|
33
|
+
border-bottom: 2px solid theme-apply($primary);
|
32
34
|
padding: $padding-field-flex;
|
33
35
|
.mat-form-field-flex{
|
34
36
|
&:hover {
|
@@ -37,32 +39,32 @@
|
|
37
39
|
}
|
38
40
|
}
|
39
41
|
}
|
40
|
-
|
42
|
+
|
41
43
|
&.mat-form-field-invalid {
|
42
44
|
.mat-form-field-label {
|
43
|
-
color: $error;
|
45
|
+
color: theme-apply($error);
|
44
46
|
}
|
45
|
-
|
47
|
+
|
46
48
|
mat-icon,
|
47
49
|
.material-icons {
|
48
50
|
color: black(0.54);
|
49
51
|
}
|
50
|
-
|
52
|
+
|
51
53
|
.mat-form-field-ripple {
|
52
54
|
height: 2px;
|
53
|
-
background-color: $error;
|
55
|
+
background-color: theme-apply($error);
|
54
56
|
transform: scaleX(1);
|
55
57
|
}
|
56
|
-
|
58
|
+
|
57
59
|
.mat-form-field-flex {
|
58
|
-
border-bottom: 2px solid $error;
|
60
|
+
border-bottom: 2px solid theme-apply($error);
|
59
61
|
}
|
60
62
|
}
|
61
|
-
|
63
|
+
|
62
64
|
.mat-form-field-wrapper {
|
63
65
|
border-radius: 0.25em;
|
64
66
|
}
|
65
|
-
|
67
|
+
|
66
68
|
.mat-form-field-flex{
|
67
69
|
font-weight: 600;
|
68
70
|
padding: $padding-field-flex;
|
@@ -121,7 +123,7 @@
|
|
121
123
|
button{
|
122
124
|
width: 1.5rem;
|
123
125
|
height: 1.5rem;
|
124
|
-
}
|
126
|
+
}
|
125
127
|
}
|
126
128
|
}
|
127
129
|
}
|
@@ -143,25 +145,25 @@
|
|
143
145
|
|
144
146
|
&.mat-form-field-invalid {
|
145
147
|
.mat-form-field-underline:before {
|
146
|
-
background-color: $error;
|
148
|
+
background-color: theme-apply($error);
|
147
149
|
}
|
148
150
|
}
|
149
|
-
|
151
|
+
|
150
152
|
.mat-hint {
|
151
153
|
font-size: 0.75rem;
|
152
154
|
line-height: 16px;
|
153
155
|
font-style: normal;
|
154
156
|
}
|
155
|
-
|
157
|
+
|
156
158
|
.mat-form-field-subscript-wrapper {
|
157
159
|
margin-top: 2px;
|
158
160
|
}
|
159
|
-
|
161
|
+
|
160
162
|
|
161
163
|
.mat-form-field-prefix {
|
162
164
|
margin-right: 0.75rem;
|
163
165
|
color: black(0.6);
|
164
|
-
|
166
|
+
|
165
167
|
mat-icon > svg {
|
166
168
|
margin-bottom: 0.5em;
|
167
169
|
}
|
@@ -190,7 +192,7 @@
|
|
190
192
|
.mat-chip.qms-chip.mat-standard-chip{
|
191
193
|
margin: 2px 4px 2px 4px;
|
192
194
|
}
|
193
|
-
input{
|
195
|
+
input{
|
194
196
|
padding: 6px 0px 6px 0px;
|
195
197
|
}
|
196
198
|
}
|
@@ -218,7 +220,7 @@
|
|
218
220
|
.mat-chip.qms-chip.mat-standard-chip{
|
219
221
|
margin: 4px;
|
220
222
|
}
|
221
|
-
input{
|
223
|
+
input{
|
222
224
|
padding: 0px;
|
223
225
|
}
|
224
226
|
}
|
@@ -242,10 +244,10 @@
|
|
242
244
|
}
|
243
245
|
}
|
244
246
|
.qms-dropdown-menu-item-selected{
|
245
|
-
color: $active;
|
247
|
+
color: theme-apply($active);
|
246
248
|
|
247
249
|
.mat-icon{
|
248
|
-
color: $active;
|
250
|
+
color: theme-apply($active);
|
249
251
|
}
|
250
252
|
}
|
251
253
|
}
|