@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,114 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-autocomplete {
|
|
4
|
+
.p-autocomplete-loader {
|
|
5
|
+
right: nth($inputPadding, 2);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.p-autocomplete-dd {
|
|
9
|
+
.p-autocomplete-loader {
|
|
10
|
+
right: nth($inputPadding, 2) + $buttonIconOnlyWidth;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:not(.p-disabled):hover {
|
|
15
|
+
.p-autocomplete-multiple-container {
|
|
16
|
+
border-color: $inputHoverBorderColor;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:not(.p-disabled).p-focus {
|
|
21
|
+
.p-autocomplete-multiple-container {
|
|
22
|
+
@include focused-input();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-autocomplete-multiple-container {
|
|
27
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
28
|
+
gap: $inlineSpacing;
|
|
29
|
+
|
|
30
|
+
.p-autocomplete-input-token {
|
|
31
|
+
padding: math.div(nth($inputPadding, 1), 2) 0;
|
|
32
|
+
|
|
33
|
+
input {
|
|
34
|
+
font-family: var(--font-family);
|
|
35
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
|
36
|
+
font-size: $inputTextFontSize;
|
|
37
|
+
color: $textColor;
|
|
38
|
+
padding: 0;
|
|
39
|
+
margin: 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-autocomplete-token {
|
|
44
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
45
|
+
background: $chipBg;
|
|
46
|
+
color: $chipTextColor;
|
|
47
|
+
border-radius: $chipBorderRadius;
|
|
48
|
+
|
|
49
|
+
.p-autocomplete-token-icon {
|
|
50
|
+
margin-left: $inlineSpacing;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.p-focus {
|
|
54
|
+
background: $chipFocusBg;
|
|
55
|
+
color: $chipFocusTextColor;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.p-invalid.p-component > .p-inputtext {
|
|
61
|
+
@include invalid-input();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-autocomplete-panel {
|
|
66
|
+
background: $inputOverlayBg;
|
|
67
|
+
color: $inputListTextColor;
|
|
68
|
+
border: $inputOverlayBorder;
|
|
69
|
+
border-radius: $borderRadius;
|
|
70
|
+
box-shadow: $inputOverlayShadow;
|
|
71
|
+
|
|
72
|
+
.p-autocomplete-items {
|
|
73
|
+
padding: $inputListPadding;
|
|
74
|
+
|
|
75
|
+
.p-autocomplete-item {
|
|
76
|
+
margin: $inputListItemMargin;
|
|
77
|
+
padding: $inputListItemPadding;
|
|
78
|
+
border: $inputListItemBorder;
|
|
79
|
+
color: $inputListItemTextColor;
|
|
80
|
+
background: $inputListItemBg;
|
|
81
|
+
transition: $listItemTransition;
|
|
82
|
+
border-radius: $inputListItemBorderRadius;
|
|
83
|
+
|
|
84
|
+
&.p-highlight {
|
|
85
|
+
color: $highlightTextColor;
|
|
86
|
+
background: $highlightBg;
|
|
87
|
+
|
|
88
|
+
&.p-focus {
|
|
89
|
+
background: $highlightFocusBg;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
94
|
+
&.p-focus {
|
|
95
|
+
color: $inputListItemTextFocusColor;
|
|
96
|
+
background: $inputListItemFocusBg;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
color: $inputListItemTextHoverColor;
|
|
101
|
+
background: $inputListItemHoverBg;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.p-autocomplete-item-group {
|
|
107
|
+
margin: $submenuHeaderMargin;
|
|
108
|
+
padding: $submenuHeaderPadding;
|
|
109
|
+
color: $submenuHeaderTextColor;
|
|
110
|
+
background: $submenuHeaderBg;
|
|
111
|
+
font-weight: $submenuHeaderFontWeight;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
.p-calendar {
|
|
2
|
+
&.p-invalid.p-component > .p-inputtext {
|
|
3
|
+
@include invalid-input();
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&:not(.p-calendar-disabled).p-focus > .p-inputtext {
|
|
7
|
+
@include focused-input();
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-datepicker {
|
|
12
|
+
padding: $calendarPadding;
|
|
13
|
+
background: $calendarInlineBg;
|
|
14
|
+
color: $calendarTextColor;
|
|
15
|
+
border: $calendarBorder;
|
|
16
|
+
border-radius: $borderRadius;
|
|
17
|
+
|
|
18
|
+
&:not(.p-datepicker-inline) {
|
|
19
|
+
background: $calendarBg;
|
|
20
|
+
border: $calendarOverlayBorder;
|
|
21
|
+
box-shadow: $inputOverlayShadow;
|
|
22
|
+
|
|
23
|
+
.p-datepicker-header {
|
|
24
|
+
background: $calendarHeaderBg;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.p-datepicker-header {
|
|
29
|
+
padding: $calendarHeaderPadding;
|
|
30
|
+
color: $calendarHeaderTextColor;
|
|
31
|
+
background: $calendarInlineHeaderBg;
|
|
32
|
+
font-weight: $calendarHeaderFontWeight;
|
|
33
|
+
margin: $inputListHeaderMargin;
|
|
34
|
+
border-bottom: $calendarHeaderBorder;
|
|
35
|
+
border-top-right-radius: $borderRadius;
|
|
36
|
+
border-top-left-radius: $borderRadius;
|
|
37
|
+
|
|
38
|
+
.p-datepicker-prev,
|
|
39
|
+
.p-datepicker-next {
|
|
40
|
+
@include action-icon();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-datepicker-title {
|
|
44
|
+
line-height: $actionIconHeight;
|
|
45
|
+
|
|
46
|
+
.p-datepicker-year,
|
|
47
|
+
.p-datepicker-month {
|
|
48
|
+
color: $calendarHeaderTextColor;
|
|
49
|
+
transition: $actionIconTransition;
|
|
50
|
+
font-weight: $calendarHeaderFontWeight;
|
|
51
|
+
padding: $calendarHeaderCellPadding;
|
|
52
|
+
|
|
53
|
+
&:enabled:hover {
|
|
54
|
+
color: $calendarMonthYearHeaderHoverTextColor;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-datepicker-month {
|
|
59
|
+
margin-right: $inlineSpacing;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
table {
|
|
65
|
+
font-size: $fontSize;
|
|
66
|
+
margin: $calendarTableMargin;
|
|
67
|
+
|
|
68
|
+
th {
|
|
69
|
+
padding: $calendarHeaderCellPadding;
|
|
70
|
+
|
|
71
|
+
> span {
|
|
72
|
+
width: $calendarCellDateWidth;
|
|
73
|
+
height: $calendarCellDateHeight;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
td {
|
|
78
|
+
padding: $calendarCellDatePadding;
|
|
79
|
+
|
|
80
|
+
> span {
|
|
81
|
+
width: $calendarCellDateWidth;
|
|
82
|
+
height: $calendarCellDateHeight;
|
|
83
|
+
border-radius: $calendarCellDateBorderRadius;
|
|
84
|
+
transition: $listItemTransition;
|
|
85
|
+
border: $calendarCellDateBorder;
|
|
86
|
+
|
|
87
|
+
&.p-highlight {
|
|
88
|
+
color: $highlightTextColor;
|
|
89
|
+
background: $highlightBg;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:focus {
|
|
93
|
+
@include focused();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.p-datepicker-today {
|
|
98
|
+
> span {
|
|
99
|
+
background: $calendarCellDateTodayBg;
|
|
100
|
+
color: $calendarCellDateTodayTextColor;
|
|
101
|
+
border-color: $calendarCellDateTodayBorderColor;
|
|
102
|
+
|
|
103
|
+
&.p-highlight {
|
|
104
|
+
color: $highlightTextColor;
|
|
105
|
+
background: $highlightBg;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.p-datepicker-buttonbar {
|
|
113
|
+
padding: $calendarButtonBarPadding;
|
|
114
|
+
border-top: $divider;
|
|
115
|
+
|
|
116
|
+
.p-button {
|
|
117
|
+
width: auto;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.p-timepicker {
|
|
122
|
+
border-top: $divider;
|
|
123
|
+
padding: $calendarTimePickerPadding;
|
|
124
|
+
|
|
125
|
+
button {
|
|
126
|
+
@include action-icon();
|
|
127
|
+
|
|
128
|
+
&:last-child {
|
|
129
|
+
margin-top: .2em;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
span {
|
|
134
|
+
font-size: $calendarTimePickerTimeFontSize;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
> div {
|
|
138
|
+
padding: $calendarTimePickerElementPadding;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.p-datepicker-timeonly {
|
|
143
|
+
.p-timepicker {
|
|
144
|
+
border-top: 0 none;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.p-monthpicker {
|
|
149
|
+
margin: $calendarTableMargin;
|
|
150
|
+
|
|
151
|
+
.p-monthpicker-month {
|
|
152
|
+
padding: $calendarCellDatePadding;
|
|
153
|
+
transition: $listItemTransition;
|
|
154
|
+
border-radius: $borderRadius;
|
|
155
|
+
|
|
156
|
+
&.p-highlight {
|
|
157
|
+
color: $highlightTextColor;
|
|
158
|
+
background: $highlightBg;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.p-yearpicker {
|
|
164
|
+
margin: $calendarTableMargin;
|
|
165
|
+
|
|
166
|
+
.p-yearpicker-year {
|
|
167
|
+
padding: $calendarCellDatePadding;
|
|
168
|
+
transition: $listItemTransition;
|
|
169
|
+
border-radius: $borderRadius;
|
|
170
|
+
|
|
171
|
+
&.p-highlight {
|
|
172
|
+
color: $highlightTextColor;
|
|
173
|
+
background: $highlightBg;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&.p-datepicker-multiple-month {
|
|
179
|
+
.p-datepicker-group {
|
|
180
|
+
border-left: $divider;
|
|
181
|
+
padding-right: $calendarPadding;
|
|
182
|
+
padding-left: $calendarPadding;
|
|
183
|
+
padding-top: 0;
|
|
184
|
+
padding-bottom: 0;
|
|
185
|
+
|
|
186
|
+
&:first-child {
|
|
187
|
+
padding-left: 0;
|
|
188
|
+
border-left: 0 none;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&:last-child {
|
|
192
|
+
padding-right: 0;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&:not(.p-disabled) {
|
|
198
|
+
table {
|
|
199
|
+
td {
|
|
200
|
+
span:not(.p-highlight):not(.p-disabled) {
|
|
201
|
+
&:hover {
|
|
202
|
+
background: $calendarCellDateHoverBg;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&:focus {
|
|
206
|
+
@include focused();
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.p-monthpicker {
|
|
213
|
+
.p-monthpicker-month {
|
|
214
|
+
&:not(.p-disabled) {
|
|
215
|
+
&:not(.p-highlight):hover {
|
|
216
|
+
background: $calendarCellDateHoverBg;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&:focus {
|
|
220
|
+
@include focused();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.p-yearpicker {
|
|
227
|
+
.p-yearpicker-year {
|
|
228
|
+
&:not(.p-disabled) {
|
|
229
|
+
&:not(.p-highlight):hover {
|
|
230
|
+
background: $calendarCellDateHoverBg;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&:focus {
|
|
234
|
+
@include focused();
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@media screen and (max-width: $calendarBreakpoint) {
|
|
244
|
+
.p-datepicker {
|
|
245
|
+
table {
|
|
246
|
+
th, td {
|
|
247
|
+
padding: $calendarCellDatePaddingSM;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
.p-cascadeselect {
|
|
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-cascadeselect-label {
|
|
16
|
+
background: transparent;
|
|
17
|
+
border: 0 none;
|
|
18
|
+
padding: $inputPadding;
|
|
19
|
+
|
|
20
|
+
&.p-placeholder {
|
|
21
|
+
color: $inputPlaceholderTextColor;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:enabled:focus {
|
|
25
|
+
outline: 0 none;
|
|
26
|
+
box-shadow: none;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-cascadeselect-trigger {
|
|
31
|
+
background: transparent;
|
|
32
|
+
color: $inputIconColor;
|
|
33
|
+
width: $inputGroupAddOnMinWidth;
|
|
34
|
+
border-top-right-radius: $borderRadius;
|
|
35
|
+
border-bottom-right-radius: $borderRadius;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.p-invalid.p-component {
|
|
39
|
+
@include invalid-input();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-cascadeselect-panel {
|
|
44
|
+
background: $inputOverlayBg;
|
|
45
|
+
color: $inputListTextColor;
|
|
46
|
+
border: $inputOverlayBorder;
|
|
47
|
+
border-radius: $borderRadius;
|
|
48
|
+
box-shadow: $inputOverlayShadow;
|
|
49
|
+
|
|
50
|
+
.p-cascadeselect-items {
|
|
51
|
+
padding: $inputListPadding;
|
|
52
|
+
|
|
53
|
+
.p-cascadeselect-item {
|
|
54
|
+
margin: $inputListItemMargin;
|
|
55
|
+
border: $inputListItemBorder;
|
|
56
|
+
color: $inputListItemTextColor;
|
|
57
|
+
background: $inputListItemBg;
|
|
58
|
+
transition: $listItemTransition;
|
|
59
|
+
border-radius: $inputListItemBorderRadius;
|
|
60
|
+
|
|
61
|
+
&.p-highlight {
|
|
62
|
+
color: $highlightTextColor;
|
|
63
|
+
background: $highlightBg;
|
|
64
|
+
|
|
65
|
+
&.p-focus {
|
|
66
|
+
background: $highlightFocusBg;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
71
|
+
&.p-focus {
|
|
72
|
+
color: $inputListItemTextFocusColor;
|
|
73
|
+
background: $inputListItemFocusBg;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:hover {
|
|
77
|
+
color: $inputListItemTextHoverColor;
|
|
78
|
+
background: $inputListItemHoverBg;
|
|
79
|
+
}
|
|
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
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
&.p-icon {
|
|
20
|
+
width: $checkboxIconFontSize;
|
|
21
|
+
height: $checkboxIconFontSize;
|
|
22
|
+
}
|
|
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
|
+
&.p-invalid > .p-checkbox-box {
|
|
50
|
+
@include invalid-input();
|
|
51
|
+
}
|
|
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
|
+
@if ($highlightBg == $checkboxActiveBg) {
|
|
79
|
+
.p-highlight {
|
|
80
|
+
.p-checkbox {
|
|
81
|
+
.p-checkbox-box {
|
|
82
|
+
border-color: $checkboxIconActiveColor;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
|
|
19
|
+
.p-chips-token {
|
|
20
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
21
|
+
margin-right: $inlineSpacing;
|
|
22
|
+
background: $chipBg;
|
|
23
|
+
color: $chipTextColor;
|
|
24
|
+
border-radius: $chipBorderRadius;
|
|
25
|
+
|
|
26
|
+
&.p-focus {
|
|
27
|
+
background: $chipFocusBg;
|
|
28
|
+
color: $chipFocusTextColor;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.p-chips-token-icon {
|
|
32
|
+
margin-left: $inlineSpacing;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.p-chips-input-token {
|
|
37
|
+
padding: math.div(nth($inputPadding, 1), 2) 0;
|
|
38
|
+
|
|
39
|
+
input {
|
|
40
|
+
font-family: var(--font-family);
|
|
41
|
+
font-feature-settings: var(--font-feature-settings, normal);
|
|
42
|
+
font-size: $inputTextFontSize;
|
|
43
|
+
color: $textColor;
|
|
44
|
+
padding: 0;
|
|
45
|
+
margin: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.p-invalid.p-component > .p-inputtext {
|
|
51
|
+
@include invalid-input();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.p-colorpicker-preview {
|
|
2
|
+
width: $colorPickerPreviewWidth;
|
|
3
|
+
height: $colorPickerPreviewHeight;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.p-colorpicker-panel {
|
|
7
|
+
background: $colorPickerBg;
|
|
8
|
+
border: $colorPickerBorder;
|
|
9
|
+
|
|
10
|
+
.p-colorpicker-color-handle,
|
|
11
|
+
.p-colorpicker-hue-handle {
|
|
12
|
+
border-color: $colorPickerHandleColor;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-colorpicker-overlay-panel {
|
|
17
|
+
box-shadow: $inputOverlayShadow;
|
|
18
|
+
}
|