mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
35 lines
560 B
SCSS
35 lines
560 B
SCSS
|
// Navs
|
||
|
.nav {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
list-style: none;
|
||
|
margin: $unit-1 0;
|
||
|
|
||
|
.nav-item {
|
||
|
a {
|
||
|
color: $gray-color-dark;
|
||
|
padding: $unit-1 $unit-2;
|
||
|
text-decoration: none;
|
||
|
&:focus,
|
||
|
&:hover {
|
||
|
color: $primary-color;
|
||
|
}
|
||
|
}
|
||
|
&.active {
|
||
|
& > a {
|
||
|
color: darken($gray-color-dark, 10%);
|
||
|
font-weight: bold;
|
||
|
&:focus,
|
||
|
&:hover {
|
||
|
color: $primary-color;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
& .nav {
|
||
|
margin-bottom: $unit-2;
|
||
|
margin-left: $unit-4;
|
||
|
}
|
||
|
}
|