header.css 2.8 KB
/*公共头部样式*/
*{
    margin: 0;
    padding: 0;
    font-family: PingFangSC-Regular;
}
html,body{
    width: 100%;
}
.mustFill{
    color: #EA322B;
}
/*弹窗样式*/
.modal-body{
    font-size: 14px;
    max-height: 500px;
    overflow: auto;
}
/*重写下拉框图标样式*/
select {
    /*Chrome和Firefox里面的边框是不一样的,所以复写了一下*/
    border: solid 1px #000;
    /*很关键:将默认的select选择框样式清除*/
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    /*在选择框的最右侧中间显示小箭头图片*/
    background: url("../images/selectIcon.png") no-repeat scroll right center transparent !important;
    /*为下拉小箭头留出一点位置,避免被文字覆盖*/
    padding-right: 16px!important;
}

header{
    width: 100%;
    height: 80px;
    padding: 10px 0;
    background: rgba(255,255,255,1);
    opacity: 1;
}
header .headerMain{
    height: 60px;
    width: 1200px;
    margin: 0 auto;
}
header .headerMain .buttons{
    height: 60px;
    line-height: 60px;
    float: right;
    font-size: 0;
}
header .headerMain .buttons .btn{
    margin-left: 8px;
}
.btn{
    border: 1px solid rgba(255,148,23,1);
    opacity: 1;
    border-radius: 4px;
    background: rgba(255,255,255,1);
    color: rgba(255,148,23,1);
}
.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus{
    outline: 0;
}
.btn:active, .btn.active{
    box-shadow: none;
}
.btn:hover, .btn:focus, .btn.focus{
    color: rgba(255,148,23,1);
}
.btn-warning{
    background:rgba(255,148,23,1);
    color: rgba(255,255,255,1);
}
.btn-warning:active:hover, .btn-warning.active:hover, .open > .dropdown-toggle.btn-warning:hover, .btn-warning:active:focus, .btn-warning.active:focus, .open > .dropdown-toggle.btn-warning:focus, .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus{
    background: rgba(255,148,23,1);
    color: rgba(255,255,255,1);
    border: 1px solid rgba(255,148,23,1);
}
.btn-warning:hover, .btn-warning:focus, .btn-warning.focus{
    border: 1px solid rgba(255,148,23,1);
    background:rgba(255,148,23,1);
    color: rgba(255,255,255,1);
}

/*导航条样式*/
.content .navBarBox{
    width: 100%;
    height: 50px;
    background: rgba(0,159,142,1);
}
.content .navBarBox ul{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    font-size: 16px;
    font-family: PingFangSC-Semibold;
    color:rgba(255,255,255,1);
}
.content .navBarBox ul li{
    width: 116px;
    height: 100%;
    text-align: center;
    line-height: 50px;
    list-style-type: none;
    float: left;
}
.content .navBarBox ul .active{
    background: rgba(0,143,130,1);
}
.content .navBarBox ul li a{
    color: rgba(255,255,255,1);
}