Implement due dates for cards

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-06-08 23:03:01 +02:00
committed by Julius Härtl
parent 58bf51accd
commit 9a77bd7c7c
17 changed files with 361 additions and 75 deletions

View File

@@ -459,13 +459,45 @@ button.button-inline:hover {
}
.due {
background-color: #eee;
color: #aaa;
padding: 1px 3px;
border-radius: 4px;
margin-right: 2px;
font-size: 90%;
margin-left: 5px;
opacity: .7;
}
.due .icon {
background-size: contain;
float:left;
opacity: 0.7;
margin-top:2px;
}
.overdue {
background-color: #e12419;
color: #fff;
}
.due.now {
background-color: #fbd850;
color: #000;
}
.due.next {
background-color: #22ac2a;
color: #fff;
}
.due .icon-calendar {
background-image: url(../img/calendar.svg);
margin-right: 2px;
}
.overdue .icon-calendar {
background-image: url(../img/calendar-white.svg);
}
.now .icon-calendar {
background-image: url(../img/calendar.svg);
}
.next .icon-calendar {
background-image: url(../img/calendar-white.svg);
}
/**
* Card view right sidebar
*/
@@ -503,9 +535,9 @@ button.button-inline:hover {
margin-bottom: 10px;
}
#card-dates span {
#card-meta #duedate {
display: flex;
}
#card-description {
height: 100%;
display: flex;