a208ba4aba
* start updating colors for tasks controls * finish updating controls colors * change hoevr behavior * change transition duration * update color with transition * refactor menu wip * wip * upgrade vue deps * fix warnings * fix menu * misc fixes * more fixes * fix badge * fix margins in menu * wip tooltips * tooltips * fix checklist colors * add badges * fix quick add input * add transition to task controls too * add batch add * fix task filtering * finish tasks badges * fix menu * upgrade deps * fix shop items using all the same image * fix animation * disable client tests until we remove phantomjs * revert changes to tasks colors * fix opacity in task modal inputs * remove client unit tests from travis * wip task dropdown * fix z-index for task footer/header * fixes and add files * fixes * bigger clickable area * more space to open task dropdown * droddown position * fix menu position * make sure other dropdowns get closed correctly * fixes * start to fix z-index * draggable = false for task dropdown * fix for dropdown position * implement move to top / bottom * fix push to bottom * typo * fix drag and drop * use standard code * wider click area for dropdown * unify badge look * fix padding * misc fixes * more fixes * make dropdown scrollable * misc fixes * fix padding for notes * use existing code instead of new props
237 lines
3.4 KiB
SCSS
237 lines
3.4 KiB
SCSS
.daily-todo-control {
|
|
|
|
&:hover {
|
|
.svg-icon.check {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.svg-icon.check {
|
|
display: none;
|
|
|
|
&.display-check-icon {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
.task {
|
|
// for editing rewards or when a task is created
|
|
&-purple {
|
|
background: $purple-300;
|
|
|
|
&-color {
|
|
color: $purple-300;
|
|
}
|
|
|
|
&-control-habit {
|
|
background: $purple-300;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $header-color !important;
|
|
}
|
|
}
|
|
|
|
&-worst {
|
|
background: $maroon-100;
|
|
|
|
&-color {
|
|
color: darken($maroon-100, 12%);
|
|
}
|
|
|
|
&-control-habit {
|
|
background: darken($maroon-100, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $maroon-500;
|
|
color: $maroon-100;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $maroon-500 !important;
|
|
}
|
|
}
|
|
|
|
&-worse {
|
|
background: $red-100;
|
|
|
|
&-color {
|
|
color: darken($red-100, 12%);
|
|
}
|
|
|
|
&-control-habit {
|
|
background: darken($red-100, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $red-500;
|
|
color: $red-100;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $red-500 !important;
|
|
}
|
|
}
|
|
|
|
&-bad {
|
|
background: $orange-100;
|
|
|
|
&-color {
|
|
color: darken($orange-100, 12%);
|
|
}
|
|
|
|
&-control-habit {
|
|
background: darken($orange-100, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $orange-500;
|
|
color: $orange-100;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $orange-500 !important;
|
|
}
|
|
}
|
|
|
|
&-neutral {
|
|
background: $yellow-100;
|
|
|
|
&-color {
|
|
color: darken($yellow-100, 12%);
|
|
}
|
|
|
|
&-control-habit {
|
|
background: darken($yellow-100, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $yellow-500;
|
|
color: $yellow-100;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $yellow-500 !important;
|
|
}
|
|
}
|
|
|
|
&-good {
|
|
background: $green-10;
|
|
|
|
&-color {
|
|
color: darken($green-10, 12%);
|
|
}
|
|
|
|
&-control-habit {
|
|
background: darken($green-10, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $green-500;
|
|
color: $green-10;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $green-500 !important;
|
|
}
|
|
}
|
|
|
|
&-better {
|
|
background: $blue-50;
|
|
|
|
&-color {
|
|
color: darken($blue-50, 12%);
|
|
}
|
|
|
|
&-control-habit {
|
|
background: darken($blue-50, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $blue-500;
|
|
color: $blue-50;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $blue-500 !important;
|
|
}
|
|
}
|
|
|
|
&-best {
|
|
background: $teal-50;
|
|
|
|
&-color {
|
|
color: darken($teal-50, 12%);
|
|
}
|
|
|
|
&-control-habit {
|
|
background: darken($teal-50, 12%);
|
|
}
|
|
|
|
&-control-daily-todo {
|
|
background: $teal-500;
|
|
color: $teal-50;
|
|
}
|
|
|
|
&-modal-input {
|
|
color: $teal-500 !important;
|
|
}
|
|
}
|
|
|
|
&-reward {
|
|
background: #FFF5E5
|
|
}
|
|
|
|
&-daily-todo-disabled {
|
|
background: $gray-500;
|
|
|
|
&-control-daily-todo {
|
|
background: $gray-400;
|
|
color: $gray-200;
|
|
}
|
|
}
|
|
|
|
&-daily-todo-content-disabled {
|
|
background: $gray-600;
|
|
|
|
.task-title, .task-notes {
|
|
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;
|
|
}
|
|
}
|