mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-24 09:48:37 +08:00
43 lines
1.1 KiB
SCSS
43 lines
1.1 KiB
SCSS
@import "../style/variable";
|
|
@import "../style/mixin";
|
|
|
|
$height: 55px;
|
|
$item-width: 69px;
|
|
|
|
.dev-tools {
|
|
.nav-bar {
|
|
@include absolute(100%, $height);
|
|
@include overflow-auto(y);
|
|
box-shadow: $box-shadow;
|
|
z-index: 100;
|
|
background: $blue;
|
|
ul {
|
|
font-size: 0;
|
|
li {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
height: $height;
|
|
line-height: $height;
|
|
width: $item-width;
|
|
color: #fff;
|
|
font-size: $font-size-s;
|
|
text-align: center;
|
|
text-transform: capitalize;
|
|
transition: all $anim-duration;
|
|
&.active {
|
|
color: #fff;
|
|
background: $blue-light;
|
|
}
|
|
}
|
|
}
|
|
.bottom-bar {
|
|
transition: left $anim-duration;
|
|
height: 3px;
|
|
background: #fff;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: $item-width;
|
|
}
|
|
}
|
|
} |