Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -13,24 +13,41 @@
|
||||
/* desktop */
|
||||
@media screen and (min-width: 62.5rem) {
|
||||
.nav-main .menu-vdi {
|
||||
@apply flex items-end justify-end p-0 m-0;
|
||||
@apply flex items-center justify-end p-0 m-0 h-full;
|
||||
|
||||
>li {
|
||||
@apply h-full;
|
||||
|
||||
>a,
|
||||
>.menu-vdi__toggle {
|
||||
/* text styles */
|
||||
@apply font-semibold text-20px text-white hover:text-light no-underline leading-snug;
|
||||
@apply font-semibold text-20px text-white no-underline leading-snug whitespace-nowrap;
|
||||
|
||||
/* spacing & display */
|
||||
@apply mx-2 p-0 no-underline;
|
||||
@apply flex items-center px-4 -my-4 no-underline;
|
||||
height: calc(100% + 2rem);
|
||||
|
||||
/* interaction */
|
||||
&:hover {
|
||||
@apply bg-cwc-blue-02 text-light;
|
||||
box-shadow: inset 0 -4px 0 #F26B53;
|
||||
}
|
||||
}
|
||||
|
||||
&.menu-vdi__item--contact {
|
||||
@apply h-auto;
|
||||
|
||||
>a {
|
||||
@apply mr-0;
|
||||
@apply ml-2 mr-0 my-0;
|
||||
height: auto;
|
||||
background: linear-gradient(93.03deg, #F26B53 0%, #D24D32 100%);
|
||||
border-radius: 20px 4px;
|
||||
border-radius: 1.25rem 0.25rem;
|
||||
padding: .5rem 2rem;
|
||||
|
||||
&:hover {
|
||||
box-shadow: none;
|
||||
background: linear-gradient(93.03deg, #F26B53 0%, #D24D32 100%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -46,25 +63,28 @@
|
||||
.menu-vdi__submenu {
|
||||
top: calc(100% + 1rem);
|
||||
|
||||
@apply bg-white shadow-lg left-4 w-64 flex-col;
|
||||
@apply bg-cwc-blue-02 shadow-lg left-4 w-64 flex-col;
|
||||
|
||||
>li { @apply w-full; }
|
||||
>li {
|
||||
@apply w-full border-b border-[#D24D32];
|
||||
&:last-child { @apply border-b-0; }
|
||||
}
|
||||
|
||||
.menu-vdi__item {
|
||||
/* text styles */
|
||||
@apply font-bold text-18px text-black hover:text-light no-underline leading-snug;
|
||||
@apply font-bold text-18px text-white no-underline leading-snug;
|
||||
|
||||
/* spacing & display */
|
||||
@apply block w-full;
|
||||
|
||||
/* interaction */
|
||||
@apply focus-visible:bg-secondary-200 hover:bg-secondary-200;
|
||||
@apply focus-visible:bg-cwc-blue-01 hover:bg-cwc-blue-01;
|
||||
|
||||
a { @apply block w-full; }
|
||||
}
|
||||
|
||||
a.menu-vdi__item,
|
||||
.menu-vdi__item a { @apply p-4; }
|
||||
.menu-vdi__item a { @apply p-4 text-white; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user