36 lines
715 B
CSS
36 lines
715 B
CSS
/* Hover effects */
|
|
.aksrt-nav__item--hover-underline > a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--color-primary);
|
|
transition: width 0.2s ease, left 0.2s ease;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.aksrt-nav__item--hover-underline:hover > a::after {
|
|
width: 60%;
|
|
left: 20%;
|
|
}
|
|
|
|
.aksrt-nav__item--hover-background > a {
|
|
transition: background-color 0.2s;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.aksrt-nav__item--hover-background:hover > a {
|
|
background-color: var(--color-primary-soft, rgba(240, 68, 148, 0.08));
|
|
}
|
|
|
|
.aksrt-nav__item--hover-color > a {
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.aksrt-nav__item--hover-color:hover > a {
|
|
color: var(--color-primary);
|
|
}
|
|
|