5
5
// --------------------------------------------------
6
6
7
7
$action-sheet-wp-text-align : left !default ;
8
-
9
- $action-sheet-wp-background-color : #ffffff !default ;
8
+ $action-sheet-wp-background : #ffffff !default ;
10
9
$action-sheet-wp-box-shadow : 0px -1px 0px rgba (0 ,0 ,0 ,0.2 ) !default ;
10
+ $action-sheet-wp-group-margin-bottom : 8px !default ;
11
11
12
12
$action-sheet-wp-title-padding : 19px 16px 17px !default ;
13
13
$action-sheet-wp-title-font-size : 2.0rem !default ;
@@ -19,10 +19,15 @@ $action-sheet-wp-button-text-color: #4D4D4D !default;
19
19
$action-sheet-wp-button-font-size : 1.5rem !default ;
20
20
$action-sheet-wp-button-padding : 0 16px !default ;
21
21
$action-sheet-wp-button-text-align : $action-sheet-wp-text-align !default ;
22
- $action-sheet-wp-button-background-active-color : $list-wp-activated-background-color !default ;
22
+ $action-sheet-wp-button-background : transparent !default ;
23
+ $action-sheet-wp-button-background-activated : $list-wp-activated-background-color !default ;
23
24
25
+ $action-sheet-wp-icon-min-width : 24px !default ;
26
+ $action-sheet-wp-icon-text-align : center !default ;
27
+ $action-sheet-wp-icon-vertical-align : middle !default ;
24
28
$action-sheet-wp-icon-font-size : 2.4rem !default ;
25
- $action-sheet-wp-icon-margin : 0 28px 0 0 !default ;
29
+ $action-sheet-wp-icon-margin : 0 16px 0 0 !default ;
30
+
26
31
27
32
.action-sheet-wrapper {
28
33
box-shadow : $action-sheet-wp-box-shadow ;
@@ -36,44 +41,34 @@ $action-sheet-wp-icon-margin: 0 28px 0 0 !default;
36
41
}
37
42
38
43
.action-sheet-button {
39
- position : relative ;
40
- overflow : hidden ;
41
44
padding : $action-sheet-wp-button-padding ;
42
45
min-height : $action-sheet-wp-button-height ;
43
46
font-size : $action-sheet-wp-button-font-size ;
44
- font-weight : normal ;
45
47
color : $action-sheet-wp-button-text-color ;
46
- background-color : transparent ;
48
+ background : $action-sheet-wp-button-background ;
47
49
text-align : $action-sheet-wp-button-text-align ;
48
50
49
51
& .activated {
50
- background : $action-sheet-wp-button-background-active-color ;
51
- border-radius : 0 ;
52
- box-shadow : none ;
52
+ background : $action-sheet-wp-button-background-activated ;
53
53
}
54
54
}
55
55
56
56
.action-sheet-icon {
57
- display : inline-block ;
58
57
margin : $action-sheet-wp-icon-margin ;
59
- min-width : 24 px ;
60
- text-align : center ;
61
- vertical-align : middle ;
58
+ min-width : $action-sheet-wp-icon-min-width ;
59
+ text-align : $action-sheet-wp-icon-text-align ;
60
+ vertical-align : $action-sheet-wp-icon-vertical-align ;
62
61
font-size : $action-sheet-wp-icon-font-size ;
63
62
}
64
63
65
64
.action-sheet-group {
66
- overflow : hidden ;
67
- margin : 0 ;
68
- border-radius : 0 ;
69
- background-color : $action-sheet-wp-background-color ;
65
+ background : $action-sheet-wp-background ;
70
66
71
67
& :last-child .action-sheet-button {
72
- margin-bottom : 8 px ;
68
+ margin-bottom : $action-sheet-wp-group-margin-bottom ;
73
69
}
74
70
}
75
71
76
72
.action-sheet-cancel {
77
- background-color : $action-sheet-wp-background-color ;
78
- border : none ;
73
+ background : $action-sheet-wp-button-background ;
79
74
}
0 commit comments