m_table_view.css
6.75 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
<<<<<<< HEAD
.bg-img{background:url(../../images/icon/icon.png)no-repeat;background-size:150px}.m-table-view-old{background-color:#fff}.m-table-view-old li{padding:15px}.m-table-view-old .pic{float:left;width:60px;height:60px;margin-right:13px}.m-table-view-old h3{font-size:14px;color:#FA4535;margin-bottom:4px}.m-table-view-old p{color:#999;font-size:12px}.m-table-view{width:100%;background-color:#FFF;border-top:1px solid #ddd;margin-top:10px}.m-table-view .cell{font-size:14px;padding:11px 15px;text-align:right;border-bottom:1px solid #ddd;overflow:hidden;position:relative}.m-table-view .acc-icon{position:relative}.m-table-view .acc-icon .text{padding-right:15px}.m-table-view .acc-icon:after{content:'';position:absolute;right:10px;top:50%;width:10px;height:15px;background:url(../../images/icon/arrow_rt@2x.png)center center no-repeat;background-size:10px;margin-top:-7.5px}.m-table-view .title{font-size:14px;color:#333;float:left;font-weight:400}.m-table-view .text{display:inline-block;font-size:14px;color:#999}.m-table-view .cell-extend{padding:11px 45px 11px 110px;text-align:left}.m-table-view .cell-extend .m-icon{margin-right:10px}.m-table-view .cell-extend .title{line-height:36px;margin-left:-95px;display:inline-block;float:none;vertical-align:middle}.m-table-view .cell-extend .text{display:inline-block;text-align:left;padding:0 10px;font-size:12px;width:100%;box-sizing:border-box;color:#999;vertical-align:middle}.m-table-view .cell-extend .acc{position:absolute;top:50%;right:15px;margin-top:-10px;float:right;width:20px;height:20px}.m-table-view .cell-extend-pic{padding:11px 45px 11px 110px;padding:15px 85px;text-align:left;font-size:12px}.m-table-view .cell-extend-pic .m-icon{margin-right:10px}.m-table-view .cell-extend-pic .title{line-height:36px;margin-left:-95px;display:inline-block;float:none;vertical-align:middle}.m-table-view .cell-extend-pic .text{display:inline-block;text-align:left;padding:0 10px;font-size:12px;width:100%;box-sizing:border-box;color:#999;vertical-align:middle}.m-table-view .cell-extend-pic .acc{position:absolute;top:50%;right:15px;margin-top:-10px;float:right;width:20px;height:20px}.m-table-view .cell-extend-pic .title{margin-left:0;font-size:12px;text-align:left;margin:0 0 5px;line-height:1.5}.m-table-view .cell-extend-pic .detail{color:#999;font-size:12px}.m-table-view .cell-extend-pic .pic{width:60px;height:60px;float:left;margin-left:-70px}.m-table-view .cell-extend-pic .text{position:absolute;right:0;top:15px;text-align:right;color:#000;font-size:12px;font-weight:700;width:70px;padding:0 15px 0 0;box-sizing:content-box}.m-table-view .cell-extend-pic .text em{display:block;font-style:normal}
=======
/***************************************************
* feature : 表格视图, 提供类ios UITableView风格布局;
* update : 2015/02/03;
* use : .m-table-view;
* extend : ;
* example : ;
* desc : ;
* 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;
}
.m-table-view-old {
background-color: #fff;
}
.m-table-view-old li {
padding: 15px;
}
.m-table-view-old .pic {
float: left;
width: 60px;
height: 60px;
margin-right: 13px;
}
.m-table-view-old h3 {
font-size: 14px;
color: #FA4535;
margin-bottom: 4px;
}
.m-table-view-old p {
color: #999;
font-size: 12px;
}
.m-table-view {
width: 100%;
background-color: #FFF;
border-top: 1px solid #ddd;
margin-top: 10px;
}
.m-table-view .cell {
font-size: 14px;
padding: 11px 15px;
text-align: right;
border-bottom: 1px solid #ddd;
overflow: hidden;
position: relative;
}
.m-table-view .acc-icon {
position: relative;
}
.m-table-view .acc-icon .text {
padding-right: 15px;
}
.m-table-view .acc-icon:after {
content: '';
position: absolute;
right: 10px;
top: 50%;
width: 10px;
height: 15px;
background: url("../../images/icon/arrow_rt@2x.png") center center no-repeat;
background-size: 10px;
margin-top: -7.5px;
}
.m-table-view .title {
font-size: 14px;
color: #333;
float: left;
font-weight: 400;
}
.m-table-view .text {
display: inline-block;
font-size: 14px;
color: #999;
}
.m-table-view .cell-extend {
padding: 11px 45px 11px 110px;
text-align: left;
}
.m-table-view .cell-extend .m-icon {
margin-right: 10px;
}
.m-table-view .cell-extend .title {
line-height: 36px;
margin-left: -95px;
display: inline-block;
float: none;
vertical-align: middle;
}
.m-table-view .cell-extend .text {
display: inline-block;
text-align: left;
padding: 0 10px;
font-size: 12px;
width: 100%;
box-sizing: border-box;
color: #999;
vertical-align: middle;
}
.m-table-view .cell-extend .acc {
position: absolute;
top: 50%;
right: 15px;
margin-top: -10px;
float: right;
width: 20px;
height: 20px;
}
.m-table-view .cell-extend-pic {
padding: 11px 45px 11px 110px;
padding: 15px 85px;
text-align: left;
font-size: 12px;
}
.m-table-view .cell-extend-pic .m-icon {
margin-right: 10px;
}
.m-table-view .cell-extend-pic .title {
line-height: 36px;
margin-left: -95px;
display: inline-block;
float: none;
vertical-align: middle;
}
.m-table-view .cell-extend-pic .text {
display: inline-block;
text-align: left;
padding: 0 10px;
font-size: 12px;
width: 100%;
box-sizing: border-box;
color: #999;
vertical-align: middle;
}
.m-table-view .cell-extend-pic .acc {
position: absolute;
top: 50%;
right: 15px;
margin-top: -10px;
float: right;
width: 20px;
height: 20px;
}
.m-table-view .cell-extend-pic .title {
margin-left: 0;
font-size: 12px;
text-align: left;
margin: 0 0 5px;
line-height: 1.5;
}
.m-table-view .cell-extend-pic .detail {
color: #999;
font-size: 12px;
}
.m-table-view .cell-extend-pic .pic {
width: 60px;
height: 60px;
float: left;
margin-left: -70px;
}
.m-table-view .cell-extend-pic .text {
position: absolute;
right: 0;
top: 15px;
text-align: right;
color: #000;
font-size: 12px;
font-weight: 700;
width: 70px;
padding: 0 15px 0 0;
box-sizing: content-box;
}
.m-table-view .cell-extend-pic .text em {
display: block;
font-style: normal;
}
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa