feat(tasks): use primary rather than accent color for current task

This commit is contained in:
Johannes Millan 2018-11-22 00:39:04 +01:00
parent 0e05b2cf0d
commit 89f00935e9
3 changed files with 7 additions and 3 deletions

View file

@ -51,7 +51,9 @@
.tab-content {
padding: $s;
@include dark-theme {
color: $dark-theme-text-color-lighter;
}
h3 {
margin-bottom: $s;
}

View file

@ -1,4 +1,6 @@
<div class="inner-wrapper bg-standard"
[class.bg-primary]="isCurrent"
[class.color-contrast]="isCurrent"
[class.isNotesOpen]="task.isNotesOpen">
<div class="first-line">

View file

@ -56,7 +56,7 @@ $this-first-line-min-height: 40px;
}
&.isCurrent > .inner-wrapper {
background: $c-accent;
//background: $c-accent;
box-shadow: $this-active-shadow;
.first-line {
@ -179,7 +179,7 @@ $this-first-line-min-height: 40px;
.show-notes-btn {
mat-icon {
transition: $transition-standard;
transition: transform $transition-standard;
backface-visibility: hidden;
}