@mediusinc/mng-commons-layout 6.0.0-rc.5 → 6.0.0-rc.6

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 (195) hide show
  1. package/components/pages/error/index.d.ts +1 -3
  2. package/components/pages/not-found/index.d.ts +1 -3
  3. package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs +6 -7
  4. package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs.map +1 -1
  5. package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs +3 -3
  6. package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs.map +1 -1
  7. package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs +6 -7
  8. package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs.map +1 -1
  9. package/fesm2022/mediusinc-mng-commons-layout-components.mjs +62 -58
  10. package/fesm2022/mediusinc-mng-commons-layout-components.mjs.map +1 -1
  11. package/fesm2022/mediusinc-mng-commons-layout.mjs +21 -14
  12. package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -1
  13. package/package.json +11 -21
  14. package/scss/commons.scss +1 -0
  15. package/scss/layout/_breadcrumb.scss +14 -11
  16. package/scss/layout/_config.scss +75 -7
  17. package/scss/layout/_content.scss +1 -1
  18. package/scss/layout/_main.scss +7 -9
  19. package/scss/layout/_profile.scss +1 -1
  20. package/scss/layout/_responsive.scss +4 -2
  21. package/scss/layout/_sass_variables.scss +1 -0
  22. package/scss/layout/_sidebar_drawer.scss +6 -5
  23. package/scss/layout/_sidebar_horizontal.scss +15 -11
  24. package/scss/layout/_sidebar_reveal.scss +16 -10
  25. package/scss/layout/_sidebar_slim.scss +5 -3
  26. package/scss/layout/_sidebar_slim_plus.scss +5 -2
  27. package/scss/layout/_sidebar_vertical.scss +13 -7
  28. package/scss/layout/_topbar.scss +75 -45
  29. package/scss/layout/_utils.scss +1 -5
  30. package/scss/layout/layout.scss +29 -22
  31. package/scss/layout/mng/{_mng_layout_menu.scss → layout/_mng_layout_menu.scss} +0 -4
  32. package/scss/layout/mng/{_mng_layout_topbar.scss → layout/_mng_layout_topbar.scss} +2 -2
  33. package/scss/layout/mng/theme/_mng_theme_button.scss +63 -0
  34. package/scss/{theme/theme-base/mng → layout/mng/theme}/_mng_theme_dialog.scss +44 -46
  35. package/scss/{theme/theme-base/mng → layout/mng/theme}/_mng_theme_toast.scss +4 -4
  36. package/scss/layout/mng/theme/_mng_theme_toggleswitch.scss +3 -0
  37. package/scss/layout/mng/variables/_mng-variables-common.scss +22 -0
  38. package/scss/layout/variables/_common.scss +15 -0
  39. package/scss/layout/variables/_dark.scss +10 -0
  40. package/scss/layout/variables/_light.scss +10 -0
  41. package/version-info.json +3 -3
  42. package/esm2022/components/index.mjs +0 -12
  43. package/esm2022/components/lib/components/breadcrumb.component.mjs +0 -29
  44. package/esm2022/components/lib/components/footer.component.mjs +0 -23
  45. package/esm2022/components/lib/components/main-layout.component.mjs +0 -86
  46. package/esm2022/components/lib/components/menu-item.component.mjs +0 -169
  47. package/esm2022/components/lib/components/menu.component.mjs +0 -36
  48. package/esm2022/components/lib/components/settings.component.mjs +0 -87
  49. package/esm2022/components/lib/components/sidebar.component.mjs +0 -51
  50. package/esm2022/components/lib/components/topbar-user.component.mjs +0 -51
  51. package/esm2022/components/lib/components/topbar.component.mjs +0 -37
  52. package/esm2022/components/lib/components/version.component.mjs +0 -95
  53. package/esm2022/components/mediusinc-mng-commons-layout-components.mjs +0 -5
  54. package/esm2022/components/pages/error/index.mjs +0 -4
  55. package/esm2022/components/pages/error/lib/error.page.component.mjs +0 -20
  56. package/esm2022/components/pages/error/mediusinc-mng-commons-layout-components-pages-error.mjs +0 -5
  57. package/esm2022/components/pages/main/index.mjs +0 -3
  58. package/esm2022/components/pages/main/lazy/index.mjs +0 -2
  59. package/esm2022/components/pages/main/lazy/lib/route-builder.mjs +0 -11
  60. package/esm2022/components/pages/main/lazy/mediusinc-mng-commons-layout-components-pages-main-lazy.mjs +0 -5
  61. package/esm2022/components/pages/main/lib/main-layout.component.mjs +0 -84
  62. package/esm2022/components/pages/main/lib/route-builder.mjs +0 -12
  63. package/esm2022/components/pages/main/mediusinc-mng-commons-layout-components-pages-main.mjs +0 -5
  64. package/esm2022/components/pages/not-found/index.mjs +0 -4
  65. package/esm2022/components/pages/not-found/lib/not-found.page.component.mjs +0 -20
  66. package/esm2022/components/pages/not-found/mediusinc-mng-commons-layout-components-pages-not-found.mjs +0 -5
  67. package/esm2022/index.mjs +0 -13
  68. package/esm2022/lib/helpers/menu-items.mjs +0 -29
  69. package/esm2022/lib/models/layout-state.model.mjs +0 -2
  70. package/esm2022/lib/models/menu.model.mjs +0 -2
  71. package/esm2022/lib/provide.mjs +0 -25
  72. package/esm2022/lib/services/layout-feature-config.token.mjs +0 -3
  73. package/esm2022/lib/services/layout.service.mjs +0 -167
  74. package/esm2022/lib/services/menu.service.mjs +0 -121
  75. package/esm2022/lib/services/version.service.mjs +0 -45
  76. package/esm2022/mediusinc-mng-commons-layout.mjs +0 -5
  77. package/scss/commons-dark.scss +0 -9
  78. package/scss/commons-light.scss +0 -9
  79. package/scss/layout/_animation.scss +0 -53
  80. package/scss/layout/_fonts.scss +0 -40
  81. package/scss/layout/_layout_dark.scss +0 -12
  82. package/scss/layout/_layout_light.scss +0 -12
  83. package/scss/layout/_typography.scss +0 -67
  84. package/scss/layout/mng/_mng_layout_styles.scss +0 -4
  85. package/scss/layout/preloading.scss +0 -84
  86. package/scss/theme/extensions/_fullcalendar.scss +0 -328
  87. package/scss/theme/theme-base/_colors.scss +0 -17
  88. package/scss/theme/theme-base/_common.scss +0 -76
  89. package/scss/theme/theme-base/_components.scss +0 -110
  90. package/scss/theme/theme-base/_mixins.scss +0 -337
  91. package/scss/theme/theme-base/components/button/_button.scss +0 -576
  92. package/scss/theme/theme-base/components/button/_speeddial.scss +0 -96
  93. package/scss/theme/theme-base/components/button/_splitbutton.scss +0 -348
  94. package/scss/theme/theme-base/components/data/_carousel.scss +0 -37
  95. package/scss/theme/theme-base/components/data/_datatable.scss +0 -338
  96. package/scss/theme/theme-base/components/data/_dataview.scss +0 -46
  97. package/scss/theme/theme-base/components/data/_filter.scss +0 -137
  98. package/scss/theme/theme-base/components/data/_orderlist.scss +0 -114
  99. package/scss/theme/theme-base/components/data/_organizationchart.scss +0 -50
  100. package/scss/theme/theme-base/components/data/_paginator.scss +0 -92
  101. package/scss/theme/theme-base/components/data/_picklist.scss +0 -114
  102. package/scss/theme/theme-base/components/data/_timeline.scss +0 -35
  103. package/scss/theme/theme-base/components/data/_tree.scss +0 -150
  104. package/scss/theme/theme-base/components/data/_treetable.scss +0 -255
  105. package/scss/theme/theme-base/components/data/_virtualscroller.scss +0 -28
  106. package/scss/theme/theme-base/components/file/_fileupload.scss +0 -64
  107. package/scss/theme/theme-base/components/input/_autocomplete.scss +0 -136
  108. package/scss/theme/theme-base/components/input/_calendar.scss +0 -267
  109. package/scss/theme/theme-base/components/input/_cascadeselect.scss +0 -135
  110. package/scss/theme/theme-base/components/input/_checkbox.scss +0 -94
  111. package/scss/theme/theme-base/components/input/_chips.scss +0 -65
  112. package/scss/theme/theme-base/components/input/_colorpicker.scss +0 -19
  113. package/scss/theme/theme-base/components/input/_dropdown.scss +0 -151
  114. package/scss/theme/theme-base/components/input/_editor.scss +0 -122
  115. package/scss/theme/theme-base/components/input/_inputgroup.scss +0 -74
  116. package/scss/theme/theme-base/components/input/_inputmask.scss +0 -16
  117. package/scss/theme/theme-base/components/input/_inputnumber.scss +0 -28
  118. package/scss/theme/theme-base/components/input/_inputswitch.scss +0 -60
  119. package/scss/theme/theme-base/components/input/_inputtext.scss +0 -100
  120. package/scss/theme/theme-base/components/input/_listbox.scss +0 -97
  121. package/scss/theme/theme-base/components/input/_multiselect.scss +0 -177
  122. package/scss/theme/theme-base/components/input/_password.scss +0 -52
  123. package/scss/theme/theme-base/components/input/_radiobutton.scss +0 -78
  124. package/scss/theme/theme-base/components/input/_rating.scss +0 -60
  125. package/scss/theme/theme-base/components/input/_selectbutton.scss +0 -50
  126. package/scss/theme/theme-base/components/input/_slider.scss +0 -75
  127. package/scss/theme/theme-base/components/input/_togglebutton.scss +0 -48
  128. package/scss/theme/theme-base/components/input/_treeselect.scss +0 -139
  129. package/scss/theme/theme-base/components/menu/_breadcrumb.scss +0 -42
  130. package/scss/theme/theme-base/components/menu/_contextmenu.scss +0 -39
  131. package/scss/theme/theme-base/components/menu/_dock.scss +0 -95
  132. package/scss/theme/theme-base/components/menu/_megamenu.scss +0 -55
  133. package/scss/theme/theme-base/components/menu/_menu.scss +0 -37
  134. package/scss/theme/theme-base/components/menu/_menubar.scss +0 -140
  135. package/scss/theme/theme-base/components/menu/_panelmenu.scss +0 -153
  136. package/scss/theme/theme-base/components/menu/_slidemenu.scss +0 -59
  137. package/scss/theme/theme-base/components/menu/_steps.scss +0 -56
  138. package/scss/theme/theme-base/components/menu/_tabmenu.scss +0 -73
  139. package/scss/theme/theme-base/components/menu/_tieredmenu.scss +0 -43
  140. package/scss/theme/theme-base/components/messages/_inlinemessage.scss +0 -69
  141. package/scss/theme/theme-base/components/messages/_message.scss +0 -107
  142. package/scss/theme/theme-base/components/messages/_toast.scss +0 -99
  143. package/scss/theme/theme-base/components/misc/_avatar.scss +0 -30
  144. package/scss/theme/theme-base/components/misc/_badge.scss +0 -48
  145. package/scss/theme/theme-base/components/misc/_blockui.scss +0 -0
  146. package/scss/theme/theme-base/components/misc/_chip.scss +0 -42
  147. package/scss/theme/theme-base/components/misc/_inplace.scss +0 -16
  148. package/scss/theme/theme-base/components/misc/_progressbar.scss +0 -17
  149. package/scss/theme/theme-base/components/misc/_scrolltop.scss +0 -25
  150. package/scss/theme/theme-base/components/misc/_skeleton.scss +0 -8
  151. package/scss/theme/theme-base/components/misc/_tag.scss +0 -40
  152. package/scss/theme/theme-base/components/misc/_terminal.scss +0 -12
  153. package/scss/theme/theme-base/components/multimedia/_galleria.scss +0 -155
  154. package/scss/theme/theme-base/components/multimedia/_image.scss +0 -49
  155. package/scss/theme/theme-base/components/overlay/_confirmpopup.scss +0 -70
  156. package/scss/theme/theme-base/components/overlay/_dialog.scss +0 -69
  157. package/scss/theme/theme-base/components/overlay/_overlaypanel.scss +0 -62
  158. package/scss/theme/theme-base/components/overlay/_sidebar.scss +0 -27
  159. package/scss/theme/theme-base/components/overlay/_tooltip.scss +0 -33
  160. package/scss/theme/theme-base/components/panel/_accordion.scss +0 -119
  161. package/scss/theme/theme-base/components/panel/_card.scss +0 -30
  162. package/scss/theme/theme-base/components/panel/_divider.scss +0 -31
  163. package/scss/theme/theme-base/components/panel/_fieldset.scss +0 -47
  164. package/scss/theme/theme-base/components/panel/_panel.scss +0 -63
  165. package/scss/theme/theme-base/components/panel/_scrollpanel.scss +0 -6
  166. package/scss/theme/theme-base/components/panel/_splitter.scss +0 -19
  167. package/scss/theme/theme-base/components/panel/_tabview.scss +0 -82
  168. package/scss/theme/theme-base/components/panel/_toolbar.scss +0 -11
  169. package/scss/theme/theme-base/mng/_mng_mixins.scss +0 -69
  170. package/scss/theme/theme-base/mng/_mng_theme_autocomplete.scss +0 -34
  171. package/scss/theme/theme-base/mng/_mng_theme_button.scss +0 -68
  172. package/scss/theme/theme-base/mng/_mng_theme_datatable.scss +0 -157
  173. package/scss/theme/theme-base/mng/_mng_theme_datepicker.scss +0 -21
  174. package/scss/theme/theme-base/mng/_mng_theme_dropdown.scss +0 -32
  175. package/scss/theme/theme-base/mng/_mng_theme_fileupload.scss +0 -24
  176. package/scss/theme/theme-base/mng/_mng_theme_forms.scss +0 -66
  177. package/scss/theme/theme-base/mng/_mng_theme_image.scss +0 -27
  178. package/scss/theme/theme-base/mng/_mng_theme_input.scss +0 -42
  179. package/scss/theme/theme-base/mng/_mng_theme_menu.scss +0 -5
  180. package/scss/theme/theme-base/mng/_mng_theme_multiselect.scss +0 -20
  181. package/scss/theme/theme-base/mng/_mng_theme_styles.scss +0 -19
  182. package/scss/theme/theme-base/mng/_mng_theme_table.scss +0 -54
  183. package/scss/theme/theme-base/mng/_mng_theme_tableview.scss +0 -41
  184. package/scss/theme/theme-base/mng/_mng_theme_tabview.scss +0 -14
  185. package/scss/theme/theme-base/mng/_mng_theme_tag.scss +0 -11
  186. package/scss/theme/theme-base/mng/_mng_theme_toolbar.scss +0 -5
  187. package/scss/theme/theme-base/mng/_mng_variables.scss +0 -15
  188. package/scss/theme/theme-dark/_extensions.scss +0 -109
  189. package/scss/theme/theme-dark/_variables.scss +0 -941
  190. package/scss/theme/theme-dark/blue/theme.scss +0 -14
  191. package/scss/theme/theme-light/_extensions.scss +0 -109
  192. package/scss/theme/theme-light/_variables.scss +0 -937
  193. package/scss/theme/theme-light/blue/theme.scss +0 -14
  194. /package/scss/layout/mng/{_mng_layout_footer.scss → layout/_mng_layout_footer.scss} +0 -0
  195. /package/scss/layout/mng/{_mng_sidebar_vertical.scss → layout/_mng_sidebar_vertical.scss} +0 -0
