refactorized tags

stable
Xavier Julián 2014-07-02 12:01:07 +02:00
parent 7a25581a8a
commit b93b0e90eb
4 changed files with 24 additions and 4 deletions

View File

@ -22,7 +22,10 @@ block content
// a.button.button-red.button-block(href="", title="Unblock US") Unblock
div.user-story-tags(tg-tag-line="editable", ng-model="issue.tags")
span.tags-container
div.tags-container
div.tag
span.tag-name attachments
a.icon.icon-delete.hidden(href="", title="delete tag")
input.hidden(type="text", placeholder="Write tag...")
section.us-content

View File

@ -23,7 +23,10 @@ block content
// a.button.button-red.button-block(href="", title="Unblock US") Unblock
div.user-story-tags(tg-tag-line="editable", ng-model="issue.tags")
span.tags-container
div.tags-container
div.tag
span.tag-name attachments
a.icon.icon-delete(href="", title="delete tag")
input.hidden(type="text", placeholder="Write tag...")
section.us-content(tg-bind-html="issue.description_html")

View File

@ -3,7 +3,13 @@
color: $white;
display: inline-block;
margin: 0 .5rem .5rem 0;
padding: 3px;
padding: .2rem .5rem;
text-align: center;
width: 7rem;
.icon-delete {
color: $white;
margin-left: 1rem;
&:hover {
color: $red;
}
}
}

View File

@ -14,6 +14,7 @@
@extend %large;
@extend %text;
background: $whitish;
margin-bottom: 1rem;
padding: 2rem 1rem;
text-transform: uppercase;
.us-number {
@ -72,10 +73,17 @@
}
.user-story-tags {
.tags-container {
display: inline-block;
vertical-align: middle;
}
input {
display: inline-block;
width: 14rem;
}
.tag {
padding: .6rem .5rem;
}
}
.us-activity-tabs {