mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
completed css
This commit is contained in:
parent
9eb860f863
commit
df195b8857
2 changed files with 5 additions and 7 deletions
|
|
@ -53,7 +53,7 @@ get '/', (page, model) ->
|
|||
## VIEW HELPERS ##
|
||||
view.fn 'taskClasses', (type, completed, score) ->
|
||||
classes = type
|
||||
classes += " completed" if completed #TODO .done instead
|
||||
classes += " completed" if completed
|
||||
switch
|
||||
when score<-8 then classes += ' color-worst'
|
||||
when score>=-8 and score<-5 then classes += ' color-worse'
|
||||
|
|
|
|||
|
|
@ -39,6 +39,9 @@ h1 > span {
|
|||
margin-left: 6px;
|
||||
}
|
||||
|
||||
|
||||
/**------------ Habits.styl ------------ */
|
||||
/*****************************************/
|
||||
#head {
|
||||
background: #ddd;
|
||||
background: -webkit-gradient(linear,0 0,0 100%,from(#e7e7e7),to(#d0d0d0));
|
||||
|
|
@ -53,9 +56,6 @@ h1 > span {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/**------------ Habits.styl ------------ */
|
||||
/*****************************************/
|
||||
|
||||
.color-worst { background-color: rgb(230, 184, 175); }
|
||||
.color-worse { background-color: rgb(244, 204, 204); }
|
||||
.color-bad { background-color: rgb(252, 229, 205); }
|
||||
|
|
@ -63,7 +63,7 @@ h1 > span {
|
|||
.color-good { background-color: rgb(217, 234, 211); }
|
||||
.color-better { background-color: rgb(208, 224, 227); }
|
||||
.color-best { background-color: rgb(201, 218, 248); }
|
||||
.done { background-color: rgb(217, 217, 217); color: rgb(153, 153, 153); }
|
||||
.completed { background-color: rgb(217, 217, 217); color: rgb(153, 153, 153); }
|
||||
.reward { background-color: white; }
|
||||
|
||||
.task {
|
||||
|
|
@ -113,8 +113,6 @@ h1 > span {
|
|||
width: 920px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#top-links {
|
||||
float:right;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue