lixin-web
Version:
vue and bootstrap
198 lines (183 loc) • 3.62 kB
text/less
.bar{
background: #ffffff;
position: fixed;
left: 0;
right: 0;
top: 0;
height: @bar-height;
z-index: @zindex-navbar-fixed + 1;
color: #a9a9a9;
font-size:@font-size-medium;
> .container{
position: relative;
}
.inlogin{
color: #ff6000;
}
.message{
cursor: pointer;
text-align: center;
display: inline-block;
//span{
// color: white;
// padding-left: 1px;
// padding-right: 1px;
// display: inline-block;
//}
&.new{
position: relative;
&:after{
content: '';
border-radius: 50%;
width: 7px;
height: 7px;
position: absolute;
background: #fe5307;
left: 23px;
top: -2px;
}
}
.el-badge{
vertical-align: top;
}
.el-badge__content{
padding-left: 1px;
padding-right: 1px;
line-height: 13px;
background: transparent;
color: #fe5307;
height: 13px;
border:none;
border-radius:0;
top: 0;
font-size:@font-size-medium;
&:before{
content: '(';
}
&:after{
content: ')';
}
}
}
.fa-angle-down{
font-size: 18px;
margin-left: 5px;
vertical-align: -2px;
}
.btn{
border-radius:0px;
padding-top: 3px;
padding-bottom: 3px;
float: left;
margin-right: 5px;
margin-top: -4px;
}
[class^="imoon-"]{
font-size:@font-size-large;
margin-right: 5px;
.icon-alignment();
}
.imoon-email{
.icon-alignment();
font-size:18px;
margin-right: 3px;
}
.imoon-volume{
.icon-alignment();
font-size:22px;
& + span{
vertical-align: top;
}
}
}
.bar-time{
float: left;
line-height: @bar-height;
> span{
margin-left: 12px;
}
}
.login-done{
> div{
line-height: 16px;
height: 16px;
border-right:1px solid #bababa;
padding-right: 10px;
padding-left: 10px;
float: left;
margin-top: (@bar-height - 16)/2;
&:last-child{
border-right:none;
border-left:1px solid #bababa;
cursor: pointer;
}
> a{
color: #a9a9a9;
}
}
@media (max-width: (@screen-xs-max)){
> div{
padding-left: 5px;
padding-right: 5px;
}
}
}
.manager-links,.set-voice,.moneylist{
position: relative;
&:hover > .sub-list{
display: block;
}
}
.sub-list{
position: absolute;
top: 25px;
background-color: #fff;
z-index: 700;
//box-shadow: 5px 5px rgba(102, 102, 102, 0.1);
display: none;
left: -10px;
border: 1px solid #eee;
right: -10px;
margin: auto;
//.arrow{
// top: -8px;
// left: 50%;
// margin-left: -8px;
// border-color: transparent;
// border-bottom-color: #eee;
// border-width: 8px;
// border-top-width: 0;
// &,&:before{
// width: 0;
// height: 0;
// border-style: solid;
// position: absolute;
// }
// &:before{
// content: '';
// top: 1px;
// margin-left: -7px;
// border-color: transparent;
// border-bottom-color: #fff;
// border-width: 7px;
// border-top-width: 0;
// }
//}
}
//.manager-links{
// li{
// line-height: 26px;
// text-align: center;
// }
// a{
// color: @text-color;display: block;
// &:hover,&:focus{
// background-color: @brand-primary;
// color: #fff;
// }
// }
//}
.login-no{
padding-right: 10px;
line-height: @bar-height;
}