forked from pioul/jQuery.SimpleSelect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.simpleselect.css
92 lines (78 loc) · 1.83 KB
/
jquery.simpleselect.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
.hidden_select_container {
width: 0;
height: 0;
overflow: hidden;
}
.simpleselect {
position: relative;
color: #333;
}
.simpleselect,
.simpleselect .options {
width: 200px;
}
/* compensation for the border */
.simpleselect .options {
width: 198px;
}
.simpleselect,
.simpleselect .placeholder,
.simpleselect .options .option {
height: 40px;
line-height: 40px;
}
.simpleselect .placeholder,
.simpleselect .options .option,
.simpleselect .options .optgroup .optgroup-label {
padding: 0 10px;
cursor: pointer;
}
.simpleselect .options .optgroup .optgroup-label {
cursor: default;
font-weight: bold;
}
.simpleselect .options .optgroup .option,
.simpleselect.has-optgroup .placeholder {
padding: 0 20px;
}
.simpleselect .placeholder,
.simpleselect .options {
background: #e3e3e3;
border: 1px solid #bbb;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: inset 0 0 1px 1px #f6f6f6;
-moz-box-shadow: inset 0 0 1px 1px #f6f6f6;
box-shadow: inset 0 0 1px 1px #f6f6f6;
}
.simpleselect .options {
display: none;
position: absolute;
top: 0;
left: 0;
}
.simpleselect .options .option,
.simpleselect .options .optgroup,
.simpleselect .options .optgroup .optgroup-label {
border-bottom: 1px solid #bbb;
}
.simpleselect .options .option {
-webkit-box-shadow: inset 0 0 1px 1px #f6f6f6;
-moz-box-shadow: inset 0 0 1px 1px #f6f6f6;
box-shadow: inset 0 0 1px 1px #f6f6f6;
}
.simpleselect .placeholder:hover,
.simpleselect.active .placeholder,
.simpleselect .options .option.active {
background: #d9d9d9;
}
.simpleselect.disabled .placeholder,
.simpleselect.disabled .placeholder:hover {
background: #f3f3f3;
color: #aaa;
border-color: #eee;
cursor: default;
}