header_ui.css
3.41 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
.header{
min-width: 1200px;
background-color: #fff;
border-bottom: 1px solid #ebebeb;
position: relative;
z-index: 1;
}
.user-header{
border:0;
}
.user-header h1{
float: left;
margin-top: 10px;
border-left: 1px #ccc solid;
padding: 10px 20px;
font-size: 20px;
color: #fff;
}
.header-content{
width: 1200px;
margin: 0 auto;
}
.logo{
float: left;
width: 172px;
height: 40px;
padding: 14px 0;
overflow: hidden;
margin-right: 60px;
}
.nav{
float: left;
}
.nav li{
float: left;
margin-right: 15px;
height: 20px;
line-height: 20px;
padding: 18px 0 25px 0;
}
.nav li a{
display: block;
padding: 0 15px 5px 15px;
font-size: 14px;
text-align: center;
color: #333;
transition: border 0.3s;
-webkit-transition: border 0.3s;
border: solid #3cb04d;
border-width: 0 0 3px 0;
}
.nav li a:hover,
.nav li .current{
border-bottom-color: #f60;
}
.header-tools{
margin-top: 18px;
}
.header-tools .a-link{
color: #333;
font-size: 14px;
line-height: 30px;
margin: -3px 3px 0 3px;
font: 14px/1 'Microsoft YaHei';
}
.link-register,
.link-login,
.dropdown a span,
.search-box,
.header-tools .message,
.header-tools .user-info{
display: inline-block;
*display: inline;
*zoom:1;
vertical-align: middle;
}
.search-box{
position: relative;
height: 30px;
min-width: 120px;
}
.search-input{
position: absolute;
right: 0;
top: 0;
border: 1px #ccc solid;
border-radius: 20px;
height: 28px;
line-height: 28px\9;
padding-left: 28px;
outline: none;
width: 88px;
background: url('../images/icon.png') #fff 7px 6px no-repeat;
}
.header-tools .message{
width: 20px;
height: 16px;
background: url('../images/icon.png') -50px -40px no-repeat;
margin: 0 15px;
position: relative;
cursor: pointer;
}
.header-tools .message span{
position: absolute;
width: 10px;
height: 10px;
right: -6px;
top: -3px;
background-color: #f60;
border-radius: 100%;
}
.user-info{
cursor: pointer;
position: relative;
}
.header .dropdown{
position: absolute;
top: 49px;
right: 0;
display: none;
}
.header .dropdown i,
.header .dropdown em {
display: none;
}
.header .dropdown i{
position: absolute;
top: -12px;
right: 25px;
width: 0;
height: 0;
font-size: 0;
overflow: hidden;
border: 6px solid #373b65;
border-color: transparent transparent #373b65 transparent;
}
.header .dropdown em{
position: absolute;
top: -11px;
right: 25px;
width: 0;
height: 0;
font-size: 0;
overflow: hidden;
border: 6px solid #fff;
border-color: transparent transparent #fff transparent;
}
.header .dropdown ul{
background: transparent;
border: 1px transparent solid;
overflow: hidden;
}
.header .dropdown a{
display: block;
height: 32px;
line-height: 32px;
white-space: nowrap;
padding-left: 10px;
min-width: 85px;
font-size: 13px;
color: #fff;
background-color: #c1c1c1;
}
.header .dropdown a:hover{
background: #b1b1b1;
}
.user-photo{
display: inline-block;
*display: inline;
*zoom:1;
vertical-align: middle;
overflow: hidden;
font-size: 14px;
color: #333;
}
.user-photo img{
width: 100%;
height: 100%;
}
.icon-down-arrow{
display: inline-block;
*display: inline;
*zoom:1;
vertical-align: middle;
border-width: 6px 5px 0 5px;
border-style: solid;
border-color: #666 transparent;
margin-left: 5px;
height: 0;
width: 0;
}
.dropdown a span {
width: 20px;
height: 20px;
background: url(../images/icon.png) no-repeat 0 -41px;
}
.link-register {
border: 1px solid #fff;
padding: 0 10px;
}