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.
Files changed (190) hide show
  1. package/bundles/qms-angular.umd.js +199 -100
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/common/themes.const.js +3 -0
  4. package/esm2015/lib/components/banner/models/qms-banner.model.js +9 -1
  5. package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.js +4 -3
  6. package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.module.js +7 -4
  7. package/esm2015/lib/components/button/button-toggle.js +1 -1
  8. package/esm2015/lib/components/button/button.js +3 -3
  9. package/esm2015/lib/components/comment/comment.js +1 -1
  10. package/esm2015/lib/components/list/list.js +5 -3
  11. package/esm2015/lib/components/related/content/related-content.component.js +1 -1
  12. package/esm2015/lib/components/related/list-other-related/list-related.component.js +1 -1
  13. package/esm2015/lib/components/related/popup/related-popup.component.js +1 -1
  14. package/esm2015/lib/components/related/risk/analysis/analysis.component.js +1 -1
  15. package/esm2015/lib/components/related/risk/list/list.component.js +1 -1
  16. package/esm2015/lib/components/related/risk/result/result.component.js +1 -1
  17. package/esm2015/lib/components/rich-text/rich-text.js +1 -1
  18. package/esm2015/lib/components/select-dialog/select-dialog.js +1 -1
  19. package/esm2015/lib/components/select-include-children/select-include-children.component.js +1 -1
  20. package/esm2015/lib/components/select-one/select-one.component.js +1 -1
  21. package/esm2015/lib/components/select-process-document/select-process-document.component.js +1 -1
  22. package/esm2015/lib/components/table/table-action.js +2 -2
  23. package/esm2015/lib/components/tree/tree.component.js +1 -1
  24. package/esm2015/lib/components/treeNew/tree.component.js +1 -1
  25. package/esm2015/lib/directives/text-truncate/text-truncate.directive.js +7 -3
  26. package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +1 -1
  27. package/esm2015/lib/qms-ckeditor-components/common/functions/common.function.js +32 -1
  28. package/esm2015/lib/qms-ckeditor-components/common/helper/fileHelper.js +15 -0
  29. package/esm2015/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.js +1 -1
  30. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.js +1 -1
  31. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +5 -18
  32. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +9 -3
  33. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +1 -1
  34. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.js +1 -1
  35. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +1 -1
  36. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.js +1 -1
  37. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.js +1 -1
  38. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.js +1 -1
  39. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.js +1 -1
  40. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +6 -4
  41. package/esm2015/lib/services/theming.service.js +36 -0
  42. package/esm2015/lib/shared.module.js +1 -1
  43. package/esm2015/public-api.js +3 -1
  44. package/fesm2015/qms-angular.js +157 -67
  45. package/fesm2015/qms-angular.js.map +1 -1
  46. package/lib/common/themes.const.d.ts +2 -0
  47. package/lib/components/banner/models/qms-banner.model.d.ts +7 -0
  48. package/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.d.ts +2 -1
  49. package/lib/components/list/list.d.ts +1 -1
  50. package/lib/directives/text-truncate/text-truncate.directive.d.ts +2 -1
  51. package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +1 -1
  52. package/lib/qms-ckeditor-components/common/functions/common.function.d.ts +12 -0
  53. package/lib/qms-ckeditor-components/common/helper/fileHelper.d.ts +1 -0
  54. package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +0 -1
  55. package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +3 -1
  56. package/lib/services/theming.service.d.ts +7 -0
  57. package/lib.theme.scss +11 -9
  58. package/package.json +1 -1
  59. package/public-api.d.ts +2 -0
  60. package/qms-angular.metadata.json +1 -1
  61. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -1
  62. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js.map +1 -1
  63. package/src/assets/qms-ckeditor-plugin/build/translations/ar.js +1 -1
  64. package/src/assets/qms-ckeditor-plugin/build/translations/az.js +1 -1
  65. package/src/assets/qms-ckeditor-plugin/build/translations/bg.js +1 -1
  66. package/src/assets/qms-ckeditor-plugin/build/translations/ca.js +1 -1
  67. package/src/assets/qms-ckeditor-plugin/build/translations/cs.js +1 -1
  68. package/src/assets/qms-ckeditor-plugin/build/translations/da.js +1 -1
  69. package/src/assets/qms-ckeditor-plugin/build/translations/de.js +1 -1
  70. package/src/assets/qms-ckeditor-plugin/build/translations/el.js +1 -1
  71. package/src/assets/qms-ckeditor-plugin/build/translations/en-au.js +1 -1
  72. package/src/assets/qms-ckeditor-plugin/build/translations/en-gb.js +1 -1
  73. package/src/assets/qms-ckeditor-plugin/build/translations/eo.js +1 -1
  74. package/src/assets/qms-ckeditor-plugin/build/translations/es.js +1 -1
  75. package/src/assets/qms-ckeditor-plugin/build/translations/et.js +1 -1
  76. package/src/assets/qms-ckeditor-plugin/build/translations/eu.js +1 -1
  77. package/src/assets/qms-ckeditor-plugin/build/translations/fa.js +1 -1
  78. package/src/assets/qms-ckeditor-plugin/build/translations/fi.js +1 -1
  79. package/src/assets/qms-ckeditor-plugin/build/translations/fr.js +1 -1
  80. package/src/assets/qms-ckeditor-plugin/build/translations/gl.js +1 -1
  81. package/src/assets/qms-ckeditor-plugin/build/translations/he.js +1 -1
  82. package/src/assets/qms-ckeditor-plugin/build/translations/hi.js +1 -1
  83. package/src/assets/qms-ckeditor-plugin/build/translations/hr.js +1 -1
  84. package/src/assets/qms-ckeditor-plugin/build/translations/hu.js +1 -1
  85. package/src/assets/qms-ckeditor-plugin/build/translations/id.js +1 -1
  86. package/src/assets/qms-ckeditor-plugin/build/translations/it.js +1 -1
  87. package/src/assets/qms-ckeditor-plugin/build/translations/ja.js +1 -1
  88. package/src/assets/qms-ckeditor-plugin/build/translations/km.js +1 -1
  89. package/src/assets/qms-ckeditor-plugin/build/translations/kn.js +1 -1
  90. package/src/assets/qms-ckeditor-plugin/build/translations/ko.js +1 -1
  91. package/src/assets/qms-ckeditor-plugin/build/translations/ku.js +1 -1
  92. package/src/assets/qms-ckeditor-plugin/build/translations/lt.js +1 -1
  93. package/src/assets/qms-ckeditor-plugin/build/translations/lv.js +1 -1
  94. package/src/assets/qms-ckeditor-plugin/build/translations/nb.js +1 -1
  95. package/src/assets/qms-ckeditor-plugin/build/translations/ne.js +1 -1
  96. package/src/assets/qms-ckeditor-plugin/build/translations/nl.js +1 -1
  97. package/src/assets/qms-ckeditor-plugin/build/translations/no.js +1 -1
  98. package/src/assets/qms-ckeditor-plugin/build/translations/pl.js +1 -1
  99. package/src/assets/qms-ckeditor-plugin/build/translations/pt-br.js +1 -1
  100. package/src/assets/qms-ckeditor-plugin/build/translations/pt.js +1 -1
  101. package/src/assets/qms-ckeditor-plugin/build/translations/ro.js +1 -1
  102. package/src/assets/qms-ckeditor-plugin/build/translations/ru.js +1 -1
  103. package/src/assets/qms-ckeditor-plugin/build/translations/sk.js +1 -1
  104. package/src/assets/qms-ckeditor-plugin/build/translations/sl.js +1 -1
  105. package/src/assets/qms-ckeditor-plugin/build/translations/sq.js +1 -1
  106. package/src/assets/qms-ckeditor-plugin/build/translations/sr-latn.js +1 -1
  107. package/src/assets/qms-ckeditor-plugin/build/translations/sr.js +1 -1
  108. package/src/assets/qms-ckeditor-plugin/build/translations/sv.js +1 -1
  109. package/src/assets/qms-ckeditor-plugin/build/translations/th.js +1 -1
  110. package/src/assets/qms-ckeditor-plugin/build/translations/tk.js +1 -1
  111. package/src/assets/qms-ckeditor-plugin/build/translations/tr.js +1 -1
  112. package/src/assets/qms-ckeditor-plugin/build/translations/ug.js +1 -1
  113. package/src/assets/qms-ckeditor-plugin/build/translations/uk.js +1 -1
  114. package/src/assets/qms-ckeditor-plugin/build/translations/vi.js +1 -1
  115. package/src/assets/qms-ckeditor-plugin/build/translations/zh-cn.js +1 -1
  116. package/src/assets/qms-ckeditor-plugin/build/translations/zh.js +1 -1
  117. package/src/assets/qms-ckeditor-plugin/package-lock.json +0 -1
  118. package/src/assets/qms-ckeditor-plugin/package.json +0 -1
  119. package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +1 -1
  120. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/heading.js +119 -0
  121. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingbuttonsui.js +103 -0
  122. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingcommand.js +96 -0
  123. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingediting.js +163 -0
  124. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingui.js +115 -0
  125. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/index.js +22 -0
  126. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/heading.css +35 -0
  127. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading1.svg +1 -0
  128. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading2.svg +1 -0
  129. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading3.svg +1 -0
  130. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading4.svg +1 -0
  131. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading5.svg +1 -0
  132. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading6.svg +1 -0
  133. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/title.js +598 -0
  134. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/utils.js +42 -0
  135. package/src/lib/components/breadcrumb/breadcrumb.scss +2 -1
  136. package/src/lib/components/button/_button-base.scss +45 -52
  137. package/src/lib/components/button/_button-theme.scss +4 -2
  138. package/src/lib/components/button/button-icon.scss +17 -14
  139. package/src/lib/components/button/button-toggle.scss +64 -115
  140. package/src/lib/components/comment/comment.scss +3 -2
  141. package/src/lib/components/dialog/dialog.scss +2 -1
  142. package/src/lib/components/list/_list-base.scss +2 -2
  143. package/src/lib/components/list/_list-expansion.scss +37 -7
  144. package/src/lib/components/list/list.scss +21 -4
  145. package/src/lib/components/related/content/related-content.component.scss +4 -2
  146. package/src/lib/components/related/list-other-related/list-related.component.scss +7 -6
  147. package/src/lib/components/related/popup/related-popup.component.scss +10 -10
  148. package/src/lib/components/related/risk/analysis/analysis.component.scss +4 -3
  149. package/src/lib/components/related/risk/list/list.component.scss +7 -6
  150. package/src/lib/components/related/risk/result/result.component.scss +9 -8
  151. package/src/lib/components/rich-text/rich-text.scss +3 -2
  152. package/src/lib/components/select-dialog/select-dialog.scss +5 -5
  153. package/src/lib/components/select-include-children/select-include-children.component.scss +10 -10
  154. package/src/lib/components/select-one/select-one.component.scss +5 -4
  155. package/src/lib/components/select-process-document/select-process-document.component.scss +12 -13
  156. package/src/lib/components/substance-conflict/substance-conflict.component.scss +4 -3
  157. package/src/lib/components/table/table.scss +4 -3
  158. package/src/lib/components/tooltip/tooltip.scss +3 -1
  159. package/src/lib/components/tree/tree.component.scss +12 -12
  160. package/src/lib/components/treeNew/tree.component.scss +11 -18
  161. package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +3 -2
  162. package/src/lib/qms-ckeditor-components/styles/_modules.scss +9 -0
  163. package/src/themes/_non-bg-scrollbar.scss +4 -3
  164. package/src/themes/core/_app-bar.scss +5 -4
  165. package/src/themes/core/_button.scss +14 -12
  166. package/src/themes/core/_checkbox.scss +9 -24
  167. package/src/themes/core/_chip-input.scss +29 -27
  168. package/src/themes/core/_chip.scss +12 -10
  169. package/src/themes/core/_date-picker.scss +9 -8
  170. package/src/themes/core/_dropdown-menu.scss +12 -11
  171. package/src/themes/core/_file-upload.scss +12 -11
  172. package/src/themes/core/_form-prefix.scss +6 -4
  173. package/src/themes/core/_form.scss +28 -27
  174. package/src/themes/core/_progress.scss +5 -3
  175. package/src/themes/core/_radio.scss +13 -15
  176. package/src/themes/core/_range-slider.scss +34 -33
  177. package/src/themes/core/_scrollbar.scss +25 -34
  178. package/src/themes/core/_search-field.scss +5 -3
  179. package/src/themes/core/_select.scss +5 -2
  180. package/src/themes/core/_slide-toggle.scss +10 -11
  181. package/src/themes/core/_styles.scss +19 -17
  182. package/src/themes/core/_tab.scss +88 -87
  183. package/src/themes/core/_table.scss +35 -19
  184. package/src/themes/core/_text-block.scss +3 -1
  185. package/src/themes/theme/_mixins.scss +18 -0
  186. package/src/themes/theme/_theme.scss +17 -0
  187. package/src/themes/theme/_variable.scss +303 -0
  188. package/src/themes/_color.scss +0 -61
  189. package/src/themes/_scrollbar.scss +0 -27
  190. package/src/themes/core/_colors.scss +0 -60
@@ -1,5 +1,6 @@
1
1
  @import "../../lib/components/list/list.scss";
2
- @import "../../themes/core/colors";
2
+ @import "../theme/variable";
3
+ @import "../theme/mixins";
3
4
 
4
5
  .mat-menu-item{
5
6
  &.qms-dropdown-menu-item{
@@ -32,25 +33,25 @@
32
33
  background: black(0.08);
33
34
  }
34
35
  }
35
-
36
+
36
37
  &:active {
37
38
  &:not([aria-disabled="true"]) {
38
39
  background: black(0.12);
39
40
  }
40
- }
41
-
42
-
41
+ }
42
+
43
+
43
44
  &.cdk-keyboard-focused {
44
- border: 2px solid $primary;
45
+ border: 2px solid theme-apply($primary);
45
46
  border-radius: $border-radius-default;
46
47
  }
47
-
48
+
48
49
  &.active-item {
49
- color: $primary;
50
+ color: theme-apply($primary);
50
51
  .mat-icon{
51
52
  color: #1954A9;
52
53
  }
53
-
54
+
54
55
  @include color-inherit;
55
56
  }
56
57
  }
@@ -72,11 +73,11 @@
72
73
  @include size($size-md);
73
74
  }
74
75
  }
75
-
76
+
76
77
  .caption{
77
78
  font-size: 14px;
78
79
  font-family: Open Sans, Arial, Sans-Serif;
79
80
  }
