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

774 lines
14 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
*/
2018-01-24 10:56:53 +01:00
:root {
--highlight_border: inset 0px 0px 5px 1px var(--highlight_color), 0px 0px 1px 0px var(--highlight_color);
}
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'),
2024-02-13 13:13:44 +01:00
url(/res/misc/MaterialIcons.woff2) format('truetype');
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: 1;
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;
}
html,
body {
2022-01-11 13:28:22 +01:00
/* This makes sure that no scrollbar shows up when the menu is open on small screens*/
overflow-x: hidden;
}
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
}
.checkers {
2022-06-07 14:43:01 +02:00
background-image: var(--background_pattern);
2022-03-13 15:42:32 +01:00
background-color: var(--background_pattern_color);
2021-08-17 18:02:46 +02:00
background-repeat: repeat;
}
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 {
background-image: url("/res/img/nebula.webp");
background-color: var(--background_color);
background-blend-mode: luminosity;
box-shadow: inset 0 0 10px -4px var(--shadow_color);
border-radius: 8px;
margin: 16px;
2022-01-11 13:28:22 +01:00
}
footer>.footer_content {
background: var(--body_background);
2022-10-11 14:21:06 +02:00
color: var(--body_text_color);
display: inline-block;
2022-12-05 15:01:04 +01:00
width: 1000px;
max-width: 100%;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 8px;
2022-10-11 14:21:06 +02:00
margin: 120px 0 60px 0;
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%;
}
code {
display: inline-block;
background: var(--background);
border-radius: 5px;
}
/* Page layout elements */
2017-11-10 12:39:55 +01:00
2019-09-17 23:38:40 +02:00
.button_toggle_navigation {
2019-09-19 09:35:09 +02:00
position: fixed;
backface-visibility: hidden;
2022-01-18 20:58:57 +01:00
z-index: 10;
2019-09-17 23:38:40 +02:00
top: 0;
left: 0;
2023-11-16 12:44:04 +01:00
padding: 8px 16px 16px 8px;
2019-09-17 23:38:40 +02:00
font-size: 2em;
2019-09-16 23:50:57 +02:00
margin: 0;
2020-01-28 12:51:21 +01:00
background: #3f3f3f;
2022-03-29 21:41:46 +02:00
background: var(--input_background);
2019-09-17 23:38:40 +02:00
border-radius: 0;
border-bottom-right-radius: 90%;
2017-11-10 12:39:55 +01:00
}
2020-10-19 22:29:47 +02:00
.button_toggle_navigation:active {
2023-11-16 12:44:04 +01:00
padding: 12px 14px 14px 12px;
2020-10-19 22:29:47 +02:00
}
2019-09-18 22:23:12 +02:00
.page_navigation {
2019-09-19 09:35:09 +02:00
position: fixed;
backface-visibility: hidden;
2022-03-13 15:42:32 +01:00
background: var(--navigation_background);
2022-02-07 12:00:22 +01:00
width: 17em;
height: 100%;
2019-09-18 22:23:12 +02:00
left: 0;
2019-09-16 23:50:57 +02:00
float: left;
2023-09-13 15:13:46 +02:00
padding: 20px 0 10px 0;
2019-09-17 23:38:40 +02:00
overflow-y: auto;
overflow-x: hidden;
2019-09-16 23:50:57 +02:00
text-align: left;
transition: left 0.5s;
}
2019-09-18 22:23:12 +02:00
.page_body {
2022-03-13 15:42:32 +01:00
position: relative;
2019-09-16 23:50:57 +02:00
right: 0;
2019-09-19 09:35:09 +02:00
height: auto;
2022-03-13 15:42:32 +01:00
left: 0;
margin-left: 17em;
2019-09-16 23:50:57 +02:00
min-width: 300px;
2022-03-13 15:42:32 +01:00
display: block;
text-align: center;
/* Center the header and body */
2019-09-17 23:38:40 +02:00
overflow-y: auto;
overflow-x: hidden;
2023-09-13 15:13:46 +02:00
transition: margin 0.5s;
2019-09-16 23:50:57 +02:00
}
2022-10-11 14:21:06 +02:00
.page_content {
background: var(--body_background);
2023-09-13 15:13:46 +02:00
border-radius: 8px;
overflow: hidden;
}
.page_content,
2023-09-14 14:29:05 +02:00
.page_margins,
footer {
margin-right: 16px;
margin-left: 16px;
2022-10-11 14:21:06 +02:00
}
@media (max-width: 1100px) {
2019-09-18 22:23:12 +02:00
.page_navigation {
2020-12-15 16:25:20 +01:00
left: -18em;
2019-09-16 23:50:57 +02:00
}
2019-09-18 22:23:12 +02:00
.page_body {
2022-03-13 15:42:32 +01:00
margin-left: 0;
2023-09-13 15:13:46 +02:00
margin-right: 0;
2019-09-19 09:43:31 +02:00
width: 100%;
2022-10-11 14:21:06 +02:00
}
2023-09-13 15:13:46 +02:00
.page_content,
2023-09-14 14:29:05 +02:00
.page_margins,
footer {
2023-09-13 15:13:46 +02:00
margin-left: 0;
margin-right: 0;
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
}
2019-09-16 23:50:57 +02:00
/* Page contents */
2019-09-18 22:23:12 +02:00
.page_navigation a {
2018-01-07 23:05:51 +01:00
float: none;
2019-09-17 23:38:40 +02:00
display: block;
2022-03-29 21:41:46 +02:00
color: var(--background_text_color);
2018-01-07 23:05:51 +01:00
text-align: center;
2021-08-18 13:00:07 +02:00
padding: 4px;
2022-10-11 14:21:06 +02:00
margin: 0.2em 15px 0.2em 15px;
2022-01-10 21:59:07 +01:00
font-family: 'Open Sans Light', sans-serif;
2022-10-11 14:42:24 +02:00
font-weight: lighter;
2022-01-03 14:02:50 +01:00
font-size: 1.5em;
2019-09-17 23:38:40 +02:00
overflow: hidden;
text-overflow: ellipsis;
transition: background 0.2s;
2021-08-17 18:02:46 +02:00
border-radius: 24px;
2020-08-11 19:52:03 +02:00
text-decoration: none;
2018-01-07 23:05:51 +01:00
}
2019-09-18 22:23:12 +02:00
.page_navigation a:hover {
background: var(--input_background);
2022-03-29 21:41:46 +02:00
color: var(--input_text);
2019-09-17 23:38:40 +02:00
text-decoration: none;
2018-01-07 23:05:51 +01:00
}
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
position: relative;
width: auto;
height: auto;
overflow: hidden;
text-align: center;
2021-08-18 13:00:07 +02:00
padding: 4px;
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 {
border: 2px solid var(--separator);
}
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 {
2019-07-06 18:41:16 +02:00
background-color: rgba(0, 255, 0, 0.05);
2021-09-23 20:38:17 +02:00
border-color: #00D000;
2020-03-10 17:06:52 +01:00
}
2020-03-10 17:06:52 +01:00
.highlight_blue {
2019-07-06 18:41:16 +02:00
background-color: rgba(32, 32, 255, 0.2);
2021-09-23 20:38:17 +02:00
border-color: #3636FF;
}
2021-09-23 20:38:17 +02:00
.highlight_yellow {
background-color: rgba(255, 255, 0, 0.05);
border-color: #A0A000;
2020-03-10 17:06:52 +01:00
}
2020-03-10 17:06:52 +01:00
.highlight_red {
2019-07-06 18:41:16 +02:00
background-color: rgba(255, 0, 0, 0.1);
2020-03-10 17:06:52 +01:00
border-color: #B00000;
}
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;
2022-01-04 15:55:20 +01:00
margin: 0.5em 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 {
2023-01-30 11:58:46 +01: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);
2021-08-18 13:00:07 +02:00
margin: 12px;
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
p {
margin: 1em 0;
}
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%;
}
2022-08-04 20:19:30 +02:00
tr {
border-bottom: 1px var(--separator) solid;
}
tr>td,
tr>th {
padding: 0.2em 0.5em;
}
2020-08-27 14:41:26 +02:00
pre {
padding: 10px;
2022-03-29 21:41:46 +02:00
border-bottom: 1px var(--separator) solid;
2020-07-29 16:29:25 +02:00
overflow-x: auto;
2018-07-09 21:41:17 +02:00
}
2020-07-29 16:29:25 +02:00
/* API documentation markup */
2023-01-17 16:13:26 +01:00
.api_doc_details {
2020-07-29 16:29:25 +02:00
border-top: 1px solid;
border-bottom: 1px solid;
margin: 15px 0 15px 0;
}
2023-01-17 16:13:26 +01:00
.api_doc_details>summary {
2020-07-29 16:29:25 +02:00
padding: 2px;
font-family: monospace;
}
2023-01-17 16:13:26 +01:00
.api_doc_details>summary>.method {
2020-07-29 16:29:25 +02:00
display: inline-block;
width: 80px;
}
2023-01-17 16:13:26 +01:00
.api_doc_details>div {
2020-07-29 16:29:25 +02:00
padding: 8px;
}
2023-01-17 16:13:26 +01:00
.api_doc_details.request_get {
border-color: #3636ff;
background-color: rgba(32, 32, 255, 0.2);
}
2023-01-17 16:13:26 +01:00
.api_doc_details.request_post {
border-color: #00d000;
background-color: rgba(0, 255, 0, 0.05);
}
2023-01-17 16:13:26 +01:00
.api_doc_details.request_delete {
border-color: #B00000;
background-color: rgba(255, 0, 0, 0.05);
}
2023-01-17 16:13:26 +01:00
.api_doc_details.request_put {
border-color: #B06000;
background-color: rgba(255, 128, 0, 0.05);
}
2023-01-17 16:13:26 +01:00
.api_doc_details.request_patch {
border-color: #6000B0;
background-color: rgba(128, 0, 255, 0.1);
}
2020-07-29 16:29:25 +02:00
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"],
2019-12-23 23:56:57 +01:00
select {
2023-11-16 12:17:36 +01:00
display: inline-flex;
flex-direction: row;
gap: 0.25em;
2022-01-10 21:59:07 +01:00
border-radius: 6px;
2019-07-17 23:19:57 +02:00
margin: 3px;
2022-03-29 21:41:46 +02:00
background: var(--input_background);
2021-08-18 13:00:07 +02:00
padding: 5px 5px 5px 5px;
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;
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;
2018-01-07 21:42:19 +01:00
}
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,
select: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,
2019-12-23 23:56:57 +01:00
select: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);
2022-03-29 21:41:46 +02:00
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,
2022-03-08 23:34:10 +01:00
select:active {
box-shadow: inset 4px 4px 6px var(--shadow_color);
/* Exactly 4px offset compared to the inactive padding to give a depth effect */
2021-08-18 13:00:07 +02:00
padding: 9px 1px 1px 9px;
2018-01-07 21:42:19 +01:00
}
2022-03-08 23:34:10 +01:00
.button_highlight {
2022-03-13 15:42:32 +01:00
background: var(--highlight_background) !important;
2022-03-08 23:34:10 +01:00
color: var(--highlight_text_color) !important;
}
2022-03-08 23:34:10 +01:00
.button_red {
background: var(--danger_color) !important;
color: var(--danger_text_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,
select:disabled,
select.disabled {
2022-03-29 21:41:46 +02:00
color: var(--input_disabled_text);
box-shadow: none;
transition: none;
padding: 4px 5px 4px 5px;
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 {
margin: .5em .4em 0 .4em;
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,
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;
margin: 3px;
/* Same as button, to make them align nicely */
2018-01-07 21:42:19 +01:00
border: none;
2022-01-10 21:59:07 +01:00
border-radius: 6px;
2022-03-29 21:41:46 +02:00
background: var(--input_background);
2018-01-07 21:42:19 +01:00
padding: 3px 5px;
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,
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,
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(--highlight_color);
2017-11-10 12:39:55 +01:00
}
2021-11-26 20:21:39 +01:00
textarea:disabled,
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
/* 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 {
2022-03-30 19:35:26 +02:00
background-color: var(--body_color);
2020-01-27 16:56:16 +01:00
}
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-button:single-button {
2022-03-30 19:35:26 +02:00
background-color: var(--body_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
::-webkit-scrollbar-button:single-button:vertical:decrement {
display: none;
/* border-width: 0 8px 8px 8px; */
/* border-color: transparent transparent var(--scrollbar_foreground_color) transparent; */
2020-01-27 16:56:16 +01:00
}
/* ::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
2020-01-27 16:56:16 +01:00
border-color: transparent transparent var(--scrollbar_hover_color) transparent;
} */
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-button:single-button:vertical:increment {
display: none;
/* border-width: 8px 8px 0 8px; */
/* border-color: var(--scrollbar_foreground_color) transparent transparent transparent; */
2020-01-27 16:56:16 +01:00
}
/* ::-webkit-scrollbar-button:vertical:single-button:increment:hover {
2020-01-27 16:56:16 +01:00
border-color: var(--scrollbar_hover_color) transparent transparent transparent;
} */
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-button:single-button:horizontal:decrement {
display: none;
/* border-width: 8px 8px 8px 0px; */
/* border-color: transparent var(--scrollbar_foreground_color) transparent transparent; */
2020-01-27 16:56:16 +01:00
}
/* ::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
2020-01-27 16:56:16 +01:00
border-color: transparent var(--scrollbar_hover_color) transparent transparent;
} */
2020-01-27 16:56:16 +01:00
::-webkit-scrollbar-button:single-button:horizontal:increment {
display: none;
/* border-width: 8px 0px 8px 8px; */
/* border-color: transparent transparent transparent var(--scrollbar_foreground_color); */
2020-01-27 16:56:16 +01:00
}
/* ::-webkit-scrollbar-button:horizontal:single-button:increment:hover {
2020-01-27 16:56:16 +01:00
border-color: transparent transparent transparent var(--scrollbar_hover_color);
} */
2020-01-27 16:56:16 +01:00
/* Firefox Scrollbar */
* {
2022-03-30 19:35:26 +02:00
scrollbar-color: var(--scrollbar_foreground_color) var(--body_color);
2020-01-27 16:56:16 +01:00
}