@mediusinc/mng-commons-layout 5.0.0-rc.0

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 (194) hide show
  1. package/README.md +13 -0
  2. package/assets/fonts/poppins-v20-latin-500.woff +0 -0
  3. package/assets/fonts/poppins-v20-latin-500.woff2 +0 -0
  4. package/assets/fonts/poppins-v20-latin-600.woff +0 -0
  5. package/assets/fonts/poppins-v20-latin-600.woff2 +0 -0
  6. package/assets/fonts/poppins-v20-latin-700.woff +0 -0
  7. package/assets/fonts/poppins-v20-latin-700.woff2 +0 -0
  8. package/assets/fonts/poppins-v20-latin-regular.woff +0 -0
  9. package/assets/fonts/poppins-v20-latin-regular.woff2 +0 -0
  10. package/assets/images/effect-ondark.png +0 -0
  11. package/assets/images/effect-ondark.svg +38 -0
  12. package/assets/images/effect-ondark@2x.png +0 -0
  13. package/assets/images/effect-onlight.png +0 -0
  14. package/assets/images/effect-onlight.svg +38 -0
  15. package/assets/images/effect-onlight@2x.png +0 -0
  16. package/assets/images/pages/exception-ondark.png +0 -0
  17. package/assets/images/pages/exception-onlight.png +0 -0
  18. package/assets/images/pages/login-ondark.png +0 -0
  19. package/assets/images/pages/login-onlight.png +0 -0
  20. package/esm2022/index.mjs +23 -0
  21. package/esm2022/lib/components/breadcrumb.component.mjs +30 -0
  22. package/esm2022/lib/components/footer.component.mjs +28 -0
  23. package/esm2022/lib/components/main-layout.component.mjs +99 -0
  24. package/esm2022/lib/components/menu-item.component.mjs +275 -0
  25. package/esm2022/lib/components/menu.component.mjs +40 -0
  26. package/esm2022/lib/components/sidebar.component.mjs +61 -0
  27. package/esm2022/lib/components/topbar-user.component.mjs +39 -0
  28. package/esm2022/lib/components/topbar.component.mjs +57 -0
  29. package/esm2022/lib/components/version.component.mjs +63 -0
  30. package/esm2022/lib/helpers/route-builder.mjs +11 -0
  31. package/esm2022/lib/models/layout-state.model.mjs +2 -0
  32. package/esm2022/lib/models/menu.model.mjs +2 -0
  33. package/esm2022/lib/provide.mjs +23 -0
  34. package/esm2022/lib/services/layout-feature-config.token.mjs +3 -0
  35. package/esm2022/lib/services/main-layout.component.service.mjs +71 -0
  36. package/esm2022/lib/services/menu.service.mjs +120 -0
  37. package/esm2022/lib/services/version.service.mjs +45 -0
  38. package/esm2022/mediusinc-mng-commons-layout.mjs +5 -0
  39. package/fesm2022/mediusinc-mng-commons-layout.mjs +878 -0
  40. package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -0
  41. package/index.d.ts +17 -0
  42. package/lib/components/breadcrumb.component.d.ts +10 -0
  43. package/lib/components/footer.component.d.ts +12 -0
  44. package/lib/components/main-layout.component.d.ts +27 -0
  45. package/lib/components/menu-item.component.d.ts +40 -0
  46. package/lib/components/menu.component.d.ts +14 -0
  47. package/lib/components/sidebar.component.d.ts +19 -0
  48. package/lib/components/topbar-user.component.d.ts +15 -0
  49. package/lib/components/topbar.component.d.ts +22 -0
  50. package/lib/components/version.component.d.ts +18 -0
  51. package/lib/helpers/route-builder.d.ts +6 -0
  52. package/lib/models/layout-state.model.d.ts +10 -0
  53. package/lib/models/menu.model.d.ts +4 -0
  54. package/lib/provide.d.ts +8 -0
  55. package/lib/services/layout-feature-config.token.d.ts +18 -0
  56. package/lib/services/main-layout.component.service.d.ts +17 -0
  57. package/lib/services/menu.service.d.ts +22 -0
  58. package/lib/services/version.service.d.ts +14 -0
  59. package/package.json +35 -0
  60. package/scss/commons-dark.scss +9 -0
  61. package/scss/commons-light.scss +9 -0
  62. package/scss/layout/_animation.scss +53 -0
  63. package/scss/layout/_breadcrumb.scss +97 -0
  64. package/scss/layout/_config.scss +42 -0
  65. package/scss/layout/_content.scss +3 -0
  66. package/scss/layout/_fonts.scss +40 -0
  67. package/scss/layout/_layout_dark.scss +12 -0
  68. package/scss/layout/_layout_light.scss +12 -0
  69. package/scss/layout/_main.scss +54 -0
  70. package/scss/layout/_profile.scss +10 -0
  71. package/scss/layout/_responsive.scss +131 -0
  72. package/scss/layout/_sidebar_drawer.scss +285 -0
  73. package/scss/layout/_sidebar_horizontal.scss +168 -0
  74. package/scss/layout/_sidebar_reveal.scss +203 -0
  75. package/scss/layout/_sidebar_slim.scss +157 -0
  76. package/scss/layout/_sidebar_slim_plus.scss +166 -0
  77. package/scss/layout/_sidebar_vertical.scss +178 -0
  78. package/scss/layout/_topbar.scss +174 -0
  79. package/scss/layout/_typography.scss +67 -0
  80. package/scss/layout/_utils.scss +33 -0
  81. package/scss/layout/layout.scss +24 -0
  82. package/scss/layout/mng/_mng_layout_footer.scss +39 -0
  83. package/scss/layout/mng/_mng_layout_menu.scss +10 -0
  84. package/scss/layout/mng/_mng_layout_styles.scss +3 -0
  85. package/scss/layout/mng/_mng_layout_topbar.scss +18 -0
  86. package/scss/layout/preloading.scss +84 -0
  87. package/scss/theme/extensions/_fullcalendar.scss +328 -0
  88. package/scss/theme/theme-base/_colors.scss +17 -0
  89. package/scss/theme/theme-base/_common.scss +76 -0
  90. package/scss/theme/theme-base/_components.scss +110 -0
  91. package/scss/theme/theme-base/_mixins.scss +337 -0
  92. package/scss/theme/theme-base/components/button/_button.scss +576 -0
  93. package/scss/theme/theme-base/components/button/_speeddial.scss +96 -0
  94. package/scss/theme/theme-base/components/button/_splitbutton.scss +348 -0
  95. package/scss/theme/theme-base/components/data/_carousel.scss +37 -0
  96. package/scss/theme/theme-base/components/data/_datatable.scss +338 -0
  97. package/scss/theme/theme-base/components/data/_dataview.scss +46 -0
  98. package/scss/theme/theme-base/components/data/_filter.scss +137 -0
  99. package/scss/theme/theme-base/components/data/_orderlist.scss +114 -0
  100. package/scss/theme/theme-base/components/data/_organizationchart.scss +50 -0
  101. package/scss/theme/theme-base/components/data/_paginator.scss +92 -0
  102. package/scss/theme/theme-base/components/data/_picklist.scss +114 -0
  103. package/scss/theme/theme-base/components/data/_timeline.scss +35 -0
  104. package/scss/theme/theme-base/components/data/_tree.scss +150 -0
  105. package/scss/theme/theme-base/components/data/_treetable.scss +255 -0
  106. package/scss/theme/theme-base/components/data/_virtualscroller.scss +28 -0
  107. package/scss/theme/theme-base/components/file/_fileupload.scss +64 -0
  108. package/scss/theme/theme-base/components/input/_autocomplete.scss +136 -0
  109. package/scss/theme/theme-base/components/input/_calendar.scss +267 -0
  110. package/scss/theme/theme-base/components/input/_cascadeselect.scss +135 -0
  111. package/scss/theme/theme-base/components/input/_checkbox.scss +94 -0
  112. package/scss/theme/theme-base/components/input/_chips.scss +65 -0
  113. package/scss/theme/theme-base/components/input/_colorpicker.scss +19 -0
  114. package/scss/theme/theme-base/components/input/_dropdown.scss +151 -0
  115. package/scss/theme/theme-base/components/input/_editor.scss +122 -0
  116. package/scss/theme/theme-base/components/input/_inputgroup.scss +74 -0
  117. package/scss/theme/theme-base/components/input/_inputmask.scss +16 -0
  118. package/scss/theme/theme-base/components/input/_inputnumber.scss +28 -0
  119. package/scss/theme/theme-base/components/input/_inputswitch.scss +60 -0
  120. package/scss/theme/theme-base/components/input/_inputtext.scss +100 -0
  121. package/scss/theme/theme-base/components/input/_listbox.scss +97 -0
  122. package/scss/theme/theme-base/components/input/_multiselect.scss +177 -0
  123. package/scss/theme/theme-base/components/input/_password.scss +52 -0
  124. package/scss/theme/theme-base/components/input/_radiobutton.scss +78 -0
  125. package/scss/theme/theme-base/components/input/_rating.scss +60 -0
  126. package/scss/theme/theme-base/components/input/_selectbutton.scss +50 -0
  127. package/scss/theme/theme-base/components/input/_slider.scss +75 -0
  128. package/scss/theme/theme-base/components/input/_togglebutton.scss +48 -0
  129. package/scss/theme/theme-base/components/input/_treeselect.scss +139 -0
  130. package/scss/theme/theme-base/components/menu/_breadcrumb.scss +42 -0
  131. package/scss/theme/theme-base/components/menu/_contextmenu.scss +39 -0
  132. package/scss/theme/theme-base/components/menu/_dock.scss +95 -0
  133. package/scss/theme/theme-base/components/menu/_megamenu.scss +55 -0
  134. package/scss/theme/theme-base/components/menu/_menu.scss +37 -0
  135. package/scss/theme/theme-base/components/menu/_menubar.scss +140 -0
  136. package/scss/theme/theme-base/components/menu/_panelmenu.scss +153 -0
  137. package/scss/theme/theme-base/components/menu/_slidemenu.scss +59 -0
  138. package/scss/theme/theme-base/components/menu/_steps.scss +56 -0
  139. package/scss/theme/theme-base/components/menu/_tabmenu.scss +73 -0
  140. package/scss/theme/theme-base/components/menu/_tieredmenu.scss +43 -0
  141. package/scss/theme/theme-base/components/messages/_inlinemessage.scss +69 -0
  142. package/scss/theme/theme-base/components/messages/_message.scss +107 -0
  143. package/scss/theme/theme-base/components/messages/_toast.scss +99 -0
  144. package/scss/theme/theme-base/components/misc/_avatar.scss +30 -0
  145. package/scss/theme/theme-base/components/misc/_badge.scss +48 -0
  146. package/scss/theme/theme-base/components/misc/_blockui.scss +0 -0
  147. package/scss/theme/theme-base/components/misc/_chip.scss +42 -0
  148. package/scss/theme/theme-base/components/misc/_inplace.scss +16 -0
  149. package/scss/theme/theme-base/components/misc/_progressbar.scss +17 -0
  150. package/scss/theme/theme-base/components/misc/_scrolltop.scss +25 -0
  151. package/scss/theme/theme-base/components/misc/_skeleton.scss +8 -0
  152. package/scss/theme/theme-base/components/misc/_tag.scss +40 -0
  153. package/scss/theme/theme-base/components/misc/_terminal.scss +12 -0
  154. package/scss/theme/theme-base/components/multimedia/_galleria.scss +155 -0
  155. package/scss/theme/theme-base/components/multimedia/_image.scss +49 -0
  156. package/scss/theme/theme-base/components/overlay/_confirmpopup.scss +70 -0
  157. package/scss/theme/theme-base/components/overlay/_dialog.scss +69 -0
  158. package/scss/theme/theme-base/components/overlay/_overlaypanel.scss +62 -0
  159. package/scss/theme/theme-base/components/overlay/_sidebar.scss +27 -0
  160. package/scss/theme/theme-base/components/overlay/_tooltip.scss +33 -0
  161. package/scss/theme/theme-base/components/panel/_accordion.scss +119 -0
  162. package/scss/theme/theme-base/components/panel/_card.scss +30 -0
  163. package/scss/theme/theme-base/components/panel/_divider.scss +31 -0
  164. package/scss/theme/theme-base/components/panel/_fieldset.scss +47 -0
  165. package/scss/theme/theme-base/components/panel/_panel.scss +63 -0
  166. package/scss/theme/theme-base/components/panel/_scrollpanel.scss +6 -0
  167. package/scss/theme/theme-base/components/panel/_splitter.scss +19 -0
  168. package/scss/theme/theme-base/components/panel/_tabview.scss +82 -0
  169. package/scss/theme/theme-base/components/panel/_toolbar.scss +11 -0
  170. package/scss/theme/theme-base/mng/_mng_mixins.scss +69 -0
  171. package/scss/theme/theme-base/mng/_mng_theme_autocomplete.scss +34 -0
  172. package/scss/theme/theme-base/mng/_mng_theme_button.scss +68 -0
  173. package/scss/theme/theme-base/mng/_mng_theme_datatable.scss +153 -0
  174. package/scss/theme/theme-base/mng/_mng_theme_datepicker.scss +21 -0
  175. package/scss/theme/theme-base/mng/_mng_theme_dialog.scss +206 -0
  176. package/scss/theme/theme-base/mng/_mng_theme_dropdown.scss +32 -0
  177. package/scss/theme/theme-base/mng/_mng_theme_fileupload.scss +24 -0
  178. package/scss/theme/theme-base/mng/_mng_theme_forms.scss +66 -0
  179. package/scss/theme/theme-base/mng/_mng_theme_image.scss +27 -0
  180. package/scss/theme/theme-base/mng/_mng_theme_input.scss +31 -0
  181. package/scss/theme/theme-base/mng/_mng_theme_menu.scss +5 -0
  182. package/scss/theme/theme-base/mng/_mng_theme_multiselect.scss +20 -0
  183. package/scss/theme/theme-base/mng/_mng_theme_styles.scss +17 -0
  184. package/scss/theme/theme-base/mng/_mng_theme_tableview.scss +97 -0
  185. package/scss/theme/theme-base/mng/_mng_theme_tabview.scss +14 -0
  186. package/scss/theme/theme-base/mng/_mng_theme_toast.scss +3 -0
  187. package/scss/theme/theme-base/mng/_mng_theme_toolbar.scss +5 -0
  188. package/scss/theme/theme-base/mng/_mng_variables.scss +15 -0
  189. package/scss/theme/theme-dark/_extensions.scss +109 -0
  190. package/scss/theme/theme-dark/_variables.scss +940 -0
  191. package/scss/theme/theme-dark/blue/theme.scss +14 -0
  192. package/scss/theme/theme-light/_extensions.scss +109 -0
  193. package/scss/theme/theme-light/_variables.scss +936 -0
  194. package/scss/theme/theme-light/blue/theme.scss +14 -0
@@ -0,0 +1,267 @@
1
+ p-calendar.ng-dirty.ng-invalid > .p-calendar > .p-inputtext {
2
+ @include invalid-input();
3
+ }
4
+
5
+ .p-calendar:not(.p-calendar-disabled).p-focus > .p-inputtext {
6
+ @include focused-input();
7
+ }
8
+
9
+ .p-datepicker {
10
+ padding: $calendarPadding;
11
+ background: $calendarInlineBg;
12
+ color: $calendarTextColor;
13
+ border: $calendarBorder;
14
+ border-radius: $borderRadius;
15
+
16
+ &:not(.p-datepicker-inline) {
17
+ background: $calendarBg;
18
+ border: $calendarOverlayBorder;
19
+ box-shadow: $inputOverlayShadow;
20
+
21
+ .p-datepicker-header {
22
+ background: $calendarHeaderBg;
23
+ }
24
+ }
25
+
26
+ .p-datepicker-header {
27
+ padding: $calendarHeaderPadding;
28
+ color: $calendarHeaderTextColor;
29
+ background: $calendarInlineHeaderBg;
30
+ font-weight: $calendarHeaderFontWeight;
31
+ margin: $inputListHeaderMargin;
32
+ border-bottom: $calendarHeaderBorder;
33
+ border-top-right-radius: $borderRadius;
34
+ border-top-left-radius: $borderRadius;
35
+
36
+ .p-datepicker-prev,
37
+ .p-datepicker-next {
38
+ @include action-icon();
39
+ }
40
+
41
+ .p-datepicker-title {
42
+ line-height: $actionIconHeight;
43
+
44
+ .p-datepicker-year,
45
+ .p-datepicker-month {
46
+ color: $calendarHeaderTextColor;
47
+ transition: $actionIconTransition;
48
+ font-weight: $calendarHeaderFontWeight;
49
+ padding: $calendarHeaderCellPadding;
50
+
51
+ &:enabled:hover {
52
+ color: $calendarMonthYearHeaderHoverTextColor;
53
+ }
54
+ }
55
+
56
+ .p-datepicker-month {
57
+ margin-right: $inlineSpacing;
58
+ }
59
+ }
60
+ }
61
+
62
+ table {
63
+ font-size: $fontSize;
64
+ margin: $calendarTableMargin;
65
+
66
+ th {
67
+ padding: $calendarHeaderCellPadding;
68
+
69
+ > span {
70
+ width: $calendarCellDateWidth;
71
+ height: $calendarCellDateHeight;
72
+ }
73
+ }
74
+
75
+ td {
76
+ padding: $calendarCellDatePadding;
77
+
78
+ > span {
79
+ width: $calendarCellDateWidth;
80
+ height: $calendarCellDateHeight;
81
+ border-radius: $calendarCellDateBorderRadius;
82
+ transition: $listItemTransition;
83
+ border: $calendarCellDateBorder;
84
+
85
+ &.p-highlight {
86
+ color: $highlightTextColor;
87
+ background: $highlightBg;
88
+ }
89
+
90
+ &:focus {
91
+ @include focused();
92
+ }
93
+ }
94
+
95
+ &.p-datepicker-today {
96
+ > span {
97
+ background: $calendarCellDateTodayBg;
98
+ color: $calendarCellDateTodayTextColor;
99
+ border-color: $calendarCellDateTodayBorderColor;
100
+
101
+ &.p-highlight {
102
+ color: $highlightTextColor;
103
+ background: $highlightBg;
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+
110
+ .p-datepicker-buttonbar {
111
+ padding: $calendarButtonBarPadding;
112
+ border-top: $divider;
113
+
114
+ .p-button {
115
+ width: auto;
116
+ }
117
+ }
118
+
119
+ .p-timepicker {
120
+ border-top: $divider;
121
+ padding: $calendarTimePickerPadding;
122
+
123
+ button {
124
+ @include action-icon();
125
+
126
+ &:last-child {
127
+ margin-top: 0.2em;
128
+ }
129
+ }
130
+
131
+ span {
132
+ font-size: $calendarTimePickerTimeFontSize;
133
+ }
134
+
135
+ > div {
136
+ padding: $calendarTimePickerElementPadding;
137
+ }
138
+ }
139
+
140
+ &.p-datepicker-timeonly {
141
+ .p-timepicker {
142
+ border-top: 0 none;
143
+ }
144
+ }
145
+
146
+ .p-monthpicker {
147
+ margin: $calendarTableMargin;
148
+
149
+ .p-monthpicker-month {
150
+ padding: $calendarCellDatePadding;
151
+ transition: $listItemTransition;
152
+ border-radius: $borderRadius;
153
+
154
+ &.p-highlight {
155
+ color: $highlightTextColor;
156
+ background: $highlightBg;
157
+ }
158
+ }
159
+ }
160
+
161
+ .p-yearpicker {
162
+ margin: $calendarTableMargin;
163
+
164
+ .p-yearpicker-year {
165
+ padding: $calendarCellDatePadding;
166
+ transition: $listItemTransition;
167
+ border-radius: $borderRadius;
168
+
169
+ &.p-highlight {
170
+ color: $highlightTextColor;
171
+ background: $highlightBg;
172
+ }
173
+ }
174
+ }
175
+
176
+ &.p-datepicker-multiple-month {
177
+ .p-datepicker-group {
178
+ border-left: $divider;
179
+ padding-right: $calendarPadding;
180
+ padding-left: $calendarPadding;
181
+ padding-top: 0;
182
+ padding-bottom: 0;
183
+
184
+ &:first-child {
185
+ padding-left: 0;
186
+ border-left: 0 none;
187
+ }
188
+
189
+ &:last-child {
190
+ padding-right: 0;
191
+ }
192
+ }
193
+ }
194
+
195
+ &:not(.p-disabled) {
196
+ table {
197
+ td {
198
+ span:not(.p-highlight):not(.p-disabled) {
199
+ &:hover {
200
+ background: $calendarCellDateHoverBg;
201
+ }
202
+
203
+ &:focus {
204
+ @include focused();
205
+ }
206
+ }
207
+ }
208
+ }
209
+
210
+ .p-monthpicker {
211
+ .p-monthpicker-month {
212
+ &:not(.p-disabled) {
213
+ &:not(.p-highlight):hover {
214
+ background: $calendarCellDateHoverBg;
215
+ }
216
+
217
+ &:focus {
218
+ @include focused();
219
+ }
220
+ }
221
+ }
222
+ }
223
+
224
+ .p-yearpicker {
225
+ .p-yearpicker-year {
226
+ &:not(.p-disabled) {
227
+ &:not(.p-highlight):hover {
228
+ background: $calendarCellDateHoverBg;
229
+ }
230
+
231
+ &:focus {
232
+ @include focused();
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+
240
+ p-calendar.p-calendar-clearable {
241
+ .p-inputtext {
242
+ padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
243
+ }
244
+
245
+ .p-calendar-clear-icon {
246
+ color: $inputIconColor;
247
+ right: nth($inputPadding, 2);
248
+ }
249
+ }
250
+
251
+ p-calendar.p-calendar-clearable .p-calendar-w-btn {
252
+ .p-calendar-clear-icon {
253
+ color: $inputIconColor;
254
+ right: $buttonIconOnlyWidth + nth($inputPadding, 2);
255
+ }
256
+ }
257
+
258
+ @media screen and (max-width: $calendarBreakpoint) {
259
+ .p-datepicker {
260
+ table {
261
+ th,
262
+ td {
263
+ padding: $calendarCellDatePaddingSM;
264
+ }
265
+ }
266
+ }
267
+ }
@@ -0,0 +1,135 @@
1
+ @use 'sass:math';
2
+ .p-cascadeselect {
3
+ background: $inputBg;
4
+ border: $inputBorder;
5
+ transition: $formElementTransition;
6
+ border-radius: $borderRadius;
7
+
8
+ &:not(.p-disabled):hover {
9
+ border-color: $inputHoverBorderColor;
10
+ }
11
+
12
+ &:not(.p-disabled).p-focus {
13
+ @include focused-input();
14
+ }
15
+
16
+ .p-cascadeselect-label {
17
+ background: transparent;
18
+ border: 0 none;
19
+ padding: $inputPadding;
20
+
21
+ &.p-placeholder {
22
+ color: $inputPlaceholderTextColor;
23
+ }
24
+
25
+ &:enabled:focus {
26
+ outline: 0 none;
27
+ box-shadow: none;
28
+ }
29
+ }
30
+
31
+ .p-cascadeselect-trigger {
32
+ background: transparent;
33
+ color: $inputIconColor;
34
+ width: $inputGroupAddOnMinWidth;
35
+ border-top-right-radius: $borderRadius;
36
+ border-bottom-right-radius: $borderRadius;
37
+ }
38
+
39
+ &.p-invalid.p-component {
40
+ @include invalid-input();
41
+ }
42
+ }
43
+
44
+ .p-cascadeselect-panel {
45
+ background: $inputOverlayBg;
46
+ color: $inputListTextColor;
47
+ border: $inputOverlayBorder;
48
+ border-radius: $borderRadius;
49
+ box-shadow: $inputOverlayShadow;
50
+
51
+ .p-cascadeselect-items {
52
+ padding: $inputListPadding;
53
+
54
+ .p-cascadeselect-item {
55
+ margin: $inputListItemMargin;
56
+ border: $inputListItemBorder;
57
+ color: $inputListItemTextColor;
58
+ background: $inputListItemBg;
59
+ transition: $listItemTransition;
60
+ border-radius: $inputListItemBorderRadius;
61
+
62
+ &.p-highlight {
63
+ color: $highlightTextColor;
64
+ background: $highlightBg;
65
+
66
+ &.p-focus {
67
+ background: $highlightFocusBg;
68
+ }
69
+ }
70
+
71
+ &:not(.p-highlight):not(.p-disabled) {
72
+ &.p-focus {
73
+ color: $inputListItemTextFocusColor;
74
+ background: $inputListItemFocusBg;
75
+ }
76
+
77
+ &:hover {
78
+ color: $inputListItemTextHoverColor;
79
+ background: $inputListItemHoverBg;
80
+ }
81
+ }
82
+
83
+ .p-cascadeselect-item-content {
84
+ padding: $inputListItemPadding;
85
+ }
86
+
87
+ .p-cascadeselect-group-icon {
88
+ font-size: $menuitemSubmenuIconFontSize;
89
+ }
90
+ }
91
+ }
92
+ }
93
+
94
+ .p-input-filled {
95
+ .p-cascadeselect {
96
+ background: $inputFilledBg;
97
+
98
+ &:not(.p-disabled):hover {
99
+ background-color: $inputFilledHoverBg;
100
+ }
101
+
102
+ &:not(.p-disabled).p-focus {
103
+ background-color: $inputFilledFocusBg;
104
+ }
105
+ }
106
+ }
107
+
108
+ p-cascadeselect.ng-dirty.ng-invalid > .p-cascadeselect {
109
+ @include invalid-input();
110
+ }
111
+
112
+ p-cascadeselect.p-cascadeselect-clearable {
113
+ .p-cascadeselect-label {
114
+ padding-right: nth($inputPadding, 2);
115
+ }
116
+
117
+ .p-cascadeselect-clear-icon {
118
+ color: $inputIconColor;
119
+ right: $inputGroupAddOnMinWidth;
120
+ }
121
+ }
122
+
123
+ .p-overlay-modal {
124
+ .p-cascadeselect-sublist {
125
+ .p-cascadeselect-panel {
126
+ box-shadow: none;
127
+ border-radius: 0;
128
+ padding: math.div($inlineSpacing, 2) 0 math.div($inlineSpacing, 2) $inlineSpacing;
129
+ }
130
+ }
131
+
132
+ .p-cascadeselect-item-active > .p-cascadeselect-item-content .p-cascadeselect-group-icon {
133
+ transform: rotate(90deg);
134
+ }
135
+ }
@@ -0,0 +1,94 @@
1
+ .p-checkbox {
2
+ width: $checkboxWidth;
3
+ height: $checkboxHeight;
4
+
5
+ .p-checkbox-box {
6
+ border: $checkboxBorder;
7
+ background: $inputBg;
8
+ width: $checkboxWidth;
9
+ height: $checkboxHeight;
10
+ color: $textColor;
11
+ border-radius: $borderRadius;
12
+ transition: $formElementTransition;
13
+
14
+ .p-checkbox-icon {
15
+ transition-duration: $transitionDuration;
16
+ color: $checkboxIconActiveColor;
17
+ font-size: $checkboxIconFontSize;
18
+ }
19
+
20
+ .p-icon {
21
+ width: $checkboxIconFontSize;
22
+ height: $checkboxIconFontSize;
23
+ }
24
+
25
+ &.p-highlight {
26
+ border-color: $checkboxActiveBorderColor;
27
+ background: $checkboxActiveBg;
28
+ }
29
+ }
30
+
31
+ &:not(.p-checkbox-disabled) {
32
+ .p-checkbox-box {
33
+ &:hover {
34
+ border-color: $inputHoverBorderColor;
35
+ }
36
+
37
+ &.p-focus {
38
+ @include focused-input();
39
+ }
40
+
41
+ &.p-highlight:hover {
42
+ border-color: $checkboxActiveHoverBorderColor;
43
+ background: $checkboxActiveHoverBg;
44
+ color: $checkboxIconActiveHoverColor;
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ p-checkbox.ng-dirty.ng-invalid > .p-checkbox > .p-checkbox-box {
51
+ @include invalid-input();
52
+ }
53
+
54
+ .p-input-filled {
55
+ .p-checkbox {
56
+ .p-checkbox-box {
57
+ background-color: $inputFilledBg;
58
+
59
+ &.p-highlight {
60
+ background: $checkboxActiveBg;
61
+ }
62
+ }
63
+
64
+ &:not(.p-checkbox-disabled) {
65
+ .p-checkbox-box {
66
+ &:hover {
67
+ background-color: $inputFilledHoverBg;
68
+ }
69
+
70
+ &.p-highlight:hover {
71
+ background: $checkboxActiveHoverBg;
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ .p-checkbox-label {
79
+ margin-left: $inlineSpacing;
80
+ }
81
+
82
+ @if ($highlightBg == $checkboxActiveBg) {
83
+ .p-highlight {
84
+ .p-checkbox {
85
+ .p-checkbox-box {
86
+ border-color: $checkboxIconActiveColor;
87
+ }
88
+ }
89
+ }
90
+ }
91
+
92
+ p-tristatecheckbox.ng-dirty.ng-invalid > .p-checkbox > .p-checkbox-box {
93
+ @include invalid-input();
94
+ }
@@ -0,0 +1,65 @@
1
+ @use 'sass:math';
2
+
3
+ .p-chips {
4
+ &:not(.p-disabled):hover {
5
+ .p-chips-multiple-container {
6
+ border-color: $inputHoverBorderColor;
7
+ }
8
+ }
9
+
10
+ &:not(.p-disabled).p-focus {
11
+ .p-chips-multiple-container {
12
+ @include focused-input();
13
+ }
14
+ }
15
+
16
+ .p-chips-multiple-container {
17
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
18
+ gap: $inlineSpacing;
19
+
20
+ .p-chips-token {
21
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
22
+ margin-right: $inlineSpacing;
23
+ background: $chipBg;
24
+ color: $chipTextColor;
25
+ border-radius: $chipBorderRadius;
26
+
27
+ &.p-focus {
28
+ background: $chipFocusBg;
29
+ color: $chipFocusTextColor;
30
+ }
31
+
32
+ .p-chips-token-icon {
33
+ margin-left: $inlineSpacing;
34
+ }
35
+ }
36
+
37
+ .p-chips-input-token {
38
+ padding: math.div(nth($inputPadding, 1), 2) 0;
39
+
40
+ input {
41
+ font-family: var(--font-family);
42
+ font-feature-settings: var(--font-feature-settings, normal);
43
+ font-size: $inputTextFontSize;
44
+ color: $textColor;
45
+ padding: 0;
46
+ margin: 0;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ p-chips.ng-dirty.ng-invalid > .p-chips > .p-inputtext {
53
+ @include invalid-input();
54
+ }
55
+
56
+ p-chips.p-chips-clearable {
57
+ .p-inputtext {
58
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
59
+ }
60
+
61
+ .p-chips-clear-icon {
62
+ color: $inputIconColor;
63
+ right: nth($inputPadding, 2);
64
+ }
65
+ }
@@ -0,0 +1,19 @@
1
+ .p-colorpicker-preview,
2
+ .p-fluid .p-colorpicker-preview.p-inputtext {
3
+ width: $colorPickerPreviewWidth;
4
+ height: $colorPickerPreviewHeight;
5
+ }
6
+
7
+ .p-colorpicker-panel {
8
+ background: $colorPickerBg;
9
+ border: $colorPickerBorder;
10
+
11
+ .p-colorpicker-color-handle,
12
+ .p-colorpicker-hue-handle {
13
+ border-color: $colorPickerHandleColor;
14
+ }
15
+ }
16
+
17
+ .p-colorpicker-overlay-panel {
18
+ box-shadow: $inputOverlayShadow;
19
+ }