forked from hiroprotagonist/jquery.mobile.actionsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.mobile.actionsheet.css
87 lines (85 loc) · 2.28 KB
/
jquery.mobile.actionsheet.css
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
.ui-actionsheet-wallpaper {
display: none;
background-color: black;
opacity: .3;
position: absolute;
top:0;
left: 0;
min-height: 100%;
height: auto;
width: 100%;
}
.ui-actionsheet-content {
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
background-color: silver;
border-style: solid;
border-width: 3px;
display: none;
height: auto;
position: absolute;
width: 230px;
z-index: 20;
-moz-box-shadow: 0px 0px 12px rgba(0,0,0,.6);
-webkit-box-shadow: 0px 0px 12px rgba(0,0,0,.6);
box-shadow: 0px 0px 12px rgba(0,0,0,.6);
}
.ui-actionsheet-commandbtn {}
.ui-actionsheet-closebtn {
color: white;
background: #5E6369; /* old browsers */
background: -moz-linear-gradient(top, #5E6369 0%, #52575D 1%, #40454E 46%, #141D26 50%, #252F38 98%, #303339 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5E6369), color-stop(1%,#52575D), color-stop(46%,#40454E), color-stop(50%,#141D26), color-stop(98%,#252F38), color-stop(100%,#303339)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5E6369', endColorstr='#303339',GradientType=0 ); /* ie */
background: -o-linear-gradient(top, #5E6369 0%,#52575D 1%,#40454E 46%,#141D26 50%,#252F38 98%,#303339 100%); /* opera */
}
@-webkit-keyframes actionsheet-open-fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes actionsheet-close-fade {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@-webkit-keyframes actionsheet-open-slideup {
0% {
-webkit-transform: translateY(1100px);
}
70% {
-webkit-transform: translateY(-20px);
}
100% {
-webkit-transform: translateY(0);
}
}
@-webkit-keyframes actionsheet-close-slideup {
0% {
-webkit-transform: translateY(0);
}
30% {
-webkit-transform: translateY(-30px);
}
100% {
opacity: 0;
-webkit-transform: translateY(300px);
}
}
.ui-actionsheet-animateIn {
-webkit-animation-name: actionsheet-open-slideup;
-webkit-animation-delay: 0;
-webkit-animation-duration: 500ms;
}
.ui-actionsheet-animateOut {
-webkit-animation-name: actionsheet-close-slideup;
-webkit-animation-delay: 0;
-webkit-animation-duration: 500ms;
}