118 lines
2.6 KiB
CSS
118 lines
2.6 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: rgba(201, 169, 98, 0.1);
|
|
color: #1C1C1C;
|
|
}
|
|
|
|
:global(.deepdrft-theme-light) .nav-menu-item:hover .nav-item-content {
|
|
color: #B8848C;
|
|
}
|
|
|
|
/* Lowcountry (Dark Mode) - Coral glow hover */
|
|
:global(.deepdrft-theme-dark) .nav-menu-item:hover {
|
|
background-color: rgba(224, 122, 95, 0.12);
|
|
color: #E07A5F;
|
|
box-shadow: 0 0 10px rgba(224, 122, 95, 0.15);
|
|
}
|
|
|
|
:global(.deepdrft-theme-dark) .nav-menu-item:hover .nav-item-content {
|
|
color: #E07A5F;
|
|
}
|
|
|
|
/* === 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: rgba(28, 28, 28, 0.08);
|
|
color: #1C1C1C;
|
|
border-left: 4px solid #1C1C1C;
|
|
}
|
|
|
|
:global(.deepdrft-theme-light) .nav-menu-item.active .nav-item-content {
|
|
color: #1C1C1C;
|
|
}
|
|
|
|
/* Lowcountry (Dark Mode) - Gold active indicator */
|
|
:global(.deepdrft-theme-dark) .nav-menu-item.active {
|
|
background-color: rgba(233, 196, 106, 0.12);
|
|
color: #E9C46A;
|
|
border-left: 4px solid #E9C46A;
|
|
box-shadow: 0 0 12px rgba(233, 196, 106, 0.2);
|
|
}
|
|
|
|
:global(.deepdrft-theme-dark) .nav-menu-item.active .nav-item-content {
|
|
color: #E9C46A;
|
|
}
|
|
|
|
/* === FOCUS STATES === */
|
|
|
|
/* Charleston (Light Mode) - Iron focus outline */
|
|
:global(.deepdrft-theme-light) .nav-menu-item:focus {
|
|
outline: 2px solid #1C1C1C;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Lowcountry (Dark Mode) - Coral focus outline */
|
|
:global(.deepdrft-theme-dark) .nav-menu-item:focus {
|
|
outline: 2px solid #E07A5F;
|
|
outline-offset: 2px;
|
|
} |