1 | .actionsheet-overlay {
|
2 | background-color: rgba(0,0,0,0);
|
3 | position: fixed;
|
4 | z-index: 998;
|
5 | left: 0;
|
6 | right: 0;
|
7 | top: 0;
|
8 | bottom: 0;
|
9 | transition: all 200ms ease-out;
|
10 | }
|
11 | .actionsheet-overlay.active{
|
12 | background-color: rgba(0,0,0,0.2);
|
13 | }
|
14 | .actionsheet {
|
15 | position: absolute;
|
16 | font-family:"Helvetica Neue", Helvetica,sans-serif;
|
17 | left: 2px;
|
18 | right: 2px;
|
19 | bottom: 0px;
|
20 | z-index: 999;
|
21 | transform: translateY(110%);
|
22 | transition: all 200ms ease-out;
|
23 | }
|
24 | .actionsheet-overlay.active .actionsheet{
|
25 | transform: translateY(0);
|
26 | }
|
27 | .actionsheet-item {
|
28 | color: #000;
|
29 | line-height: 2.5;
|
30 | font-size: 18px;
|
31 | background-color: rgba(255,255,255,0.8);
|
32 | text-align: center;
|
33 | user-select: none;
|
34 | -webkit-user-select: none;
|
35 | }
|
36 | .actionsheet-item:active,
|
37 | .actionsheet-item:hover {
|
38 | background-color: rgba(255,255,255,0.3);
|
39 | }
|
40 | .actionsheet-foot {
|
41 | margin-top: 4px;
|
42 | }
|
43 | .actionsheet-item + .actionsheet-item {
|
44 | border-top: 1px solid rgba(0,0,0,0.2);
|
45 | }
|