610ef8f043
* Add utility functions for saving and restoring the caret location * Implement cross-browser.getSelection * Save and restore location on ContentEditable * Fix refocus by clicking on a field that had a non-collapsed selection
71 lines
1013 B
SCSS
71 lines
1013 B
SCSS
@use "vars";
|
|
@use "scrollbar";
|
|
|
|
$body-color: var(--text-fg);
|
|
$body-bg: var(--window-bg);
|
|
|
|
$link-hover-color: var(--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%;
|
|
}
|
|
|
|
* {
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
.nightMode {
|
|
@include scrollbar.night-mode;
|
|
}
|
|
|
|
button {
|
|
/* override transition for instant hover response */
|
|
transition: color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
|
|
}
|
|
|
|
pre,
|
|
code,
|
|
kbd,
|
|
samp {
|
|
unicode-bidi: normal !important;
|
|
}
|
|
|
|
.isWin {
|
|
--base-font-size: 12px;
|
|
}
|
|
|
|
.isMac {
|
|
--base-font-size: 13px;
|
|
}
|
|
|
|
.isLin {
|
|
--base-font-size: 14px;
|
|
}
|