Anki/qt/aqt/data/web/css/deckbrowser.scss
2022-10-20 20:42:28 +02:00

91 lines
1.3 KiB
SCSS

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