IMproved visual drag&drop and normalkized styles in kanban and taskboard

stable
Xavier Julián 2014-09-08 10:03:06 +02:00
parent 5c61f9f023
commit d5ccd8828d
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,7 @@
.kanban-task {
background: $postit;
cursor: move;
margin: .2rem;
position: relative;
&:last-child {
margin: 0;
@ -12,6 +13,10 @@
opacity: 1;
}
}
&.ui-sortable-helper {
box-shadow: 1px 1px 15px rgba($black, .4);
@include transition(box-shadow .3s linear);
}
&.blocked {
background: $red;
border: 1px solid darken($red, 10%);

View File

@ -1,5 +1,5 @@
.taskboard-task {
@include transition (box-shadow .4s linear);
@include transition (all .4s linear);
background: $postit;
border: 1px solid $postit-hover;
box-shadow: none;
@ -17,7 +17,8 @@
}
}
&.ui-sortable-helper {
box-shadow: 1px 1px 15px rgba($black, .1);
box-shadow: 1px 1px 15px rgba($black, .4);
@include transition(box-shadow .3s linear);
}
&.ui-sortable-placeholder {
background: $grayer;