forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction-sheet.wp.scss
More file actions
88 lines (67 loc) · 2.88 KB
/
action-sheet.wp.scss
File metadata and controls
88 lines (67 loc) · 2.88 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
@import "../../globals.wp";
@import "./action-sheet";
// Windows Action Sheet
// --------------------------------------------------
$action-sheet-wp-text-align: left !default;
$action-sheet-wp-background: #fff !default;
$action-sheet-wp-box-shadow-color: rgba(0, 0, 0, .2) !default;
$action-sheet-wp-box-shadow: 0 -1px 0 $action-sheet-wp-box-shadow-color !default;
$action-sheet-wp-group-margin-bottom: 8px !default;
$action-sheet-wp-title-padding: 19px 16px 17px !default;
$action-sheet-wp-title-font-size: 2rem !default;
$action-sheet-wp-title-color: #4d4d4d !default;
$action-sheet-wp-title-text-align: $action-sheet-wp-text-align !default;
$action-sheet-wp-button-height: 4.8rem !default;
$action-sheet-wp-button-text-color: #4d4d4d !default;
$action-sheet-wp-button-font-size: 1.5rem !default;
$action-sheet-wp-button-padding: 0 16px !default;
$action-sheet-wp-button-text-align: $action-sheet-wp-text-align !default;
$action-sheet-wp-button-background: transparent !default;
$action-sheet-wp-button-background-activated: $list-wp-activated-background-color !default;
$action-sheet-wp-icon-min-width: 24px !default;
$action-sheet-wp-icon-text-align: center !default;
$action-sheet-wp-icon-vertical-align: middle !default;
$action-sheet-wp-icon-font-size: 2.4rem !default;
$action-sheet-wp-icon-margin: 0 16px 0 0 !default;
.action-sheet-wrapper {
box-shadow: $action-sheet-wp-box-shadow;
}
.action-sheet-title {
padding: $action-sheet-wp-title-padding;
font-size: $action-sheet-wp-title-font-size;
text-align: $action-sheet-wp-title-text-align;
color: $action-sheet-wp-title-color;
}
.action-sheet-button {
padding: $action-sheet-wp-button-padding;
min-height: $action-sheet-wp-button-height;
font-size: $action-sheet-wp-button-font-size;
text-align: $action-sheet-wp-button-text-align;
color: $action-sheet-wp-button-text-color;
background: $action-sheet-wp-button-background;
&.activated {
background: $action-sheet-wp-button-background-activated;
}
}
.action-sheet-icon {
margin: $action-sheet-wp-icon-margin;
min-width: $action-sheet-wp-icon-min-width;
font-size: $action-sheet-wp-icon-font-size;
text-align: $action-sheet-wp-icon-text-align;
vertical-align: $action-sheet-wp-icon-vertical-align;
}
.action-sheet-group {
background: $action-sheet-wp-background;
&:last-child .action-sheet-button {
margin-bottom: $action-sheet-wp-group-margin-bottom;
}
.button-inner {
justify-content: flex-start;
}
}
.action-sheet-selected {
font-weight: bold;
}
.action-sheet-cancel {
background: $action-sheet-wp-button-background;
}