@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.
- package/README.md +13 -0
- package/assets/fonts/poppins-v20-latin-500.woff +0 -0
- package/assets/fonts/poppins-v20-latin-500.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-600.woff +0 -0
- package/assets/fonts/poppins-v20-latin-600.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-700.woff +0 -0
- package/assets/fonts/poppins-v20-latin-700.woff2 +0 -0
- package/assets/fonts/poppins-v20-latin-regular.woff +0 -0
- package/assets/fonts/poppins-v20-latin-regular.woff2 +0 -0
- package/assets/images/effect-ondark.png +0 -0
- package/assets/images/effect-ondark.svg +38 -0
- package/assets/images/effect-ondark@2x.png +0 -0
- package/assets/images/effect-onlight.png +0 -0
- package/assets/images/effect-onlight.svg +38 -0
- package/assets/images/effect-onlight@2x.png +0 -0
- package/assets/images/pages/exception-ondark.png +0 -0
- package/assets/images/pages/exception-onlight.png +0 -0
- package/assets/images/pages/login-ondark.png +0 -0
- package/assets/images/pages/login-onlight.png +0 -0
- package/esm2022/index.mjs +23 -0
- package/esm2022/lib/components/breadcrumb.component.mjs +30 -0
- package/esm2022/lib/components/footer.component.mjs +28 -0
- package/esm2022/lib/components/main-layout.component.mjs +99 -0
- package/esm2022/lib/components/menu-item.component.mjs +275 -0
- package/esm2022/lib/components/menu.component.mjs +40 -0
- package/esm2022/lib/components/sidebar.component.mjs +61 -0
- package/esm2022/lib/components/topbar-user.component.mjs +39 -0
- package/esm2022/lib/components/topbar.component.mjs +57 -0
- package/esm2022/lib/components/version.component.mjs +63 -0
- package/esm2022/lib/helpers/route-builder.mjs +11 -0
- package/esm2022/lib/models/layout-state.model.mjs +2 -0
- package/esm2022/lib/models/menu.model.mjs +2 -0
- package/esm2022/lib/provide.mjs +23 -0
- package/esm2022/lib/services/layout-feature-config.token.mjs +3 -0
- package/esm2022/lib/services/main-layout.component.service.mjs +71 -0
- package/esm2022/lib/services/menu.service.mjs +120 -0
- package/esm2022/lib/services/version.service.mjs +45 -0
- package/esm2022/mediusinc-mng-commons-layout.mjs +5 -0
- package/fesm2022/mediusinc-mng-commons-layout.mjs +878 -0
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -0
- package/index.d.ts +17 -0
- package/lib/components/breadcrumb.component.d.ts +10 -0
- package/lib/components/footer.component.d.ts +12 -0
- package/lib/components/main-layout.component.d.ts +27 -0
- package/lib/components/menu-item.component.d.ts +40 -0
- package/lib/components/menu.component.d.ts +14 -0
- package/lib/components/sidebar.component.d.ts +19 -0
- package/lib/components/topbar-user.component.d.ts +15 -0
- package/lib/components/topbar.component.d.ts +22 -0
- package/lib/components/version.component.d.ts +18 -0
- package/lib/helpers/route-builder.d.ts +6 -0
- package/lib/models/layout-state.model.d.ts +10 -0
- package/lib/models/menu.model.d.ts +4 -0
- package/lib/provide.d.ts +8 -0
- package/lib/services/layout-feature-config.token.d.ts +18 -0
- package/lib/services/main-layout.component.service.d.ts +17 -0
- package/lib/services/menu.service.d.ts +22 -0
- package/lib/services/version.service.d.ts +14 -0
- package/package.json +35 -0
- package/scss/commons-dark.scss +9 -0
- package/scss/commons-light.scss +9 -0
- package/scss/layout/_animation.scss +53 -0
- package/scss/layout/_breadcrumb.scss +97 -0
- package/scss/layout/_config.scss +42 -0
- package/scss/layout/_content.scss +3 -0
- package/scss/layout/_fonts.scss +40 -0
- package/scss/layout/_layout_dark.scss +12 -0
- package/scss/layout/_layout_light.scss +12 -0
- package/scss/layout/_main.scss +54 -0
- package/scss/layout/_profile.scss +10 -0
- package/scss/layout/_responsive.scss +131 -0
- package/scss/layout/_sidebar_drawer.scss +285 -0
- package/scss/layout/_sidebar_horizontal.scss +168 -0
- package/scss/layout/_sidebar_reveal.scss +203 -0
- package/scss/layout/_sidebar_slim.scss +157 -0
- package/scss/layout/_sidebar_slim_plus.scss +166 -0
- package/scss/layout/_sidebar_vertical.scss +178 -0
- package/scss/layout/_topbar.scss +174 -0
- package/scss/layout/_typography.scss +67 -0
- package/scss/layout/_utils.scss +33 -0
- package/scss/layout/layout.scss +24 -0
- package/scss/layout/mng/_mng_layout_footer.scss +39 -0
- package/scss/layout/mng/_mng_layout_menu.scss +10 -0
- package/scss/layout/mng/_mng_layout_styles.scss +3 -0
- package/scss/layout/mng/_mng_layout_topbar.scss +18 -0
- package/scss/layout/preloading.scss +84 -0
- package/scss/theme/extensions/_fullcalendar.scss +328 -0
- package/scss/theme/theme-base/_colors.scss +17 -0
- package/scss/theme/theme-base/_common.scss +76 -0
- package/scss/theme/theme-base/_components.scss +110 -0
- package/scss/theme/theme-base/_mixins.scss +337 -0
- package/scss/theme/theme-base/components/button/_button.scss +576 -0
- package/scss/theme/theme-base/components/button/_speeddial.scss +96 -0
- package/scss/theme/theme-base/components/button/_splitbutton.scss +348 -0
- package/scss/theme/theme-base/components/data/_carousel.scss +37 -0
- package/scss/theme/theme-base/components/data/_datatable.scss +338 -0
- package/scss/theme/theme-base/components/data/_dataview.scss +46 -0
- package/scss/theme/theme-base/components/data/_filter.scss +137 -0
- package/scss/theme/theme-base/components/data/_orderlist.scss +114 -0
- package/scss/theme/theme-base/components/data/_organizationchart.scss +50 -0
- package/scss/theme/theme-base/components/data/_paginator.scss +92 -0
- package/scss/theme/theme-base/components/data/_picklist.scss +114 -0
- package/scss/theme/theme-base/components/data/_timeline.scss +35 -0
- package/scss/theme/theme-base/components/data/_tree.scss +150 -0
- package/scss/theme/theme-base/components/data/_treetable.scss +255 -0
- package/scss/theme/theme-base/components/data/_virtualscroller.scss +28 -0
- package/scss/theme/theme-base/components/file/_fileupload.scss +64 -0
- package/scss/theme/theme-base/components/input/_autocomplete.scss +136 -0
- package/scss/theme/theme-base/components/input/_calendar.scss +267 -0
- package/scss/theme/theme-base/components/input/_cascadeselect.scss +135 -0
- package/scss/theme/theme-base/components/input/_checkbox.scss +94 -0
- package/scss/theme/theme-base/components/input/_chips.scss +65 -0
- package/scss/theme/theme-base/components/input/_colorpicker.scss +19 -0
- package/scss/theme/theme-base/components/input/_dropdown.scss +151 -0
- package/scss/theme/theme-base/components/input/_editor.scss +122 -0
- package/scss/theme/theme-base/components/input/_inputgroup.scss +74 -0
- package/scss/theme/theme-base/components/input/_inputmask.scss +16 -0
- package/scss/theme/theme-base/components/input/_inputnumber.scss +28 -0
- package/scss/theme/theme-base/components/input/_inputswitch.scss +60 -0
- package/scss/theme/theme-base/components/input/_inputtext.scss +100 -0
- package/scss/theme/theme-base/components/input/_listbox.scss +97 -0
- package/scss/theme/theme-base/components/input/_multiselect.scss +177 -0
- package/scss/theme/theme-base/components/input/_password.scss +52 -0
- package/scss/theme/theme-base/components/input/_radiobutton.scss +78 -0
- package/scss/theme/theme-base/components/input/_rating.scss +60 -0
- package/scss/theme/theme-base/components/input/_selectbutton.scss +50 -0
- package/scss/theme/theme-base/components/input/_slider.scss +75 -0
- package/scss/theme/theme-base/components/input/_togglebutton.scss +48 -0
- package/scss/theme/theme-base/components/input/_treeselect.scss +139 -0
- package/scss/theme/theme-base/components/menu/_breadcrumb.scss +42 -0
- package/scss/theme/theme-base/components/menu/_contextmenu.scss +39 -0
- package/scss/theme/theme-base/components/menu/_dock.scss +95 -0
- package/scss/theme/theme-base/components/menu/_megamenu.scss +55 -0
- package/scss/theme/theme-base/components/menu/_menu.scss +37 -0
- package/scss/theme/theme-base/components/menu/_menubar.scss +140 -0
- package/scss/theme/theme-base/components/menu/_panelmenu.scss +153 -0
- package/scss/theme/theme-base/components/menu/_slidemenu.scss +59 -0
- package/scss/theme/theme-base/components/menu/_steps.scss +56 -0
- package/scss/theme/theme-base/components/menu/_tabmenu.scss +73 -0
- package/scss/theme/theme-base/components/menu/_tieredmenu.scss +43 -0
- package/scss/theme/theme-base/components/messages/_inlinemessage.scss +69 -0
- package/scss/theme/theme-base/components/messages/_message.scss +107 -0
- package/scss/theme/theme-base/components/messages/_toast.scss +99 -0
- package/scss/theme/theme-base/components/misc/_avatar.scss +30 -0
- package/scss/theme/theme-base/components/misc/_badge.scss +48 -0
- package/scss/theme/theme-base/components/misc/_blockui.scss +0 -0
- package/scss/theme/theme-base/components/misc/_chip.scss +42 -0
- package/scss/theme/theme-base/components/misc/_inplace.scss +16 -0
- package/scss/theme/theme-base/components/misc/_progressbar.scss +17 -0
- package/scss/theme/theme-base/components/misc/_scrolltop.scss +25 -0
- package/scss/theme/theme-base/components/misc/_skeleton.scss +8 -0
- package/scss/theme/theme-base/components/misc/_tag.scss +40 -0
- package/scss/theme/theme-base/components/misc/_terminal.scss +12 -0
- package/scss/theme/theme-base/components/multimedia/_galleria.scss +155 -0
- package/scss/theme/theme-base/components/multimedia/_image.scss +49 -0
- package/scss/theme/theme-base/components/overlay/_confirmpopup.scss +70 -0
- package/scss/theme/theme-base/components/overlay/_dialog.scss +69 -0
- package/scss/theme/theme-base/components/overlay/_overlaypanel.scss +62 -0
- package/scss/theme/theme-base/components/overlay/_sidebar.scss +27 -0
- package/scss/theme/theme-base/components/overlay/_tooltip.scss +33 -0
- package/scss/theme/theme-base/components/panel/_accordion.scss +119 -0
- package/scss/theme/theme-base/components/panel/_card.scss +30 -0
- package/scss/theme/theme-base/components/panel/_divider.scss +31 -0
- package/scss/theme/theme-base/components/panel/_fieldset.scss +47 -0
- package/scss/theme/theme-base/components/panel/_panel.scss +63 -0
- package/scss/theme/theme-base/components/panel/_scrollpanel.scss +6 -0
- package/scss/theme/theme-base/components/panel/_splitter.scss +19 -0
- package/scss/theme/theme-base/components/panel/_tabview.scss +82 -0
- package/scss/theme/theme-base/components/panel/_toolbar.scss +11 -0
- package/scss/theme/theme-base/mng/_mng_mixins.scss +69 -0
- package/scss/theme/theme-base/mng/_mng_theme_autocomplete.scss +34 -0
- package/scss/theme/theme-base/mng/_mng_theme_button.scss +68 -0
- package/scss/theme/theme-base/mng/_mng_theme_datatable.scss +153 -0
- package/scss/theme/theme-base/mng/_mng_theme_datepicker.scss +21 -0
- package/scss/theme/theme-base/mng/_mng_theme_dialog.scss +206 -0
- package/scss/theme/theme-base/mng/_mng_theme_dropdown.scss +32 -0
- package/scss/theme/theme-base/mng/_mng_theme_fileupload.scss +24 -0
- package/scss/theme/theme-base/mng/_mng_theme_forms.scss +66 -0
- package/scss/theme/theme-base/mng/_mng_theme_image.scss +27 -0
- package/scss/theme/theme-base/mng/_mng_theme_input.scss +31 -0
- package/scss/theme/theme-base/mng/_mng_theme_menu.scss +5 -0
- package/scss/theme/theme-base/mng/_mng_theme_multiselect.scss +20 -0
- package/scss/theme/theme-base/mng/_mng_theme_styles.scss +17 -0
- package/scss/theme/theme-base/mng/_mng_theme_tableview.scss +97 -0
- package/scss/theme/theme-base/mng/_mng_theme_tabview.scss +14 -0
- package/scss/theme/theme-base/mng/_mng_theme_toast.scss +3 -0
- package/scss/theme/theme-base/mng/_mng_theme_toolbar.scss +5 -0
- package/scss/theme/theme-base/mng/_mng_variables.scss +15 -0
- package/scss/theme/theme-dark/_extensions.scss +109 -0
- package/scss/theme/theme-dark/_variables.scss +940 -0
- package/scss/theme/theme-dark/blue/theme.scss +14 -0
- package/scss/theme/theme-light/_extensions.scss +109 -0
- package/scss/theme/theme-light/_variables.scss +936 -0
- package/scss/theme/theme-light/blue/theme.scss +14 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-multiselect {
|
|
4
|
+
background: $inputBg;
|
|
5
|
+
border: $inputBorder;
|
|
6
|
+
transition: $formElementTransition;
|
|
7
|
+
border-radius: $borderRadius;
|
|
8
|
+
|
|
9
|
+
&:not(.p-disabled):hover {
|
|
10
|
+
border-color: $inputHoverBorderColor;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&:not(.p-disabled).p-focus {
|
|
14
|
+
@include focused-input();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-multiselect-label {
|
|
18
|
+
padding: $inputPadding;
|
|
19
|
+
transition: $formElementTransition;
|
|
20
|
+
|
|
21
|
+
&.p-placeholder {
|
|
22
|
+
color: $inputPlaceholderTextColor;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.p-multiselect-chip {
|
|
27
|
+
.p-multiselect-token {
|
|
28
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
29
|
+
margin-right: $inlineSpacing;
|
|
30
|
+
background: $chipBg;
|
|
31
|
+
color: $chipTextColor;
|
|
32
|
+
border-radius: $chipBorderRadius;
|
|
33
|
+
|
|
34
|
+
.p-multiselect-token-icon {
|
|
35
|
+
margin-left: $inlineSpacing;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-multiselect-trigger {
|
|
41
|
+
background: transparent;
|
|
42
|
+
color: $inputIconColor;
|
|
43
|
+
width: $inputGroupAddOnMinWidth;
|
|
44
|
+
border-top-right-radius: $borderRadius;
|
|
45
|
+
border-bottom-right-radius: $borderRadius;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-inputwrapper-filled {
|
|
50
|
+
&.p-multiselect {
|
|
51
|
+
&.p-multiselect-chip {
|
|
52
|
+
.p-multiselect-label {
|
|
53
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.p-multiselect-clearable {
|
|
60
|
+
.p-multiselect-label-container {
|
|
61
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.p-multiselect-clear-icon {
|
|
65
|
+
color: $inputIconColor;
|
|
66
|
+
right: $inputGroupAddOnMinWidth;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-multiselect-panel {
|
|
71
|
+
background: $inputOverlayBg;
|
|
72
|
+
color: $inputListTextColor;
|
|
73
|
+
border: $inputOverlayBorder;
|
|
74
|
+
border-radius: $borderRadius;
|
|
75
|
+
box-shadow: $inputOverlayShadow;
|
|
76
|
+
|
|
77
|
+
.p-multiselect-header {
|
|
78
|
+
padding: $inputListHeaderPadding;
|
|
79
|
+
border-bottom: $inputListHeaderBorder;
|
|
80
|
+
color: $inputListHeaderTextColor;
|
|
81
|
+
background: $inputOverlayHeaderBg;
|
|
82
|
+
margin: $inputListHeaderMargin;
|
|
83
|
+
border-top-right-radius: $borderRadius;
|
|
84
|
+
border-top-left-radius: $borderRadius;
|
|
85
|
+
|
|
86
|
+
.p-multiselect-filter-container {
|
|
87
|
+
.p-inputtext {
|
|
88
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.p-multiselect-filter-icon {
|
|
92
|
+
right: nth($inputPadding, 2);
|
|
93
|
+
color: $inputIconColor;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.p-checkbox {
|
|
98
|
+
margin-right: $inlineSpacing;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.p-multiselect-close {
|
|
102
|
+
margin-left: $inlineSpacing;
|
|
103
|
+
@include action-icon();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.p-multiselect-items {
|
|
108
|
+
padding: $inputListPadding;
|
|
109
|
+
|
|
110
|
+
.p-multiselect-item {
|
|
111
|
+
margin: $inputListItemMargin;
|
|
112
|
+
padding: $inputListItemPadding;
|
|
113
|
+
border: $inputListItemBorder;
|
|
114
|
+
color: $inputListItemTextColor;
|
|
115
|
+
background: $inputListItemBg;
|
|
116
|
+
transition: $listItemTransition;
|
|
117
|
+
border-radius: $inputListItemBorderRadius;
|
|
118
|
+
|
|
119
|
+
&.p-highlight {
|
|
120
|
+
color: $highlightTextColor;
|
|
121
|
+
background: $highlightBg;
|
|
122
|
+
|
|
123
|
+
&.p-focus {
|
|
124
|
+
background: $highlightFocusBg;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
129
|
+
&.p-focus {
|
|
130
|
+
color: $inputListItemTextFocusColor;
|
|
131
|
+
background: $inputListItemFocusBg;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&:hover {
|
|
135
|
+
color: $inputListItemTextHoverColor;
|
|
136
|
+
background: $inputListItemHoverBg;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.p-checkbox {
|
|
141
|
+
margin-right: $inlineSpacing;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.p-multiselect-item-group {
|
|
146
|
+
margin: $submenuHeaderMargin;
|
|
147
|
+
padding: $submenuHeaderPadding;
|
|
148
|
+
color: $submenuHeaderTextColor;
|
|
149
|
+
background: $submenuHeaderBg;
|
|
150
|
+
font-weight: $submenuHeaderFontWeight;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.p-multiselect-empty-message {
|
|
154
|
+
padding: $inputListItemPadding;
|
|
155
|
+
color: $inputListItemTextColor;
|
|
156
|
+
background: $inputListItemBg;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.p-input-filled {
|
|
162
|
+
.p-multiselect {
|
|
163
|
+
background: $inputFilledBg;
|
|
164
|
+
|
|
165
|
+
&:not(.p-disabled):hover {
|
|
166
|
+
background-color: $inputFilledHoverBg;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&:not(.p-disabled).p-focus {
|
|
170
|
+
background-color: $inputFilledFocusBg;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
p-multiselect.ng-dirty.ng-invalid > .p-multiselect {
|
|
176
|
+
@include invalid-input();
|
|
177
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
p-password.ng-invalid.ng-dirty > .p-password > .p-inputtext {
|
|
2
|
+
@include invalid-input();
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.p-password-panel {
|
|
6
|
+
padding: $panelContentPadding;
|
|
7
|
+
background: $panelContentBg;
|
|
8
|
+
color: $panelContentTextColor;
|
|
9
|
+
border: $overlayContentBorder;
|
|
10
|
+
box-shadow: $inputOverlayShadow;
|
|
11
|
+
border-radius: $borderRadius;
|
|
12
|
+
|
|
13
|
+
.p-password-meter {
|
|
14
|
+
margin-bottom: $inlineSpacing;
|
|
15
|
+
background: $passwordMeterBg;
|
|
16
|
+
|
|
17
|
+
.p-password-strength {
|
|
18
|
+
&.weak {
|
|
19
|
+
background: $passwordWeakBg;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.medium {
|
|
23
|
+
background: $passwordMediumBg;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.strong {
|
|
27
|
+
background: $passwordStrongBg;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
p-password.p-password-clearable {
|
|
34
|
+
.p-password-input {
|
|
35
|
+
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
36
|
+
}
|
|
37
|
+
.p-password-clear-icon {
|
|
38
|
+
color: $inputIconColor;
|
|
39
|
+
right: nth($inputPadding, 2);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
p-password.p-password-clearable.p-password-mask {
|
|
44
|
+
.p-password-input {
|
|
45
|
+
padding-right: nth($inputPadding, 2) * 3 + $primeIconFontSize * 2;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-password-clear-icon {
|
|
49
|
+
color: $inputIconColor;
|
|
50
|
+
right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.p-radiobutton {
|
|
2
|
+
width: $radiobuttonWidth;
|
|
3
|
+
height: $radiobuttonHeight;
|
|
4
|
+
|
|
5
|
+
.p-radiobutton-box {
|
|
6
|
+
border: $radiobuttonBorder;
|
|
7
|
+
background: $inputBg;
|
|
8
|
+
width: $radiobuttonWidth;
|
|
9
|
+
height: $radiobuttonHeight;
|
|
10
|
+
color: $textColor;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
transition: $formElementTransition;
|
|
13
|
+
|
|
14
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
15
|
+
border-color: $inputHoverBorderColor;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:not(.p-disabled).p-focus {
|
|
19
|
+
@include focused-input();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-radiobutton-icon {
|
|
23
|
+
width: $radiobuttonIconSize;
|
|
24
|
+
height: $radiobuttonIconSize;
|
|
25
|
+
transition-duration: $transitionDuration;
|
|
26
|
+
background-color: $radiobuttonIconActiveColor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.p-highlight {
|
|
30
|
+
border-color: $radiobuttonActiveBorderColor;
|
|
31
|
+
background: $radiobuttonActiveBg;
|
|
32
|
+
|
|
33
|
+
&:not(.p-disabled):hover {
|
|
34
|
+
border-color: $radiobuttonActiveHoverBorderColor;
|
|
35
|
+
background: $radiobuttonActiveHoverBg;
|
|
36
|
+
color: $radiobuttonIconActiveHoverColor;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
p-radiobutton.ng-dirty.ng-invalid > .p-radiobutton > .p-radiobutton-box {
|
|
43
|
+
@include invalid-input();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-input-filled {
|
|
47
|
+
.p-radiobutton {
|
|
48
|
+
.p-radiobutton-box {
|
|
49
|
+
background-color: $inputFilledBg;
|
|
50
|
+
|
|
51
|
+
&:not(.p-disabled):hover {
|
|
52
|
+
background-color: $inputFilledHoverBg;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.p-highlight {
|
|
56
|
+
background: $radiobuttonActiveBg;
|
|
57
|
+
|
|
58
|
+
&:not(.p-disabled):hover {
|
|
59
|
+
background: $radiobuttonActiveHoverBg;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-radiobutton-label {
|
|
67
|
+
margin-left: $inlineSpacing;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@if ($highlightBg == $radiobuttonActiveBg) {
|
|
71
|
+
.p-highlight {
|
|
72
|
+
.p-radiobutton {
|
|
73
|
+
.p-radiobutton-box {
|
|
74
|
+
border-color: $radiobuttonIconActiveColor;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-rating {
|
|
4
|
+
gap: $inlineSpacing;
|
|
5
|
+
|
|
6
|
+
.p-rating-item {
|
|
7
|
+
.p-rating-icon {
|
|
8
|
+
color: $ratingStarIconOffColor;
|
|
9
|
+
transition: $formElementTransition;
|
|
10
|
+
font-size: $ratingIconFontSize;
|
|
11
|
+
|
|
12
|
+
&.p-icon {
|
|
13
|
+
width: $ratingIconFontSize;
|
|
14
|
+
height: $ratingIconFontSize;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.p-rating-cancel {
|
|
18
|
+
color: $ratingCancelIconColor;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.p-focus {
|
|
23
|
+
@include focused-input();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.p-rating-item-active {
|
|
27
|
+
.p-rating-icon {
|
|
28
|
+
color: $ratingStarIconOnColor;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:not(.p-disabled):not(.p-readonly) {
|
|
34
|
+
.p-rating-item {
|
|
35
|
+
&:hover {
|
|
36
|
+
.p-rating-icon {
|
|
37
|
+
color: $ratingStarIconHoverColor;
|
|
38
|
+
|
|
39
|
+
&.p-rating-cancel {
|
|
40
|
+
color: $ratingCancelIconHoverColor;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@if ($highlightBg == $ratingStarIconOnColor) {
|
|
49
|
+
.p-highlight {
|
|
50
|
+
.p-rating {
|
|
51
|
+
.p-rating-item {
|
|
52
|
+
&.p-rating-item-active {
|
|
53
|
+
.p-rating-icon {
|
|
54
|
+
color: $highlightTextColor;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.p-selectbutton {
|
|
2
|
+
.p-button {
|
|
3
|
+
background: $toggleButtonBg;
|
|
4
|
+
border: $toggleButtonBorder;
|
|
5
|
+
color: $toggleButtonTextColor;
|
|
6
|
+
transition: $formElementTransition;
|
|
7
|
+
|
|
8
|
+
.p-button-icon-left,
|
|
9
|
+
.p-button-icon-right {
|
|
10
|
+
color: $toggleButtonIconColor;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
14
|
+
background: $toggleButtonHoverBg;
|
|
15
|
+
border-color: $toggleButtonHoverBorderColor;
|
|
16
|
+
color: $toggleButtonTextHoverColor;
|
|
17
|
+
|
|
18
|
+
.p-button-icon-left,
|
|
19
|
+
.p-button-icon-right {
|
|
20
|
+
color: $toggleButtonIconHoverColor;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.p-highlight {
|
|
25
|
+
background: $toggleButtonActiveBg;
|
|
26
|
+
border-color: $toggleButtonActiveBorderColor;
|
|
27
|
+
color: $toggleButtonTextActiveColor;
|
|
28
|
+
|
|
29
|
+
.p-button-icon-left,
|
|
30
|
+
.p-button-icon-right {
|
|
31
|
+
color: $toggleButtonIconActiveColor;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
background: $toggleButtonActiveHoverBg;
|
|
36
|
+
border-color: $toggleButtonActiveHoverBorderColor;
|
|
37
|
+
color: $toggleButtonTextActiveHoverColor;
|
|
38
|
+
|
|
39
|
+
.p-button-icon-left,
|
|
40
|
+
.p-button-icon-right {
|
|
41
|
+
color: $toggleButtonIconActiveHoverColor;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
p-selectbutton.ng-dirty.ng-invalid > .p-selectbutton > .p-button {
|
|
49
|
+
@include invalid-input();
|
|
50
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-slider {
|
|
4
|
+
background: $sliderBg;
|
|
5
|
+
border: $sliderBorder;
|
|
6
|
+
border-radius: $borderRadius;
|
|
7
|
+
|
|
8
|
+
&.p-slider-horizontal {
|
|
9
|
+
height: $sliderHorizontalHeight;
|
|
10
|
+
|
|
11
|
+
.p-slider-handle {
|
|
12
|
+
margin-top: math.div(-1 * $sliderHandleHeight, 2);
|
|
13
|
+
margin-left: math.div(-1 * $sliderHandleWidth, 2);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.p-slider-vertical {
|
|
18
|
+
width: $sliderVerticalWidth;
|
|
19
|
+
|
|
20
|
+
.p-slider-handle {
|
|
21
|
+
margin-left: math.div(-1 * $sliderHandleWidth, 2);
|
|
22
|
+
margin-bottom: math.div(-1 * $sliderHandleHeight, 2);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-slider-handle {
|
|
27
|
+
height: $sliderHandleHeight;
|
|
28
|
+
width: $sliderHandleWidth;
|
|
29
|
+
background: $sliderHandleBg;
|
|
30
|
+
border: $sliderHandleBorder;
|
|
31
|
+
border-radius: $sliderHandleBorderRadius;
|
|
32
|
+
transition: $formElementTransition;
|
|
33
|
+
|
|
34
|
+
&:focus {
|
|
35
|
+
@include focused();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.p-slider-range {
|
|
40
|
+
background: $sliderRangeBg;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:not(.p-disabled) {
|
|
44
|
+
.p-slider-handle:hover {
|
|
45
|
+
background: $sliderHandleHoverBg;
|
|
46
|
+
border-color: $sliderHandleHoverBorderColor;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.p-slider-animate {
|
|
51
|
+
&.p-slider-horizontal {
|
|
52
|
+
.p-slider-handle {
|
|
53
|
+
transition:
|
|
54
|
+
$formElementTransition,
|
|
55
|
+
left $transitionDuration;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-slider-range {
|
|
59
|
+
transition: width $transitionDuration;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.p-slider-vertical {
|
|
64
|
+
.p-slider-handle {
|
|
65
|
+
transition:
|
|
66
|
+
$formElementTransition,
|
|
67
|
+
bottom $transitionDuration;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-slider-range {
|
|
71
|
+
transition: height $transitionDuration;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.p-togglebutton.p-button {
|
|
2
|
+
background: $toggleButtonBg;
|
|
3
|
+
border: $toggleButtonBorder;
|
|
4
|
+
color: $toggleButtonTextColor;
|
|
5
|
+
transition: $formElementTransition;
|
|
6
|
+
|
|
7
|
+
.p-button-icon-left,
|
|
8
|
+
.p-button-icon-right {
|
|
9
|
+
color: $toggleButtonIconColor;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
13
|
+
background: $toggleButtonHoverBg;
|
|
14
|
+
border-color: $toggleButtonHoverBorderColor;
|
|
15
|
+
color: $toggleButtonTextHoverColor;
|
|
16
|
+
|
|
17
|
+
.p-button-icon-left,
|
|
18
|
+
.p-button-icon-right {
|
|
19
|
+
color: $toggleButtonIconHoverColor;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.p-highlight {
|
|
24
|
+
background: $toggleButtonActiveBg;
|
|
25
|
+
border-color: $toggleButtonActiveBorderColor;
|
|
26
|
+
color: $toggleButtonTextActiveColor;
|
|
27
|
+
|
|
28
|
+
.p-button-icon-left,
|
|
29
|
+
.p-button-icon-right {
|
|
30
|
+
color: $toggleButtonIconActiveColor;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
background: $toggleButtonActiveHoverBg;
|
|
35
|
+
border-color: $toggleButtonActiveHoverBorderColor;
|
|
36
|
+
color: $toggleButtonTextActiveHoverColor;
|
|
37
|
+
|
|
38
|
+
.p-button-icon-left,
|
|
39
|
+
.p-button-icon-right {
|
|
40
|
+
color: $toggleButtonIconActiveHoverColor;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
p-togglebutton.ng-dirty.ng-invalid > .p-togglebutton.p-button {
|
|
47
|
+
@include invalid-input();
|
|
48
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-treeselect {
|
|
4
|
+
background: $inputBg;
|
|
5
|
+
border: $inputBorder;
|
|
6
|
+
transition: $formElementTransition;
|
|
7
|
+
border-radius: $borderRadius;
|
|
8
|
+
|
|
9
|
+
&:not(.p-disabled):hover {
|
|
10
|
+
border-color: $inputHoverBorderColor;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&:not(.p-disabled).p-focus {
|
|
14
|
+
@include focused-input();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-treeselect-label {
|
|
18
|
+
padding: $inputPadding;
|
|
19
|
+
transition: $formElementTransition;
|
|
20
|
+
|
|
21
|
+
&.p-placeholder {
|
|
22
|
+
color: $inputPlaceholderTextColor;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.p-treeselect-chip {
|
|
27
|
+
.p-treeselect-token {
|
|
28
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
29
|
+
margin-right: $inlineSpacing;
|
|
30
|
+
background: $chipBg;
|
|
31
|
+
color: $chipTextColor;
|
|
32
|
+
border-radius: $chipBorderRadius;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-treeselect-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
|
+
|
|
45
|
+
p-treeselect.ng-invalid.ng-dirty > .p-treeselect {
|
|
46
|
+
@include invalid-input();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-inputwrapper-filled {
|
|
50
|
+
.p-treeselect {
|
|
51
|
+
&.p-treeselect-chip {
|
|
52
|
+
.p-treeselect-label {
|
|
53
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.p-treeselect-panel {
|
|
60
|
+
background: $inputOverlayBg;
|
|
61
|
+
color: $inputListTextColor;
|
|
62
|
+
border: $inputOverlayBorder;
|
|
63
|
+
border-radius: $borderRadius;
|
|
64
|
+
box-shadow: $inputOverlayShadow;
|
|
65
|
+
|
|
66
|
+
.p-treeselect-header {
|
|
67
|
+
padding: $inputListHeaderPadding;
|
|
68
|
+
border-bottom: $inputListHeaderBorder;
|
|
69
|
+
color: $inputListHeaderTextColor;
|
|
70
|
+
background: $inputOverlayHeaderBg;
|
|
71
|
+
margin: $inputListHeaderMargin;
|
|
72
|
+
border-top-right-radius: $borderRadius;
|
|
73
|
+
border-top-left-radius: $borderRadius;
|
|
74
|
+
|
|
75
|
+
.p-treeselect-filter-container {
|
|
76
|
+
margin-right: $inlineSpacing;
|
|
77
|
+
|
|
78
|
+
.p-treeselect-filter {
|
|
79
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.p-treeselect-filter-icon {
|
|
83
|
+
right: nth($inputPadding, 2);
|
|
84
|
+
color: $inputIconColor;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.p-treeselect-clearable-filter {
|
|
88
|
+
.p-treeselect-filter {
|
|
89
|
+
padding-right: 2 * (nth($inputPadding, 2) + $primeIconFontSize);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.p-treeselect-filter-clear-icon {
|
|
93
|
+
right: (2 * nth($inputPadding, 2)) + $primeIconFontSize;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.p-treeselect-close {
|
|
99
|
+
@include action-icon();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.p-treeselect-items-wrapper {
|
|
104
|
+
.p-tree {
|
|
105
|
+
border: 0 none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.p-treeselect-empty-message {
|
|
109
|
+
padding: $inputListItemPadding;
|
|
110
|
+
color: $inputListItemTextColor;
|
|
111
|
+
background: $inputListItemBg;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.p-input-filled {
|
|
117
|
+
.p-treeselect {
|
|
118
|
+
background: $inputFilledBg;
|
|
119
|
+
|
|
120
|
+
&:not(.p-disabled):hover {
|
|
121
|
+
background-color: $inputFilledHoverBg;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:not(.p-disabled).p-focus {
|
|
125
|
+
background-color: $inputFilledFocusBg;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
p-treeselect.p-treeselect-clearable {
|
|
131
|
+
.p-treeselect-label-container {
|
|
132
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.p-treeselect-clear-icon {
|
|
136
|
+
color: $inputIconColor;
|
|
137
|
+
right: $buttonIconOnlyWidth;
|
|
138
|
+
}
|
|
139
|
+
}
|