forked from weplay/jquery-asmselect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.asmselect.css
70 lines (60 loc) · 1.17 KB
/
jquery.asmselect.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
.asmContainer {
/* container that surrounds entire asmSelect widget */
}
.asmSelect {
/* the newly created regular 'select' */
display: inline;
}
.asmOptionDisabled {
/* disabled options in new select */
color: #999;
}
.asmHighlight {
/* the highlight span */
padding: 0;
margin: 0 0 0 1em;
}
.asmList {
/* html list that contains selected items */
margin: 0.25em 0 1em 0;
position: relative;
display: block;
padding-left: 0;
list-style: none;
}
.asmListItem {
/* li item from the html list above */
position: relative;
margin-left: 0;
padding-left: 0;
list-style: none;
background: #ddd;
border: 1px solid #bbb;
width: 100%;
margin: 0 0 -1px 0;
line-height: 1em;
}
.asmListItem:hover {
background-color: #e5e5e5;
}
.asmListItemLabel {
/* this is a span that surrounds the text in the item, except for the remove link */
padding: 5px;
display: block;
}
.asmListSortable .asmListItemLabel {
cursor: move;
}
.asmListItemRemove {
/* the remove link in each list item */
position: absolute;
right: 0;
top: 0;
padding: 5px;
}
.asmMaximumSelect {
background: #fe7d7b;
color: #fff;
padding: 0.25em 0.5em 0.1em 0.5em;
margin: 1em 0 0 1em;
}