mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
* fix filter button style * display completed todos * fix reward control position * begin to add edit modal * start adding settings to edit modal * add task saving, creating and deleting * fixes * add tags and repeat frequency for habits * clicking on links should not open the edit modal * checklist editing * repeatables and checklists * delete checklist items * add rewards price * update shrinkwrap * pin cwait
173 lines
2.6 KiB
SCSS
173 lines
2.6 KiB
SCSS
.task {
|
|
// for editing rewards or when a task is created
|
|
&-purple {
|
|
background: $purple-300;
|
|
|
|
&-control-habit {
|
|
background: $purple-300;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $header-color !important;
|
|
}
|
|
}
|
|
|
|
&-worst {
|
|
background: $maroon-100;
|
|
&-control-habit {
|
|
background: darken($maroon-100, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $maroon-500;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $maroon-500 !important;
|
|
}
|
|
}
|
|
|
|
&-worse {
|
|
background: $red-100;
|
|
&-control-habit {
|
|
background: darken($red-100, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $red-500;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $red-500 !important;
|
|
}
|
|
}
|
|
|
|
&-bad {
|
|
background: $orange-100;
|
|
&-control-habit {
|
|
background: darken($orange-100, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $orange-500;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $orange-500 !important;
|
|
}
|
|
}
|
|
|
|
&-neutral {
|
|
background: $yellow-50;
|
|
&-control-habit {
|
|
background: darken($yellow-50, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $yellow-500;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $yellow-500 !important;
|
|
}
|
|
}
|
|
|
|
&-good {
|
|
background: $green-10;
|
|
&-control-habit {
|
|
background: darken($green-10, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $green-500;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $green-500 !important;
|
|
}
|
|
}
|
|
|
|
&-better {
|
|
background: $blue-50;
|
|
&-control-habit {
|
|
background: darken($blue-50, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $blue-500;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $blue-500 !important;
|
|
}
|
|
}
|
|
|
|
&-best {
|
|
background: $teal-50;
|
|
&-control-habit {
|
|
background: darken($teal-50, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $teal-500;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $teal-500 !important;
|
|
}
|
|
}
|
|
|
|
&-reward {
|
|
background: rgba($yellow-500, 0.26);
|
|
}
|
|
|
|
&-daily-todo-disabled {
|
|
background: $gray-500;
|
|
|
|
&-control-daily-todo {
|
|
background: $gray-400;
|
|
color: $gray-200;
|
|
}
|
|
}
|
|
|
|
&-daily-todo-content-disabled {
|
|
background: $gray-600;
|
|
|
|
* {
|
|
color: $gray-300 !important;
|
|
}
|
|
}
|
|
|
|
&-habit-disabled {
|
|
background: $gray-700;
|
|
color: rgba(0, 0, 0, 0.12);
|
|
|
|
&-control-habit {
|
|
color: rgba(0, 0, 0, 0.12) !important;
|
|
border: 1px solid rgba(0, 0, 0, 0.12);
|
|
}
|
|
}
|
|
}
|
|
|
|
.task-control {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.habit-control {
|
|
border-radius: 100px;
|
|
color: $white;
|
|
|
|
.svg-icon {
|
|
width: 10px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.positive {
|
|
margin-top: 9px;
|
|
}
|
|
|
|
.negative {
|
|
margin-top: 13px;
|
|
}
|
|
} |