UNPKG

1.55 kBSCSSView Raw
1@import "../../themes/ionic.globals.ios";
2
3// iOS Select
4// --------------------------------------------------
5
6/// @prop - Padding top of the select
7$select-ios-padding-top: $item-ios-padding-top !default;
8
9// deprecated
10$select-ios-padding-right: ($item-ios-padding-end / 2) !default;
11/// @prop - Padding end of the select
12$select-ios-padding-end: $select-ios-padding-right !default;
13
14/// @prop - Padding bottom of the select
15$select-ios-padding-bottom: $item-ios-padding-bottom !default;
16
17// deprecated
18$select-ios-padding-left: $item-ios-padding-start !default;
19/// @prop - Padding start of the select
20$select-ios-padding-start: $select-ios-padding-left !default;
21
22/// @prop - Color of the select icon
23$select-ios-icon-color: #999 !default;
24
25/// @prop - Color of the select placeholder
26$select-ios-placeholder-color: $select-ios-icon-color !default;
27
28
29.select-ios {
30 @include padding($select-ios-padding-top, $select-ios-padding-end, $select-ios-padding-bottom, $select-ios-padding-start);
31}
32
33.select-ios .select-placeholder {
34 color: $select-ios-placeholder-color;
35}
36
37.select-ios .select-icon {
38 position: relative;
39
40 width: 12px;
41 height: 18px;
42}
43
44.select-ios .select-icon .select-icon-inner {
45 @include position(50%, null, null, 5px);
46 @include margin(-2px, null, null, null);
47
48 position: absolute;
49
50 width: 0;
51 height: 0;
52
53 border-top: 5px solid;
54 border-right: 5px solid transparent;
55 border-left: 5px solid transparent;
56 color: $select-ios-icon-color;
57
58 pointer-events: none;
59}