jquery.searchableSelect_wev8.css
2.47 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
Author: David Qin
E-mail: david@hereapp.cn
Date: 2014-11-05
*/
.searchable-select-hide {
display: none;
}
.searchable-select {
display: inline-block;
min-width: 260px;
font-size: 14px;
line-height: 1.428571429;
color: #555;
vertical-align: middle;
position: relative;
outline: none;
}
.searchable-select-holder{
padding: 6px;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
min-height: 30px;
box-sizing: border-box;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.searchable-select-caret {
position: absolute;
width: 24px;
height: 22px;
box-sizing: border-box;
top: 0;
bottom: 0;
margin: auto;
right: 10px;
background: url(/js/ecology8/selectbox/img/select-icons_wev8.png) 0 -170px no-repeat;
cursor: pointer;
}
.searchable-select-caret-open{
background: url(/js/ecology8/selectbox/img/select-icons_wev8.png) 0 -70px no-repeat;
}
.searchable-select-dropdown {
position: absolute;
background-color: #EEEEEE;
border: 1px solid #ccc;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
padding: 4px;
border-top: none;
top: 28px;
left: 0;
right: 0;
z-index:1000;
}
.searchable-select-input {
margin-top: 5px;
border: 1px solid #ccc;
outline: none;
padding: 4px 16px 4px 4px;
width: 100% !important;
box-sizing: border-box;
background: url('/formmode/images/btnSearch_wev8.png') no-repeat center right;
}
.searchable-scroll {
margin-top: 4px;
position: relative;
}
.searchable-scroll.has-privious {
padding-top: 16px;
}
.searchable-scroll.has-next {
padding-bottom: 16px;
}
.searchable-has-privious {
top: 0;
}
.searchable-has-next {
bottom: 0;
}
.searchable-has-privious, .searchable-has-next {
height: 16px;
left: 0;
right: 0;
position: absolute;
text-align: center;
z-index: 10;
background-color: white;
line-height: 8px;
cursor: pointer;
}
.searchable-select-items {
max-height: 400px;
overflow-y: scroll;
position: relative;
}
.searchable-select-items::-webkit-scrollbar {
display: none;
}
.searchable-select-item {
padding: 5px 5px;
cursor: pointer;
min-height: 30px;
box-sizing: border-box;
transition: all 1s ease 0s;
}
.searchable-select-item.hover {
background: #3399ff;
color: white;
}