Files
fnx_web/res/static/style/layout.css

716 lines
13 KiB
CSS
Raw Normal View History

/*
2017-11-10 12:39:55 +01:00
Created on : Jun 3, 2015, 9:33:11 AM
Author : Fornax
*/
/* The default theme, a dark and a light variant which follow the browser's
preference. Branding colours are applied on top of these by the app, see
Branding.ts */
2018-01-24 10:56:53 +01:00
:root {
--color_scheme: dark;
--background_color: #15161c;
--background: var(--background_color);
--background_text_color: #e6e8ef;
--body_color: #1c1d25;
--body_background: rgb(28 29 37 / 90%);
--shaded_background: rgb(28 29 37 / 90%);
--body_text_color: #e6e8ef;
--card_color: #252733;
--separator: #2e3040;
--shadow_color: #0c0d12;
--input_background: #2c2e3b;
--input_hover_background: #363949;
--input_text: #eceef4;
--input_disabled_text: #737890;
--accent_color: #49dfa0;
--accent_shade: #243d32;
--accent_background: #49dfa0;
--accent_text_color: #05130d;
--link_color: #70ebb8;
--scrollbar_foreground_color: #33364a;
--scrollbar_hover_color: #43475f;
/* Accents for success, errors, warnings and notices. They're the highlight
colour with a different hue, see Branding.ts. The tints are backgrounds
for messages */
--green_color: #49df7b;
--red_color: #df5d49;
--yellow_color: #dfba49;
--blue_color: #4987df;
--green_tint: rgb(73 223 123 / 12%);
--red_tint: rgb(223 93 73 / 12%);
--yellow_tint: rgb(223 186 73 / 12%);
--blue_tint: rgb(73 135 223 / 12%);
/* The logo's mint colourway, see NovaLogo.svelte */
--logo_color_1: #45ed52;
--logo_color_2: #11a574;
--logo_color_3: #24b880;
--logo_color_4: #39ef3d;
}
@media (prefers-color-scheme: light) {
:root {
--color_scheme: light;
--background_color: #e9ebf0;
--background_text_color: #1b1d25;
--body_color: #f5f6f9;
--body_background: rgb(245 246 249 / 90%);
--shaded_background: rgb(245 246 249 / 90%);
--body_text_color: #1b1d25;
--card_color: #ffffff;
--separator: #d3d7e0;
--shadow_color: #b9bdc9;
--input_background: #e2e5ec;
--input_hover_background: #d7dbe4;
--input_text: #1b1d25;
--input_disabled_text: #80859a;
--accent_color: #09714b;
--accent_shade: #e2eeea;
--accent_background: #09714b;
--accent_text_color: #ffffff;
--link_color: #09714b;
--scrollbar_foreground_color: #c6cad5;
--scrollbar_hover_color: #b0b5c3;
/* Accents derived from the accent colour are too light on white,
these are the same ones branded light themes get */
--green_color: #15793a;
--red_color: #ba2c37;
--yellow_color: #995c00;
--blue_color: #2164ca;
--green_tint: rgb(21 121 58 / 12%);
--red_tint: rgb(186 44 55 / 12%);
--yellow_tint: rgb(153 92 0 / 12%);
--blue_tint: rgb(33 100 202 / 12%);
}
}
/* Branding can set a different scheme on the body, for a shared directory. The
browser draws checkboxes and radio buttons in the accent colour */
:root,
body {
color-scheme: var(--color_scheme);
accent-color: var(--accent_color);
2018-01-24 10:56:53 +01:00
}
2020-02-18 14:57:27 +01:00
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
2020-12-15 16:25:20 +01:00
font-display: block;
2020-02-18 14:57:27 +01:00
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(/res/misc/MaterialIcons.woff2) format('woff2');
2020-02-18 14:57:27 +01:00
}
2020-02-18 14:57:27 +01:00
.icon {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
2021-08-18 13:00:07 +02:00
font-size: 1.5em;
2020-02-18 14:57:27 +01:00
display: inline-block;
line-height: 1em;
2020-02-18 14:57:27 +01:00
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
text-rendering: optimizeLegibility;
2020-04-14 16:00:24 +02:00
vertical-align: middle;
2024-02-13 13:13:44 +01:00
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
2020-02-18 14:57:27 +01:00
}
2021-12-02 18:29:11 +01:00
.icon_unicode {
font-size: 1.5em;
display: inline-block;
font-weight: normal;
font-style: normal;
vertical-align: middle;
line-height: 1;
}
.icon.small {
font-size: 1.2em;
}
a>svg {
vertical-align: middle;
}
2018-11-06 21:39:18 +01:00
/* Page rendering configuration */
*,
*::before,
*::after {
box-sizing: border-box;
}
2022-01-11 13:28:22 +01:00
body {
2017-11-10 12:39:55 +01:00
margin: 0;
2020-01-29 09:34:16 +01:00
font-family: system-ui, sans-serif;
2021-01-08 00:48:07 +01:00
font-size: 17px;
2022-03-28 12:34:28 +02:00
line-height: 1.5em;
2022-03-29 21:41:46 +02:00
color: var(--body_text_color);
2022-03-13 15:42:32 +01:00
background: var(--background);
min-height: 100vh;
2019-07-06 18:41:16 +02:00
padding: 0;
2022-06-07 14:43:01 +02:00
transition: opacity 0.2s;
2017-11-10 12:39:55 +01:00
}
header,
footer {
2022-01-03 14:02:50 +01:00
text-align: center;
overflow: hidden;
2022-07-05 17:46:37 +02:00
clear: both;
2022-01-03 14:02:50 +01:00
}
2023-09-14 14:29:05 +02:00
footer {
2025-10-09 15:48:23 +02:00
backdrop-filter: blur(4px);
2022-01-11 13:28:22 +01:00
}
footer>.footer_content {
display: inline-block;
2025-10-09 15:48:23 +02:00
width: 100%;
2022-12-05 15:01:04 +01:00
padding-top: 10px;
padding-bottom: 10px;
2022-01-11 13:28:22 +01:00
}
2017-11-10 12:39:55 +01:00
2023-09-14 14:29:05 +02:00
header>h1 {
margin-top: 30px;
margin-bottom: 30px;
color: var(--background_text_color);
}
2024-02-06 17:14:40 +01:00
p>img {
max-width: 100%;
}
2024-03-07 15:22:06 +01:00
pre,
code {
background: var(--background);
border-radius: 5px;
2024-03-07 15:22:06 +01:00
margin: 0;
padding: 0 0.2em;
}
pre {
overflow-x: auto;
}
pre>code {
background: none;
padding: 0;
}
/* Page layout elements */
2017-11-10 12:39:55 +01:00
2022-10-11 14:21:06 +02:00
.page_content {
2026-04-03 15:48:51 +02:00
background: var(--body_background);
2025-10-09 15:48:23 +02:00
text-align: center;
margin: 4px;
border-radius: 8px;
2022-10-11 14:21:06 +02:00
}
2025-10-09 15:48:23 +02:00
@media (max-width: 1000px) {
2022-10-11 14:21:06 +02:00
header>h1 {
/* We want the header text to appear below the menu button, so the top
margin needs to be fairly large when the screen is small */
margin-top: 60px;
2019-09-16 23:50:57 +02:00
}
}
2022-01-11 13:28:22 +01:00
section {
2017-11-10 12:39:55 +01:00
position: relative;
2022-06-21 14:00:03 +02:00
display: block;
2022-10-11 14:21:06 +02:00
padding: 8px;
2017-11-10 12:39:55 +01:00
max-width: 1000px;
width: 100%;
height: auto;
2022-06-21 14:00:03 +02:00
margin: auto;
text-align: initial;
2019-09-16 23:50:57 +02:00
clear: both;
2017-11-10 12:39:55 +01:00
}
.bubble {
background: var(--body_background);
margin: 4px;
border-radius: 8px;
border-top: 1px solid var(--separator);
border-left: 1px solid var(--separator);
}
2019-09-16 23:50:57 +02:00
/* Page contents */
2022-03-22 23:02:47 +01:00
.highlight_shaded,
2022-10-11 14:21:06 +02:00
.highlight_border,
2018-01-07 21:42:19 +01:00
.highlight_green,
.highlight_blue,
2021-09-23 20:38:17 +02:00
.highlight_yellow,
2022-03-22 23:02:47 +01:00
.highlight_red {
2017-11-10 12:39:55 +01:00
width: auto;
height: auto;
text-align: center;
2026-04-03 15:48:51 +02:00
padding: 0.5em;
2022-01-03 14:02:50 +01:00
border-radius: 8px;
2017-11-10 12:39:55 +01:00
}
2022-10-11 14:21:06 +02:00
.highlight_border {
2026-04-03 15:48:51 +02:00
border: 1px var(--separator) solid;
2022-10-11 14:21:06 +02:00
}
2022-03-22 23:02:47 +01:00
.highlight_shaded {
2022-10-11 14:21:06 +02:00
background: var(--card_color);
2021-06-28 12:52:08 +02:00
}
2020-03-10 17:06:52 +01:00
.highlight_green {
background-color: var(--green_tint);
border-color: var(--green_color);
2020-03-10 17:06:52 +01:00
}
2020-03-10 17:06:52 +01:00
.highlight_blue {
background-color: var(--blue_tint);
border-color: var(--blue_color);
2021-09-23 20:38:17 +02:00
}
2021-09-23 20:38:17 +02:00
.highlight_yellow {
background-color: var(--yellow_tint);
border-color: var(--yellow_color);
2020-03-10 17:06:52 +01:00
}
2020-03-10 17:06:52 +01:00
.highlight_red {
background-color: var(--red_tint);
border-color: var(--red_color);
2020-03-10 17:06:52 +01:00
}
2019-07-06 18:41:16 +02:00
2019-07-17 23:19:57 +02:00
.highlight_green,
.highlight_blue,
2021-09-23 20:38:17 +02:00
.highlight_yellow,
2019-07-17 23:19:57 +02:00
.highlight_red {
2022-04-26 14:51:11 +02:00
border-top-width: 2px;
2019-07-17 23:19:57 +02:00
border-top-style: solid;
2022-04-26 14:51:11 +02:00
border-bottom-width: 2px;
2019-07-17 23:19:57 +02:00
border-bottom-style: solid;
2019-07-06 18:41:16 +02:00
}
2018-01-07 21:42:19 +01:00
/* Common elements */
h1,
h2,
h3,
h4,
h5,
h6 {
2022-01-17 12:37:37 +01:00
line-height: 1;
2024-06-27 18:46:37 +02:00
margin: 0.6em 0 0.3em 0;
2022-01-03 14:02:50 +01:00
font-weight: lighter;
2022-01-05 19:53:49 +01:00
font-family: 'Open Sans Light', sans-serif;
2019-07-16 22:07:10 +02:00
}
2021-01-08 00:48:07 +01:00
h1 {
2023-01-30 11:58:46 +01:00
font-size: 2.4em;
2021-01-08 00:48:07 +01:00
text-align: center;
}
2021-01-08 00:48:07 +01:00
h2 {
2024-07-11 13:30:46 +02:00
font-size: 1.8em;
2022-03-29 21:41:46 +02:00
border-bottom: 1px var(--separator) solid;
2021-01-08 00:48:07 +01:00
}
2021-01-08 00:48:07 +01:00
h3 {
2023-01-30 11:58:46 +01:00
font-size: 1.6em;
2022-03-29 21:41:46 +02:00
border-bottom: 1px var(--separator) solid;
2020-03-10 17:06:52 +01:00
}
2021-01-08 00:48:07 +01:00
h4 {
2023-01-30 11:58:46 +01:00
font-size: 1.4em;
2022-03-29 21:41:46 +02:00
border-bottom: 1px var(--separator) solid;
2021-01-08 00:48:07 +01:00
}
2021-01-08 00:48:07 +01:00
h5 {
2023-01-30 11:58:46 +01:00
font-size: 1.2em;
2022-03-29 21:41:46 +02:00
border-bottom: 1px var(--separator) solid;
2021-01-08 00:48:07 +01:00
}
2022-01-03 14:02:50 +01:00
h6 {
font-size: 1em;
2023-01-30 11:58:46 +01:00
border-bottom: 1px var(--separator) solid;
2021-01-08 00:48:07 +01:00
}
2022-01-04 15:55:20 +01:00
.indent {
margin: 8px;
2019-07-16 22:07:10 +02:00
}
2022-01-03 14:02:50 +01:00
hr {
2019-09-17 23:38:40 +02:00
height: 1px;
2018-01-07 21:42:19 +01:00
border: none;
2022-03-29 21:41:46 +02:00
background-color: var(--separator);
2026-04-03 15:48:51 +02:00
margin: 0.5em 0;
2018-01-07 21:42:19 +01:00
}
2020-01-28 13:29:50 +01:00
a {
2022-01-17 17:40:03 +01:00
color: var(--link_color);
2020-01-28 13:29:50 +01:00
}
2017-11-10 12:39:55 +01:00
2024-06-27 18:46:37 +02:00
p {
margin: 0.6em 0;
}
2024-02-19 20:11:39 +01:00
ul,
ol {
2024-06-27 18:46:37 +02:00
padding-left: 1.5em;
}
ul {
list-style: disc;
}
2025-01-27 22:54:47 +01:00
fieldset {
padding: 4px;
border-radius: 8px;
2026-04-03 15:48:51 +02:00
border: 1px var(--separator) solid;
2025-01-27 22:54:47 +01:00
margin: 0;
}
fieldset>legend {
padding: 2px 8px;
margin-left: auto;
margin-right: auto;
border-radius: 8px;
font-size: 1.1em;
2026-04-03 15:48:51 +02:00
border-bottom: 1px var(--separator) solid;
2025-01-27 22:54:47 +01:00
}
2022-08-04 20:19:30 +02:00
/* Forms*/
.form {
2022-08-04 20:19:30 +02:00
display: flex;
flex-direction: column;
2018-07-09 21:41:17 +02:00
margin-left: auto;
margin-right: auto;
2022-08-04 20:19:30 +02:00
text-align: initial;
2022-10-11 14:21:06 +02:00
max-width: 600px;
2021-09-23 22:16:53 +02:00
width: 100%;
2018-07-09 21:41:17 +02:00
}
2022-08-04 20:19:30 +02:00
.form>* {
display: block;
margin-left: 3px;
margin-right: 3px;
}
.form>label {
margin-top: 1em;
}
.form>input[type="submit"],
.form>button[type="submit"] {
align-self: end;
margin-top: 1em;
}
/* Tables */
2020-08-27 14:41:26 +02:00
table:not(.form) {
border-collapse: collapse;
width: 100%;
}
2021-09-21 23:12:55 +02:00
.table_scroll {
width: 100%;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
2021-09-21 23:12:55 +02:00
}
.table_scroll>table {
2021-09-21 23:12:55 +02:00
min-width: 100%;
}
2026-09-30 19:11:13 +02:00
tr>td,
tr>th {
padding: 0.2em 0.5em;
}
2018-01-07 21:42:19 +01:00
/* BUTTONS */
button,
2018-07-09 23:19:16 +02:00
.button,
input[type="submit"],
2018-01-07 21:42:19 +01:00
input[type="button"],
input[type="color"] {
2023-11-16 12:17:36 +01:00
display: inline-flex;
flex-direction: row;
2022-01-10 21:59:07 +01:00
border-radius: 6px;
2024-04-10 18:35:51 +02:00
margin: 2px;
2022-03-29 21:41:46 +02:00
background: var(--input_background);
gap: 2px;
padding: 2px;
2019-02-19 12:57:31 +00:00
overflow: hidden;
2022-03-29 21:41:46 +02:00
color: var(--input_text);
2018-01-07 21:42:19 +01:00
cursor: pointer;
2024-04-10 18:35:51 +02:00
box-shadow: 1px 1px 0px 0px var(--shadow_color);
transition: padding 0.1s, box-shadow 0.1s, background 0.1s;
2022-01-11 18:53:01 +01:00
2023-11-16 12:17:36 +01:00
/* Align content vertically in relation to the container */
vertical-align: middle;
/* Align content vertically in relation to eachother */
align-items: center;
2022-01-11 18:53:01 +01:00
/* Remove default styles set by the user-agent */
outline: 0;
font-size: 1em;
font-weight: normal;
text-decoration: none;
text-shadow: none;
border: none;
2024-04-19 13:13:39 +02:00
line-height: 1.3em;
2018-01-07 21:42:19 +01:00
}
2025-10-09 15:48:23 +02:00
.button.flat {
background: none;
color: var(--body_text_color);
box-shadow: none;
}
2018-01-07 21:42:19 +01:00
button:hover,
2018-07-09 23:19:16 +02:00
.button:hover,
input[type="submit"]:hover,
2018-01-07 21:42:19 +01:00
input[type="button"]:hover,
input[type="color"]:hover,
button:focus,
2018-07-09 23:19:16 +02:00
.button:focus,
input[type="submit"]:focus,
2018-01-07 21:42:19 +01:00
input[type="button"]:focus,
input[type="color"]:focus {
2022-03-29 21:41:46 +02:00
color: var(--input_text);
2018-07-09 23:19:16 +02:00
text-decoration: none;
2022-03-29 21:54:43 +02:00
background: var(--input_hover_background);
box-shadow: 0px 0px 0px 1px var(--accent_color) !important;
2017-11-10 12:39:55 +01:00
}
2018-01-07 21:42:19 +01:00
button:active,
2018-07-09 23:19:16 +02:00
.button:active,
input[type="submit"]:active,
2018-01-07 21:42:19 +01:00
input[type="button"]:active,
input[type="color"]:active {
box-shadow: inset 4px 4px 6px var(--shadow_color);
/* Exactly 2px offset compared to the inactive padding to give a depth effect */
padding: 4px 0px 0px 4px;
2018-01-07 21:42:19 +01:00
}
/* Selected buttons get the accent colour on a shade of it. The outline shows
hover and keyboard focus, so it would be confusing to use it for this too */
2022-03-08 23:34:10 +01:00
.button_highlight {
color: var(--link_color) !important;
background: var(--accent_shade) !important;
}
.icon.button_highlight {
border-radius: 4px;
2022-03-08 23:34:10 +01:00
}
2022-03-08 23:34:10 +01:00
.button_red {
background: var(--red_tint) !important;
color: var(--red_color) !important;
}
.button_red:hover,
.button_red:focus {
box-shadow: 0px 0px 0px 1px var(--red_color) !important;
2022-03-08 23:34:10 +01:00
}
2017-11-10 12:39:55 +01:00
button:disabled,
button.disabled,
.button:disabled,
.button.disabled,
input[type="submit"]:disabled,
input[type="submit"].disabled,
input[type="button"]:disabled,
input[type="button"].disabled,
input[type="color"]:disabled,
input[type="color"].disabled {
2022-03-29 21:41:46 +02:00
color: var(--input_disabled_text);
box-shadow: none;
transition: none;
2024-04-10 18:35:51 +02:00
padding: 3px 4px;
2021-06-22 17:14:21 +02:00
cursor: not-allowed;
2022-03-29 21:54:43 +02:00
background: var(--input_background);
}
2023-03-11 10:24:51 +01:00
.small_button {
2023-05-11 19:07:29 +02:00
margin: 1px;
2023-03-11 10:24:51 +01:00
padding: 1px 1px 1px 1px;
}
.small_button:active {
box-shadow: inset 2px 2px 4px var(--shadow_color);
padding: 2px 0px 0px 2px;
}
.group_first {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
margin-right: 0;
}
.group_middle {
border-radius: 0;
margin-left: 0;
margin-right: 0;
}
.group_last {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
margin-left: 0;
}
button>i,
.button>i,
button>svg,
.button>svg {
2022-01-11 18:53:01 +01:00
vertical-align: middle;
2022-01-17 12:37:37 +01:00
line-height: 1;
2022-01-11 18:53:01 +01:00
}
2021-08-17 18:02:46 +02:00
.round {
border-radius: 32px;
}
2021-09-21 21:39:28 +02:00
.tab_bar {
display: block;
width: 100%;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
text-align: center;
2021-09-23 20:38:17 +02:00
}
.tab_bar>button,
.tab_bar>.button {
2024-04-10 18:35:51 +02:00
margin: .5em .3em 0 .3em;
2021-09-23 20:38:17 +02:00
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
2022-03-29 21:41:46 +02:00
min-width: 5em;
2021-09-23 20:38:17 +02:00
}
2018-01-07 21:42:19 +01:00
/* Dropdown list of the select tag */
option {
2022-03-29 21:41:46 +02:00
background: var(--input_background);
color: var(--body_text_color);
2019-04-10 20:33:14 +02:00
}
2018-01-07 21:42:19 +01:00
/* TEXT FIELDS */
textarea,
select,
2018-07-09 23:19:16 +02:00
.groove,
2018-01-07 21:42:19 +01:00
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="datetime-local"] {
2020-01-31 10:50:35 +01:00
display: inline-block;
2024-04-10 18:35:51 +02:00
margin: 2px;
/* Same as button, to make them align nicely */
2018-01-07 21:42:19 +01:00
border: none;
2024-04-10 18:35:51 +02:00
border-radius: 5px;
2022-03-29 21:41:46 +02:00
background: var(--input_background);
padding: 3px;
2024-04-10 18:35:51 +02:00
box-shadow: inset 1px 1px 0px 0px var(--shadow_color);
2022-10-18 15:42:40 +02:00
/* override user-agent style */
min-width: 100px;
2022-03-29 21:41:46 +02:00
color: var(--input_text);
2019-02-20 22:46:35 +01:00
font-size: 1em;
2018-01-07 21:42:19 +01:00
outline: 0;
transition: box-shadow 0.2s;
2017-11-10 12:39:55 +01:00
}
2018-01-07 21:42:19 +01:00
textarea:active,
select:active,
2018-01-07 21:42:19 +01:00
input[type="text"]:active,
input[type="password"]:active,
input[type="email"]:active,
input[type="number"]:active,
input[type="date"]:active,
input[type="datetime-local"]:active,
2018-01-07 21:42:19 +01:00
textarea:focus,
select:focus,
2018-01-07 21:42:19 +01:00
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus {
box-shadow: inset 0px 0px 0px 1px var(--accent_color);
2017-11-10 12:39:55 +01:00
}
2021-11-26 20:21:39 +01:00
textarea:disabled,
select:disabled,
2021-11-26 20:21:39 +01:00
input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="email"]:disabled,
input[type="number"]:disabled,
input[type="date"]:disabled,
input[type="datetime-local"]:disabled {
2022-03-29 21:41:46 +02:00
color: var(--input_disabled_text);
2021-11-26 20:21:39 +01:00
box-shadow: none;
transition: none;
cursor: not-allowed;
}
2017-11-10 12:39:55 +01:00
input[type=file] {
2017-11-10 12:39:55 +01:00
visibility: hidden;
position: static;
width: 0;
height: 0;
}
2020-01-27 16:56:16 +01:00
/* The selected option in multi select */
option:checked {
background-color: var(--accent_background);
color: var(--accent_text_color);
}
2020-01-27 16:56:16 +01:00
/* Webkit Scrollbars */
::-webkit-scrollbar {
2022-12-05 15:01:04 +01:00
width: 16px;
/* for vertical scrollbars */
2022-12-05 15:01:04 +01:00
height: 16px;
/* for horizontal scrollbars */
2020-01-27 16:56:16 +01:00
}
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-track {
2023-09-14 17:00:01 +02:00
background: var(--background_color);
2020-01-27 16:56:16 +01:00
}
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-thumb {
background-color: var(--scrollbar_foreground_color);
border-radius: 10px;
2023-09-14 17:00:01 +02:00
border: 4px solid var(--background_color);
2020-02-07 16:21:43 +01:00
height: 40px;
width: 40px;
2020-01-27 16:56:16 +01:00
}
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-thumb:hover {
background-color: var(--scrollbar_hover_color);
}
::-webkit-scrollbar-corner {
background-color: var(--background_color);
2020-01-27 16:56:16 +01:00
}
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-button:single-button {
background-color: var(--background_color);
2020-01-27 16:56:16 +01:00
display: block;
border-style: solid;
height: 10px;
width: 10px;
}
2020-01-27 16:56:16 +01:00
/* Firefox Scrollbar */
* {
scrollbar-color: var(--scrollbar_foreground_color) var(--background_color);
2020-01-27 16:56:16 +01:00
}