header.css
2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/*公共头部样式*/
*{
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);
}