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,6 +1,8 @@
1
- @import "../../../themes/core/colors";
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/color";
2
- @import "../../../themes/core/colors";
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-3-opacity;
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/color";
2
- @import "../../../themes/core/colors";
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-3-opacity;
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/core/colors";
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);
@@ -182,3 +182,12 @@
182
182
  .ck-content hr {
183
183
  background: #ccc;
184
184
  }
185
+
186
+ .ck-font-size-dropdown .ck-dropdown__panel ul{
187
+ max-height: 320px;
188
+ overflow-y: auto;
189
+ }
190
+
191
+ .ck-font-size-dropdown .ck-dropdown__panel ul li .ck-fontsize-option .ck-button__label{
192
+ line-height: 50px;
193
+ }
@@ -1,10 +1,11 @@
1
- @import './core/colors';
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 "../../themes/core/colors";
2
+ @import "../theme/variable";
3
+ @import "../theme/mixins";
3
4
 
4
5
  .qms-app-bar-dark {
5
- background: #00324E !important;
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: #E4E4E4 !important;
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 '../color.scss';
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
- // opacity: 1;
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
- &:active:not(.mat-checkbox-disabled) {
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 "colors";
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
  }
@@ -1,10 +1,12 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
3
+
2
4
  .mat-chip{
3
5
  &.qms-chip{
4
6
  font-size: 0.875rem;
5
7
  font-weight: 400;
6
8
  font-family: Open Sans, Arial, Sans-Serif;
7
-
9
+
8
10
  &.mat-standard-chip{
9
11
  background-color: black(0.04);
10
12
  border-radius: 4px;
@@ -34,10 +36,10 @@
34
36
  opacity: .08;
35
37
  }
36
38
  .mat-chip-ripple{
37
- border: 2px solid $active;
39
+ border: 2px solid theme-apply($active);
38
40
  }
39
41
  }
40
-
42
+
41
43
  .mat-icon.leading-icon{
42
44
  padding: 4px;
43
45
  }
@@ -60,23 +62,23 @@
60
62
  width: 1.5rem;
61
63
  height: 1.5rem;
62
64
  }
63
-
65
+
64
66
  &.qms-chip-selected, &.mat-chip-selected.qms-chip-selected{
65
67
  &.mat-standard-chip{
66
68
  background-color: #E5EEFB;
67
- color: $active;
69
+ color: theme-apply($active);
68
70
  .mat-icon.leading-icon{
69
- color: $active;
71
+ color: theme-apply($active);
70
72
  }
71
73
  }
72
-
74
+
73
75
 
74
76
  &.mat-standard-chip:hover, &.mat-standard-chip:focus{
75
77
  &::after{
76
78
  background-color: black(0.12);
77
79
  }
78
80
  }
79
-
81
+
80
82
  &.mat-standard-chip:focus{
81
83
  .mat-chip-ripple{
82
84
  border: 1px solid black(0.12);
@@ -93,4 +95,4 @@
93
95
  padding: 4px 10px;
94
96
  font-size: 0.75em;
95
97
  }
96
- }
98
+ }
@@ -1,16 +1,17 @@
1
- @import "colors";
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
2
3
  @import "typography";
3
4
 
4
5
  .qms-date {
5
6
  font-family: Open Sans;
6
7
 
7
8
  .mat-calendar-body-selected {
8
- background-color: $primary;
9
+ background-color: theme-apply($primary);
9
10
  }
10
11
 
11
12
  .mat-calendar-body-in-range {
12
13
  &:before {
13
- background-color: $primary-light-32-opacity;
14
+ background-color: theme-apply($primary-light-32-opacity);
14
15
  }
15
16
 
16
17
  .mat-calendar-body-cell-content,
@@ -30,7 +31,7 @@
30
31
  .mat-calendar-period-button {
31
32
  font-weight: 700;
32
33
  font-size: 1rem;
33
- color: $default-color;
34
+ color: theme-apply($default-color);
34
35
  }
35
36
 
36
37
  .mat-calendar-period-button {
@@ -62,8 +63,8 @@
62
63
  > .mat-calendar-body-cell-content {
63
64
  &:not(.mat-calendar-body-selected) {
64
65
  &:not(.mat-calendar-body-comparison-identical) {
65
- background-color: $primary-light-3-opacity;
66
- color: $primary;
66
+ background-color: theme-apply($primary-light-12-opacity);
67
+ color: theme-apply($primary);
67
68
  }
68
69
  }
69
70
  }
@@ -75,8 +76,8 @@
75
76
  > .mat-calendar-body-cell-content {
76
77
  &:not(.mat-calendar-body-selected) {
77
78
  &:not(.mat-calendar-body-comparison-identical) {
78
- background-color: $primary-light-3-opacity;
79
- color: $primary;
79
+ background-color: theme-apply($primary-light-12-opacity);
80
+ color: theme-apply($primary);
80
81
  }
81
82
  }
82
83
  }