fix(taskSidebar): task selected hover controls color

This commit is contained in:
Johannes Millan 2019-12-06 17:35:59 +01:00
parent 6885242782
commit 2b3fc77417
2 changed files with 15 additions and 1 deletions

View file

@ -134,7 +134,7 @@
</div>
<div class="controls">
<div class="hover-controls bg-card">
<div class="hover-controls">
<button (click)="startTask()"
*ngIf="!task.isDone && !isCurrent && !task.subTasks"
class="ico-btn start-task-btn"

View file

@ -288,6 +288,20 @@
.first-line:hover & {
display: flex;
background: #fff;
@include darkTheme() {
background: $dark-theme-card-bg;
}
:host-context(.isLightTheme).isSelected & {
background: $light-theme-bg-darker;
}
:host-context(.isDarkTheme).isSelected & {
background: #222;
}
}
// extra hitarea