-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (60 loc) · 1.05 KB
/
style.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
/* Core Styles */
* {
box-sizing: inherit;
}
.combobox {
display: inline-block;
position: relative;
box-sizing: border-box;
}
.combobox input {
margin: 0;
}
.combobox .open {
background: #eee;
border: 1px solid #ccc;
border-left: none;
font-size: 0;
height: 24px;
width: 24px;
line-height: 24px;
padding: 0 3px;
display: inline-block;
text-align: center;
}
.open.disabled {
color: #ccc;
}
.combobox .open:before {
content: '\25BE';
font-size: 12px;
}
.combobox .options {
position: absolute;
top: 100%;
z-index: 9999;
min-width: 100%;
padding: 0;
margin: -1px 0 0;
border: 1px solid #ccc;
background: #fff;
list-style-type: none;
max-height: 240px;
overflow: auto;
}
.combobox .options.flip {
top: auto;
bottom: 100%;
}
.combobox .options .option {
border-bottom: 1px solid #eee;
margin: 0;
padding: 3px 6px;
cursor: default;
}
.combobox .options .option:hover, .combobox .options .option.hilighted {
background-color: #f5f5f5;
}
.combobox .options .option:last-child {
border-bottom: none;
}