-
Notifications
You must be signed in to change notification settings - Fork 0
/
select-theme-default.css
executable file
·142 lines (141 loc) · 3.33 KB
/
select-theme-default.css
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
.select-select {
pointer-events: none;
position: absolute;
opacity: 0;
}
.select-element,
.select-element:after,
.select-element:before,
.select-element *,
.select-element *:after,
.select-element *:before {
box-sizing: border-box;
}
.select-element {
position: absolute;
display: none;
}
.select-element.select-open {
display: block;
}
.select-theme-default,
.select-theme-default *,
.select-theme-default *:after,
.select-theme-default *:before {
box-sizing: border-box;
}
.select.select-theme-default {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.select.select-theme-default .select-content {
background: #F8F8F8;
border: 1px solid #000;
font-family: inherit;
color: inherit;
overflow: auto;
width: 100%;
-webkit-overflow-scrolling: touch;
}
.select.select-theme-default .select-content{
margin-top: -1px;
}
@media (max-width: 27rem),
(max-height: 27rem) {
.select.select-theme-default .select-content {
max-width: 11.25rem;
max-height: 11.25rem;
}
}
.select.select-theme-default .select-options {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
margin: 0;
padding: 0;
}
.select.select-theme-default .select-options .select-option {
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
position: relative;
width: 100%;
list-style: none;
margin: 0;
line-height: 1.25rem;
padding: 8px 16px;
display: block;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.select.select-theme-default .select-options .select-option:hover,
.select.select-theme-default .select-options .select-option.select-option-highlight {
background: #F0F0F0;
}
.select-target.select-theme-default {
width: 100%;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
*zoom: 1;
*display: inline;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
position: relative;
height: 44px;
border: 1px solid #979797;
padding: 8px 35px 8px 16px;
margin-bottom: 30px;
cursor: pointer;
color: #000;
text-decoration: none;
white-space: nowrap;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
.select-target.select-theme-default:hover {
border-color: #000;
color: #000;
}
.select-target.select-theme-default.select-target-focused,
.select-target.select-theme-default.select-target-focused:focus {
border-color: #000;
outline: none;
}
.select-target.select-theme-default b {
position: absolute;
right: 1em;
top: 0;
bottom: 0;
margin: auto;
height: 1.25rem;
width: 2em;
}
.select-target.select-theme-default b:before,
.select-target.select-theme-default b:after {
content: "";
display: block;
position: absolute;
margin: auto;
right: 0;
height: 0;
width: 0;
border: .263em solid transparent;
}
.select-target.select-theme-default b:before {
top: 0;
border-bottom-color: inherit;
}
.select-target.select-theme-default b:after {
bottom: 0;
border-top-color: inherit;
}