summaryrefslogtreecommitdiff
path: root/src/themes/_taskrow.css
blob: f3ccee42d231b214d6d69c65b882866899ab7ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
taskrow {
  transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 12px;
}

taskrow:hover {
  background-color: alpha(@theme_fg_color, 0.1);
}

taskrow:focus {
  background-color: alpha(@theme_fg_color, 0.05);
}

taskrow.card:hover {
  background-color: alpha(@theme_fg_color, 0.01);
}

taskrow:dir(ltr) { padding-left: 6px;  }
taskrow:dir(rtl) { padding-right: 6px; }

/* task title entry */
taskrow text {
  border: solid 1px transparent;
  background: none;
  border-radius: 3px;
}

/* line-through complete tasks */
taskrow.complete > * { opacity: 0.5; }
taskrow.complete entry.title { text-decoration-line: line-through; }

/* dnd row */
taskrow box.dnd {
    background: alpha(@theme_fg_color, 0.1);
}

/* new task row */
newtaskrow entry { padding: 0 16px 0 14px; }