122 lines
2.8 KiB
SCSS
122 lines
2.8 KiB
SCSS
.taskboard-task {
|
|
@include transition (box-shadow .4s linear);
|
|
background: $postit;
|
|
box-shadow: none;
|
|
cursor: move;
|
|
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 {
|
|
box-shadow: 1px 1px 15px rgba($black, .1);
|
|
}
|
|
&.ui-sortable-placeholder {
|
|
background: $grayer;
|
|
}
|
|
.taskboard-tagline {
|
|
@include table-flex();
|
|
background: $gray-light; //Fallback
|
|
height: .3rem;
|
|
}
|
|
.taskboard-tag {
|
|
@include table-flex-child(1, 0, 0, 0);
|
|
background: $postit-hover; //Fallback
|
|
height: .3rem;
|
|
}
|
|
.taskboard-task-inner {
|
|
@include table-flex();
|
|
min-height: 7.5rem;
|
|
padding: 1rem .5rem;
|
|
}
|
|
.taskboard-user-avatar {
|
|
.avatar {
|
|
@include table-flex-child($flex-basis: 50px);
|
|
a {
|
|
@extend %small;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
img {
|
|
border: 0;
|
|
margin: 0 auto;
|
|
}
|
|
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();
|
|
}
|