4257f96d0b
Sync TODOs with Issues / sync_todos (push) Successful in 5s
Co-authored-by: Copilot <copilot@github.com>
70 lines
1.9 KiB
CSS
70 lines
1.9 KiB
CSS
/**
|
|
* VDI Navs & Menu - Main Navigation + Default Dropdown Menu Styles (Desktop Only)
|
|
*
|
|
* This file contains only desktop navigation styles.
|
|
* For mobile navigation, choose one of:
|
|
* - nav-mobile-accordion.css (traditional dropdown/accordion style)
|
|
* - nav-mobile-sliding.css (sliding viewport style)
|
|
*
|
|
* 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-end justify-end p-0 m-0;
|
|
|
|
>li {
|
|
>a,
|
|
>.menu-vdi__toggle {
|
|
/* text styles */
|
|
@apply font-semibold text-20px text-white hover:text-light no-underline leading-snug;
|
|
|
|
/* spacing & display */
|
|
@apply mx-2 p-0 no-underline;
|
|
}
|
|
|
|
&.menu-vdi__item--contact {
|
|
>a {
|
|
background: linear-gradient(93.03deg, #F26B53 0%, #D24D32 100%);
|
|
border-radius: 20px 4px;
|
|
padding: .5rem 2rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 62.5rem) {
|
|
.menu-vdi {
|
|
.menu-vdi__toggle { @apply flex items-center gap-2 hover:cursor-pointer; }
|
|
|
|
.menu-vdi__item--parent { @apply relative; }
|
|
|
|
.menu-vdi__submenu {
|
|
top: calc(100% + 1rem);
|
|
|
|
@apply bg-white shadow-lg left-4 w-64 flex-col;
|
|
|
|
>li { @apply w-full; }
|
|
|
|
.menu-vdi__item {
|
|
/* text styles */
|
|
@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; }
|
|
}
|
|
}
|
|
}
|