header.css
1.07 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
.head {
height: 44px;
box-sizing: border-box;
text-align: center;
}
.m-header {
z-index: 5;
position: relative;
background: rgba(255, 255, 255, 0.8);
color: #333;
box-shadow: inset 0 0 1px #ddd;
}
.m-header .text {
font-style: normal;
color: #666;
}
.m-header .head {
padding: 0 50px;
box-sizing: border-box;
}
.m-header .head h1 {
display: inline-block;
vertical-align: middle;
line-height: 44px;
font-weight: normal;
font-size: 19px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.m-header .lt-bar,
.m-header .rt-bar {
position: absolute;
left: 0;
top: 0;
bottom: 0;
min-width: 44px;
line-height: 44px;
height: 100%;
text-align: center;
cursor: pointer;
z-index: 1;
}
.m-header .lt-bar {
float: left;
}
.m-header .lt-bar.text {
padding-left: 10px;
text-align: left;
}
.m-header .rt-bar {
float: right;
left: auto;
right: 0;
}
.m-header .rt-bar.text {
padding-right: 10px;
text-align: right;
}
.m-header .text {
text-align: center;
line-height: 44px;
font-size: 15px;
color: #4a90e2;
}