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