mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00

* Reduce font size of answer button indicators * Increase padding of browser rows with ResizeToContents on vertical header * Remove 0.8 scale factor for dropdown item font-size * Remove font-size prop entirely from DropdownItem * Revert "Remove font-size prop entirely from DropdownItem" This reverts commitbb0a158f96
. * Remove hard-coded Python font sizes * Move font size and scrollbar into _root-vars.scss * Revert editor size variable to 1.6 * Fix icon alignment * Fix checkbox alignment for dropdown items * Remove unused classes from Tag.svelte * Revert "Increase padding of browser rows with ResizeToContents on vertical header" This reverts commit77bfc854ba
. * Remove option to set font size of browser entries * Add setting for browser row padding to preferences * Revert "Add setting for browser row padding to preferences" This reverts commit75c59da65a
. * Revert "Remove option to set font size of browser entries" This reverts commita543783d8e
.
92 lines
1.3 KiB
SCSS
92 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 "root-vars";
|
|
@use "sass/vars" as *;
|
|
@use "sass/card-counts";
|
|
|
|
:root {
|
|
--focus-color: #{palette-of(border-focus)};
|
|
|
|
.isMac {
|
|
--focus-color: rgba(0 103 244 / 0.247);
|
|
}
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#innertable {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
#middle td[align="center"] {
|
|
padding-top: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
button {
|
|
min-width: 60px;
|
|
white-space: nowrap;
|
|
margin: 0.5em;
|
|
position: relative;
|
|
}
|
|
|
|
.hitem {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.stat {
|
|
padding-top: 10px;
|
|
|
|
@media (max-width: 583px) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.stat2 {
|
|
padding-top: 10px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
#ansbut {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
:focus {
|
|
border-color: color(border-focus);
|
|
}
|
|
|
|
.nobold,
|
|
.stattxt {
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
font-size: small;
|
|
top: -3px;
|
|
left: 50%;
|
|
transform: translate(-50%, -100%);
|
|
font-weight: normal;
|
|
display: inline-block;
|
|
}
|
|
|
|
.spacer {
|
|
height: 18px;
|
|
}
|
|
|
|
.spacer2 {
|
|
height: 16px;
|
|
}
|
|
|
|
#outer {
|
|
border-top: 1px solid color(border);
|
|
/* Better compatibility with graphics pad/touchscreen */
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
.nightMode {
|
|
#outer {
|
|
border-top-color: color(border-subtle);
|
|
}
|
|
}
|