m_header.css
5.78 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
<<<<<<< HEAD
.bg-img{background:url(../../images/icon/icon.png)no-repeat;background-size:150px}.head{height:44px;box-sizing:border-box;text-align:center}.logo{width:25px;background:url(../../images/icon/icon.png)no-repeat;background-size:150px;background-position:-125px 11px;margin:0 15px}.m-header{z-index:5;color:#FFF;color:#fff;background-color:#23AC38;position:relative}.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:400;font-size:18px;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:#FFF}.m-header.header-search .head{padding:7px 44px}.m-header.header-search .search-box{line-height:30px;font-size:14px;padding:0 8px;background-color:#158F28;color:#eee;cursor:text;display:block;color:#999;text-align:left}.m-header.header-search .icon-search{margin-top:7px}.m-header.header-search .icon-search-w{margin-top:8px}.m-header.header-search .input-wrap{display:block;overflow:hidden;padding-left:8px;box-sizing:border-box}.m-header.header-search .m-input{float:left;width:98%;display:block;padding:4px 0;color:#FFF;border:none;background:0 0}.m-header.header-search .m-input::-webkit-input-placeholder{color:rgba(255,255,255,.8)}.m-header.header-search .m-dropdown{float:left}.m-header.header-search #search-btn{background:0 0;color:#fff;font-size:14px}.m-header.header-home .head{position:relative;padding:7px 10px 7px 44px;margin-right:0}.m-header.header-home .search-box{background-color:#158F28;color:#FFF}.m-header.header-light{background-color:#FFF;color:#666}.m-header.header-light .text{color:#666}.m-header.header-light .m-input{color:#333}.m-header.header-light .m-input::-webkit-input-placeholder{color:#999}
=======
/***************************************************
* feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题;
* update : 2015/02/03;
* use : .m-header;
* extend : .header-*;
* example : <header class="m-header header-light"></header>;
* desc : 默认为深色主题, 通过 .header-light 来引用浅色主题;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
/***************************************************
* feature : 变量配置;
* update : 2015/02/05;
* use : ;
* extend : ;
* example : ;
* desc : ;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.bg-img {
background: url('../../images/icon/icon.png') no-repeat;
background-size: 150px;
}
.head {
height: 44px;
box-sizing: border-box;
text-align: center;
}
.logo {
width: 25px;
background: url('../../images/icon/icon.png') no-repeat;
background-size: 150px;
background-position: -125px 11px;
margin: 0 15px;
}
.m-header {
z-index: 5;
color: #FFF;
color: #ffffff;
background-color: #23AC38;
position: relative;
}
.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: 18px;
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: #FFF;
}
.m-header.header-search .head {
padding: 7px 44px;
}
.m-header.header-search .search-box {
line-height: 30px;
font-size: 14px;
padding: 0 8px;
background-color: #158F28;
color: #eee;
cursor: text;
display: block;
color: #999;
text-align: left;
}
.m-header.header-search .icon-search {
margin-top: 7px;
}
.m-header.header-search .icon-search-w {
margin-top: 8px;
}
.m-header.header-search .input-wrap {
display: block;
overflow: hidden;
padding-left: 8px;
box-sizing: border-box;
}
.m-header.header-search .m-input {
float: left;
width: 98%;
display: block;
padding: 4px 0;
color: #FFF;
border: none;
background: none;
}
.m-header.header-search .m-input::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.8);
}
.m-header.header-search .m-dropdown {
float: left;
}
.m-header.header-search #search-btn {
background: none;
color: #fff;
font-size: 14px;
}
.m-header.header-home .head {
position: relative;
padding: 7px 10px 7px 44px;
margin-right: 0;
}
.m-header.header-home .search-box {
background-color: #158F28;
color: #FFF;
}
.m-header.header-light {
background-color: #FFF;
color: #666;
}
.m-header.header-light .text {
color: #666;
}
.m-header.header-light .m-input {
color: #333;
}
.m-header.header-light .m-input::-webkit-input-placeholder {
color: #999;
}
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa