@aziontech/theme 0.1.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/LICENSE +21 -0
- package/README.md +466 -0
- package/package.json +52 -0
- package/src/azion/_custom.scss +3 -0
- package/src/azion/_extensions.scss +37 -0
- package/src/azion/_fonts.scss +153 -0
- package/src/azion/_variables-widget.scss +400 -0
- package/src/azion/_variables.scss +407 -0
- package/src/azion/custom/_code.scss +11 -0
- package/src/azion/custom/_focus.scss +5 -0
- package/src/azion/custom/_scrollbehavior.scss +6 -0
- package/src/azion/custom/_selection.scss +4 -0
- package/src/azion/custom/_special-button.scss +57 -0
- package/src/azion/extended-components/_autocomplete.scss +13 -0
- package/src/azion/extended-components/_badge.scss +53 -0
- package/src/azion/extended-components/_breadcumb.scss +18 -0
- package/src/azion/extended-components/_button.scss +134 -0
- package/src/azion/extended-components/_calendar.scss +310 -0
- package/src/azion/extended-components/_carousel.scss +9 -0
- package/src/azion/extended-components/_checkbox.scss +33 -0
- package/src/azion/extended-components/_datatable.scss +130 -0
- package/src/azion/extended-components/_dialog.scss +45 -0
- package/src/azion/extended-components/_divider.scss +37 -0
- package/src/azion/extended-components/_dropdown.scss +10 -0
- package/src/azion/extended-components/_dropdownitem.scss +13 -0
- package/src/azion/extended-components/_inlinemessage.scss +10 -0
- package/src/azion/extended-components/_inputnumber.scss +40 -0
- package/src/azion/extended-components/_inputpassword.scss +4 -0
- package/src/azion/extended-components/_inputswitch.scss +53 -0
- package/src/azion/extended-components/_listbox.scss +35 -0
- package/src/azion/extended-components/_markdown.scss +135 -0
- package/src/azion/extended-components/_menuitem.scss +22 -0
- package/src/azion/extended-components/_multiselect.scss +167 -0
- package/src/azion/extended-components/_overlaypanel.scss +18 -0
- package/src/azion/extended-components/_picklist.scss +25 -0
- package/src/azion/extended-components/_progressbar.scss +6 -0
- package/src/azion/extended-components/_radiobutton.scss +63 -0
- package/src/azion/extended-components/_selectbutton.scss +36 -0
- package/src/azion/extended-components/_sidebar.scss +28 -0
- package/src/azion/extended-components/_splitbutton.scss +22 -0
- package/src/azion/extended-components/_tabmenu.scss +21 -0
- package/src/azion/extended-components/_tabview.scss +41 -0
- package/src/azion/extended-components/_tag.scss +47 -0
- package/src/azion/extended-components/_toast.scss +9 -0
- package/src/azion/extended-components/_tooltip.scss +7 -0
- package/src/azion/extended-components/_treeselect.scss +10 -0
- package/src/azion/extended-components/jsonform/_inputcheckbox.scss +41 -0
- package/src/azion/extended-components/jsonform/_inputtext.scss +26 -0
- package/src/azion/extended-components/jsonform/_label.scss +185 -0
- package/src/azion/extended-components/jsonform/_select.scss +34 -0
- package/src/azion/theme-base/_colors.scss +18 -0
- package/src/azion/theme-base/_common.scss +75 -0
- package/src/azion/theme-base/_components.scss +103 -0
- package/src/azion/theme-base/_mixins.scss +250 -0
- package/src/azion/theme-base/components/button/_button.scss +567 -0
- package/src/azion/theme-base/components/button/_speeddial.scss +97 -0
- package/src/azion/theme-base/components/button/_splitbutton.scss +390 -0
- package/src/azion/theme-base/components/data/_carousel.scss +37 -0
- package/src/azion/theme-base/components/data/_datatable.scss +347 -0
- package/src/azion/theme-base/components/data/_dataview.scss +47 -0
- package/src/azion/theme-base/components/data/_filter.scss +138 -0
- package/src/azion/theme-base/components/data/_orderlist.scss +70 -0
- package/src/azion/theme-base/components/data/_organizationchart.scss +50 -0
- package/src/azion/theme-base/components/data/_paginator.scss +92 -0
- package/src/azion/theme-base/components/data/_picklist.scss +70 -0
- package/src/azion/theme-base/components/data/_timeline.scss +38 -0
- package/src/azion/theme-base/components/data/_tree.scss +90 -0
- package/src/azion/theme-base/components/data/_treetable.scss +251 -0
- package/src/azion/theme-base/components/file/_fileupload.scss +82 -0
- package/src/azion/theme-base/components/input/_autocomplete.scss +114 -0
- package/src/azion/theme-base/components/input/_calendar.scss +251 -0
- package/src/azion/theme-base/components/input/_cascadeselect.scss +106 -0
- package/src/azion/theme-base/components/input/_checkbox.scss +86 -0
- package/src/azion/theme-base/components/input/_chips.scss +53 -0
- package/src/azion/theme-base/components/input/_colorpicker.scss +18 -0
- package/src/azion/theme-base/components/input/_dropdown.scss +147 -0
- package/src/azion/theme-base/components/input/_editor.scss +122 -0
- package/src/azion/theme-base/components/input/_inputgroup.scss +74 -0
- package/src/azion/theme-base/components/input/_inputnumber.scss +5 -0
- package/src/azion/theme-base/components/input/_inputswitch.scss +62 -0
- package/src/azion/theme-base/components/input/_inputtext.scss +100 -0
- package/src/azion/theme-base/components/input/_listbox.scss +89 -0
- package/src/azion/theme-base/components/input/_multiselect.scss +166 -0
- package/src/azion/theme-base/components/input/_password.scss +33 -0
- package/src/azion/theme-base/components/input/_radiobutton.scss +78 -0
- package/src/azion/theme-base/components/input/_rating.scss +60 -0
- package/src/azion/theme-base/components/input/_selectbutton.scss +50 -0
- package/src/azion/theme-base/components/input/_slider.scss +49 -0
- package/src/azion/theme-base/components/input/_togglebutton.scss +52 -0
- package/src/azion/theme-base/components/input/_treeselect.scss +91 -0
- package/src/azion/theme-base/components/menu/_breadcrumb.scss +42 -0
- package/src/azion/theme-base/components/menu/_contextmenu.scss +39 -0
- package/src/azion/theme-base/components/menu/_dock.scss +95 -0
- package/src/azion/theme-base/components/menu/_megamenu.scss +55 -0
- package/src/azion/theme-base/components/menu/_menu.scss +33 -0
- package/src/azion/theme-base/components/menu/_menubar.scss +141 -0
- package/src/azion/theme-base/components/menu/_panelmenu.scss +153 -0
- package/src/azion/theme-base/components/menu/_steps.scss +56 -0
- package/src/azion/theme-base/components/menu/_tabmenu.scss +49 -0
- package/src/azion/theme-base/components/menu/_tieredmenu.scss +43 -0
- package/src/azion/theme-base/components/messages/_inlinemessage.scss +64 -0
- package/src/azion/theme-base/components/messages/_message.scss +100 -0
- package/src/azion/theme-base/components/messages/_toast.scss +100 -0
- package/src/azion/theme-base/components/misc/_avatar.scss +30 -0
- package/src/azion/theme-base/components/misc/_badge.scss +48 -0
- package/src/azion/theme-base/components/misc/_blockui.scss +0 -0
- package/src/azion/theme-base/components/misc/_chip.scss +39 -0
- package/src/azion/theme-base/components/misc/_inplace.scss +17 -0
- package/src/azion/theme-base/components/misc/_progressbar.scss +17 -0
- package/src/azion/theme-base/components/misc/_progressspinner.scss +49 -0
- package/src/azion/theme-base/components/misc/_scrolltop.scss +25 -0
- package/src/azion/theme-base/components/misc/_skeleton.scss +8 -0
- package/src/azion/theme-base/components/misc/_tag.scss +40 -0
- package/src/azion/theme-base/components/misc/_terminal.scss +12 -0
- package/src/azion/theme-base/components/multimedia/_galleria.scss +151 -0
- package/src/azion/theme-base/components/multimedia/_image.scss +54 -0
- package/src/azion/theme-base/components/overlay/_confirmpopup.scss +72 -0
- package/src/azion/theme-base/components/overlay/_dialog.scss +64 -0
- package/src/azion/theme-base/components/overlay/_overlaypanel.scss +38 -0
- package/src/azion/theme-base/components/overlay/_sidebar.scss +23 -0
- package/src/azion/theme-base/components/overlay/_tooltip.scss +33 -0
- package/src/azion/theme-base/components/panel/_accordion.scss +118 -0
- package/src/azion/theme-base/components/panel/_card.scss +30 -0
- package/src/azion/theme-base/components/panel/_divider.scss +40 -0
- package/src/azion/theme-base/components/panel/_fieldset.scss +51 -0
- package/src/azion/theme-base/components/panel/_panel.scss +47 -0
- package/src/azion/theme-base/components/panel/_scrollpanel.scss +11 -0
- package/src/azion/theme-base/components/panel/_splitter.scss +24 -0
- package/src/azion/theme-base/components/panel/_tabview.scss +66 -0
- package/src/azion/theme-base/components/panel/_toolbar.scss +11 -0
- package/src/azion/theme-widget.scss +9 -0
- package/src/azion/theme.scss +9 -0
- package/src/azion/variables/_button.scss +438 -0
- package/src/azion/variables/_data.scss +346 -0
- package/src/azion/variables/_form.scss +570 -0
- package/src/azion/variables/_general.scss +149 -0
- package/src/azion/variables/_media.scss +231 -0
- package/src/azion/variables/_menu.scss +287 -0
- package/src/azion/variables/_message.scss +145 -0
- package/src/azion/variables/_misc.scss +143 -0
- package/src/azion/variables/_overlay.scss +67 -0
- package/src/azion/variables/_panel.scss +327 -0
- package/src/tokens/README.md +345 -0
- package/src/tokens/build/css-vars.js +41 -0
- package/src/tokens/build/preset.js +69 -0
- package/src/tokens/build/refs.js +7 -0
- package/src/tokens/build/resolve.js +102 -0
- package/src/tokens/build/tailwind-helper.js +12 -0
- package/src/tokens/build/tailwind-plugin.js +175 -0
- package/src/tokens/colors-brand.js +24 -0
- package/src/tokens/index.js +16 -0
- package/src/tokens/primitives/brand.js +69 -0
- package/src/tokens/primitives/colors.js +133 -0
- package/src/tokens/semantic/backgrounds.js +48 -0
- package/src/tokens/semantic/borders.js +46 -0
- package/src/tokens/semantic/text.js +78 -0
|
@@ -0,0 +1,166 @@
|
|
|
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
|
+
&.p-invalid.p-component {
|
|
49
|
+
@include invalid-input();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-inputwrapper-filled {
|
|
54
|
+
&.p-multiselect {
|
|
55
|
+
&.p-multiselect-chip {
|
|
56
|
+
.p-multiselect-label {
|
|
57
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-multiselect-panel {
|
|
64
|
+
background: $inputOverlayBg;
|
|
65
|
+
color: $inputListTextColor;
|
|
66
|
+
border: $inputOverlayBorder;
|
|
67
|
+
border-radius: $borderRadius;
|
|
68
|
+
box-shadow: $inputOverlayShadow;
|
|
69
|
+
|
|
70
|
+
.p-multiselect-header {
|
|
71
|
+
padding: $inputListHeaderPadding;
|
|
72
|
+
border-bottom: $inputListHeaderBorder;
|
|
73
|
+
color: $inputListHeaderTextColor;
|
|
74
|
+
background: $inputOverlayHeaderBg;
|
|
75
|
+
margin: $inputListHeaderMargin;
|
|
76
|
+
border-top-right-radius: $borderRadius;
|
|
77
|
+
border-top-left-radius: $borderRadius;
|
|
78
|
+
|
|
79
|
+
.p-multiselect-filter-container {
|
|
80
|
+
.p-inputtext {
|
|
81
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.p-multiselect-filter-icon {
|
|
85
|
+
right: nth($inputPadding, 2);
|
|
86
|
+
color: $inputIconColor;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.p-checkbox {
|
|
91
|
+
margin-right: $inlineSpacing;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.p-multiselect-close {
|
|
95
|
+
margin-left: $inlineSpacing;
|
|
96
|
+
@include action-icon();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-multiselect-items {
|
|
101
|
+
padding: $inputListPadding;
|
|
102
|
+
|
|
103
|
+
.p-multiselect-item {
|
|
104
|
+
margin: $inputListItemMargin;
|
|
105
|
+
padding: $inputListItemPadding;
|
|
106
|
+
border: $inputListItemBorder;
|
|
107
|
+
color: $inputListItemTextColor;
|
|
108
|
+
background: $inputListItemBg;
|
|
109
|
+
transition: $listItemTransition;
|
|
110
|
+
border-radius: $inputListItemBorderRadius;
|
|
111
|
+
|
|
112
|
+
&.p-highlight {
|
|
113
|
+
color: $highlightTextColor;
|
|
114
|
+
background: $highlightBg;
|
|
115
|
+
|
|
116
|
+
&.p-focus {
|
|
117
|
+
background: $highlightFocusBg;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
122
|
+
&.p-focus {
|
|
123
|
+
color: $inputListItemTextFocusColor;
|
|
124
|
+
background: $inputListItemFocusBg;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:hover {
|
|
128
|
+
color: $inputListItemTextHoverColor;
|
|
129
|
+
background: $inputListItemHoverBg;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.p-checkbox {
|
|
134
|
+
margin-right: $inlineSpacing;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.p-multiselect-item-group {
|
|
139
|
+
margin: $submenuHeaderMargin;
|
|
140
|
+
padding: $submenuHeaderPadding;
|
|
141
|
+
color: $submenuHeaderTextColor;
|
|
142
|
+
background: $submenuHeaderBg;
|
|
143
|
+
font-weight: $submenuHeaderFontWeight;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.p-multiselect-empty-message {
|
|
147
|
+
padding: $inputListItemPadding;
|
|
148
|
+
color: $inputListItemTextColor;
|
|
149
|
+
background: $inputListItemBg;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.p-input-filled {
|
|
155
|
+
.p-multiselect {
|
|
156
|
+
background: $inputFilledBg;
|
|
157
|
+
|
|
158
|
+
&:not(.p-disabled):hover {
|
|
159
|
+
background-color: $inputFilledHoverBg;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&:not(.p-disabled).p-focus {
|
|
163
|
+
background-color: $inputFilledFocusBg;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.p-password {
|
|
2
|
+
&.p-invalid.p-component > .p-inputtext {
|
|
3
|
+
@include invalid-input();
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-password-panel {
|
|
8
|
+
padding: $panelContentPadding;
|
|
9
|
+
background: $panelContentBg;
|
|
10
|
+
color: $panelContentTextColor;
|
|
11
|
+
border: $overlayContentBorder;
|
|
12
|
+
box-shadow: $inputOverlayShadow;
|
|
13
|
+
border-radius: $borderRadius;
|
|
14
|
+
|
|
15
|
+
.p-password-meter {
|
|
16
|
+
margin-bottom: $inlineSpacing;
|
|
17
|
+
background: $passwordMeterBg;
|
|
18
|
+
|
|
19
|
+
.p-password-strength {
|
|
20
|
+
&.weak {
|
|
21
|
+
background: $passwordWeakBg;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.medium {
|
|
25
|
+
background: $passwordMediumBg;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.strong {
|
|
29
|
+
background: $passwordStrongBg;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -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
|
+
&.p-invalid > .p-radiobutton-box {
|
|
42
|
+
@include invalid-input();
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:focus {
|
|
46
|
+
outline: 0 none;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-input-filled {
|
|
51
|
+
.p-radiobutton {
|
|
52
|
+
.p-radiobutton-box {
|
|
53
|
+
background-color: $inputFilledBg;
|
|
54
|
+
|
|
55
|
+
&:not(.p-disabled):hover {
|
|
56
|
+
background-color: $inputFilledHoverBg;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.p-highlight {
|
|
60
|
+
background: $radiobuttonActiveBg;
|
|
61
|
+
|
|
62
|
+
&:not(.p-disabled):hover {
|
|
63
|
+
background: $radiobuttonActiveHoverBg;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
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
|
+
&.p-invalid > .p-button {
|
|
48
|
+
@include invalid-input();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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).p-focus {
|
|
13
|
+
@include focused-input();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
17
|
+
background: $toggleButtonHoverBg;
|
|
18
|
+
border-color: $toggleButtonHoverBorderColor;
|
|
19
|
+
color: $toggleButtonTextHoverColor;
|
|
20
|
+
|
|
21
|
+
.p-button-icon-left,
|
|
22
|
+
.p-button-icon-right {
|
|
23
|
+
color: $toggleButtonIconHoverColor;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.p-highlight {
|
|
28
|
+
background: $toggleButtonActiveBg;
|
|
29
|
+
border-color: $toggleButtonActiveBorderColor;
|
|
30
|
+
color: $toggleButtonTextActiveColor;
|
|
31
|
+
|
|
32
|
+
.p-button-icon-left,
|
|
33
|
+
.p-button-icon-right {
|
|
34
|
+
color: $toggleButtonIconActiveColor;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
background: $toggleButtonActiveHoverBg;
|
|
39
|
+
border-color: $toggleButtonActiveHoverBorderColor;
|
|
40
|
+
color: $toggleButtonTextActiveHoverColor;
|
|
41
|
+
|
|
42
|
+
.p-button-icon-left,
|
|
43
|
+
.p-button-icon-right {
|
|
44
|
+
color: $toggleButtonIconActiveHoverColor;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.p-invalid > .p-button {
|
|
50
|
+
@include invalid-input();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
&.p-invalid.p-component {
|
|
45
|
+
@include invalid-input();
|
|
46
|
+
}
|
|
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-items-wrapper {
|
|
67
|
+
.p-tree {
|
|
68
|
+
border: 0 none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-treeselect-empty-message {
|
|
72
|
+
padding: $inputListItemPadding;
|
|
73
|
+
color: $inputListItemTextColor;
|
|
74
|
+
background: $inputListItemBg;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.p-input-filled {
|
|
80
|
+
.p-treeselect {
|
|
81
|
+
background: $inputFilledBg;
|
|
82
|
+
|
|
83
|
+
&:not(.p-disabled):hover {
|
|
84
|
+
background-color: $inputFilledHoverBg;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:not(.p-disabled).p-focus {
|
|
88
|
+
background-color: $inputFilledFocusBg;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
.p-breadcrumb {
|
|
2
|
+
background: $breadcrumbBg;
|
|
3
|
+
border: $breadcrumbBorder;
|
|
4
|
+
border-radius: $borderRadius;
|
|
5
|
+
padding: $breadcrumbPadding;
|
|
6
|
+
|
|
7
|
+
.p-breadcrumb-list {
|
|
8
|
+
li {
|
|
9
|
+
.p-menuitem-link {
|
|
10
|
+
transition: $listItemTransition;
|
|
11
|
+
border-radius: $borderRadius;
|
|
12
|
+
|
|
13
|
+
&:focus-visible {
|
|
14
|
+
@include focused();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-menuitem-text {
|
|
18
|
+
color: $breadcrumbItemTextColor;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-menuitem-icon {
|
|
22
|
+
color: $breadcrumbItemIconColor;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.p-menuitem-separator {
|
|
27
|
+
margin: 0 $inlineSpacing 0 $inlineSpacing;
|
|
28
|
+
color: $breadcrumbSeparatorColor;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:last-child {
|
|
32
|
+
.p-menuitem-text {
|
|
33
|
+
color: $breadcrumbLastItemTextColor;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-menuitem-icon {
|
|
37
|
+
color: $breadcrumbLastItemIconColor;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.p-contextmenu {
|
|
2
|
+
padding: $verticalMenuPadding;
|
|
3
|
+
background: $overlayMenuBg;
|
|
4
|
+
color: $menuTextColor;
|
|
5
|
+
border: $overlayMenuBorder;
|
|
6
|
+
box-shadow: $overlayMenuShadow;
|
|
7
|
+
border-radius: $borderRadius;
|
|
8
|
+
width: $menuWidth;
|
|
9
|
+
|
|
10
|
+
.p-contextmenu-root-list {
|
|
11
|
+
outline: 0 none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-submenu-list {
|
|
15
|
+
padding: $verticalMenuPadding;
|
|
16
|
+
background: $overlayMenuBg;
|
|
17
|
+
border: $overlayMenuBorder;
|
|
18
|
+
box-shadow: $overlayMenuShadow;
|
|
19
|
+
border-radius: $borderRadius;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-menuitem {
|
|
23
|
+
@include menuitem();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-menuitem-separator {
|
|
27
|
+
border-top: $divider;
|
|
28
|
+
margin: $menuSeparatorMargin;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.p-submenu-icon {
|
|
32
|
+
font-size: $menuitemSubmenuIconFontSize;
|
|
33
|
+
|
|
34
|
+
&.p-icon {
|
|
35
|
+
width: $menuitemSubmenuIconFontSize;
|
|
36
|
+
height: $menuitemSubmenuIconFontSize;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|