m_popup.less
1.61 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
/***************************************************
* feature : popup;
* update : 2015/02/03;
* use : .m-popup;
* extend : ;
* example : ;
* desc : ;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
@import "var";
.m-popup{
position: fixed;
right: 0;
left: 50%;
bottom: 0;
width: 270px;
margin-left: -135px;
background: rgba(255, 255, 255, .9);
border-radius: 4px;
z-index: 20;
-webkit-transition: -webkit-transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
-moz-transition: -moz-transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
-o-transition: -o-transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
transition: transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
overflow: auto;
-webkit-overflow-scrolling: touch;
display: none;
&.popup-large{
left: 25px;
right: 25px;
width: auto;
margin-left: 0;
}
.popup-head{
h1{
font-size: 14px;
color: #000;
line-height: 50px;
text-align: center;
font-weight: 400;
}
}
.popup-cont{
.title{
color: #666;
}
.m-table-view{
margin-top: 0;
background: none;
}
}
.popup-foot{
.m-btn{
float: left;
width: 50%;
background: none;
color: #027aff;
box-sizing: border-box;
border-radius: 0;
border: none;
<<<<<<< HEAD
=======
line-height: 44px;
font-size: 16px;
>>>>>>> b51924697e7ffdccee5d9d41bd2be4b3b02828fa
&:first-child{
border-right: 1px solid #ddd;
}
}
}
}