-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtagbar.css
68 lines (58 loc) · 1.14 KB
/
tagbar.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
.tagbar {
overflow:hidden;
text-align:left;
display:block;
cursor: text;
}
.tagbar .list {
display:inline
}
.tagbar .list span {
vertical-align:top;
display:inline-block;
margin-right:5px;
color:black;
padding:0 4px;
overflow:hidden;
text-overflow:ellipsis;
max-width:160px;
border-radius:5px;
border: 1px solid #cecece;
}
.tagbar .list span.selected {
background-color:#f6f6f6
}
.tagbar .input {
display:inline-block
}
.tagbar .input input {
border:0;
margin:0;
padding:0;
max-width:160px;
font-size:16px;
margin-left:4px;
text-transform:lowercase;
outline: none;
}
.tagbar .input .sugs {
position:absolute;
background-color:white;
border:1px solid #ececec;
box-shadow:0 2px 4px rgba(0,0,0,0.2);
-moz-box-shadow:0 2px 4px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.tagbar .input .sugs.hide {
display: none;
}
.tagbar .input .sugs div {
padding:2px 5px
}
.tagbar .input .sugs div:hover {
background-color:#FAFAFA;
cursor:pointer
}
.tagbar .input .sugs div.selected {
background-color:#FAFAFA
}