Files
eruda/src/DevTools/NavBar.scss
2018-06-18 17:56:12 +08:00

47 lines
977 B
SCSS

@import '../style/variable';
@import '../style/mixin';
$height: 55px;
$item-width: 69px;
.dev-tools {
.nav-bar {
@include absolute(100%, $height);
@include overflow-auto(x);
box-shadow: $box-shadow;
z-index: 100;
background: $blue;
font-size: 0;
white-space: nowrap;
.nav-bar-item {
cursor: pointer;
display: inline-block;
height: $height;
line-height: $height;
padding: 0 10px;
color: #fff;
font-size: $font-size-s;
text-align: center;
text-transform: capitalize;
transition: all $anim-duration;
&:active {
background: $gray-dark;
opacity: 0.5;
}
&.active {
background: $gray-light;
color: $gray-dark;
opacity: 0.5;
}
}
.bottom-bar {
transition: left $anim-duration, width $anim-duration;
height: 3px;
background: #fff;
position: absolute;
bottom: 0;
left: 0;
}
}
}