mirror of
https://github.com/ankitects/anki.git
synced 2025-11-17 18:17:12 -05:00
26 lines
585 B
SCSS
26 lines
585 B
SCSS
/* Copyright: Ankitects Pty Ltd and contributors
|
|
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
|
|
@use "sass:color";
|
|
@use "sass/button-mixins" as button;
|
|
|
|
$size: var(--buttons-size);
|
|
$padding: 2px;
|
|
|
|
.linkb {
|
|
@include button.base;
|
|
@include button.border-radius;
|
|
|
|
width: $size;
|
|
height: $size;
|
|
padding: $padding;
|
|
font-size: calc($size * 0.6);
|
|
}
|
|
|
|
img.topbut {
|
|
max-width: calc($size - 2 * $padding);
|
|
max-height: calc($size - 2 * $padding);
|
|
vertical-align: baseline;
|
|
.nightMode & {
|
|
filter: invert(1);
|
|
}
|
|
}
|