1
0

Color the whole card on kanban if the task has a color

This commit is contained in:
kolaente
2020-06-21 18:24:01 +02:00
parent 68681ef007
commit 8d94bdb081
2 changed files with 24 additions and 15 deletions

View File

@ -60,15 +60,6 @@ $crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
border-width: 2px;
}
.color {
width: 4px;
height: 24px;
display: block;
float: left;
border-radius: 0 2px 2px 0;
margin-left: -.5em;
}
h3 {
font-family: $family-sans-serif;
font-size: .85rem;
@ -81,6 +72,7 @@ $crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
.icon {
margin-right: 2px;
margin-left: 5px;
}
&.overdue {
@ -163,6 +155,26 @@ $crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
span {
width: auto;
}
&.has-light-text {
color: $white;
.task-id {
color: $grey-lighter;
}
.footer .icon,
.due-date,
.priority-label {
background: darken($task-background, 80%);
}
.footer {
.icon svg {
fill: $white;
}
}
}
}
.drop-preview {