80
81
  }
81
82
  }
82
- }
83
+ }
@@ -1,14 +1,15 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
2
3
 
3
4
 
4
5
  .mat-form-field:not(.mat-form-field-disabled){
5
6
  &.qms-file-upload{
6
7
  &.mat-focused{
7
8
  mat-icon{
8
- color: $active;
9
-
9
+ color: theme-apply($active);
10
+
10
11
  svg{
11
- fill: $active;
12
+ fill: theme-apply($active);
12
13
  }
13
14
  }
14
15
 
@@ -24,10 +25,10 @@
24
25
  border-bottom: 2px solid #1954A9;
25
26
 
26
27
  mat-icon{
27
- color: $active;
28
-
28
+ color: theme-apply($active);
29
+
29
30
  svg{
30
- fill: $active;
31
+ fill: theme-apply($active);
31
32
  }
32
33
  }
33
34
 
@@ -64,7 +65,7 @@ qms-list{
64
65
  button{
65
66
  font-weight: 600;
66
67
  font-family: "Open Sans";
67
- color: $active;
68
+ color: theme-apply($active);
68
69
  cursor: pointer;
69
70
  font-size: 0.875em;
70
71
  padding: 0;
@@ -75,9 +76,9 @@ qms-list{
75
76
  span{
76
77
  cursor: pointer;
77
78
  }
78
-
79
+
79
80
  }
80
81
  }
81
-
82
+
82
83
  }
83
- }
84
+ }
@@ -1,5 +1,7 @@
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
1
3
  @import "typography";
2
- @import "colors";
4
+
3
5
  .mat-form-field {
4
6
  &.qms-form {
5
7
  .mat-form-field-flex {
@@ -11,7 +13,7 @@
11
13
  .mat-form-field-prefix {
12
14
  margin-right: 0.75rem;
13
15
  mat-icon > svg {
14
- fill: $active;
16
+ fill: theme-apply($active);
15
17
  }
16
18
  }
17
19
  }
@@ -21,7 +23,7 @@
21
23
  .mat-form-field-prefix {
22
24
  margin-right: 0.75rem;
23
25
  mat-icon > svg {
24
- fill: $error;
26
+ fill: theme-apply($error);
25
27
  }
26
28
  }
27
29
  }
@@ -35,4 +37,4 @@
35
37
  }
36
38
  }
