09c29219b4
* Refactor editor css, fix editor button highlight - Avoid using webview.css - Move more buttons css into button_mixins * Fix DropdownItem appearance * Fix the visuals of tags * Make dropdown font slightly smaller * Give SelectOption a background color * Move some css from deck-options-base to CardStateCustomizer * Avoid using core.scss for CardStats * Avoid using sass/core in congrats package * Inline core.scss into webview.scss * Include fusion-vars for base.scss * need to keep core.scss around for now (dae)
93 lines
1.3 KiB
SCSS
93 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/card-counts";
|
|
|
|
:root {
|
|
--focus-color: #0078d7;
|
|
|
|
.isMac {
|
|
--focus-color: rgba(0 103 244 / 0.247);
|
|
}
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
button {
|
|
min-width: 60px;
|
|
white-space: nowrap;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.hitem {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.stat {
|
|
padding-top: 5px;
|
|
|
|
@media (max-width: 583px) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.stat2 {
|
|
padding-top: 3px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.stattxt {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#ansbut {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.focus {
|
|
outline: 5px auto var(--focus-color);
|
|
|
|
#innertable:focus-within & {
|
|
outline: unset;
|
|
|
|
&:focus {
|
|
outline: 5px auto var(--focus-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.nobold {
|
|
font-weight: normal;
|
|
display: inline-block;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.spacer {
|
|
height: 18px;
|
|
}
|
|
|
|
.spacer2 {
|
|
height: 16px;
|
|
}
|
|
|
|
#outer {
|
|
border-top: 1px solid var(--border);
|
|
/* Better compatibility with graphics pad/touchscreen */
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
#innertable {
|
|
padding: 3px;
|
|
}
|
|
|
|
.nightMode {
|
|
#outer {
|
|
border-top-color: var(--faint-border);
|
|
}
|
|
}
|