@@ -1,151 +0,0 @@
1
- .p-dropdown {
2
- background: $inputBg;
3
- border: $inputBorder;
4
- transition: $formElementTransition;
5
- border-radius: $borderRadius;
6
-
7
- &:not(.p-disabled):hover {
8
- border-color: $inputHoverBorderColor;
9
- }
10
-
11
- &:not(.p-disabled).p-focus {
12
- @include focused-input();
13
- }
14
-
15
- &.p-dropdown-clearable {
16
- .p-dropdown-label {
17
- padding-right: nth($inputPadding, 2) + $primeIconFontSize;
18
- }
19
- }
20
-
21
- .p-dropdown-label {
22
- background: transparent;
23
- border: 0 none;
24
-
25
- &.p-placeholder {
26
- color: $inputPlaceholderTextColor;
27
- }
28
-
29
- &:focus,
30
- &:enabled:focus {
31
- outline: 0 none;
32
- box-shadow: none;
33
- }
34
- }
35
-
36
- .p-dropdown-trigger {
37
- background: transparent;
38
- color: $inputIconColor;
39
- width: $inputGroupAddOnMinWidth;
40
- border-top-right-radius: $borderRadius;
41
- border-bottom-right-radius: $borderRadius;
42
- }
43
-
44
- .p-dropdown-clear-icon {
45
- color: $inputIconColor;
46
- right: $inputGroupAddOnMinWidth;
47
- }
48
-
49
- &.p-invalid.p-component {
50
- @include invalid-input();
51
- }
52
- }
53
-
54
- .p-dropdown-panel {
55
- background: $inputOverlayBg;
56
- color: $inputListTextColor;
57
- border: $inputOverlayBorder;
58
- border-radius: $borderRadius;
59
- box-shadow: $inputOverlayShadow;
60
-
61
- .p-dropdown-header {
62
- padding: $inputListHeaderPadding;
63
- border-bottom: $inputListHeaderBorder;
64
- color: $inputListHeaderTextColor;
65
- background: $inputOverlayHeaderBg;
66
- margin: $inputListHeaderMargin;
67
- border-top-right-radius: $borderRadius;
68
- border-top-left-radius: $borderRadius;
69
-
70
- .p-dropdown-filter {
71
- padding-right: nth($inputPadding, 2) + $primeIconFontSize;
72
- margin-right: -1 * (nth($inputPadding, 2) + $primeIconFontSize);
73
- }
74
-
75
- .p-dropdown-filter-icon {
76
- right: nth($inputPadding, 2);
77
- color: $inputIconColor;
78
- }
79
- }
80
-
81
- .p-dropdown-items {
82
- padding: $inputListPadding;
83
-
84
- .p-dropdown-item {
85
- margin: $inputListItemMargin;
86
- padding: $inputListItemPadding;
87
- border: $inputListItemBorder;
88
- color: $inputListItemTextColor;
89
- background: $inputListItemBg;
90
- transition: $listItemTransition;
91
- border-radius: $inputListItemBorderRadius;
92
-
93
- &.p-highlight {
94
- color: $highlightTextColor;
95
- background: $highlightBg;
96
-
97
- &.p-focus {
98
- background: $highlightFocusBg;
99
- }
100
- }
101
-
102
- &:not(.p-highlight):not(.p-disabled) {
103
- &.p-focus {
104
- color: $inputListItemTextFocusColor;
105
- background: $inputListItemFocusBg;
106
- }
107
-
108
- &:hover {
109
- color: $inputListItemTextHoverColor;
110
- background: $inputListItemHoverBg;
111
- }
112
- }
113
- }
114
-
115
- .p-dropdown-item-group {
116
- margin: $submenuHeaderMargin;
117
- padding: $submenuHeaderPadding;
118
- color: $submenuHeaderTextColor;
119
- background: $submenuHeaderBg;
120
- font-weight: $submenuHeaderFontWeight;
121
- }
122
-
123
- .p-dropdown-empty-message {
124
- padding: $inputListItemPadding;
125
- color: $inputListItemTextColor;
126
- background: $inputListItemBg;
127
- }
128
- }
129
- }
130
-
131
- .p-input-filled {
132
- .p-dropdown {
133
- background: $inputFilledBg;
134
-
135
- &:not(.p-disabled):hover {
136
- background-color: $inputFilledHoverBg;
137
- }
138
-
139
- &:not(.p-disabled).p-focus {
140
- background-color: $inputFilledFocusBg;
141
-
142
- .p-inputtext {
143
- background-color: transparent;
144
- }
145
- }
146
- }
147
- }
148
-
149
- p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
150
- @include invalid-input();
151
- }
@@ -1,122 +0,0 @@
1
- .p-editor-container {
2
- .p-editor-toolbar {
3
- background: $editorToolbarBg;
4
- border-top-right-radius: $borderRadius;
5
- border-top-left-radius: $borderRadius;
6
-
7
- &.ql-snow {
8
- border: $editorToolbarBorder;
9
-
10
- .ql-stroke {
11
- stroke: $editorToolbarIconColor;
12
- }
13
-
14
- .ql-fill {
15
- fill: $editorToolbarIconColor;
16
- }
17
-
18
- .ql-picker {
19
- .ql-picker-label {
20
- border: 0 none;
21
- color: $editorToolbarIconColor;
22
-
23
- &:hover {
24
- color: $editorToolbarIconHoverColor;
25
-
26
- .ql-stroke {
27
- stroke: $editorToolbarIconHoverColor;
28
- }
29
-
30
- .ql-fill {
31
- fill: $editorToolbarIconHoverColor;
32
- }
33
- }
34
- }
35
-
36
- &.ql-expanded {
37
- .ql-picker-label {
38
- color: $editorToolbarIconHoverColor;
39
-
40
- .ql-stroke {
41
- stroke: $editorToolbarIconHoverColor;
42
- }
43
-
44
- .ql-fill {
45
- fill: $editorToolbarIconHoverColor;
46
- }
47
- }
48
-
49
- .ql-picker-options {
50
- background: $inputOverlayBg;
51
- border: $inputOverlayBorder;
52
- box-shadow: $inputOverlayShadow;
53
- border-radius: $borderRadius;
54
- padding: $inputListPadding;
55
-
56
- .ql-picker-item {
57
- color: $inputListItemTextColor;
58
-
59
- &:hover {
60
- color: $inputListItemTextHoverColor;
61
- background: $inputListItemHoverBg;
62
- }
63
- }
64
- }
65
-
66
- &:not(.ql-icon-picker) {
67
- .ql-picker-item {
68
- padding: $inputListItemPadding;
69
- }
70
- }
71
- }
72
- }
73
- }
74
- }
75
-
76
- .p-editor-content {
77
- border-bottom-right-radius: $borderRadius;
78
- border-bottom-left-radius: $borderRadius;
79
-
80
- &.ql-snow {
81
- border: $editorContentBorder;
82
- }
83
-
84
- .ql-editor {
85
- background: $inputBg;
86
- color: $inputTextColor;
87
- border-bottom-right-radius: $borderRadius;
88
- border-bottom-left-radius: $borderRadius;
89
- }
90
- }
91
-
92
- .ql-snow.ql-toolbar button:hover,
93
- .ql-snow.ql-toolbar button:focus {
94
- color: $editorToolbarIconHoverColor;
95
-
96
- .ql-stroke {
97
- stroke: $editorToolbarIconHoverColor;
98
- }
99
-
100
- .ql-fill {
101
- fill: $editorToolbarIconHoverColor;
102
- }
103
- }
104
-
105
- .ql-snow.ql-toolbar button.ql-active,
106
- .ql-snow.ql-toolbar .ql-picker-label.ql-active,
107
- .ql-snow.ql-toolbar .ql-picker-item.ql-selected {
108
- color: $editorIconActiveColor;
109
-
110
- .ql-stroke {
111
- stroke: $editorIconActiveColor;
112
- }
113
-
114
- .ql-fill {
115
- fill: $editorIconActiveColor;
116
- }
117
-
118
- .ql-picker-label {
119
- color: $editorIconActiveColor;
120
- }
121
- }
122
- }
@@ -1,74 +0,0 @@
1
- .p-inputgroup-addon {
2
- background: $inputGroupBg;
3
- color: $inputGroupTextColor;
4
- border-top: $inputBorder;
5
- border-left: $inputBorder;
6
- border-bottom: $inputBorder;
7
- padding: $inputPadding;
8
- min-width: $inputGroupAddOnMinWidth;
9
-
10
- &:last-child {
11
- border-right: $inputBorder;
12
- }
13
- }
14
-
15
- .p-inputgroup {
16
- > .p-component,
17
- > .p-inputwrapper > .p-inputtext,
18
- > .p-float-label > .p-component {
19
- border-radius: 0;
20
- margin: 0;
21
-
22
- + .p-inputgroup-addon {
23
- border-left: 0 none;
24
- }
25
-
26
- &:focus {
27
- z-index: 1;
28
-
29
- ~ label {
30
- z-index: 1;
31
- }
32
- }
33
- }
34
- }
35
-
36
- .p-inputgroup-addon:first-child,
37
- .p-inputgroup button:first-child,
38
- .p-inputgroup input:first-child,
39
- .p-inputgroup > .p-inputwrapper:first-child > .p-component,
40
- .p-inputgroup > .p-inputwrapper:first-child > .p-component > .p-inputtext {
41
- border-top-left-radius: $borderRadius;
42
- border-bottom-left-radius: $borderRadius;
43
- }
44
-
45
- .p-inputgroup .p-float-label:first-child input {
46
- border-top-left-radius: $borderRadius;
47
- border-bottom-left-radius: $borderRadius;
48
- }
49
-
50
- .p-inputgroup-addon:last-child,
51
- .p-inputgroup button:last-child,
52
- .p-inputgroup input:last-child,
53
- .p-inputgroup > .p-inputwrapper:last-child > .p-component,
54
- .p-inputgroup > .p-inputwrapper:last-child > .p-component > .p-inputtext {
55
- border-top-right-radius: $borderRadius;
56
- border-bottom-right-radius: $borderRadius;
57
- }
58
-
59
- .p-inputgroup .p-float-label:last-child input {
60
- border-top-right-radius: $borderRadius;
61
- border-bottom-right-radius: $borderRadius;
62
- }
63
-
64
- .p-fluid {
65
- .p-inputgroup {
66
- .p-button {
67
- width: auto;
68
-
69
- &.p-button-icon-only {
70
- width: $buttonIconOnlyWidth;
71
- }
72
- }
73
- }
74
- }
@@ -1,16 +0,0 @@
1
- @use 'sass:math';
2
-
3
- p-inputmask.ng-dirty.ng-invalid > .p-inputtext {
4
- @include invalid-input();
5
- }
6
-
7
- p-inputmask.p-inputmask-clearable {
8
- .p-inputtext {
9
- padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
10
- }
11
-
12
- .p-inputmask-clear-icon {
13
- color: $inputIconColor;
14
- right: nth($inputPadding, 2);
15
- }
16
- }
@@ -1,28 +0,0 @@
1
- p-inputnumber.ng-dirty.ng-invalid > .p-inputnumber > .p-inputtext {
2
- @include invalid-input();
3
- }
4
-
5
- p-inputnumber.p-inputnumber-clearable {
6
- .p-inputnumber-input {
7
- padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
8
- }
9
-
10
- .p-inputnumber-clear-icon {
11
- color: $inputIconColor;
12
- right: nth($inputPadding, 2);
13
- }
14
- }
15
-
16
- p-inputnumber.p-inputnumber-clearable {
17
- .p-inputnumber-buttons-stacked {
18
- .p-inputnumber-clear-icon {
19
- right: $buttonIconOnlyWidth + nth($inputPadding, 2);
20
- }
21
- }
22
-
23
- .p-inputnumber-buttons-horizontal {
24
- .p-inputnumber-clear-icon {
25
- right: $buttonIconOnlyWidth + nth($inputPadding, 2);
26
- }
27
- }
28
- }
@@ -1,60 +0,0 @@
1
- @use 'sass:math';
2
-
3
- .p-inputswitch {
4
- width: $inputSwitchWidth;
5
- height: $inputSwitchHeight;
6
-
7
- .p-inputswitch-slider {
8
- background: $inputSwitchSliderOffBg;
9
- transition: $formElementTransition;
10
- border-radius: $inputSwitchBorderRadius;
11
-
12
- &:before {
13
- background: $inputSwitchHandleOffBg;
14
- width: $inputSwitchHandleWidth;
15
- height: $inputSwitchHandleHeight;
16
- left: $inputSwitchSliderPadding;
17
- margin-top: math.div(-1 * $inputSwitchHandleHeight, 2);
18
- border-radius: $inputSwitchHandleBorderRadius;
19
- transition-duration: $transitionDuration;
20
- }
21
- }
22
-
23
- &.p-inputswitch-checked {
24
- .p-inputswitch-slider:before {
25
- transform: translateX($inputSwitchHandleWidth);
26
- }
27
- }
28
-
29
- &.p-focus {
30
- .p-inputswitch-slider {
31
- @include focused();
32
- }
33
- }
34
-
35
- &:not(.p-disabled):hover {
36
- .p-inputswitch-slider {
37
- background: $inputSwitchSliderOffHoverBg;
38
- }
39
- }
40
-
41
- &.p-inputswitch-checked {
42
- .p-inputswitch-slider {
43
- background: $inputSwitchSliderOnBg;
44
-
45
- &:before {
46
- background: $inputSwitchHandleOnBg;
47
- }
48
- }
49
-
50
- &:not(.p-disabled):hover {
51
- .p-inputswitch-slider {
52
- background: $inputSwitchSliderOnHoverBg;
53
- }
54
- }
55
- }
56
- }
57
-
58
- p-inputswitch.ng-dirty.ng-invalid > .p-inputswitch > .p-inputswitch-slider {
59
- @include invalid-input();
60
- }
@@ -1,100 +0,0 @@
1
- .p-inputtext {
2
- font-family: var(--font-family);
3
- font-feature-settings: var(--font-feature-settings, normal);
4
- font-size: $inputTextFontSize;
5
- color: $inputTextColor;
6
- background: $inputBg;
7
- padding: $inputPadding;
8
- border: $inputBorder;
9
- transition: $formElementTransition;
10
- appearance: none;
11
- border-radius: $borderRadius;
12
-
13
- &:enabled:hover {
14
- border-color: $inputHoverBorderColor;
15
- }
16
-
17
- &:enabled:focus {
18
- @include focused-input();
19
- }
20
-
21
- &.ng-dirty.ng-invalid {
22
- @include invalid-input();
23
- }
24
-
25
- &.p-inputtext-sm {
26
- @include scaledFontSize($inputTextFontSize, $scaleSM);
27
- @include scaledPadding($inputPadding, $scaleSM);
28
- }
29
-
30
- &.p-inputtext-lg {
31
- @include scaledFontSize($inputTextFontSize, $scaleLG);
32
- @include scaledPadding($inputPadding, $scaleLG);
33
- }
34
- }
35
-
36
- .p-float-label > label {
37
- left: nth($inputPadding, 2);
38
- color: $inputPlaceholderTextColor;
39
- transition-duration: $transitionDuration;
40
- }
41
-
42
- .p-float-label > .ng-invalid.ng-dirty + label {
43
- color: $inputErrorBorderColor;
44
- }
45
-
46
- .p-input-icon-left > .p-icon-wrapper.p-icon,
47
- .p-input-icon-left > i:first-of-type {
48
- left: nth($inputPadding, 2);
49
- color: $inputIconColor;
50
- }
51
-
52
- .p-input-icon-left > .p-inputtext {
53
- padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
54
- }
55
-
56
- .p-input-icon-left.p-float-label > label {
57
- left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
58
- }
59
-
60
- .p-input-icon-right > .p-icon-wrapper,
61
- .p-input-icon-right > i:last-of-type {
62
- right: nth($inputPadding, 2);
63
- color: $inputIconColor;
64
- }
65
-
66
- .p-input-icon-right > .p-inputtext {
67
- padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
68
- }
69
-
70
- @include placeholder {
71
- color: $inputPlaceholderTextColor;
72
- }
73
-
74
- .p-input-filled {
75
- .p-inputtext {
76
- background-color: $inputFilledBg;
77
-
78
- &:enabled:hover {
79
- background-color: $inputFilledHoverBg;
80
- }
81
-
82
- &:enabled:focus {
83
- background-color: $inputFilledFocusBg;
84
- }
85
- }
86
- }
87
-
88
- .p-inputtext-sm {
89
- .p-inputtext {
90
- @include scaledFontSize($inputTextFontSize, $scaleSM);
91
- @include scaledPadding($inputPadding, $scaleSM);
92
- }
93
- }
94
-
95
- .p-inputtext-lg {
96
- .p-inputtext {
97
- @include scaledFontSize($inputTextFontSize, $scaleLG);
98
- @include scaledPadding($inputPadding, $scaleLG);
99
- }
100
- }
@@ -1,97 +0,0 @@
1
- .p-listbox {
2
- background: $inputListBg;
3
- color: $inputListTextColor;
4
- border: $inputListBorder;
5
- border-radius: $borderRadius;
6
- transition: $formElementTransition;
7
-
8
- .p-listbox-header {
9
- padding: $inputListHeaderPadding;
10
- border-bottom: $inputListHeaderBorder;
11
- color: $inputListHeaderTextColor;
12
- background: $inputListHeaderBg;
13
- margin: $inputListHeaderMargin;
14
- border-top-right-radius: $borderRadius;
15
- border-top-left-radius: $borderRadius;
16
-
17
- .p-listbox-filter {
18
- padding-right: nth($inputPadding, 2) + $primeIconFontSize;
19
- }
20
-
21
- .p-listbox-filter-icon {
22
- right: nth($inputPadding, 2);
23
- color: $inputIconColor;
24
- }
25
-
26
- .p-checkbox {
27
- margin-right: $inlineSpacing;
28
- }
29
- }
30
-
31
- .p-listbox-list {
32
- padding: $inputListPadding;
33
- outline: 0 none;
34
-
35
- .p-listbox-item {
36
- margin: $inputListItemMargin;
37
- padding: $inputListItemPadding;
38
- border: $inputListItemBorder;
39
- color: $inputListItemTextColor;
40
- transition: $listItemTransition;
41
- border-radius: $inputListItemBorderRadius;
42
-
43
- &.p-highlight {
44
- color: $highlightTextColor;
45
- background: $highlightBg;
46
- }
47
-
48
- .p-checkbox {
49
- margin-right: $inlineSpacing;
50
- }
51
- }
52
-
53
- .p-listbox-item-group {
54
- margin: $submenuHeaderMargin;
55
- padding: $submenuHeaderPadding;
56
- color: $submenuHeaderTextColor;
57
- background: $submenuHeaderBg;
58
- font-weight: $submenuHeaderFontWeight;
59
- }
60
-
61
- .p-listbox-empty-message {
62
- padding: $inputListItemPadding;
63
- color: $inputListItemTextColor;
64
- background: $inputListItemBg;
65
- }
66
- }
67
-
68
- &:not(.p-disabled) {
69
- .p-listbox-item {
70
- &.p-highlight {
71
- &.p-focus {
72
- background: $highlightFocusBg;
73
- }
74
- }
75
-
76
- &:not(.p-highlight):not(.p-disabled) {
77
- &.p-focus {
78
- color: $inputListItemTextFocusColor;
79
- background: $inputListItemFocusBg;
80
- }
81
-
82
- &:hover {
83
- color: $inputListItemTextHoverColor;
84
- background: $inputListItemHoverBg;
85
- }
86
- }
87
- }
88
- }
89
-
90
- &.p-focus {
91
- @include focused-input();
92
- }
93
- }
94
-
95
- p-listbox.ng-dirty.ng-invalid > .p-listbox {
96
- @include invalid-input();
97
- }