-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcombobox.css
72 lines (59 loc) · 991 Bytes
/
combobox.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
.combobox {
position: relative;
display: inline-block;
}
.combobox * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.combobox .list {
position: relative;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.combobox .options {
margin: 0;
padding: 0;
list-style: none;
}
.combobox .label,
.combobox .group-label,
.combobox .option {
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
-webkit-user-select: none;
}
.combobox .option {
display: none;
}
.combobox .option.selectable {
display: list-item;
}
.combobox .group.empty {
display: none;
}
.combobox .inner {
z-index: 10;
display: none;
position: absolute;
width: 100%;
}
.combobox.open .inner {
display: block;
}
.combobox.south .inner {
top: 100%;
}
.combobox.north .inner {
bottom: 100%;
}
.combobox .search {
display: none;
width: 100%;
}
.combobox.searchable .search {
display: block;
}