.taskboard-task { @include transition (all .4s linear); background: $postit; border: 1px solid $postit-hover; box-shadow: none; cursor: move; margin: .2rem; min-height: 7rem; position: relative; &:hover { .icon-edit, .icon-drag-h { @include transition(color .3s linear, opacity .3s linear); color: $postit-dark-hover; display: block; opacity: 1; } } &.ui-sortable-helper { @include transition(box-shadow .3s linear); box-shadow: 1px 1px 15px rgba($black, .4); } &.ui-sortable-placeholder { background: $grayer; } &.blocked { background: $red; border: 1px solid darken($red, 10%); color: $white; a, span { color: $white; } } .taskboard-tagline { @include table-flex(); border-color: $postit-hover; height: .6rem; } .taskboard-tag { @include table-flex-child(1, 0, 0, 0); border-top: .3rem solid $postit-hover; height: .6rem; z-index: 100; } .taskboard-task-inner { @include table-flex(); min-height: 7rem; padding: .5rem; } .taskboard-user-avatar { .avatar { @include table-flex-child($flex-basis: 50px); a { @extend %small; display: block; text-align: center; } img { margin: 0 auto; &:hover { @include transition(border .3s linear); border: 2px solid $green-taiga; } } figcaption { color: darken($postit-hover, 15%); display: none; //display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; } } &.iocaine { img { @include filter(hue-rotate(150deg) saturate(200%)); } } } .icon-iocaine { @extend %large; background: $black; border-radius: 5px; color: $white; left: .2rem; padding: .1rem; position: absolute; top: 1rem; } .task-assigned { @extend %small; color: $postit-dark-hover; display: block; } .task-num { color: $grayer; margin-right: .5em; } .task-name { @extend %bold; color: $grayer; } .taskboard-text { @extend %small; @include table-flex-child($flex-grow: 10, $flex-basis: 50px); padding: 0 .5rem 0 1rem; word-wrap: break-word; } .icon { @include transition(color .3s linear, opacity .3s linear); } .icon-edit, .icon-drag-h { @extend %large; bottom: .5rem; color: $postit-hover; opacity: 0; position: absolute; &:hover { color: $postit-dark-hover; } } .icon-edit { right: 1rem; } .icon-drag-h { @extend %xlarge; cursor: move; right: 45%; } } .task-drag { @include box-shadow(); }