Assigned to edit button

stable
Xavier Julián 2014-07-02 14:00:53 +02:00
parent 5e64e8fe1d
commit ccd8a1555b
2 changed files with 21 additions and 2 deletions

View File

@ -4,4 +4,5 @@ section.us-detail-assigned-to
img(src="http://thecodeplayer.com/u/uifaces/18.jpg", alt="username") img(src="http://thecodeplayer.com/u/uifaces/18.jpg", alt="username")
div.assigned-to div.assigned-to
span.assigned-title Assigned to span.assigned-title Assigned to
span.user-assigned Anler Hernández span.user-assigned Anler Hernández
a.icon.icon-edit(href="", title="edit assignment")

View File

@ -69,7 +69,7 @@
.issue-nav { .issue-nav {
position: absolute; position: absolute;
right: 1rem; right: 1rem;
top: 2rem; top: 1.5rem;
a { a {
@extend %xlarge; @extend %xlarge;
} }
@ -220,6 +220,7 @@
.us-detail-assigned-to { .us-detail-assigned-to {
@include table-flex(); @include table-flex();
margin-top: 2rem; margin-top: 2rem;
position: relative;
.user-avatar { .user-avatar {
@include table-flex-child(1, 0); @include table-flex-child(1, 0);
} }
@ -227,6 +228,12 @@
@include table-flex-child(3, 0); @include table-flex-child(3, 0);
margin-left: 1rem; margin-left: 1rem;
margin-top: 15px; margin-top: 15px;
&:hover {
.icon-edit {
@include transition(opacity .2s ease-in);
opacity: 1;
}
}
.assigned-title { .assigned-title {
color: $gray-light; color: $gray-light;
display: block; display: block;
@ -235,6 +242,17 @@
@extend %large; @extend %large;
color: $green-taiga; color: $green-taiga;
} }
.icon-edit {
@include transition(opacity .2s ease-in);
color: $gray-light;
opacity: 0;
position: absolute;
right: 1rem;
top: 1rem;
&:hover {
color: $green-taiga;
}
}
} }
} }