-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtag.css
More file actions
84 lines (75 loc) · 1.7 KB
/
tag.css
File metadata and controls
84 lines (75 loc) · 1.7 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
ul.tags li {
background-color: #FFC200;
font-size: 1em;
line-height: 1.5em;
display: inline-block;
position: relative;
margin-left: .5em;
padding: 0 .5em;
border-radius: 0 5px 5px 0;
-moz-border-radius: 0 5px 5px 0;
-webkit-border-radius: 0 5px 5px 0;
}
ul.tags li:before {
content: " ";
display: block;
position: absolute;
left: -.5em;
border-color: transparent #FFC200 transparent transparent;
border-style: solid;
border-width: .75em .5em .75em 0;
float: left;
height: 0;
width: 0;
}
ul.tags li.edit-mode {
margin-left: 0;
border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
}
ul.tags li.edit-mode:before {
content: "";
border: none;
}
ul.tags li a {
text-decoration: none;
}
ul.tags li,
ul.tags li .tag-value {
font-size: 1em;
line-height: 1.5em;
display: inline-block;
}
.remove-tag,
.add-tag {
color: #999;
font-size: 0.8em;
text-decoration: none;
cursor: pointer;
margin-left: .5em;
display: inline-block;
text-indent: 16px;
overflow: hidden;
height: 16px;
width: 16px;
vertical-align: -10%;
}
.remove-tag img,
.add-tag img {
vertical-align: text-bottom;
}
.tag-input {
font-size: 1em;
height: 1.5em;
padding: 0;
margin-left: -1px;
font-family: inherit;
background-color: #FFC200;
border: none;
}
.sprite { background: url("http://simplicityengineer.com/tag/tag.png") no-repeat top left; }
.remove-tag { background-position: 0 0; width: 16px; height: 16px; }
.edit-tags { background-position: 0 -66px; width: 16px; height: 16px; padding-left: 1.5em; }
.add-tag { background-position: 0 -132px; width: 16px; height: 16px; }
.done-editing{ background-position: 0 -198px; width: 16px; height: 16px; padding-left: 1.5em; }