forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselect.wp.scss
More file actions
72 lines (50 loc) · 1.81 KB
/
select.wp.scss
File metadata and controls
72 lines (50 loc) · 1.81 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
@import "../../themes/ionic.globals.wp";
// Windows Select
// --------------------------------------------------
$select-wp-padding-vertical: 0 !default;
$select-wp-padding-horizontal: ($item-wp-padding-right / 2) !default;
$select-wp-margin-top: $item-wp-padding-top !default;
$select-wp-margin-right: ($item-wp-padding-right / 2) !default;
$select-wp-margin-bottom: $item-wp-padding-bottom !default;
$select-wp-margin-left: ($item-wp-padding-left / 2) !default;
$select-wp-border-width: 2px !default;
$select-wp-border-color: $input-wp-border-color !default;
$select-wp-icon-width: 18px !default;
$select-wp-icon-arrow-width: 2px !default;
$select-wp-icon-color: $select-wp-border-color !default;
$select-wp-placeholder-color: $select-wp-icon-color !default;
.select-wp {
flex: 1;
margin: $select-wp-margin-top $select-wp-margin-right $select-wp-margin-bottom $select-wp-margin-left;
padding: $select-wp-padding-vertical $select-wp-padding-horizontal;
max-width: 100%;
border: $select-wp-border-width solid $select-wp-border-color;
line-height: 3rem;
}
.select-wp .select-placeholder {
color: $select-wp-placeholder-color;
}
.item-wp.item-select ion-label {
margin-left: 0;
}
.select-wp .select-icon {
position: relative;
align-self: center;
width: $select-wp-icon-width;
height: $select-wp-icon-width;
}
.select-wp .select-icon .select-icon-inner {
position: absolute;
top: 3px;
left: 5px;
display: block;
width: ($select-wp-icon-width / 2);
height: ($select-wp-icon-width / 2);
border-top: $select-wp-icon-arrow-width solid $select-wp-icon-color;
border-right: $select-wp-icon-arrow-width solid $select-wp-icon-color;
transform: rotate(135deg);
pointer-events: none;
}
.select-wp .select-text {
min-height: 3rem;
}