-
Notifications
You must be signed in to change notification settings - Fork 2
/
jquery.selectbox.css
174 lines (124 loc) · 3.23 KB
/
jquery.selectbox.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
@charset "UTF-8";
.sbHolder {
position: relative;
background-color: #fff;
}
.sbHolderDisabled a {
cursor: default;
}
.sbSelectOpen {
z-index: 100;
}
.sbToggle {
position: absolute;
top: 14px;
right: 10px;
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 7px solid #959fa1;
z-index: 2;
}
.sbSelectOpen .sbToggle {
border-top: none;
border-bottom: 7px solid #959fa1;
}
.sbSelector {
overflow: hidden;
display: block;
position: relative;
height: 13px;
padding: 9px 20px 9px 10px;
border: 1px solid #d5e3e6;
background-color: #fff;
color: #999;
line-height: 1;
text-decoration: none;
white-space: nowrap;
border-radius: 4px;
}
.sbSelector:after, .sbSelector:before {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 15px;
background-image: -webkit-gradient(linear, right top, left top, from(#fff), to(rgba(255, 255, 255, 0)));
background-image: -webkit-linear-gradient(right, #fff 30%, rgba(255, 255, 255, 0) 100%);
background-image: -moz-linear-gradient(right, #fff 30%, rgba(255, 255, 255, 0) 100%);
background-image: linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0) 100%);
}
.sbSelector:before {
background: #fff;
}
.sbSelector:after {
right: 15px;
}
.sbSelectOpen .sbSelector {
border-color: #fff;
-webkit-box-shadow: 0 1px 3px #999;
box-shadow: 0 1px 3px #999;
border-radius: 5px 5px 0 0;
}
.sbHolder.sbDropUp .sbSelector {
border-radius: 0 0 5px 5px;
z-index: 1
}
.sbOptions {
overflow: auto;
position: absolute;
left: 0;
min-width: 100%;
-webkit-box-shadow: 0 1px 3px #999;
box-shadow: 0 1px 3px #999;
border-radius: 0 0 5px 5px;
}
.sbHolder.sbDropUp .sbOptions {
border-radius: 5px 5px 0 0;
}
.sbOptionSelected {
display: none;
}
.sbOptionsList {
list-style: none;
background-color: #fff;
}
.sbOptionsList a {
display: block;
height: 13px;
padding: 10px;
color: #555;
text-decoration: none;
white-space: nowrap;
}
.sbOptionsItem {
overflow: hidden;
position: relative;
width: 100%;
}
.sbOptionsItem:after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 15px;
background-image: -webkit-gradient(linear, right top, left top, from(#fff), to(rgba(255, 255, 255, 0)));
background-image: -webkit-linear-gradient(right, #fff 30%, rgba(255, 255, 255, 0) 100%);
background-image: -moz-linear-gradient(right, #fff 30%, rgba(255, 255, 255, 0) 100%);
background-image: linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0) 100%);
}
.sbOptionsItem:hover {
background-color: #b9c6c9;
}
.sbOptionsItem:hover:after {
background-image: -webkit-gradient(linear, right top, left top, from(#b9c6c9), to(rgba(185, 198, 201, 0)));
background-image: -webkit-linear-gradient(right, #b9c6c9 30%, rgba(185, 198, 201, 0) 100%);
background-image: -moz-linear-gradient(right, #b9c6c9 30%, rgba(185, 198, 201, 0) 100%);
background-image: linear-gradient(to left, #b9c6c9 30%, rgba(185, 198, 201, 0) 100%);
}
.sbOptionsItem:hover a {
color: #fff;
}