-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcombobox.css
executable file
·73 lines (72 loc) · 1.65 KB
/
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
73
.combobox .form-control {
padding-right: 48px;
padding-left: 12px;
}
.combobox .icon {
right: 25px;
}
.combobox [data-toggle="close"] {
display: none;
}
.combobox.selected input:hover + [data-toggle="close"],
.combobox.selected input + [data-toggle="close"]:hover,
.combobox.selected:hover [data-toggle="close"],
.combobox.selected input:focus + [data-toggle="close"] {
display: block;
}
.combobox.selected input:focus {
color: #999999;
}
.combobox .dropdown-menu {
right: 0;
left: inherit;
width: 100%;
}
.combobox .dropdown-menu > li {
display: block;
padding: 4px 16px;
clear: both;
font-weight: normal;
line-height: 20px;
color: #222;
text-decoration: none;
white-space: nowrap;
}
.combobox .dropdown-menu > li.selected {
color: #222;
text-decoration: none;
background-color: #eee;
cursor: pointer;
}
.combobox .dropdown-menu > li.actived {
background: #f4f4f4;
}
.combobox .dropdown-menu .no-matches,
.combobox .dropdown-menu li.no-matches {
color: #999999;
}
.combobox .dropdown-menu .no-matches:hover,
.combobox .dropdown-menu li.no-matches:hover,
.combobox .dropdown-menu .no-matches.selected,
.combobox .dropdown-menu li.no-matches.selected {
color: #999999;
background-color: #ffffff;
cursor: text;
}
.combobox:after {
position: absolute;
top: 0;
right: 0px;
height: 32px;
width: 24px;
content: " ";
background: url(images/icon/selectCaretDown.svg) no-repeat;
background-position-y: 7px;
background-position-x: left;
cursor: pointer;
}
.combobox.disabled:after {
opacity: 0.5;
filter: alpha(opacity=50);
cursor: not-allowed;
}