common-2.0.less
5.01 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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
/***************************************************
* feature : 零散的ui组件的集合;
* update : 2015/02/03;
* use : import 本文件;
* desc : 仅需在HTML Page引入本文件,即可调用到 reset、通用UI样式;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
//具体UI组件
@import "m2.0/m_reset";
@import "m2.0/var";
@import "m2.0/m_header";
@import "m2.0/m_footer";
@import "m2.0/m_icon";
@import "m2.0/m_segment";
@import "m2.0/m_table";
@import "m2.0/m_btn";
@import "m2.0/m_form";
@import "m2.0/m_mask";
@import "m2.0/m_popup";
@import "m2.0/m_slider";
@import "m2.0/m_stat";
@import "m2.0/m_like";
@import "m2.0/m_step";
@import "m2.0/list-view";
@import "m2.0/m_message";
@import "m2.0/m_tips";
@import "m2.0/m_tab";
@import "m2.0/m_table_view";
@import "m2.0/m_actionsheet";
@import "m2.0/m_dropdown";
@import "m2.0/utilities";
@import "m2.0/m_bar";
@import "m2.0/one-border";
@import "m2.0/jquery.mobile.custom.structure.min.css";
// @import "m/animation";
//extend & patch
//dev 临时重置方案
*{
margin: 0;
padding: 0;
border: none;
-webkit-text-size-adjust: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
ul{
list-style: none;
}
.m-page{
padding-bottom: 80px;
// background-color: #FFF;
}
.m-list-text{
background-color: #FFF;
border-top: 1px solid #ddd;
li{
padding: 15px;
border-bottom: 1px solid #ddd;
}
.author{
float: right;
font-size: 12px;
color: #999;
}
p{
color: #666;
font-size: 14px;
}
}
//搜索
.s-page{
position: fixed;
left: 0;
top:0;
width: 100%;
min-height: 100%;
background: #f5f5f5;
display: none;
z-index: 99;
}
//页面切换交互
.transition-wrapper{
height: 100%;
width: 100%;
overflow: hidden;
.m-page{
height: 100%;
overflow-x:hidden;
overflow-y:auto;
}
body{
height: 100%;
width: 100%;
overflow: hidden;
position: relative;
}
}
.transition-up{
background: #F5F5F5;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 999;
overflow-x: hidden;
overflow-y: auto;
padding-bottom: 20px;
-webkit-transform: translate3d(0px,100%,0px);
-moz-transform: translate3d(0px,100%,0px);
transform: translate3d(0px,100%,0px);
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.55,0.055,0.675,0.19);
-moz-transition: -moz-transform 0.3s cubic-bezier(0.55,0.055,0.675,0.19);
-o-transition: -o-transform 0.3s cubic-bezier(0.55,0.055,0.675,0.19);
transition: transform 0.3s cubic-bezier(0.55,0.055,0.675,0.19);
// display: none;
.transition-content{
min-height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
&.show{
// display: block;
-webkit-transform: translate3d(0px,0%,0px);
-moz-transform: translate3d(0px,0%,0px);
transform: translate3d(0px,0%,0px);
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.165,0.840,0.440,1.000);
-moz-transition: -moz-transform 0.3s cubic-bezier(0.165,0.840,0.440,1.000);
-o-transition: -o-transform 0.3s cubic-bezier(0.165,0.840,0.440,1.000);
transition: transform 0.3s cubic-bezier(0.165,0.840,0.440,1.000);
}
}
// 没有数据
.m-no-data{
margin-top: 50px;
text-align: center;
font-size: 18px;
color:#666;
.no-data-icon{
height: 150px;
background:url("@{imgURI}no-data.png") center center no-repeat;
background-size: 150px;
margin-bottom: 20px;
}
}
// 城市选择
.m-city{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 70%;
display: inline-block;
vertical-align: middle;
}
// app download
.to-app-box{
position: fixed;
bottom: -100%;
left: 0;
width: 100%;
z-index: 1;
.ll{
float: left;
}
.rr{
float: right;
}
.to-app-bg{
padding: 10px;
background: rgba(0, 0, 0, 0.70);
}
.app-close,
.app-logo,
.app-info{
display: inline-block;
vertical-align: middle;
margin-right: 10px;
}
.app-close{
width: 18px;
height: 19px;
background: url("../../images/icon/d-x.png") 0 0 no-repeat;
background-size: 18px;
}
.app-logo{
width: 35px;
height: 35px;
background: url("../../images/icon/d-logo.png") 0 0 no-repeat;
background-size: 35px;
}
.app-info{
color: #fff;
font-size: 15px;
p{
font-size: 12px;
}
}
.app-download{
width: 89px;
height: 36px;
margin-top: 3px;
background: url("../../images/icon/d-btn.png") 0 0 no-repeat;
background-size: 87px;
}
}
/*重置按钮*/
.clear-view {
text-align: center;
padding-top: 10px;
.m-btn {
padding: 0 30px;
line-height: 40px;
}
}
.ui-loader-default{
width: 4.125em;
height: 4.125em;
margin-left: -2.0625em;
margin-top: -2.0625em;
filter: Alpha(Opacity=100);
opacity: 1;
}
.ui-loader .ui-icon-loading{
width: 4em;
height: 4em;
border-radius: 0;
background-color: transparent;
}
.ui-icon-loading {
background: url(../../images/ajax-loader.gif) center center no-repeat;
background-size: 4.125em 4.125em;
}