yapi/client/components/Header/Header.scss

64 lines
1.0 KiB
SCSS
Raw Normal View History

2017-07-10 19:50:11 +08:00
@import '../../styles/common.scss';
2017-07-12 16:27:06 +08:00
$color-white : #fff;
$color-blue : #30a1f2;
$color-grey-deep : #929aac;
2017-07-10 19:50:11 +08:00
/* .header-box.css */
.header-box {
display: block;
2017-07-12 16:27:06 +08:00
line-height: .64rem;
2017-07-10 19:50:11 +08:00
background: #000c15;
font-size: 0.14rem;
2017-07-12 16:27:06 +08:00
color: $color-white;
2017-07-10 19:50:11 +08:00
// 内容宽度
.content {
max-width: 11rem;
margin: 0 auto;
zoom: 1;
2017-07-12 16:27:06 +08:00
overflow: hidden;
2017-07-10 19:50:11 +08:00
}
h1 {
2017-07-12 16:27:06 +08:00
font-size: .25rem;
2017-07-10 19:50:11 +08:00
float: left;
2017-07-12 16:27:06 +08:00
margin: 0 .2rem;
color: $color-white;
2017-07-10 19:50:11 +08:00
}
2017-07-12 16:27:06 +08:00
.nav-toolbar {
float: left;
2017-07-10 19:50:11 +08:00
li {
float: left;
2017-07-12 16:27:06 +08:00
margin: 0 .2rem;
a{
color: $color-white;
&:hover {
color: $color-blue;
}
2017-07-10 19:50:11 +08:00
}
}
}
2017-07-12 16:27:06 +08:00
.user-toolbar{
2017-07-10 19:50:11 +08:00
float: right;
2017-07-12 16:27:06 +08:00
line-height: .12rem;
li{
float: left;
height: .12rem;
margin: .26rem 0;
padding: 0 .1rem;
font-size: .12rem;
cursor: pointer;
a{
color: $color-white;
&:hover{
color: $color-blue;
}
}
&:not(:last-child){
border-right: .01rem solid $color-white;
}
}
2017-07-10 19:50:11 +08:00
}
2017-07-12 16:27:06 +08:00
}