Add tag text
parent
ecc1c6b0c4
commit
f8c45ca719
|
@ -95,7 +95,10 @@ TagLineDirective = ($rootscope, $log, $rs, $tgrepo, $confirm) ->
|
||||||
# Main directive template (rendered by angular)
|
# Main directive template (rendered by angular)
|
||||||
template = """
|
template = """
|
||||||
<div class="tags-container"></div>
|
<div class="tags-container"></div>
|
||||||
<a href="#" class="add-tag icon icon-plus" title="Add tag"></a>
|
<a href="#" class="add-tag" title="Add tag">
|
||||||
|
<span class="icon icon-plus"></span>
|
||||||
|
<span class="add-tag-text">Add tag</span>
|
||||||
|
</a>
|
||||||
<input type="text" placeholder="Write tag..." class="tag-input hidden" />
|
<input type="text" placeholder="Write tag..." class="tag-input hidden" />
|
||||||
<a href="" title="Save" class="save icon icon-floppy"></a>
|
<a href="" title="Save" class="save icon icon-floppy"></a>
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -41,7 +41,21 @@
|
||||||
margin: 0 .5rem .5rem 0;
|
margin: 0 .5rem .5rem 0;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
}
|
}
|
||||||
|
.add-tag {
|
||||||
|
color: $gray-light;
|
||||||
|
&:hover {
|
||||||
|
color: $fresh-taiga;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.icon-plus {
|
||||||
|
@extend %large;
|
||||||
|
}
|
||||||
|
.add-tag-text {
|
||||||
|
@extend %small;
|
||||||
|
}
|
||||||
.save {
|
.save {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -149,17 +149,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags-block {
|
|
||||||
.icon-plus {
|
|
||||||
@extend %large;
|
|
||||||
color: $gray-light;
|
|
||||||
vertical-align: top;
|
|
||||||
&:hover {
|
|
||||||
color: $fresh-taiga;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.duty-content {
|
.duty-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
Loading…
Reference in New Issue