This repository has been archived by the owner on Jan 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
jquery.simpleselect.css
91 lines (77 loc) · 2.94 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
.hidden_select_container {
width: 0;
height: 0;
overflow: hidden;
}
.simpleselect,
.simpleselect * {
box-sizing: content-box;
}
.simpleselect {
position: relative;
width: 200px;
height: 38px;
color: #666;
font-size: 13px;
}
.simpleselect .options {
width: 198px;
}
.simpleselect .placeholder,
.simpleselect .options .option,
.simpleselect .options .optgroup .optgroup-label {
padding: 9px 10px;
line-height: 18px;
cursor: pointer;
}
.simpleselect .options .optgroup .optgroup-label {
cursor: default;
font-weight: bold;
}
.simpleselect .options .optgroup .option {
padding-left: 20px;
}
.simpleselect .placeholder,
.simpleselect .options {
background: #fff;
border: 1px solid #ddd;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.simpleselect .placeholder {
position: relative;
}
.simpleselect .placeholder:after {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 10px;
width: 8px;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAOCAYAAAASVl2WAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2Lj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dkZVA/BSIvwBxNNRklLj4CMS50KC+CRMECDAA5ogdqmResXgAAAAASUVORK5CYII=") 0 center no-repeat;
}
.simpleselect .placeholder:hover {
background: #fafafa;
}
.simpleselect .options {
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 1000;
}
.simpleselect .options .option.active {
background: #666;
color: #fff;
}
.simpleselect.disabled .placeholder,
.simpleselect.disabled .placeholder:hover {
background: #fafafa;
color: #aaa;
border-color: #eee;
cursor: default;
}
.simpleselect.disabled .placeholder:after {
opacity: .5;
}