azion-theme 1.4.2 → 1.5.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/.github/workflows/release.yml +1 -1
- package/CHANGELOG.md +12 -0
- package/CODEOWNERS +1 -1
- package/README.md +29 -33
- package/default.js +1 -0
- package/package.json +3 -2
- package/src/azion/_custom.scss +1 -0
- package/src/azion/_extensions.scss +30 -0
- package/src/azion/_fonts.scss +156 -0
- package/src/azion/_variables.scss +369 -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/extended-components/_badge.scss +53 -0
- package/src/azion/extended-components/_breadcumb.scss +18 -0
- package/src/azion/extended-components/_button.scss +131 -0
- package/src/azion/extended-components/_calendar.scss +42 -0
- package/src/azion/extended-components/_checkbox.scss +67 -0
- package/src/azion/extended-components/_datatable.scss +92 -0
- package/src/azion/extended-components/_dialog.scss +45 -0
- package/src/azion/extended-components/_divider.scss +31 -0
- package/src/azion/extended-components/_dropdownitem.scss +12 -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 +25 -0
- package/src/azion/extended-components/_markdown.scss +123 -0
- package/src/azion/extended-components/_menuitem.scss +22 -0
- package/src/azion/extended-components/_multiselect.scss +170 -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 +27 -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 +42 -0
- package/src/azion/extended-components/_toast.scss +67 -0
- package/src/azion/extended-components/_tooltip.scss +7 -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
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.p-datatable {
|
|
2
|
+
border: var(--surface-border) 1px solid;
|
|
3
|
+
border-radius: $borderRadius;
|
|
4
|
+
font-size: 0.875rem !important;
|
|
5
|
+
text-wrap: nowrap !important;
|
|
6
|
+
|
|
7
|
+
.p-datatable-header {
|
|
8
|
+
border-top-right-radius: $borderRadius;
|
|
9
|
+
border-top-left-radius: $borderRadius;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-datatable-tbody > tr > td {
|
|
13
|
+
box-sizing: inherit !important;
|
|
14
|
+
font-size: 0.875rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-datatable-thead > tr > th {
|
|
18
|
+
box-sizing: inherit !important;
|
|
19
|
+
font-size: 0.875rem;
|
|
20
|
+
text-wrap: nowrap !important;
|
|
21
|
+
|
|
22
|
+
.p-column-header-content {
|
|
23
|
+
vertical-align: center;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-sortable-column {
|
|
28
|
+
.p-sortable-column-icon {
|
|
29
|
+
opacity: 0 !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.p-sortable-column:hover {
|
|
34
|
+
.p-sortable-column-icon {
|
|
35
|
+
opacity: 1 !important;
|
|
36
|
+
color: $tableHeaderCellHighlightTextColor !important;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-sortable-column {
|
|
41
|
+
.p-sortable-column-icon {
|
|
42
|
+
opacity: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.p-highlight {
|
|
46
|
+
.p-sortable-column-icon {
|
|
47
|
+
opacity: 1 !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-datatable-wrapper {
|
|
53
|
+
overscroll-behavior: revert !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-overlaypanel:has(.hidden-columns-panel) {
|
|
58
|
+
box-shadow: none !important;
|
|
59
|
+
}
|
|
60
|
+
.hidden-columns-panel {
|
|
61
|
+
.p-listbox-item {
|
|
62
|
+
font-size: 0.875rem;
|
|
63
|
+
line-height: 0.875rem;
|
|
64
|
+
padding: 0.75rem 0.5rem !important;
|
|
65
|
+
color: var(--surface-700) !important;
|
|
66
|
+
background: transparent;
|
|
67
|
+
&::before {
|
|
68
|
+
font-family: primeicons;
|
|
69
|
+
content: '\e965' !important;
|
|
70
|
+
color: var(--surface-700);
|
|
71
|
+
margin-right: 0.5rem;
|
|
72
|
+
font-size: 0.875rem;
|
|
73
|
+
line-height: 0.875rem;
|
|
74
|
+
}
|
|
75
|
+
&:hover {
|
|
76
|
+
background: $inputListItemHoverBg !important;
|
|
77
|
+
}
|
|
78
|
+
&.p-highlight {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
color: var(--text-color) !important;
|
|
81
|
+
background: transparent !important;
|
|
82
|
+
&::before {
|
|
83
|
+
font-family: primeicons;
|
|
84
|
+
content: '\e966' !important;
|
|
85
|
+
color: var(--text-color);
|
|
86
|
+
}
|
|
87
|
+
&:hover {
|
|
88
|
+
background: $inputListItemHoverBg !important;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Custom Dialog
|
|
2
|
+
.p-dialog {
|
|
3
|
+
margin-inline: 2rem !important;
|
|
4
|
+
.p-dialog-header {
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
font-size: 1.25rem !important;
|
|
7
|
+
min-height: 3.5rem !important;
|
|
8
|
+
font-weight: 500 !important;
|
|
9
|
+
padding-inline: 2rem !important;
|
|
10
|
+
border-bottom: 1px solid var(--surface-border) !important;
|
|
11
|
+
}
|
|
12
|
+
.p-dialog-footer {
|
|
13
|
+
height: 3.5rem !important;
|
|
14
|
+
padding-inline: 2rem !important;
|
|
15
|
+
display: flex !important;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
align-items: center !important;
|
|
18
|
+
justify-content: flex-end !important;
|
|
19
|
+
gap: 0.75rem !important;
|
|
20
|
+
button {
|
|
21
|
+
margin: 0 !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media only screen and (max-width: 768px) {
|
|
27
|
+
.p-dialog {
|
|
28
|
+
margin-inline: 0.75rem !important;
|
|
29
|
+
.p-dialog-header {
|
|
30
|
+
padding-inline: 0.75rem !important;
|
|
31
|
+
}
|
|
32
|
+
.p-dialog-content {
|
|
33
|
+
padding-inline: 0.75rem !important;
|
|
34
|
+
}
|
|
35
|
+
.p-dialog-footer {
|
|
36
|
+
button {
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
height: auto !important ;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
padding-block: 0.75rem !important;
|
|
42
|
+
padding-inline: 0.75rem !important;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.p-divider {
|
|
2
|
+
.p-divider-content {
|
|
3
|
+
background-color: $panelContentBg;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&.p-divider-horizontal {
|
|
7
|
+
margin: $dividerHorizontalMargin;
|
|
8
|
+
padding: $dividerHorizontalPadding;
|
|
9
|
+
|
|
10
|
+
&:before {
|
|
11
|
+
border-top: 1px solid var(--surface-border);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.p-divider-content {
|
|
15
|
+
padding: 0 $inlineSpacing;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.p-divider-vertical {
|
|
20
|
+
margin: $dividerVerticalMargin;
|
|
21
|
+
padding: $dividerVerticalPadding;
|
|
22
|
+
|
|
23
|
+
&:before {
|
|
24
|
+
border-left: 1px solid var(--surface-border);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-divider-content {
|
|
28
|
+
padding: $inlineSpacing 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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.875rem !important;
|
|
11
|
+
font-weight: 500 !important;
|
|
12
|
+
}
|
|
@@ -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,25 @@
|
|
|
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-focus {
|
|
13
|
+
border-color: none !important;
|
|
14
|
+
outline: none !important;
|
|
15
|
+
outline-offset: none !important;
|
|
16
|
+
box-shadow: none !important;
|
|
17
|
+
}
|
|
18
|
+
&.p-focus:focus-visible {
|
|
19
|
+
border-color: none !important;
|
|
20
|
+
outline: $focusOutline !important;
|
|
21
|
+
outline-offset: $focusOutlineOffset !important;
|
|
22
|
+
box-shadow: $focusShadow !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
.prose {
|
|
2
|
+
*:not(p, a, li) {
|
|
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: var(--surface-200) !important;
|
|
119
|
+
}
|
|
120
|
+
*:is(.p-button) {
|
|
121
|
+
margin: 0 .5rem .5rem 0;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -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,170 @@
|
|
|
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
|
+
margin: $submenuHeaderMargin;
|
|
144
|
+
padding: $submenuHeaderPadding;
|
|
145
|
+
color: $submenuHeaderTextColor;
|
|
146
|
+
background: $submenuHeaderBg;
|
|
147
|
+
font-weight: $submenuHeaderFontWeight;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.p-multiselect-empty-message {
|
|
151
|
+
padding: $inputListItemPadding;
|
|
152
|
+
color: $inputListItemTextColor;
|
|
153
|
+
background: $inputListItemBg;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.p-input-filled {
|
|
159
|
+
.p-multiselect {
|
|
160
|
+
background: $inputFilledBg;
|
|
161
|
+
|
|
162
|
+
&:not(.p-disabled):hover {
|
|
163
|
+
background-color: $inputFilledHoverBg;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:not(.p-disabled).p-focus {
|
|
167
|
+
background-color: $inputFilledFocusBg;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -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
|
+
|