mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
110 lines
No EOL
1.8 KiB
SCSS
110 lines
No EOL
1.8 KiB
SCSS
/*
|
|
Navigation
|
|
*/
|
|
|
|
#menu {
|
|
font-family: "Montserrat", sans-serif;
|
|
background-color: $background-primary;
|
|
height: 60px;
|
|
max-height: 60px;
|
|
nav {
|
|
@include outer-container;
|
|
}
|
|
}
|
|
|
|
ul.navigation {
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
background-color: $navbar-primary;
|
|
float: left;
|
|
|
|
> li {
|
|
float: left;
|
|
|
|
&:first-child {
|
|
a {
|
|
border-left: 1px solid $navbar-border;
|
|
}
|
|
}
|
|
|
|
.count {
|
|
background-color: #6a5a8c;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
color: white;
|
|
line-height: 14px;
|
|
padding: 5px 8px;
|
|
margin-left: 25px;
|
|
margin-top: -8px;
|
|
}
|
|
|
|
> a {
|
|
width: auto;
|
|
color: white;
|
|
height: 60px;
|
|
line-height: 16px;
|
|
padding: 22px;
|
|
float: left;
|
|
border-right: 1px solid $navbar-border;
|
|
&:hover,
|
|
&.active {
|
|
background-color: $navbar-secondary;
|
|
}
|
|
}
|
|
|
|
&.icon {
|
|
|
|
> a {
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
padding: 18px;
|
|
|
|
i {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.dropdown {
|
|
|
|
ul {
|
|
display: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
&:hover {
|
|
|
|
ul {
|
|
display: block;
|
|
position: absolute;
|
|
top: 60px;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: $navbar-secondary;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
li {
|
|
border-bottom: 1px solid lighten($navbar-secondary, 10%);
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
height: 60px;
|
|
line-height: 16px;
|
|
padding: 22px;
|
|
color: $navbar-text;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |