103 lines
2.2 KiB
CSS
103 lines
2.2 KiB
CSS
/**
|
|
* VDI Navs & Menu - Main Navigation + Default Dropdown Menu Styles
|
|
*
|
|
* Please review documentation upon first use, and, as-needed:
|
|
* TODO: Add documenation link here
|
|
*/
|
|
|
|
/* desktop */
|
|
@media screen and (min-width: 62.5rem) {
|
|
.nav-main .menu-vdi {
|
|
@apply flex items-center justify-end p-0 m-0;
|
|
|
|
>li {
|
|
>a,
|
|
>.menu-vdi__toggle {
|
|
/* text*/
|
|
@apply font-bold text-20px text-black hover:text-light no-underline leading-snug;
|
|
/* spacing & display */
|
|
@apply mx-4 p-0 no-underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* mobile */
|
|
@media screen and (max-width: 62.5rem) {
|
|
.nav-main {
|
|
.nav-main__toggle {
|
|
/* display */
|
|
@apply text-white p-3;
|
|
}
|
|
|
|
.menu-vdi {
|
|
@apply flex-col bg-white w-[95%] right-0 z-10 py-6;
|
|
top: var(--hgtHeader);
|
|
min-height: calc(100vh - var(--hgtHeader));
|
|
|
|
.menu-vdi__submenu {
|
|
@apply py-2 px-7 flex-col;
|
|
}
|
|
|
|
.menu-vdi__item {
|
|
a,
|
|
button {
|
|
/* text */
|
|
@apply font-bold text-20px text-black hover:text-light no-underline leading-snug;
|
|
/* spacing & display */
|
|
@apply block w-full p-4;
|
|
/* interaction */
|
|
@apply focus-visible:bg-secondary-200 hover:bg-secondary-200;
|
|
}
|
|
|
|
a {
|
|
@apply block w-full;
|
|
}
|
|
|
|
button {
|
|
@apply flex w-full justify-between;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 62.5rem) {
|
|
.menu-vdi {
|
|
.menu-vdi__toggle {
|
|
@apply flex items-center gap-2;
|
|
}
|
|
|
|
.menu-vdi__item--parent {
|
|
@apply relative;
|
|
}
|
|
|
|
.menu-vdi__submenu {
|
|
@apply bg-white shadow-lg left-4 w-64 flex-col;
|
|
top: calc(100% + 1rem);
|
|
|
|
>li {
|
|
@apply w-full;
|
|
}
|
|
|
|
.menu-vdi__item {
|
|
/* text */
|
|
@apply font-bold text-18px text-black hover:text-light no-underline leading-snug;
|
|
/* spacing & display */
|
|
@apply block w-full;
|
|
/* interaction */
|
|
@apply focus-visible:bg-secondary-200 hover:bg-secondary-200;
|
|
|
|
a {
|
|
@apply block w-full;
|
|
}
|
|
}
|
|
|
|
a.menu-vdi__item,
|
|
.menu-vdi__item a {
|
|
@apply p-4;
|
|
}
|
|
}
|
|
}
|
|
}
|