Admin roles design and UX

stable
Xavier Julián 2014-10-23 10:01:40 +02:00
parent f2eeb11a60
commit ebe5f4a4d6
4 changed files with 44 additions and 25 deletions

View File

@ -24,9 +24,8 @@ block content
a.save.icon.icon-floppy(href="", title="Save") a.save.icon.icon-floppy(href="", title="Save")
p.total p.total
| {{ role.name }} span.role-name(title="{{ role.members_count }} members with this role") {{ role.name }}
a.edit-value.icon.icon-edit a.edit-value.icon.icon-edit
span ({{ role.members_count }} members with this role)
div.any-computable-role(ng-hide="anyComputableRole") Be careful, no role in your project will be able to estimate the point value for user stories div.any-computable-role(ng-hide="anyComputableRole") Be careful, no role in your project will be able to estimate the point value for user stories

View File

@ -129,7 +129,17 @@ body {
margin-bottom: 1rem; margin-bottom: 1rem;
.action-buttons { .action-buttons {
@include flex-shrink(0); @include flex-shrink(0);
padding-left: 1rem; }
.button {
color: $white;
float: right;
margin-left: 10px;
&:first-child {
margin-left: 0;
}
&:hover {
color: $white;
}
} }
h1 { h1 {
margin-bottom: 0; margin-bottom: 0;

View File

@ -1,13 +1,3 @@
.wiki-content { .wiki-content {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
.action-buttons {
.button {
color: $white;
float: right;
margin-left: 10px;
&:hover {
color: $white;
}
}
}

View File

@ -1,37 +1,57 @@
.admin-roles { .admin-roles {
.total {
background-color: $whitish;
padding: 1rem;
&:hover {
.edit-value { .edit-value {
@include transition(opacity .3s linear);
opacity: 1;
}
}
}
.role-name {
@extend %xlarge;
@extend %title;
color: $grayer;
}
.edit-value {
@include transition(opacity .3s linear);
@extend %medium;
color: $gray-light;
cursor: pointer; cursor: pointer;
margin-left: .5rem; margin-left: .5rem;
opacity: 0;
} }
.edit-role { .edit-role {
@include table-flex(stretch, left, center, row, wrap); @include table-flex(stretch, left, center, row, wrap);
<<<<<<< HEAD
<<<<<<< HEAD <<<<<<< HEAD
margin-bottom: 1rem; margin-bottom: 1rem;
input { input {
======= =======
=======
>>>>>>> Admin roles design and UX
background-color: $whitish; background-color: $whitish;
margin-bottom: 1rem; margin-bottom: 1rem;
padding: .5rem; padding: .5rem;
input { input {
background-color: $white; background-color: $white;
<<<<<<< HEAD
>>>>>>> fix #1397 - rename role >>>>>>> fix #1397 - rename role
width: auto; width: auto;
=======
width: 50%;
>>>>>>> Admin roles design and UX
} }
.icon-floppy { .icon-floppy {
@include transition(color.3s linear);
color: $gray-light;
margin-left: .5rem; margin-left: .5rem;
&:hover {
@include transition(color.3s linear);
color: $green-taiga;
} }
} }
.total {
@extend %large;
@extend %title;
background-color: $whitish;
color: $grayer;
padding: 1rem;
span {
@extend %medium;
@extend %text;
padding-left: .5rem;
}
} }
.any-computable-role { .any-computable-role {
background: $red; background: $red;