anki/qt/aqt/data/web/css/deckbrowser.scss
Damien Elmes 5ae66af5d2 rework v2 scheduler upgrade; drop downgrade
- Rework V2 upgrade so that it no longer resets cards in learning,
or empties filtered decks.
- V1 users will receive a message at the top of the deck list
encouraging them to upgrade, and they can upgrade directly from that
screen.
- The setting in the preferences screen has been removed, so users
will need to use an older Anki version if they wish to switch back to
V1.
- Prevent V2 exports with scheduling from being importable into a V1
collection - the code was previously allowing this when it shouldn't
have been.
- New collections still default to v1 at the moment.

Also add helper to get map of decks and deck configs, as there were
a few places in the codebase where that was required.
2021-02-21 15:50:41 +10:00

87 lines
1.2 KiB
SCSS

/* Copyright: Ankitects Pty Ltd and contributors
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
@use 'card_counts';
a.deck {
color: var(--text-fg);
text-decoration: none;
min-width: 5em;
display: inline-block;
}
a.deck:hover {
text-decoration: underline;
}
tr.deck td {
border-bottom: 1px solid var(--faint-border);
}
tr.top-level-drag-row td {
border-bottom: 1px solid transparent;
}
td {
white-space: nowrap;
}
tr.drag-hover td {
border-bottom: 1px solid var(--border);
}
body {
margin: 1em;
-webkit-user-select: none;
}
.current {
background-color: var(--faint-border);
}
.decktd {
min-width: 15em;
}
.count {
min-width: 4em;
text-align: right;
}
.optscol {
width: 2em;
}
.collapse {
color: var(--text-fg);
text-decoration: none;
display: inline-block;
width: 1em;
}
.filtered {
color: var(--link) !important;
}
.gears {
width: 1em;
height: 1em;
opacity: 0.5;
padding-top: 0.2em;
}
.nightMode {
.gears {
filter: invert(180);
}
}
.callout {
background: var(--medium-border);
padding: 1em;
margin: 1em;
div {
margin: 1em;
}
}