mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
70 lines
1.1 KiB
SCSS
70 lines
1.1 KiB
SCSS
@import "constants";
|
|
@import "mixins";
|
|
|
|
.menu-bar {
|
|
background-color: $color-white;
|
|
box-shadow: inset -4px 0 0 0 $color-alto;
|
|
height: 100%;
|
|
left: 0;
|
|
overflow-x: hidden;
|
|
padding-bottom: 16px;
|
|
padding-top: 16px;
|
|
position: fixed;
|
|
width: 83px;
|
|
z-index: 1001;
|
|
|
|
ul.nav > li {
|
|
padding-right: 4px;
|
|
|
|
& > a {
|
|
color: $color-silver-chalice;
|
|
display: grid;
|
|
font-size: $font-size-h6;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 10px;
|
|
text-align: center;
|
|
|
|
& > span {
|
|
padding-top: 4px;
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
background-color: $color-gainsboro;
|
|
margin-right: 4px;
|
|
padding-right: 0;
|
|
@include box-shadow(4px 0 0 $brand-primary);
|
|
|
|
& > a {
|
|
color: $color-emperor;
|
|
}
|
|
}
|
|
}
|
|
|
|
ul.nav-bottom {
|
|
bottom: 0;
|
|
padding-bottom: 16px;
|
|
position: fixed;
|
|
width: inherit;
|
|
}
|
|
|
|
.dropup {
|
|
.dropdown-menu {
|
|
bottom: 0;
|
|
left: 99%;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
&.open > a {
|
|
color: $color-emperor;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media(max-height:480px) {
|
|
.menu-bar > ul.nav-bottom {
|
|
position: relative;
|
|
width: auto;
|
|
}
|
|
}
|