37
39
  }
38
- }
40
+ }
@@ -1,5 +1,6 @@
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
1
3
  @import "typography";
2
- @import "colors";
3
4
 
4
5
  $height-input: 51px;
5
6
  $padding-field-flex: 0.25rem 1rem 0.25rem 1rem;
@@ -110,32 +111,32 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
110
111
 
111
112
  &.mat-focused {
112
113
  .mat-form-field-label {
113
- color: $primary;
114
+ color: theme-apply($primary);
114
115
  }
115
116
 
116
117
  mat-icon,
117
118
  .material-icons {
118
- color: $primary;
119
+ color: theme-apply($primary);
119
120
  }
120
121
  }
121
122
 
122
123
  &.mat-form-field-invalid {
123
124
  .mat-form-field-label {
124
- color: $error;
125
+ color: theme-apply($error);
125
126
  }
126
127
  }
127
128
 
128
129
  &:not(.mat-form-field-disabled):focus {
129
- border-bottom: 2px solid $primary;
130
+ border-bottom: 2px solid theme-apply($primary);
130
131
  padding: 2px;
131
132
 
132
133
  .mat-form-field-label {
133
- color: $primary;
134
+ color: theme-apply($primary);
134
135
  }
135
136
 
136
137
  mat-icon,
137
138
  .material-icons {
138
- color: $primary;
139
+ color: theme-apply($primary);
139
140
  }
140
141
 
141
142
  .mat-form-field-flex {
@@ -149,17 +150,17 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
149
150
 
150
151
  &:not(.mat-form-field-disabled):focus {
151
152
  .mat-form-field-label {
152
- color: $primary;
153
+ color: theme-apply($primary);
153
154
  }
154
155
 
155
156
  mat-icon,
156
157
  .material-icons {
157
- color: $primary;
158
+ color: theme-apply($primary);
158
159
  }
159
160
 
160
161
  .mat-form-field-flex {
161
162
  background-color: black(0.08);
162
- border-bottom: 2px solid $primary;
163
+ border-bottom: 2px solid theme-apply($primary);
163
164
  padding: $padding-field-flex;
164
165
  }
165
166
  }
@@ -172,21 +173,21 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
172
173
 
173
174
  &.mat-focused {
174
175
  .mat-form-field-label {
175
- color: $primary;
176
+ color: theme-apply($primary);
176
177
  }
177
178
 
178
179
 
179
180
  .mat-form-field-flex {
180
181
  background-color: black(0.08);
181
182
 
182
- border-bottom: 2px solid $primary;
183
+ border-bottom: 2px solid theme-apply($primary);
183
184
  padding: $padding-field-flex;
184
185
  }
185
186
  }
186
187
 
187
188
  &.mat-form-field-invalid {
188
189
  .mat-form-field-label {
189
- color: $error;
190
+ color: theme-apply($error);
190
191
  }
191
192
 
192
193
  mat-icon,
@@ -196,21 +197,21 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
196
197
 
197
198
  .mat-form-field-ripple {
198
199
  height: 2px;
199
- background-color: $error;
200
+ background-color: theme-apply($error);
200
201
  transform: scaleX(1);
201
202
  }
202
203
 
203
204
  .mat-form-field-flex {
204
- border-bottom: 2px solid $error;
205
+ border-bottom: 2px solid theme-apply($error);
205
206
  }
206
207
  }
207
208
 
208
209
  &.mat-form-field-disabled {
209
210
  .mat-form-field-flex {
210
- background-color: $disabled;
211
+ background-color: theme-apply($disabled);
211
212
 
212
213
  &:hover {
213
- background-color: $disabled;
214
+ background-color: theme-apply($disabled);
214
215
  }
215
216
  }
216
217
 
@@ -233,7 +234,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
233
234
  padding: $padding-field-flex;
234
235
  height: $height-input;
235
236
  border-bottom: 1px solid black(0.38);
236
-
237
+
237
238
 
238
239
  &:hover {
239
240
  background-color: black(0.08);
@@ -270,11 +271,11 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
270
271
 
271
272
  .mat-input-element {
272
273
  font-weight: 600;
273
- color: $default-color;
274
+ color: theme-apply($default-color);
274
275
  font-size: 16px;
275
276
  line-height: 22px;
276
277
  font-family: 'Open sans';
277
-
278
+
278
279
 
279
280
  &::placeholder {
280
281
  color: black(0.6);
@@ -289,7 +290,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
289
290
  }
290
291
 
291
292
  .mat-error {
292
- color: $error;
293
+ color: theme-apply($error);
293
294
  display: flex;
294
295
  justify-content: space-between;
295
296
  font-size: 0.75rem;
@@ -316,7 +317,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
316
317
 
317
318
  .mat-select-min-line, mat-select-trigger {
318
319
  font-weight: 600;
319
- color:$default-color;
320
+ color:theme-apply($default-color);
320
321
  font-size: 16px;
321
322
  line-height: 22px;
322
323
  font-family: 'Open Sans', sans-serif;
@@ -327,11 +328,11 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
327
328
  }
328
329
 
329
330
  .mat-select.mat-select-invalid .mat-select-arrow {
330
- color: $error;
331
- }
331
+ color: theme-apply($error);
332
+ }
332
333
  }
333
334
 
334
- &.qms-form.qms-search-field, &.qms-form.qms-file-upload,
335
+ &.qms-form.qms-search-field, &.qms-form.qms-file-upload,
335
336
  &.qms-form:not(.mat-form-field-disabled):focus.qms-file-upload,
336
337
  &.qms-form:not(.mat-form-field-disabled):focus.qms-search-field{
337
338
  .mat-form-field-flex{
@@ -364,7 +365,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
364
365
  font-weight: 600;
365
366
  font-family: "Open Sans";
366
367
  font-size: 1em;
367
-
368
+
368
369
  .mat-form-field-wrapper {
369
370
  border-radius: 0.25em;
370
371
  }
@@ -424,7 +425,7 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
424
425
  margin-bottom: 0.25em;
425
426
  }
426
427
  }
427
-
428
+
428
429
  .mat-error{
429
430
  font-weight: 400;
430
431
  }
@@ -1,9 +1,11 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
3
+
2
4
  .mat-form-field {
3
5
  &.qms-search-field-loading, &.qms-file-upload-loading {
4
6
  .mat-form-field-underline::before {
5
7
  height: 2px;
6
- background-color: $active;
8
+ background-color: theme-apply($active);
7
9
  }
8
10
  }
9
- }
11
+ }
@@ -1,5 +1,6 @@
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
1
3
  @import "typography";
2
- @import "colors";
3
4
 
4
5
  // RADIO STYLES
5
6
  .mat-radio-group.ng-invalid {
@@ -9,7 +10,6 @@
9
10
  &:not(.mat-radio-disabled).cdk-program-focused {
10
11
  .mat-radio-persistent-ripple {
11
12
  opacity: 1;
12
- // border: 2px solid $secondary;
13
13
  background: black(0.08);
14
14
  }
15
15
  }
@@ -61,7 +61,7 @@
61
61
  .text-label {
62
62
  font-size: 1rem;
63
63
  line-height: 28px;
64
- color: $default-color;
64
+ color: theme-apply($default-color);
65
65
  white-space: break-spaces;
66
66
  }
67
67
 
@@ -73,13 +73,12 @@
73
73
  }
74
74
 
75
75
  .mat-error {
76
- color: $error;
76
+ color: theme-apply($error);
77
77
  }
78
78
 
79
79
  &:not(.mat-radio-disabled).cdk-keyboard-focused {
80
80
  .mat-radio-persistent-ripple {
81
81
  opacity: 1;
82
- // border: 2px solid $primary;
83
82
  background: black(0.08);
84
83
  }
85
84
  }
@@ -87,8 +86,7 @@
87
86
  &:not(.mat-radio-disabled).mat-radio-checked.cdk-keyboard-focused {
88
87
  .mat-radio-persistent-ripple {
89
88
  opacity: 1;
90
- // border: 2px solid $secondary;
91
- background: $secondary-light-6-opacity;
89
+ background: theme-apply($secondary-light-6-opacity);
92
90
  }
93
91
  }
94
92
 
@@ -102,7 +100,7 @@
102
100
 
103
101
  &.error-form {
104
102
  .mat-radio-outer-circle {
105
- border: 2px solid $error;
103
+ border: 2px solid theme-apply($error);
106
104
  }
107
105
  }
108
106
 
@@ -115,14 +113,14 @@
115
113
  &:active {
116
114
  span.mat-radio-persistent-ripple {
117
115
  opacity: 1;
118
- background-color: $secondary-light-12-opacity;
116
+ background-color: theme-apply($secondary-light-12-opacity);
119
117
  transition-duration: 150ms;
120
- }
118
+ }
121
119
  }
122
120
  &:hover {
123
121
  .mat-ripple-element {
124
122
  opacity: 1;
125
- background-color: $secondary-light-6-opacity;
123
+ background-color: theme-apply($secondary-light-6-opacity);
126
124
  }
127
125
  }
128
126
  }
@@ -130,16 +128,16 @@
130
128
 
131
129
  &.mat-radio-checked {
132
130
  .mat-radio-outer-circle {
133
- border-color: $secondary;
131
+ border-color: theme-apply($secondary);
134
132
  }
135
133
  }
136
134
 
137
135
  .mat-radio-inner-circle {
138
- background-color: $secondary;
136
+ background-color: theme-apply($secondary);
139
137
  }
140
138
 
141
139
  &.mat-radio-checked .mat-radio-persistent-ripple {
142
- background-color: $secondary-light-6-opacity;
140
+ background-color: theme-apply($secondary-light-6-opacity);
143
141
  }
144
142
 
145
143
  .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple) {
@@ -149,7 +147,7 @@
149
147
  &.mat-radio-checked
150
148
  .mat-radio-ripple
151
149
  .mat-ripple-element:not(.mat-radio-persistent-ripple) {
152
- background-color: $secondary;
150
+ background-color: theme-apply($secondary);
153
151
  }
154
152
  }
155
153
  }
@@ -1,14 +1,15 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
2
3
 
3
4
  .mat-slider{
4
5
  &.qms-range-slider{
5
6
  &:not(.mat-slider-disabled){
6
7
  .mat-slider-track-background{
7
- background-color: $slider-background;
8
+ background-color: theme-apply($slider-background);
8
9
  }
9
10
 
10
11
  .mat-slider-track-fill{
11
- background: $active;
12
+ background: theme-apply($active);
12
13
  }
13
14
 
14
15
  .mat-slider-thumb{
@@ -16,8 +17,8 @@
16
17
  bottom: -6px;
17
18
  width: 12px;
18
19
  height: 12px;
19
- background-color: $active;
20
- border-color: $active;
20
+ background-color: theme-apply($active);
21
+ border-color: theme-apply($active);
21
22
  box-sizing: border-box;
22
23
  border: 3px solid transparent;
23
24
  border-radius: 50%;
@@ -25,7 +26,7 @@
25
26
 
26
27
  .mat-slider-thumb:after {
27
28
  content: "";
28
- background-color: $slider-hover-border;
29
+ background-color: theme-apply($slider-hover-border);
29
30
  background-size: 0%;
30
31
  background-position: center;
31
32
  display: block;
@@ -44,27 +45,27 @@
44
45
 
45
46
  &.mat-slider-min-value:not(.mat-slider-thumb-label-showing){
46
47
  .mat-slider-thumb {
47
- background-color: $active;
48
- border-color: $slider-focus-border;
48
+ background-color: theme-apply($active);
49
+ border-color: theme-apply($slider-focus-border);
49
50
  }
50
51
  }
51
-
52
+
52
53
  &.mat-slider-has-ticks .mat-slider-wrapper::after{
53
- border-color: $slider-tick-color;
54
+ border-color: theme-apply($slider-tick-color);
54
55
  }
55
56
 
56
57
  &.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover{
57
- border-color: $slider-hover-border;
58
+ border-color: theme-apply($slider-hover-border);
58
59
  }
59
60
 
60
61
  &:focus-visible{
61
- border-color: $slider-focus-border;
62
+ border-color: theme-apply($slider-focus-border);
62
63
  }
63
64
 
64
65
  &.cdk-mouse-focused, &.cdk-touch-focused, &.cdk-program-focused{
65
66
  .mat-slider-thumb {
66
67
  border-width: 18px;
67
- border-color: $slider-focus-border;
68
+ border-color: theme-apply($slider-focus-border);
68
69
  transform: scale(0.7);
69
70
  }
70
71
  }
@@ -79,7 +80,7 @@
79
80
  }
80
81
  }
81
82
  }
82
-
83
+
83
84
  &.mat-slider-disabled{
84
85
  .mat-slider-thumb{
85
86
  background-color: black(0.26);
@@ -88,11 +89,11 @@
88
89
  }
89
90
 
90
91
  .mat-slider-ticks{
91
- background-image: repeating-linear-gradient(to right, $slider-tick-color, $slider-tick-color 2px, transparent 0, transparent);
92
+ background-image: repeating-linear-gradient(to right, theme-apply($slider-tick-color), theme-apply($slider-tick-color) 2px, transparent 0, transparent);
92
93
  opacity: 1;
93
94
  }
94
95
  .mat-slider-focus-ring{
95
- background-color: transparent;
96
+ background-color: transparent;
96
97
  }
97
98
  }
98
99
  }
@@ -104,7 +105,7 @@
104
105
  &:focus-visible{
105
106
  .mat-slider-thumb {
106
107
  border-width: 18px;
107
- border-color: $slider-focus-border;
108
+ border-color: theme-apply($slider-focus-border);
108
109
  transform: scale(0.7);
109
110
  }
110
111
  }
@@ -113,15 +114,15 @@
113
114
  .mat-slider-thumb-label {
114
115
  border-radius: 10%;
115
116
  transform: rotate(0deg);
116
- background: $default-color;
117
+ background: theme-apply($default-color);
117
118
  }
118
119
 
119
120
  .mat-slider-thumb {
120
121
  border-width: 18px;
121
- border-color: $slider-pressed;
122
+ border-color: theme-apply($slider-pressed);
122
123
  transform: scale(0.7);
123
124
  }
124
-
125
+
125
126
  .mat-slider-thumb-label-text {
126
127
  transform: rotate(0deg);
127
128
  }
@@ -130,14 +131,14 @@
130
131
  position: absolute;
131
132
  left: calc(50% - 8px);
132
133
  top: 28px;
133
- width: 0;
134
- height: 0;
134
+ width: 0;
135
+ height: 0;
135
136
  content: '';
136
137
  margin: 0 auto;
137
138
  transform: rotate(0deg);
138
139
  border-left: 8px solid transparent;
139
140
  border-right: 8px solid transparent;
140
- border-top: 6px solid $default-color;
141
+ border-top: 6px solid theme-apply($default-color);
141
142
  }
