@wippy-fe/theme 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/THEMING.md +316 -0
- package/package.json +35 -0
- package/primevue/accordion.css +58 -0
- package/primevue/autocomplete.css +144 -0
- package/primevue/avatar.css +50 -0
- package/primevue/badge.css +53 -0
- package/primevue/blockui.css +15 -0
- package/primevue/breadcrumb.css +41 -0
- package/primevue/button.css +341 -0
- package/primevue/buttongroup.css +19 -0
- package/primevue/card.css +22 -0
- package/primevue/carousel.css +64 -0
- package/primevue/cascadeselect.css +169 -0
- package/primevue/checkbox.css +84 -0
- package/primevue/chip.css +27 -0
- package/primevue/colorpicker.css +47 -0
- package/primevue/common.css +81 -0
- package/primevue/confirmdialog.css +10 -0
- package/primevue/confirmpopup.css +66 -0
- package/primevue/contextmenu.css +101 -0
- package/primevue/datatable.css +408 -0
- package/primevue/dataview.css +29 -0
- package/primevue/datepicker.css +211 -0
- package/primevue/dialog.css +125 -0
- package/primevue/divider.css +52 -0
- package/primevue/dock.css +84 -0
- package/primevue/drawer.css +94 -0
- package/primevue/fieldset.css +45 -0
- package/primevue/fileupload.css +57 -0
- package/primevue/floatlabel.css +73 -0
- package/primevue/galleria.css +244 -0
- package/primevue/iconfield.css +23 -0
- package/primevue/iftalabel.css +32 -0
- package/primevue/image.css +56 -0
- package/primevue/imagecompare.css +38 -0
- package/primevue/inplace.css +13 -0
- package/primevue/inputgroup.css +67 -0
- package/primevue/inputnumber.css +84 -0
- package/primevue/inputotp.css +9 -0
- package/primevue/inputtext.css +38 -0
- package/primevue/knob.css +37 -0
- package/primevue/listbox.css +79 -0
- package/primevue/megamenu.css +207 -0
- package/primevue/menu.css +51 -0
- package/primevue/menubar.css +169 -0
- package/primevue/message.css +228 -0
- package/primevue/metergroup.css +67 -0
- package/primevue/multiselect.css +143 -0
- package/primevue/orderlist.css +10 -0
- package/primevue/organizationchart.css +71 -0
- package/primevue/overlaybadge.css +13 -0
- package/primevue/paginator.css +58 -0
- package/primevue/panel.css +27 -0
- package/primevue/panelmenu.css +94 -0
- package/primevue/password.css +61 -0
- package/primevue/picklist.css +18 -0
- package/primevue/popover.css +46 -0
- package/primevue/progressbar.css +67 -0
- package/primevue/progressspinner.css +58 -0
- package/primevue/radiobutton.css +93 -0
- package/primevue/rating.css +23 -0
- package/primevue/ripple.css +7 -0
- package/primevue/scrollpanel.css +41 -0
- package/primevue/scrolltop.css +25 -0
- package/primevue/select.css +144 -0
- package/primevue/selectbutton.css +25 -0
- package/primevue/skeleton.css +11 -0
- package/primevue/slider.css +42 -0
- package/primevue/speeddial.css +48 -0
- package/primevue/splitbutton.css +34 -0
- package/primevue/splitter.css +56 -0
- package/primevue/stepper.css +102 -0
- package/primevue/tabs.css +84 -0
- package/primevue/tag.css +38 -0
- package/primevue/tailwind.css +104 -0
- package/primevue/terminal.css +22 -0
- package/primevue/textarea.css +42 -0
- package/primevue/tieredmenu.css +105 -0
- package/primevue/timeline.css +113 -0
- package/primevue/toast.css +172 -0
- package/primevue/togglebutton.css +63 -0
- package/primevue/toggleswitch.css +66 -0
- package/primevue/toolbar.css +12 -0
- package/primevue/tooltip.css +38 -0
- package/primevue/tree.css +103 -0
- package/primevue/treeselect.css +116 -0
- package/primevue/treetable.css +300 -0
- package/primevue-plugin.ts +8 -0
- package/tailwind.config.ts +28 -0
- package/theme-config.css +124 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@import './inputtext';
|
|
2
|
+
@import './iconfield';
|
|
3
|
+
|
|
4
|
+
.p-listbox {
|
|
5
|
+
@apply bg-surface-0 dark:bg-surface-950 text-surface-700 dark:text-surface-0
|
|
6
|
+
border border-surface-300 dark:border-surface-700 rounded-md
|
|
7
|
+
shadow-[0_1px_2px_0_rgba(18,18,23,0.05)]
|
|
8
|
+
transition-colors duration-200
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.p-listbox.p-focus {
|
|
12
|
+
@apply border-primary
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-listbox.p-disabled {
|
|
16
|
+
@apply bg-surface-200 text-surface-500 dark:bg-surface-700 dark:text-surface-400 opacity-100 cursor-default
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.p-listbox.p-disabled .p-listbox-option {
|
|
20
|
+
@apply text-surface-500 dark:text-surface-400 cursor-default
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.p-listbox.p-invalid {
|
|
24
|
+
@apply border-red-400 dark:border-red-300
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.p-listbox-header {
|
|
28
|
+
@apply pt-2 pb-1 px-4
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.p-listbox-filter {
|
|
32
|
+
@apply w-full
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.p-listbox-list-container {
|
|
36
|
+
@apply overflow-auto
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.p-listbox-list {
|
|
40
|
+
@apply list-none m-0 p-1 outline-none flex flex-col gap-[2px]
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-listbox-option {
|
|
44
|
+
@apply flex items-center cursor-pointer relative overflow-hidden px-3 py-2 border-none rounded-sm
|
|
45
|
+
text-surface-700 dark:text-surface-0
|
|
46
|
+
transition-colors duration-200
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-listbox-striped li:nth-child(even of .p-listbox-option) {
|
|
50
|
+
@apply bg-surface-50 dark:bg-surface-900
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.p-listbox .p-listbox-list .p-listbox-option.p-listbox-option-selected {
|
|
54
|
+
@apply bg-highlight
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.p-listbox:not(.p-disabled) .p-listbox-option.p-listbox-option-selected.p-focus {
|
|
58
|
+
@apply bg-highlight-emphasis
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.p-listbox:not(.p-disabled) .p-listbox-option:not(.p-listbox-option-selected):not(.p-disabled).p-focus {
|
|
62
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.p-listbox:not(.p-disabled) .p-listbox-option:not(.p-listbox-option-selected):not(.p-disabled):hover {
|
|
66
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.p-listbox-option-check-icon {
|
|
70
|
+
@apply relative -ms-[0.375rem] me-[0.375rem] text-surface-700 dark:text-surface-0
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.p-listbox-option-group {
|
|
74
|
+
@apply m-0 px-3 py-2 text-surface-500 dark:text-surface-400 font-semibold
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.p-listbox-empty-message {
|
|
78
|
+
@apply px-3 py-2
|
|
79
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
.p-megamenu {
|
|
2
|
+
@apply relative flex items-center rounded-md gap-2
|
|
3
|
+
bg-surface-0 dark:bg-surface-900
|
|
4
|
+
text-surface-700 dark:text-surface-0
|
|
5
|
+
border border-surface-200 dark:border-surface-700
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-megamenu-start,
|
|
9
|
+
.p-megamenu-end {
|
|
10
|
+
@apply flex items-center
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-megamenu-root-list {
|
|
14
|
+
@apply m-0 p-0 list-none outline-none flex items-center flex-wrap gap-2
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.p-megamenu-root-list > .p-megamenu-item > .p-menumegamenubar-item-content {
|
|
18
|
+
@apply rounded-md
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-megamenu-root-list > .p-megamenu-item > .p-megamenu-item-content > .p-megamenu-item-link {
|
|
22
|
+
@apply px-3 py-2
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-megamenu-item-content {
|
|
26
|
+
@apply transition-colors duration-200 rounded-sm text-surface-700 dark:text-surface-0
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-megamenu-item-link {
|
|
30
|
+
@apply cursor-pointer flex items-center no-underline overflow-hidden relative text-inherit
|
|
31
|
+
px-3 py-2 gap-2 select-none outline-none
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-megamenu-item-icon {
|
|
35
|
+
@apply text-surface-400 dark:text-surface-500
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-megamenu-submenu-icon {
|
|
39
|
+
@apply text-surface-400 dark:text-surface-500 ms-auto text-sm w-[0.875rem] h-[0.875rem]
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-megamenu-item.p-focus > .p-megamenu-item-content {
|
|
43
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-megamenu-item.p-focus > .p-megamenu-item-content .p-megamenu-item-icon {
|
|
47
|
+
@apply text-surface-500 dark:text-surface-400
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-megamenu-item.p-focus > .p-megamenu-item-content .p-megamenu-submenu-icon {
|
|
51
|
+
@apply text-surface-500 dark:text-surface-400
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.p-megamenu-item:not(.p-disabled) > .p-megamenu-item-content:hover {
|
|
55
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.p-megamenu-item:not(.p-disabled) > .p-megamenu-item-content:hover .p-megamenu-item-icon {
|
|
59
|
+
@apply text-surface-500 dark:text-surface-400
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-megamenu-item:not(.p-disabled) > .p-megamenu-item-content:hover .p-megamenu-submenu-icon {
|
|
63
|
+
@apply text-surface-500 dark:text-surface-400
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.p-megamenu-item-active > .p-megamenu-item-content {
|
|
67
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.p-megamenu-item-active > .p-megamenu-item-content .p-megamenu-item-icon {
|
|
71
|
+
@apply text-surface-500 dark:text-surface-400
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.p-megamenu-item-active > .p-megamenu-item-content .p-megamenu-submenu-icon {
|
|
75
|
+
@apply text-surface-500 dark:text-surface-400
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-megamenu-overlay {
|
|
79
|
+
@apply hidden absolute w-auto z-10 start-0 min-w-full rounded-md
|
|
80
|
+
bg-surface-0 dark:bg-surface-900
|
|
81
|
+
border border-surface-200 dark:border-surface-700
|
|
82
|
+
text-surface-700 dark:text-surface-0
|
|
83
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.p-megamenu-root-list > .p-megamenu-item-active > .p-megamenu-overlay {
|
|
87
|
+
@apply block
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.p-megamenu-submenu {
|
|
91
|
+
@apply m-0 p-1 list-none min-w-52 flex flex-col gap-[2px]
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.p-megamenu-submenu-label {
|
|
95
|
+
@apply px-3 py-2 text-surface-500 dark:text-surface-400 font-semibold bg-transparent
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.p-megamenu-separator {
|
|
99
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.p-megamenu-horizontal {
|
|
103
|
+
@apply items-center px-3 py-2
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.p-megamenu-horizontal .p-megamenu-root-list {
|
|
107
|
+
@apply flex items-center flex-wrap gap-2
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.p-megamenu-horizontal .p-megamenu-end {
|
|
111
|
+
@apply ms-auto self-center
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.p-megamenu-vertical {
|
|
115
|
+
@apply inline-flex min-w-52 flex-col items-stretch p-1
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.p-megamenu-vertical .p-megamenu-root-list {
|
|
119
|
+
@apply items-stretch flex-col gap-[2px]
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.p-megamenu-vertical .p-megamenu-root-list > .p-megamenu-item-active > .p-megamenu-overlay {
|
|
123
|
+
@apply start-full top-0
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.p-megamenu-vertical .p-megamenu-root-list > .p-megamenu-item > .p-megamenu-item-content .p-megamenu-submenu-icon {
|
|
127
|
+
@apply ms-auto
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.p-megamenu-grid {
|
|
131
|
+
@apply flex
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.p-megamenu-col-2,
|
|
135
|
+
.p-megamenu-col-3,
|
|
136
|
+
.p-megamenu-col-4,
|
|
137
|
+
.p-megamenu-col-6,
|
|
138
|
+
.p-megamenu-col-12 {
|
|
139
|
+
@apply flex-grow-0 flex-shrink-0 basis-auto p-2
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.p-megamenu-col-2 {
|
|
143
|
+
@apply w-1/6;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.p-megamenu-col-3 {
|
|
147
|
+
@apply w-1/4
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.p-megamenu-col-4 {
|
|
151
|
+
@apply w-1/3
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.p-megamenu-col-6 {
|
|
155
|
+
@apply w-1/2
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.p-megamenu-col-12 {
|
|
159
|
+
@apply w-full
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.p-megamenu-button {
|
|
163
|
+
@apply hidden justify-center items-center cursor-pointer w-7 h-7 relative border-none rounded-full
|
|
164
|
+
text-surface-500 dark:text-surface-400 hover:text-surface-600 dark:hover:text-surface-300
|
|
165
|
+
bg-transparent hover:bg-surface-100 dark:hover:bg-surface-800
|
|
166
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
167
|
+
transition-colors duration-200
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.p-megamenu-mobile {
|
|
171
|
+
@apply flex
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.p-megamenu-mobile .p-megamenu-button {
|
|
175
|
+
@apply flex
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.p-megamenu-mobile .p-megamenu-root-list {
|
|
179
|
+
@apply absolute hidden flex-col top-full start-0 z-10 w-full p-1 gap-[2px]
|
|
180
|
+
bg-surface-0 dark:bg-surface-900
|
|
181
|
+
border border-surface-200 dark:border-surface-700
|
|
182
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.p-megamenu-mobile-active .p-megamenu-root-list {
|
|
186
|
+
@apply flex
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.p-megamenu-mobile .p-megamenu-root-list .p-megamenu-item {
|
|
190
|
+
@apply w-full static
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.p-megamenu-mobile .p-megamenu-overlay {
|
|
194
|
+
@apply static border-none rounded-none shadow-none
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.p-megamenu-mobile .p-megamenu-grid {
|
|
198
|
+
@apply flex-wrap overflow-auto max-h-[90%]
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.p-megamenu-mobile .p-megamenu-root-list > .p-megamenu-item > .p-megamenu-item-content .p-megamenu-submenu-icon {
|
|
202
|
+
@apply ms-auto transition-transform duration-[200ms]
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.p-megamenu-mobile .p-megamenu-root-list > .p-megamenu-item-active > .p-megamenu-item-content .p-megamenu-submenu-icon {
|
|
206
|
+
@apply -rotate-180
|
|
207
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.p-menu {
|
|
2
|
+
@apply bg-surface-0 dark:bg-surface-900
|
|
3
|
+
text-surface-700 dark:text-surface-0
|
|
4
|
+
border border-surface-200 dark:border-surface-700
|
|
5
|
+
rounded-md min-w-52
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-menu-list {
|
|
9
|
+
@apply m-0 p-1 list-none outline-none flex flex-col gap-[2px]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.p-menu-item-content {
|
|
13
|
+
@apply transition-colors duration-200 rounded-sm text-surface-700 dark:text-surface-0
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.p-menu-item-link {
|
|
17
|
+
@apply cursor-pointer flex items-center no-underline overflow-hidden relative text-inherit
|
|
18
|
+
px-3 py-2 gap-2 select-none outline-none
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-menu-item-icon {
|
|
22
|
+
@apply text-surface-400 dark:text-surface-500
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.p-menu-item.p-focus .p-menu-item-content {
|
|
26
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-menu-item.p-focus .p-menu-item-icon {
|
|
30
|
+
@apply text-surface-500 dark:text-surface-400
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.p-menu-item:not(.p-disabled) .p-menu-item-content:hover {
|
|
34
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.p-menu-item:not(.p-disabled) .p-menu-item-content:hover .p-menu-item-icon {
|
|
38
|
+
@apply text-surface-500 dark:text-surface-400
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-menu-overlay {
|
|
42
|
+
@apply shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.p-menu-submenu-label {
|
|
46
|
+
@apply bg-transparent px-3 py-2 text-surface-500 dark:text-surface-400 font-semibold
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-menu-separator {
|
|
50
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
51
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
.p-menubar {
|
|
2
|
+
@apply flex items-center rounded-md px-3 py-2 gap-2
|
|
3
|
+
bg-surface-0 dark:bg-surface-900
|
|
4
|
+
text-surface-700 dark:text-surface-0
|
|
5
|
+
border border-surface-200 dark:border-surface-700
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.p-menubar-start,
|
|
9
|
+
.p-megamenu-end {
|
|
10
|
+
@apply flex items-center
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-menubar-root-list,
|
|
14
|
+
.p-menubar-submenu {
|
|
15
|
+
@apply flex m-0 p-0 list-none outline-none
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-menubar-root-list {
|
|
19
|
+
@apply items-center flex-wrap gap-2
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-menubar-root-list > .p-menubar-item > .p-menubar-item-content {
|
|
23
|
+
@apply rounded-md
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-menubar-root-list > .p-menubar-item > .p-menubar-item-content > .p-menubar-item-link {
|
|
27
|
+
@apply px-3 py-2
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.p-menubar-item-content {
|
|
31
|
+
@apply transition-colors duration-200 rounded-sm text-surface-700 dark:text-surface-0
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-menubar-item-link {
|
|
35
|
+
@apply cursor-pointer flex items-center no-underline overflow-hidden relative text-inherit
|
|
36
|
+
px-3 py-2 gap-2 select-none outline-none
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.p-menubar-item-icon {
|
|
40
|
+
@apply text-surface-400 dark:text-surface-500
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.p-menubar-submenu-icon {
|
|
44
|
+
@apply text-surface-400 dark:text-surface-500 ms-auto text-sm w-[0.875rem] h-[0.875rem]
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.p-menubar-submenu-icon:dir(rtl) {
|
|
48
|
+
@apply rotate-180
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.p-menubar-item.p-focus > .p-menubar-item-content {
|
|
52
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.p-menubar-item.p-focus > .p-menubar-item-content .p-menubar-item-icon {
|
|
56
|
+
@apply text-surface-500 dark:text-surface-400
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.p-menubar-item.p-focus > .p-menubar-item-content .p-menubar-submenu-icon {
|
|
60
|
+
@apply text-surface-500 dark:text-surface-400
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover {
|
|
64
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .p-menubar-item-icon {
|
|
68
|
+
@apply text-surface-500 dark:text-surface-400
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .p-menubar-submenu-icon {
|
|
72
|
+
@apply text-surface-500 dark:text-surface-400
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.p-menubar-item-active > .p-menubar-item-content {
|
|
76
|
+
@apply bg-surface-100 dark:bg-surface-800 text-surface-800 dark:text-surface-0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.p-menubar-item-active > .p-menubar-item-content .p-menubar-item-icon {
|
|
80
|
+
@apply text-surface-500 dark:text-surface-400
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.p-menubar-item-active > .p-menubar-item-content .p-menubar-submenu-icon {
|
|
84
|
+
@apply text-surface-500 dark:text-surface-400
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.p-menubar-submenu {
|
|
88
|
+
@apply hidden absolute min-w-52 z-10
|
|
89
|
+
bg-surface-0 dark:bg-surface-900
|
|
90
|
+
border border-surface-200 dark:border-surface-700
|
|
91
|
+
text-surface-700 dark:text-surface-0
|
|
92
|
+
flex-col p-1 gap-[2px] rounded-md
|
|
93
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.p-menubar-submenu .p-menubar-separator {
|
|
97
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.p-menubar-submenu .p-menubar-item {
|
|
101
|
+
@apply relative
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.p-menubar-submenu > .p-menubar-item-active > .p-menubar-submenu {
|
|
105
|
+
@apply block start-full top-0
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.p-menubar-end {
|
|
109
|
+
@apply ms-auto self-center
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.p-menubar-button {
|
|
113
|
+
@apply hidden justify-center items-center cursor-pointer w-7 h-7 relative border-none rounded-full
|
|
114
|
+
text-surface-500 dark:text-surface-400 hover:text-surface-600 dark:hover:text-surface-300
|
|
115
|
+
bg-transparent hover:bg-surface-100 dark:hover:bg-surface-800
|
|
116
|
+
focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-primary
|
|
117
|
+
transition-colors duration-200
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.p-menubar-mobile {
|
|
121
|
+
@apply relative
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.p-menubar-mobile .p-menubar-button {
|
|
125
|
+
@apply flex
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.p-menubar-mobile .p-menubar-root-list {
|
|
129
|
+
@apply absolute hidden w-full flex-col top-full start-0 z-10 p-1 gap-[2px] rounded-md
|
|
130
|
+
border border-surface-200 dark:border-surface-700
|
|
131
|
+
bg-surface-0 dark:bg-surface-900
|
|
132
|
+
shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)]
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.p-menubar-mobile .p-menubar-root-list > .p-menubar-item > .p-menubar-item-content > .p-menubar-item-link {
|
|
136
|
+
@apply px-3 py-3
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.p-menubar-mobile-active .p-menubar-root-list {
|
|
140
|
+
@apply flex
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.p-menubar-mobile .p-menubar-root-list .p-menubar-item {
|
|
144
|
+
@apply w-full static
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.p-menubar-mobile .p-menubar-root-list .p-menubar-separator {
|
|
148
|
+
@apply border-t border-surface-200 dark:border-surface-700
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.p-menubar-mobile .p-menubar-root-list > .p-menubar-item > .p-menubar-item-content .p-menubar-submenu-icon {
|
|
152
|
+
@apply ms-auto transition-transform duration-[200ms]
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.p-menubar-mobile .p-menubar-root-list > .p-menubar-item-active > .p-menubar-item-content .p-menubar-submenu-icon {
|
|
156
|
+
@apply -rotate-180
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.p-menubar-mobile .p-menubar-submenu .p-menubar-submenu-icon {
|
|
160
|
+
@apply transition-transform duration-200 rotate-90
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.p-menubar-mobile .p-menubar-item-active > .p-menubar-item-content .p-menubar-submenu-icon {
|
|
164
|
+
@apply -rotate-90
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.p-menubar-mobile .p-menubar-submenu {
|
|
168
|
+
@apply w-full static shadow-none border-none ps-4 pe-0
|
|
169
|
+
}
|