365c5e1fb2
* 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 commit bb0a158f96183cca74e198867070c2f99af04dc4. * 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 commit 77bfc854ba140dd99aae98efcdd4af7052615fa6. * 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 commit 75c59da65a1028e2caa3c48b247f99825c1b0b6c. * Revert "Remove option to set font size of browser entries" This reverts commit a543783d8ea079f39b7ae445152573c96be29841.
110 lines
1.9 KiB
SCSS
110 lines
1.9 KiB
SCSS
@use "vars" as *;
|
|
@use "root-vars";
|
|
@use "button-mixins" as button;
|
|
|
|
$body-color: color(fg);
|
|
$body-bg: color(canvas);
|
|
|
|
$link-hover-color: color(fg-link);
|
|
$link-hover-decoration: none;
|
|
|
|
$utilities: (
|
|
"opacity": (
|
|
property: opacity,
|
|
values: (
|
|
0: 0,
|
|
25: 0.25,
|
|
50: 0.5,
|
|
75: 0.75,
|
|
100: 1,
|
|
),
|
|
),
|
|
);
|
|
|
|
@import "bootstrap/scss/bootstrap-reboot";
|
|
@import "bootstrap/scss/bootstrap-utilities";
|
|
|
|
/* Bootstrap "extensions" */
|
|
.flex-basis-100 {
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.flex-basis-75 {
|
|
flex-basis: 75%;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
html {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
button {
|
|
/* override transition for instant hover response */
|
|
transition: color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
|
|
border-radius: prop(border-radius);
|
|
@include button.base;
|
|
}
|
|
|
|
pre,
|
|
code,
|
|
kbd,
|
|
samp {
|
|
unicode-bidi: normal !important;
|
|
}
|
|
|
|
[dir="rtl"] {
|
|
.form-select {
|
|
/* flip <select>'s arrow */
|
|
background-position: left 0.75rem center;
|
|
}
|
|
}
|
|
.form-select:focus {
|
|
outline: none;
|
|
border: 1px solid color(border-focus);
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.night-mode .form-select:disabled {
|
|
background-color: color(fg-disabled);
|
|
}
|
|
|
|
.reduced-motion * {
|
|
transition: none !important;
|
|
animation: none !important;
|
|
}
|
|
|
|
select {
|
|
@include button.background;
|
|
@include button.border-radius;
|
|
|
|
cursor: pointer;
|
|
outline: none;
|
|
|
|
&:focus,
|
|
&.focus {
|
|
border: 1px solid color(border-focus);
|
|
}
|
|
option {
|
|
background: color(canvas-elevated);
|
|
color: color(fg);
|
|
}
|
|
}
|
|
|
|
label,
|
|
input[type="radio"],
|
|
input[type="checkbox"] {
|
|
cursor: pointer;
|
|
}
|
|
input[type="text"] {
|
|
border-radius: prop(border-radius);
|
|
outline: none;
|
|
border: 1px solid color(border);
|
|
&:focus {
|
|
border-color: color(border-focus);
|
|
}
|
|
}
|