blob: c018156aed1597d7f5897d5dddbe331951865cf5 (
plain)
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
|
@mixin tags {
i.tags-label {
vertical-align: bottom;
font-size: medium;
color: $light_gray;
}
ul.tags {
margin-bottom: 0;
li {
font-size: 0.6rem;
background-color: lighten($action_buttons, 12);
color: white;
display: inline;
padding: 2px 3px;
margin: 0 1px;
position: relative;
@include border-radius(2px);
&[data-tag="drafts"] {
color: $attention;
background: $contrast;
}
&.tag:hover {
text-decoration: line-through;
cursor: pointer;
}
&.add-new {
opacity: 0.6;
transition: background-color 150ms ease-out;
background: transparent;
border: 1px solid $lighter_gray;
line-height: 0;
padding: 1px 2px;
margin-left: -5px;
@include border-radius(2px);
&:hover {
opacity: 1;
background: $lighter_gray;
}
i {
&:before {
vertical-align: middle;
font-size: smaller;
}
}
}
&.new-tag {
font-size: 0.7em;
display: inline-block;
padding: 0;
background: transparent;
input {
display: inline;
font-size: 1em;
padding: 1px 5px;
width: 120px;
margin: 0;
}
@include tt-hint;
.tt-dropdown-menu {
width: 250px;
}
}
}
}
}
|