-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathjquery.flexdatalist.css
134 lines (130 loc) · 2.55 KB
/
jquery.flexdatalist.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
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
132
133
134
/**
* jQuery Flexdatalist basic stylesheet.
*
* Version:
* 2.3.1
*
* Github:
* https://github.com/sergiodlopes/jquery-flexdatalist/
*
*/
.flexdatalist-results {
position: absolute;
top: 0;
left: 0;
border: 1px solid #444;
border-top: none;
background: #fff;
z-index: 100000;
max-height: 300px;
overflow-y: auto;
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
color: #333;
list-style: none;
margin: 0;
padding: 0;
}
.flexdatalist-results li {
border-bottom: 1px solid #ccc;
padding: 8px 15px;
font-size: 14px;
line-height: 20px;
}
.flexdatalist-results li span.highlight {
font-weight: 700;
text-decoration: underline;
}
.flexdatalist-results li.active {
background: #2B82C9;
color: #fff;
cursor: pointer;
}
.flexdatalist-results li.no-results {
font-style: italic;
color: #888;
}
/**
* Grouped items
*/
.flexdatalist-results li.group {
background: #F3F3F4;
color: #666;
padding: 8px 8px;
}
.flexdatalist-results li .group-name {
font-weight: 700;
}
.flexdatalist-results li .group-item-count {
font-size: 85%;
color: #777;
display: inline-block;
padding-left: 10px;
}
/**
* Multiple items
*/
.flexdatalist-multiple:before {
content: '';
display: block;
clear: both;
}
.flexdatalist-multiple {
width: 100%;
margin: 0;
padding: 0;
list-style: none;
text-align: left;
cursor: text;
}
.flexdatalist-multiple.disabled {
background-color: #eee;
cursor: default;
}
.flexdatalist-multiple:after {
content: '';
display: block;
clear: both;
}
.flexdatalist-multiple li {
display: inline-block;
position: relative;
margin: 5px;
}
.flexdatalist-multiple li.input-container,
.flexdatalist-multiple li.input-container input {
border: none;
height: auto;
padding: 0 0 0 4px;
line-height: 24px;
box-shadow: none;
}
.flexdatalist-multiple li.value {
padding: 2px 25px 2px 7px;
background: #efefef;
border-radius: 3px;
color: #444;
line-height: 20px;
float: left;
}
.flexdatalist-multiple li.toggle {
cursor: pointer;
transition: opacity ease-in-out 300ms;
}
.flexdatalist-multiple li.toggle.disabled {
text-decoration: line-through;
opacity: 0.80;
}
.flexdatalist-multiple li.value span.fdl-remove {
font-weight: 700;
padding: 2px 5px;
font-size: 20px;
line-height: 20px;
cursor: pointer;
position: absolute;
top: 0;
right: 0;
opacity: 0.70;
}
.flexdatalist-multiple li.value span.fdl-remove:hover {
opacity: 1;
}