118 lines
2.9 KiB
CSS
118 lines
2.9 KiB
CSS
/* Navigation menu item styling */
|
|
.nav-menu-item {
|
|
display: block;
|
|
padding: 8px 16px;
|
|
margin: 4px 8px;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-item-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 0 12px;
|
|
}
|
|
|
|
.nav-item-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.nav-item-text {
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* === HOVER STATES === */
|
|
|
|
/* Base hover */
|
|
.nav-menu-item:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-menu-item:hover .nav-item-text {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Charleston (Light Mode) - Gold hover tint */
|
|
:global(.deepdrft-theme-light) .nav-menu-item:hover {
|
|
background-color: color-mix(in srgb, var(--charleston-gold) 10%, transparent);
|
|
color: var(--charleston-iron);
|
|
}
|
|
|
|
:global(.deepdrft-theme-light) .nav-menu-item:hover .nav-item-content {
|
|
color: var(--charleston-rose);
|
|
}
|
|
|
|
/* Lowcountry (Dark Mode) - Coral glow hover */
|
|
:global(.deepdrft-theme-dark) .nav-menu-item:hover {
|
|
background-color: color-mix(in srgb, var(--lowcountry-coral) 12%, transparent);
|
|
color: var(--lowcountry-coral);
|
|
box-shadow: 0 0 10px color-mix(in srgb, var(--lowcountry-coral) 15%, transparent);
|
|
}
|
|
|
|
:global(.deepdrft-theme-dark) .nav-menu-item:hover .nav-item-content {
|
|
color: var(--lowcountry-coral);
|
|
}
|
|
|
|
/* === ACTIVE STATES === */
|
|
|
|
/* Base active */
|
|
.nav-menu-item.active {
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.nav-menu-item.active .nav-item-content {
|
|
color: var(--mud-palette-primary);
|
|
}
|
|
|
|
.nav-menu-item.active .nav-item-icon {
|
|
color: var(--mud-palette-primary);
|
|
}
|
|
|
|
.nav-menu-item.active .nav-item-text {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Charleston (Light Mode) - Iron left border */
|
|
:global(.deepdrft-theme-light) .nav-menu-item.active {
|
|
background-color: color-mix(in srgb, var(--charleston-iron) 8%, transparent);
|
|
color: var(--charleston-iron);
|
|
border-left: 4px solid var(--charleston-iron);
|
|
}
|
|
|
|
:global(.deepdrft-theme-light) .nav-menu-item.active .nav-item-content {
|
|
color: var(--charleston-iron);
|
|
}
|
|
|
|
/* Lowcountry (Dark Mode) - Gold active indicator */
|
|
:global(.deepdrft-theme-dark) .nav-menu-item.active {
|
|
background-color: color-mix(in srgb, var(--lowcountry-gold) 12%, transparent);
|
|
color: var(--lowcountry-gold);
|
|
border-left: 4px solid var(--lowcountry-gold);
|
|
box-shadow: 0 0 12px color-mix(in srgb, var(--lowcountry-gold) 20%, transparent);
|
|
}
|
|
|
|
:global(.deepdrft-theme-dark) .nav-menu-item.active .nav-item-content {
|
|
color: var(--lowcountry-gold);
|
|
}
|
|
|
|
/* === FOCUS STATES === */
|
|
|
|
/* Charleston (Light Mode) - Iron focus outline */
|
|
:global(.deepdrft-theme-light) .nav-menu-item:focus {
|
|
outline: 2px solid var(--charleston-iron);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Lowcountry (Dark Mode) - Coral focus outline */
|
|
:global(.deepdrft-theme-dark) .nav-menu-item:focus {
|
|
outline: 2px solid var(--lowcountry-coral);
|
|
outline-offset: 2px;
|
|
} |