Updated styles in Taskboard

stable
Xavier Julián 2014-08-07 10:48:57 +02:00
parent 462d2b7073
commit 86aa54997d
3 changed files with 15 additions and 2 deletions

View File

@ -3,6 +3,7 @@ div.kanban-tagline
div.kanban-task-inner
div(tg-kanban-user-avatar="us.assigned_to", click="ctrl.changeUsAssignedTo(us)")
div.task-text
span.task-assigned Username
span.task-num(tg-bo-ref="us.ref")
a.task-name(href="", title="", tg-bind-html="us.subject",
tg-nav="project-userstories-detail:project=project.slug,ref=us.ref")

View File

@ -1,6 +1,5 @@
.kanban-task {
background: $postit;
margin-bottom: 1rem;
position: relative;
&:last-child {
margin: 0;
@ -46,8 +45,22 @@
top: -6px;
white-space: nowrap;
width: 50px;
display: none;
}
}
.task-assigned {
@extend %small;
color: $postit-dark-hover;
display: block;
}
.task-num {
color: $grayer;
margin-right: .5em;
}
.task-name {
@extend %bold;
color: $grayer;
}
.task-text {
@include table-flex-child($flex-grow: 10, $flex-basis: 50px);
@extend %small;

View File

@ -59,7 +59,6 @@ $column-margin: 0 10px 0 0;
@include table-flex-child($column-flex, $column-width, $column-shrink, $column-width);
margin: $column-margin;
overflow-y: auto;
padding: 1rem;
&:last-child {
margin-right: 0;
}