@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,13 @@
|
|
|
1
|
+
// Custom DropdownItem
|
|
2
|
+
.p-dropdown-item {
|
|
3
|
+
height: 2.375rem !important;
|
|
4
|
+
display: flex !important;
|
|
5
|
+
align-items: center !important;
|
|
6
|
+
font-size: 0.875rem !important;
|
|
7
|
+
font-weight: normal !important;
|
|
8
|
+
}
|
|
9
|
+
.p-dropdown-item-group {
|
|
10
|
+
font-size: 0.75rem !important;
|
|
11
|
+
font-weight: 500 !important;
|
|
12
|
+
padding-bottom: 0.25rem !important;
|
|
13
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.p-inputnumber-button {
|
|
2
|
+
color: $inputIconColor;
|
|
3
|
+
background: $inputBg;
|
|
4
|
+
border: $inputBorder;
|
|
5
|
+
border-left: none;
|
|
6
|
+
|
|
7
|
+
&:enabled:hover {
|
|
8
|
+
background: $secondaryButtonHoverBg;
|
|
9
|
+
color: $secondaryButtonTextHoverColor;
|
|
10
|
+
border-color: $secondaryButtonHoverBorderColor;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&:enabled:focus {
|
|
14
|
+
box-shadow: $secondaryButtonFocusShadow;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:enabled:active {
|
|
18
|
+
background: $secondaryButtonActiveBg;
|
|
19
|
+
color: $secondaryButtonTextActiveColor;
|
|
20
|
+
border-color: $secondaryButtonActiveBorderColor;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.p-button-outlined {
|
|
24
|
+
background-color: transparent;
|
|
25
|
+
color: $secondaryButtonBg;
|
|
26
|
+
border: $outlinedButtonBorder;
|
|
27
|
+
|
|
28
|
+
&:enabled:hover {
|
|
29
|
+
background: rgba($secondaryButtonBg, $textButtonHoverBgOpacity);
|
|
30
|
+
color: $secondaryButtonBg;
|
|
31
|
+
border: $outlinedButtonBorder;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:enabled:active {
|
|
35
|
+
background: rgba($secondaryButtonBg, $textButtonActiveBgOpacity);
|
|
36
|
+
color: $secondaryButtonBg;
|
|
37
|
+
border: $outlinedButtonBorder;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// Custom Switch
|
|
2
|
+
@use 'sass:math';
|
|
3
|
+
|
|
4
|
+
.p-inputswitch {
|
|
5
|
+
.p-inputswitch-slider {
|
|
6
|
+
background-color: var(--gray-100) !important;
|
|
7
|
+
padding-left: 2px;
|
|
8
|
+
|
|
9
|
+
&:before {
|
|
10
|
+
margin-left: 1px;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.p-inputswitch-checked {
|
|
15
|
+
.p-inputswitch-slider:before {
|
|
16
|
+
background-color: #fff !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.p-focus {
|
|
21
|
+
.p-inputswitch-slider {
|
|
22
|
+
@include focused();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:not(.p-disabled):hover {
|
|
27
|
+
.p-inputswitch-slider {
|
|
28
|
+
background: var(--gray-200) !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.p-inputswitch-checked {
|
|
33
|
+
.p-inputswitch-slider {
|
|
34
|
+
background: #f3652b !important;
|
|
35
|
+
|
|
36
|
+
&:before {
|
|
37
|
+
background: $inputSwitchHandleOnBg;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:not(.p-disabled):hover {
|
|
42
|
+
.p-inputswitch-slider {
|
|
43
|
+
background: #f5793f !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.p-invalid {
|
|
49
|
+
.p-inputswitch-slider {
|
|
50
|
+
@include invalid-input();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.p-listbox {
|
|
2
|
+
.p-listbox-list {
|
|
3
|
+
.p-listbox-item {
|
|
4
|
+
padding: 0 12px;
|
|
5
|
+
height: 38px !important;
|
|
6
|
+
display: flex !important;
|
|
7
|
+
gap: 12px !important;
|
|
8
|
+
align-items: center !important;
|
|
9
|
+
font-size: 0.875rem !important;
|
|
10
|
+
font-weight: 500 !important;
|
|
11
|
+
}
|
|
12
|
+
.p-highlight {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
}
|
|
15
|
+
&.p-focus {
|
|
16
|
+
border-color: none !important;
|
|
17
|
+
outline: none !important;
|
|
18
|
+
outline-offset: none !important;
|
|
19
|
+
box-shadow: none !important;
|
|
20
|
+
}
|
|
21
|
+
&.p-focus:focus-visible {
|
|
22
|
+
border-color: none !important;
|
|
23
|
+
outline: $focusOutline !important;
|
|
24
|
+
outline-offset: $focusOutlineOffset !important;
|
|
25
|
+
box-shadow: $focusShadow !important;
|
|
26
|
+
}
|
|
27
|
+
.p-listbox-item{
|
|
28
|
+
|
|
29
|
+
.p-listbox-empty-message {
|
|
30
|
+
color: var(--text-color-empty);
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
.prose {
|
|
2
|
+
*:not(p, a, li, span) {
|
|
3
|
+
color: var(--text-color) !important;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
*:is(a):not(.p-button), *:is(a > u):not(.p-button > u) {
|
|
7
|
+
color: var(--text-color-link) !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
*:is(table) {
|
|
11
|
+
border-collapse: separate !important;
|
|
12
|
+
border-spacing: .5px !important;
|
|
13
|
+
box-sizing: content-box !important;
|
|
14
|
+
border: 1px solid var(--surface-border) !important;
|
|
15
|
+
border-radius: 6px !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
*:is(table > thead) {
|
|
19
|
+
border-collapse: separate;
|
|
20
|
+
background: var(--table-bg-color);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
*:is(tr > th) {
|
|
24
|
+
background: var(--table-bg-color);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
*:is(tr > th) {
|
|
28
|
+
font-size: .875rem;
|
|
29
|
+
text-wrap: nowrap;
|
|
30
|
+
color: var(--text-color);
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
text-align: left;
|
|
33
|
+
padding: 1rem !important;
|
|
34
|
+
background: var(--table-bg-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
*:is(tr > td) {
|
|
38
|
+
font-size: .875rem;
|
|
39
|
+
color: var(--text-color);
|
|
40
|
+
padding: 1rem !important;
|
|
41
|
+
border-top: 1px solid var(--surface-border);
|
|
42
|
+
background: var(--surface-section);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media screen and (max-width: 640px) {
|
|
46
|
+
table {
|
|
47
|
+
display: block;
|
|
48
|
+
width: 100%;
|
|
49
|
+
overflow-x: scroll;
|
|
50
|
+
}
|
|
51
|
+
table td {
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
*:is(p), *:is(li) {
|
|
57
|
+
color: var(--text-color-secondary) !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
*:is(hr) {
|
|
61
|
+
border-color: var(--surface-border) !important;
|
|
62
|
+
}
|
|
63
|
+
*:is(hr + .heading-wrapper) {
|
|
64
|
+
align-items: flex-start !important;
|
|
65
|
+
|
|
66
|
+
h1, h2, h3, h4, h5, h6 {
|
|
67
|
+
margin-top: 0 !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
*:is(.heading-wrapper + p) { margin-top: 0 !important;}
|
|
72
|
+
|
|
73
|
+
*:is(aside.content) {
|
|
74
|
+
background: #f3652b15 !important;
|
|
75
|
+
border-radius: 0.325rem !important;
|
|
76
|
+
border-left: #f3652b 5px solid !important;
|
|
77
|
+
margin: 2rem 0 !important;
|
|
78
|
+
}
|
|
79
|
+
*:is(aside.content.note) {
|
|
80
|
+
background: var(--surface-200) !important;
|
|
81
|
+
border-left: var(--surface-600) 5px solid !important;
|
|
82
|
+
}
|
|
83
|
+
*:is(aside.content > p) {
|
|
84
|
+
color: var(--text-color) !important;
|
|
85
|
+
display: flex;
|
|
86
|
+
gap: 0.375rem;
|
|
87
|
+
fill: #f3652b !important;
|
|
88
|
+
margin: 0 !important;
|
|
89
|
+
padding-left: .375rem;
|
|
90
|
+
}
|
|
91
|
+
*:is(aside.content > section > p) {
|
|
92
|
+
margin: .5rem .5rem 0 0 !important;
|
|
93
|
+
font-size: 1rem;
|
|
94
|
+
padding-left: .375rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
*:is(._tablist_ugdi6_34){
|
|
98
|
+
border-color: transparent !important;
|
|
99
|
+
}
|
|
100
|
+
*:is(.TabGroup) {
|
|
101
|
+
border-bottom: none !important;
|
|
102
|
+
}
|
|
103
|
+
*:is(.TabGroup > button){
|
|
104
|
+
font-weight: 500 !important;
|
|
105
|
+
}
|
|
106
|
+
*:is(.TabGroup > span){
|
|
107
|
+
color: #f3652b !important;
|
|
108
|
+
height: 10px !important;
|
|
109
|
+
background: #f3652b !important;
|
|
110
|
+
}
|
|
111
|
+
*:is(._tab-scroll-overflow_ugdi6_10 > .border) {
|
|
112
|
+
border-color: var(--surface-border) !important;
|
|
113
|
+
}
|
|
114
|
+
*:is(.expressive-code) {
|
|
115
|
+
margin-bottom: 1.8rem !important;
|
|
116
|
+
}
|
|
117
|
+
*:is(.expressive-code code) {
|
|
118
|
+
background: #222222 !important;
|
|
119
|
+
}
|
|
120
|
+
*:is(.p-button) {
|
|
121
|
+
margin: 0 .5rem .5rem 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
*:is(.p-button) {
|
|
125
|
+
color: var(--primary-text-color) !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
*:is(.p-button-secondary) {
|
|
129
|
+
color: var(--secondary-button-text-color) !important;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.astro-code {
|
|
134
|
+
background-color: var(--surface-400) !important;
|
|
135
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Custom MenuItem
|
|
2
|
+
.p-menu {
|
|
3
|
+
.p-menuitem {
|
|
4
|
+
.p-menuitem-content {
|
|
5
|
+
.p-menuitem-link {
|
|
6
|
+
height: 38px !important;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
text-overflow: ellipsis;
|
|
10
|
+
.p-menuitem-text {
|
|
11
|
+
font-size: 0.875rem !important;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
}
|
|
16
|
+
.p-menuitem-icon {
|
|
17
|
+
font-size: 0.875rem !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.p-multiselect {
|
|
4
|
+
font-size: 0.875rem !important;
|
|
5
|
+
background: $inputBg;
|
|
6
|
+
border: $inputBorder;
|
|
7
|
+
transition: $formElementTransition;
|
|
8
|
+
border-radius: $borderRadius;
|
|
9
|
+
|
|
10
|
+
&:not(.p-disabled):hover {
|
|
11
|
+
border-color: $inputHoverBorderColor;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:not(.p-disabled).p-focus {
|
|
15
|
+
@include focused-input();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-multiselect-label {
|
|
19
|
+
padding: $inputPadding;
|
|
20
|
+
transition: $formElementTransition;
|
|
21
|
+
|
|
22
|
+
&.p-placeholder {
|
|
23
|
+
color: $inputPlaceholderTextColor;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.p-multiselect-chip {
|
|
28
|
+
.p-multiselect-token {
|
|
29
|
+
font-size: 0.875rem !important;
|
|
30
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
31
|
+
margin-right: $inlineSpacing;
|
|
32
|
+
background: $chipBg;
|
|
33
|
+
color: $chipTextColor;
|
|
34
|
+
border-radius: $chipBorderRadius;
|
|
35
|
+
|
|
36
|
+
.p-multiselect-token-icon {
|
|
37
|
+
margin-left: $inlineSpacing;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-multiselect-trigger {
|
|
43
|
+
background: transparent;
|
|
44
|
+
color: $inputIconColor;
|
|
45
|
+
width: $inputGroupAddOnMinWidth;
|
|
46
|
+
border-top-right-radius: $borderRadius;
|
|
47
|
+
border-bottom-right-radius: $borderRadius;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.p-invalid.p-component {
|
|
51
|
+
@include invalid-input();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-inputwrapper-filled {
|
|
56
|
+
&.p-multiselect {
|
|
57
|
+
&.p-multiselect-chip {
|
|
58
|
+
.p-multiselect-label {
|
|
59
|
+
padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-multiselect-panel {
|
|
66
|
+
background: $inputOverlayBg;
|
|
67
|
+
color: $inputListTextColor;
|
|
68
|
+
border: $inputOverlayBorder;
|
|
69
|
+
border-radius: $borderRadius;
|
|
70
|
+
box-shadow: $inputOverlayShadow;
|
|
71
|
+
|
|
72
|
+
.p-multiselect-header {
|
|
73
|
+
padding: $inputListHeaderPadding;
|
|
74
|
+
border-bottom: $inputListHeaderBorder;
|
|
75
|
+
color: $inputListHeaderTextColor;
|
|
76
|
+
background: $inputOverlayHeaderBg;
|
|
77
|
+
margin: $inputListHeaderMargin;
|
|
78
|
+
border-top-right-radius: $borderRadius;
|
|
79
|
+
border-top-left-radius: $borderRadius;
|
|
80
|
+
|
|
81
|
+
.p-multiselect-filter-container {
|
|
82
|
+
.p-inputtext {
|
|
83
|
+
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.p-multiselect-filter-icon {
|
|
87
|
+
right: nth($inputPadding, 2);
|
|
88
|
+
color: $inputIconColor;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.p-checkbox {
|
|
93
|
+
margin-right: $inlineSpacing;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.p-multiselect-close {
|
|
97
|
+
margin-left: $inlineSpacing;
|
|
98
|
+
@include action-icon();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.p-multiselect-items {
|
|
103
|
+
font-size: 0.875rem !important;
|
|
104
|
+
padding: $inputListPadding;
|
|
105
|
+
|
|
106
|
+
.p-multiselect-item {
|
|
107
|
+
height: 2.375rem !important;
|
|
108
|
+
margin: $inputListItemMargin;
|
|
109
|
+
padding: $inputListItemPadding;
|
|
110
|
+
border: $inputListItemBorder;
|
|
111
|
+
color: $inputListItemTextColor;
|
|
112
|
+
background: $inputListItemBg;
|
|
113
|
+
transition: $listItemTransition;
|
|
114
|
+
border-radius: $inputListItemBorderRadius;
|
|
115
|
+
|
|
116
|
+
&.p-highlight {
|
|
117
|
+
color: $highlightTextColor;
|
|
118
|
+
background: $highlightBg;
|
|
119
|
+
|
|
120
|
+
&.p-focus {
|
|
121
|
+
background: $highlightFocusBg;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&:not(.p-highlight):not(.p-disabled) {
|
|
126
|
+
&.p-focus {
|
|
127
|
+
color: $inputListItemTextFocusColor;
|
|
128
|
+
background: $inputListItemFocusBg;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:hover {
|
|
132
|
+
color: $inputListItemTextHoverColor;
|
|
133
|
+
background: $inputListItemHoverBg;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.p-checkbox {
|
|
138
|
+
margin-right: $inlineSpacing;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.p-multiselect-item-group {
|
|
143
|
+
font-size: 0.75rem !important;
|
|
144
|
+
font-weight: 500 !important;
|
|
145
|
+
padding-bottom: 0.25rem !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.p-multiselect-empty-message {
|
|
149
|
+
color: var(--text-color-empty);
|
|
150
|
+
font-size: 14px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.p-input-filled {
|
|
156
|
+
.p-multiselect {
|
|
157
|
+
background: $inputFilledBg;
|
|
158
|
+
|
|
159
|
+
&:not(.p-disabled):hover {
|
|
160
|
+
background-color: $inputFilledHoverBg;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&:not(.p-disabled).p-focus {
|
|
164
|
+
background-color: $inputFilledFocusBg;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.p-overlaypanel .p-overlaypanel-close:enabled:hover {
|
|
2
|
+
background: none !important;
|
|
3
|
+
color: transparent;
|
|
4
|
+
}
|
|
5
|
+
.p-overlaypanel:after,
|
|
6
|
+
.p-overlaypanel:before {
|
|
7
|
+
content: none;
|
|
8
|
+
}
|
|
9
|
+
.p-overlaypanel.p-overlaypanel-flipped:after {
|
|
10
|
+
border-top-color: none !important;
|
|
11
|
+
}
|
|
12
|
+
.p-overlaypanel.p-overlaypanel-flipped:before {
|
|
13
|
+
border-top-color: none !important;
|
|
14
|
+
}
|
|
15
|
+
.p-overlaypanel {
|
|
16
|
+
margin-top: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Custom PickList
|
|
2
|
+
.p-picklist {
|
|
3
|
+
.p-picklist-buttons {
|
|
4
|
+
.p-button {
|
|
5
|
+
background-color: transparent;
|
|
6
|
+
transition: all 150ms;
|
|
7
|
+
border: 1px solid var(--surface-border);
|
|
8
|
+
color: $textSecondaryColor !important;
|
|
9
|
+
}
|
|
10
|
+
.p-button:hover {
|
|
11
|
+
background-color: var(--surface-hover) !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.p-picklist-list {
|
|
15
|
+
.p-picklist-item {
|
|
16
|
+
padding: 0 0.5rem !important;
|
|
17
|
+
font-size: 0.875rem;
|
|
18
|
+
min-height: 2.375rem !important;
|
|
19
|
+
border-radius: $borderRadius;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// Custom Radio
|
|
2
|
+
.p-radiobutton {
|
|
3
|
+
.p-radiobutton-box {
|
|
4
|
+
border: 2px solid var(--surface-border) !important;
|
|
5
|
+
|
|
6
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
7
|
+
border-color: #f3652b !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&:not(.p-disabled).p-focus {
|
|
11
|
+
@include focused-input();
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.p-highlight {
|
|
15
|
+
border-color: #f3652b !important;
|
|
16
|
+
background: #f3652b !important;
|
|
17
|
+
|
|
18
|
+
&:not(.p-disabled):hover {
|
|
19
|
+
border-color: #f3652b !important;
|
|
20
|
+
background: #f3652b !important;
|
|
21
|
+
color: #f3652b !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.p-invalid > .p-radiobutton-box {
|
|
27
|
+
@include invalid-input();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:focus-visible {
|
|
31
|
+
outline: 0 none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-input-filled {
|
|
36
|
+
.p-radiobutton {
|
|
37
|
+
.p-radiobutton-box {
|
|
38
|
+
background-color: #f3652b !important;
|
|
39
|
+
|
|
40
|
+
&:not(.p-disabled):hover {
|
|
41
|
+
background-color: #f3652b !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.p-highlight {
|
|
45
|
+
background: #f3652b !important;
|
|
46
|
+
|
|
47
|
+
&:not(.p-disabled):hover {
|
|
48
|
+
background: #f3652b !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@if ($highlightBg == $radiobuttonActiveBg) {
|
|
56
|
+
.p-highlight {
|
|
57
|
+
.p-radiobutton {
|
|
58
|
+
.p-radiobutton-box {
|
|
59
|
+
border-color: #f3652b !important;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Custom SelectButton
|
|
2
|
+
.p-selectbutton {
|
|
3
|
+
background: var(--surface-300) !important;
|
|
4
|
+
padding: 0.3rem;
|
|
5
|
+
border-radius: $borderRadius !important;
|
|
6
|
+
|
|
7
|
+
.p-button {
|
|
8
|
+
background: none !important;
|
|
9
|
+
border: none !important;
|
|
10
|
+
height: 1.7rem !important;
|
|
11
|
+
font-size: 0.875rem !important;
|
|
12
|
+
border-radius: 0.25rem !important;
|
|
13
|
+
color: var(--text-color-secondary) !important;
|
|
14
|
+
font-weight: 600 !important;
|
|
15
|
+
|
|
16
|
+
&:not(.p-disabled):not(.p-highlight):hover {
|
|
17
|
+
border-color: none !important;
|
|
18
|
+
color: var(--text-color) !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.p-highlight {
|
|
22
|
+
background: var(--surface-0) !important;
|
|
23
|
+
border-color: none !important;
|
|
24
|
+
font-weight: 600 !important;
|
|
25
|
+
border-radius: 0.25rem !important;
|
|
26
|
+
color: var(--text-color) !important;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
background: var(--surface-0) !important;
|
|
30
|
+
border-color: none !important;
|
|
31
|
+
color: $toggleButtonTextActiveHoverColor !important;
|
|
32
|
+
color: var(--text-color) !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Custom Header Sidebar
|
|
2
|
+
.p-sidebar {
|
|
3
|
+
.p-sidebar-header {
|
|
4
|
+
background: var(--surface-section);
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
font-size: 1.25rem !important;
|
|
7
|
+
height: 3.5rem !important;
|
|
8
|
+
font-weight: 500 !important;
|
|
9
|
+
padding-left: 32px !important;
|
|
10
|
+
padding-right: 32px !important;
|
|
11
|
+
border-bottom: 1px solid var(--surface-border) !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-sidebar-content {
|
|
15
|
+
padding: 2rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media only screen and (max-width: 768px) {
|
|
20
|
+
.p-sidebar {
|
|
21
|
+
.p-sidebar-header {
|
|
22
|
+
padding: 0.75rem !important;
|
|
23
|
+
}
|
|
24
|
+
.p-sidebar-content {
|
|
25
|
+
padding: 0.75rem !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.p-splitbutton.p-button-sm {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
height: 2rem !important;
|
|
5
|
+
|
|
6
|
+
.p-button-icon-only.p-splitbutton-menubutton {
|
|
7
|
+
height: 100% !important;
|
|
8
|
+
width: 2rem !important;
|
|
9
|
+
border-radius: 0 6px 6px 0 !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.p-splitbutton {
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
height: 37px !important;
|
|
16
|
+
|
|
17
|
+
.p-button-icon-only.p-splitbutton-menubutton {
|
|
18
|
+
height: 37px !important;
|
|
19
|
+
width: 37px !important;
|
|
20
|
+
border-radius: 0 6px 6px 0 !important;
|
|
21
|
+
}
|
|
22
|
+
}
|