summaryrefslogtreecommitdiff
path: root/.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css
blob: 0b8f82c7b1b2469e11fbb913fd331fd3762a0fab (about) (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
39
40
41
42
43
44
45
46
47
48
body table:first-of-type {
  width: 90%;
  max-width: 600px;
}
body table:first-of-type th {
  padding: 0 6px;
}
body table:first-of-type td {
  padding: 6px;
}
body table:first-of-type tr.deck td {
  border-bottom: none;
}
body table:first-of-type tr.deck td.opts {
  padding-left: 20px;
}
body table:first-of-type tr.deck td.opts > a {
  display: flex;
}
body table:first-of-type tr.current {
  background-color: transparent;
}
body table:first-of-type tr.current td {
  background-color: var(--faint-border, var(--legacy-faint-border));
}
body table:first-of-type tr.current td:first-of-type {
  border-radius: 10px 0 0 10px;
}
body table:first-of-type tr.current td:last-of-type {
  border-radius: 0 10px 10px 0;
}
body table:first-of-type tr a {
  color: var(--text-fg, var(--legacy-text-fg)) !important;
}
body table:first-of-type tr a.filtered {
  color: var(--link, var(--legacy-link)) !important;
}
a.deck {
  padding: 5px 10px 5px 5px;
  transition: padding 1s, background-color 0.5s, margin-right 1s;
  border-radius: 6px;
  margin-right: 5px;
}
body table:first-of-type tr a.deck:hover {
  padding: 5px 10px 5px 10px;
  background-color: rgba(0, 0, 0, 0.1);
  margin-right: 0;
}