2023-08-06 01:06:32 +01:00
|
|
|
@media (max-width: 767px) {
|
2024-04-04 21:57:17 +00:00
|
|
|
.hextra-sidebar-container {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-fixed hx-pt-[calc(var(--navbar-height))] hx-top-0 hx-w-full hx-bottom-0 hx-z-[15] hx-overscroll-contain hx-bg-white dark:hx-bg-dark;
|
2023-08-06 15:23:37 +01:00
|
|
|
transition: transform 0.8s cubic-bezier(0.52, 0.16, 0.04, 1);
|
2023-08-06 01:06:32 +01:00
|
|
|
will-change: transform, opacity;
|
|
|
|
contain: layout style;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
2023-08-20 00:42:46 +01:00
|
|
|
|
2024-04-04 21:57:17 +00:00
|
|
|
.hextra-sidebar-container {
|
2023-08-20 00:42:46 +01:00
|
|
|
li > div {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-h-0;
|
2023-08-20 00:42:46 +01:00
|
|
|
}
|
|
|
|
li.open > div {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-h-auto hx-pt-1;
|
2023-08-20 00:42:46 +01:00
|
|
|
}
|
|
|
|
li.open > a > span > svg > path {
|
2024-02-20 17:59:31 -05:00
|
|
|
@apply hx-rotate-90;
|
2023-08-20 00:42:46 +01:00
|
|
|
}
|
2024-04-28 23:37:50 +01:00
|
|
|
|
2024-04-30 22:42:04 +01:00
|
|
|
.hextra-sidebar-item-list {
|
|
|
|
@apply hx-relative hx-flex hx-flex-col hx-gap-1 before:hx-absolute before:hx-inset-y-1 before:hx-w-px before:hx-bg-gray-200 ltr:hx-ml-3 ltr:hx-pl-3 ltr:before:hx-left-0 rtl:hx-mr-3 rtl:hx-pr-3 rtl:before:hx-right-0 dark:before:hx-bg-neutral-800;
|
2024-04-28 23:37:50 +01:00
|
|
|
}
|
|
|
|
|
2024-04-30 22:42:04 +01:00
|
|
|
.hextra-sidebar-item-link {
|
|
|
|
@apply hx-flex hx-items-center hx-justify-between hx-gap-2 hx-cursor-pointer hx-rounded hx-px-2 hx-py-1.5 hx-text-sm hx-transition-colors;
|
2024-04-29 22:36:48 +01:00
|
|
|
|
2024-04-30 22:42:04 +01:00
|
|
|
&.active {
|
|
|
|
@apply hx-bg-primary-100 hx-font-semibold hx-text-primary-800 contrast-more:hx-border contrast-more:hx-border-primary-500 dark:hx-bg-primary-400/10 dark:hx-text-primary-600 contrast-more:dark:hx-border-primary-500;
|
|
|
|
}
|
|
|
|
&.inactive {
|
|
|
|
@apply hx-text-gray-500 hover:hx-bg-gray-100 hover:hx-text-gray-900 contrast-more:hx-border contrast-more:hx-border-transparent contrast-more:hx-text-gray-900 contrast-more:hover:hx-border-gray-900 dark:hx-text-neutral-400 dark:hover:hx-bg-primary-100/5 dark:hover:hx-text-gray-50 contrast-more:dark:hx-text-gray-50 contrast-more:dark:hover:hx-border-gray-50;
|
|
|
|
}
|
2024-04-29 22:36:48 +01:00
|
|
|
}
|
2023-08-20 00:42:46 +01:00
|
|
|
}
|