41 lines
No EOL
891 B
SCSS
41 lines
No EOL
891 B
SCSS
.nav {
|
|
width: 100%;
|
|
padding: #{10 / $base-font-size}rem #{70 / $base-font-size}rem;
|
|
padding-left: #{170 / $base-font-size}rem;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav__items-left, .nav__items-right {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
padding: #{5 / $base-font-size}rem #{10 / $base-font-size}rem;
|
|
border-bottom: 2px dashed;
|
|
}
|
|
|
|
.nav__item {
|
|
& + & {
|
|
margin-left: #{20 / $base-font-size}rem;
|
|
}
|
|
position: relative;
|
|
&:hover .nav__dropdown {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.nav__dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
flex-direction: column;
|
|
background-color: $light-background-color;
|
|
padding: #{10 / $base-font-size}rem;
|
|
left: #{-10 / $base-font-size}rem;
|
|
border: 1px solid $ide-border-color;
|
|
& li + li {
|
|
margin-top: #{10 / $base-font-size}rem;
|
|
}
|
|
width: #{140 / $base-font-size}rem;
|
|
} |