Add tag text

stable
Xavier Julián 2014-10-22 15:40:12 +02:00 committed by David Barragán Merino
parent ecc1c6b0c4
commit f8c45ca719
3 changed files with 18 additions and 12 deletions

View File

@ -95,7 +95,10 @@ TagLineDirective = ($rootscope, $log, $rs, $tgrepo, $confirm) ->
# Main directive template (rendered by angular)
template = """
<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" />
<a href="" title="Save" class="save icon icon-floppy"></a>
"""

View File

@ -41,7 +41,21 @@
margin: 0 .5rem .5rem 0;
padding: .5rem;
}
.add-tag {
color: $gray-light;
&:hover {
color: $fresh-taiga;
}
}
.icon-plus {
@extend %large;
}
.add-tag-text {
@extend %small;
}
.save {
display: none;
}
}

View File

@ -149,17 +149,6 @@
}
}
.tags-block {
.icon-plus {
@extend %large;
color: $gray-light;
vertical-align: top;
&:hover {
color: $fresh-taiga;
}
}
}
.duty-content {
position: relative;
&:hover {