-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery.simpleselect.css
67 lines (61 loc) · 1.43 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
/* jquery.simpleselect
-- version 0.3.2
-- copyright 2014 UndeadBane*2014
-- licensed under the MIT
--
-- https://github.com/UndeadBaneGitHub/jquery.simpleselect
--
*/
.simple-select-items-wrapper {
position: absolute;
background: white;
border: 1px solid #93BAF7;
max-height: 15em;
max-width: 20em;
z-index: 10000;
overflow-x:hidden;
overflow-y:auto;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.simple-select-item {
cursor: pointer;
padding: 0.3em 0.6em 0.3em 0.6em;
overflow:hidden;
position:relative;
}
.simple-select-item + .simple-select-item {
border-top:1px solid #DCE6F2;
}
.simple-select-item:hover, .simple-select-item.hovered {
background-color: #DCE6F2;
}
.simple-select-item .highlight {
/*actual style parameters*/
background-color: transparent;
font-weight: bold;
text-decoration: underline;
margin: 0;
padding: 0;
}
.simple-select-item.empty-list-item {
background-color: lightgray;
white-space: nowrap;
}
.simple-select-arrow {
border: none;
padding: 0;
margin: 0;
width: 8px;
position: absolute;
font-size:0.6em;
line-height:2.5em;
cursor:pointer;
}
.simple-select-arrow:hover {
font-weight:bolder;
}