142
143
  }
143
144
  }
@@ -149,18 +150,18 @@
149
150
  &:not(.mat-slider-disabled){
150
151
  &.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover{
151
152
  .mat-slider-thumb{
152
- border-color: $slider-hover-border;
153
+ border-color: theme-apply($slider-hover-border);
153
154
  }
154
-
155
+
155
156
  }
156
157
  .mat-slider-thumb {
157
158
  height: 48px;
158
159
  width: 48px;
159
- border-color: $slider-hover-border;
160
- border: solid 18px $slider-hover-border;
160
+ border-color: theme-apply($slider-hover-border);
161
+ border: solid 18px theme-apply($slider-hover-border);
161
162
  bottom: -24px;
162
163
  right: -24px;
163
- background-clip: padding-box;
164
+ background-clip: padding-box;
164
165
  }
165
166
  }
166
167
 
@@ -173,18 +174,18 @@
173
174
  }
174
175
 
175
176
  .mat-slider{
176
- &.qms-range-slider{
177
+ &.qms-range-slider{
177
178
  &.cdk-focused, &.cdk-keyboard-focused, &.cdk-mouse-focused, &.cdk-touch-focused, &.cdk-program-focused{
178
179
  &:not(.mat-slider-disabled){
179
180
  .mat-slider-thumb {
180
181
  transform: scale(0.7);
181
182
  height: 48px;
182
183
  width: 48px;
183
- border-color: $slider-focus-border;
184
- border: solid 18px $slider-focus-border;
184
+ border-color: theme-apply($slider-focus-border);
185
+ border: solid 18px theme-apply($slider-focus-border);
185
186
  bottom: -24px;
186
187
  right: -24px;
187
- background-clip: padding-box;
188
+ background-clip: padding-box;
188
189
  }
189
190
  }
190
191
 
@@ -194,7 +195,7 @@
194
195
  }
195
196
  }
196
197
  }
197
-
198
+
198
199
  }
199
200
  }
200
201