-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathselect.css
More file actions
87 lines (78 loc) · 1.68 KB
/
select.css
File metadata and controls
87 lines (78 loc) · 1.68 KB
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
.jSelect {
font: 13px/2 'Microsoft YaHei','Times New Roman';
position: absolute;
display: inline-block;
height: 30px;
top: 0;
padding-right: 4px;
color: #333;
}
.jSelect input {
width: 100%;
height: 100%;
padding-right: 35px;
}
.jSelect ul {
position: relative;
z-index: 100;
top: 5px;
left: 0;
display: none;
width: 100%;
margin: 0;
padding: 5px 0;
list-style: none;
cursor: pointer;
white-space: nowrap;
color: #333;
border: #aaa 1px solid;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, .2);
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
background: #fff;
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}
.jSelect li {
line-height: 28px;
height: 28px;
padding-left: 6px;
}
.jSelect li:hover,.jSelect .active {
margin-left: 0;
color: #fff;
background-color: #d82228;
}
.jSelect button {
position: absolute;
top: 0;
right: 0;
}
.jSelect .btn {
height: 28px;
margin-top: 1px;
margin-right: 5px;
padding: 4px 12px;
border: transparent;
border-left: 1px solid #ccc;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
outline: none !important;
background-color: #fff;
}
.btn:focus {
outline: none;
}
.jSelect .form-control[readonly] {
cursor: pointer;
background-color: #fff;
}
select {
visibility: hidden;
}