vant/packages/vant-css/src/nav-bar.css
neverland 47576ec47c [breaking change] remove reset.css dependencies (#196)
* [breaking change] remove reset.css dependencies

* [bugfix] Doc footerNav not show

* [bugfix] PasswordInput Doc link
2017-10-12 06:25:55 -05:00

63 lines
846 B
CSS

@import './common/var.css';
.van-nav-bar {
height: 46px;
position: relative;
user-select: none;
text-align: center;
line-height: 46px;
background-color: $white;
.van-icon {
color: $blue;
vertical-align: middle;
}
&__arrow {
transform: rotate(180deg);
+ .van-nav-bar__text {
margin-left: -20px;
padding-left: 25px;
}
}
&--fixed {
top: 0;
left: 0;
width: 100%;
position: fixed;
}
&__title {
font-size: 16px;
}
&__left,
&__right {
bottom: 0;
font-size: 14px;
position: absolute;
}
&__left {
left: 15px;
}
&__right {
right: 15px;
}
&__text {
color: $blue;
margin: 0 -15px;
padding: 0 15px;
display: inline-block;
vertical-align: middle;
&:active {
background-color: $active-color;
}
}
}