diff options
Diffstat (limited to '.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css')
-rw-r--r-- | .local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css b/.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css new file mode 100644 index 0000000..0b8f82c --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css @@ -0,0 +1,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; +} |