2018-06-20 23:47:47 +02:00
|
|
|
/*
|
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'),
|
|
|
|
url(/res/misc/MaterialIcons-Regular.ttf) format('truetype');
|
|
|
|
}
|
|
|
|
.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;
|
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;
|
|
|
|
}
|
2020-10-19 18:10:54 +02:00
|
|
|
.icon.small { font-size: 1.2em; }
|
|
|
|
a > svg { vertical-align: middle; }
|
2018-11-06 21:39:18 +01:00
|
|
|
|
|
|
|
/* Page rendering configuration */
|
2021-11-27 10:16:32 +01:00
|
|
|
*, *::before, *::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2022-01-11 13:28:22 +01:00
|
|
|
html, body {
|
|
|
|
/* This makes sure that no scrollbar shows up when the menu is open on small screens*/
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
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-01-17 12:37:37 +01:00
|
|
|
line-height: 1.6em;
|
2018-01-07 21:42:19 +01:00
|
|
|
color: var(--text_color);
|
2022-01-04 15:55:20 +01:00
|
|
|
background-color: var(--layer_1_color);
|
2019-07-06 18:41:16 +02:00
|
|
|
padding: 0;
|
2017-11-10 12:39:55 +01:00
|
|
|
}
|
2022-01-11 13:28:22 +01:00
|
|
|
header, footer, .checkers {
|
2022-01-17 17:40:03 +01:00
|
|
|
background-image: url("{{.BackgroundPattern}}");
|
2021-08-17 18:02:46 +02:00
|
|
|
background-color: var(--layer_1_color);
|
|
|
|
background-repeat: repeat;
|
|
|
|
background-blend-mode: luminosity;
|
|
|
|
}
|
2022-01-11 13:28:22 +01:00
|
|
|
header, footer {
|
2022-02-21 21:53:58 +01:00
|
|
|
box-shadow: inset 1px 1px 8px 0 var(--shadow_color);
|
2022-01-04 15:55:20 +01:00
|
|
|
border-radius: 12px;
|
2022-01-03 14:02:50 +01:00
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2022-01-11 13:28:22 +01:00
|
|
|
header > h1 {
|
2022-02-21 21:53:58 +01:00
|
|
|
text-shadow: 1px 1px 4px var(--shadow_color);
|
|
|
|
margin-top: 69px;
|
|
|
|
margin-bottom: 69px;
|
2022-01-11 13:28:22 +01:00
|
|
|
}
|
2022-02-21 21:53:58 +01:00
|
|
|
footer > .footer_content {
|
2022-02-26 15:36:35 +01:00
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
2022-02-21 21:53:58 +01:00
|
|
|
display: inline-block;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 300px 0 69px 0;
|
2022-01-11 13:28:22 +01:00
|
|
|
}
|
2017-11-10 12:39:55 +01:00
|
|
|
|
2018-01-18 23:33:44 +01:00
|
|
|
/* 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;
|
|
|
|
padding: 10px 20px 15px 10px;
|
|
|
|
font-size: 2em;
|
2019-09-16 23:50:57 +02:00
|
|
|
margin: 0;
|
2020-01-28 12:51:21 +01:00
|
|
|
background: #3f3f3f;
|
2019-09-17 23:38:40 +02:00
|
|
|
background: var(--input_color);
|
|
|
|
border-radius: 0;
|
|
|
|
border-bottom-right-radius: 90%;
|
2022-01-03 14:02:50 +01:00
|
|
|
box-shadow: 0 0 6px -2px var(--shadow_color);
|
2017-11-10 12:39:55 +01:00
|
|
|
}
|
2020-10-19 22:29:47 +02:00
|
|
|
.button_toggle_navigation:active {
|
|
|
|
padding: 15px 15px 10px 15px;
|
|
|
|
}
|
|
|
|
|
2019-09-18 22:23:12 +02:00
|
|
|
.page_navigation {
|
2019-09-19 09:35:09 +02:00
|
|
|
position: fixed;
|
|
|
|
backface-visibility: hidden;
|
2022-02-07 12:00:22 +01:00
|
|
|
width: 17em;
|
2019-09-18 23:17:12 +02:00
|
|
|
height: 100%;
|
2019-09-18 22:23:12 +02:00
|
|
|
left: 0;
|
2019-09-16 23:50:57 +02:00
|
|
|
float: left;
|
2022-01-03 14:02:50 +01:00
|
|
|
padding: 20px 10px 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 {
|
2019-09-16 23:50:57 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2019-09-19 09:35:09 +02:00
|
|
|
height: auto;
|
2022-02-07 12:00:22 +01:00
|
|
|
left: 17em;
|
2019-09-16 23:50:57 +02:00
|
|
|
min-width: 300px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center; /* Center the header and body */
|
2019-09-17 23:38:40 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2022-01-03 14:02:50 +01:00
|
|
|
background-color: var(--layer_2_color);
|
2022-01-04 15:55:20 +01:00
|
|
|
border-top-left-radius: 12px;
|
|
|
|
border-bottom-left-radius: 12px;
|
|
|
|
padding: 8px;
|
2019-09-16 23:50:57 +02:00
|
|
|
transition: left 0.5s;
|
|
|
|
}
|
2022-02-07 12:00:22 +01:00
|
|
|
@media (max-width: 1200px) {
|
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 {
|
2019-09-16 23:50:57 +02:00
|
|
|
left: 0;
|
2019-09-19 09:43:31 +02:00
|
|
|
width: 100%;
|
2022-01-04 15:55:20 +01:00
|
|
|
padding: 4px;
|
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;
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 1000px;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
2019-07-16 22:07:10 +02:00
|
|
|
padding: 0;
|
2017-11-10 12:39:55 +01:00
|
|
|
text-align: left;
|
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-01-17 17:40:03 +01:00
|
|
|
color: var(--layer_1_text_color);
|
2018-01-07 23:05:51 +01:00
|
|
|
text-align: center;
|
2021-08-18 13:00:07 +02:00
|
|
|
padding: 4px;
|
2019-09-17 23:38:40 +02:00
|
|
|
margin: 0.3em 15px 0.3em 15px;
|
2022-01-10 21:59:07 +01:00
|
|
|
font-family: 'Open Sans Light', sans-serif;
|
2022-01-03 14:02:50 +01:00
|
|
|
font-weight: lighter;
|
|
|
|
font-size: 1.5em;
|
2019-09-17 23:38:40 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
transition: background-color 0.5s;
|
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 {
|
2019-09-17 23:38:40 +02:00
|
|
|
background-color: var(--input_color);
|
2019-09-18 22:23:12 +02:00
|
|
|
color: var(--input_text_color);
|
2019-09-17 23:38:40 +02:00
|
|
|
text-decoration: none;
|
2018-01-07 23:05:51 +01:00
|
|
|
}
|
|
|
|
|
2018-01-07 21:42:19 +01:00
|
|
|
.highlight_dark,
|
|
|
|
.highlight_middle,
|
|
|
|
.highlight_light,
|
2021-06-28 12:52:08 +02:00
|
|
|
.highlight_lighter,
|
2018-01-07 21:42:19 +01:00
|
|
|
.highlight_green,
|
|
|
|
.highlight_blue,
|
2021-09-23 20:38:17 +02:00
|
|
|
.highlight_yellow,
|
2019-11-21 20:25:06 +01:00
|
|
|
.highlight_red,
|
|
|
|
.highlight_1,
|
|
|
|
.highlight_2,
|
2021-06-28 12:52:08 +02:00
|
|
|
.highlight_3,
|
|
|
|
.highlight_4 {
|
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
|
|
|
}
|
2019-11-21 20:25:06 +01:00
|
|
|
.highlight_dark, .highlight_1 {
|
2019-09-16 23:50:57 +02:00
|
|
|
background-color: var(--layer_1_color);
|
2022-01-17 17:40:03 +01:00
|
|
|
color: var(--layer_1_text_color);
|
2020-03-10 17:06:52 +01:00
|
|
|
}
|
2019-11-21 20:25:06 +01:00
|
|
|
.highlight_middle, .highlight_2 {
|
2019-09-16 23:50:57 +02:00
|
|
|
background-color: var(--layer_2_color);
|
2020-03-10 17:06:52 +01:00
|
|
|
}
|
2019-11-21 20:25:06 +01:00
|
|
|
.highlight_light, .highlight_3 {
|
2019-09-16 23:50:57 +02:00
|
|
|
background-color: var(--layer_3_color);
|
2020-03-10 17:06:52 +01:00
|
|
|
}
|
2021-06-28 12:52:08 +02:00
|
|
|
.highlight_lighter, .highlight_4 {
|
|
|
|
background-color: var(--layer_4_color);
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
.highlight_yellow {
|
|
|
|
background-color: rgba(255, 255, 0, 0.05);
|
|
|
|
border-color: #A0A000;
|
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 {
|
|
|
|
border-top-width: 1px;
|
|
|
|
border-top-style: solid;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
2019-07-06 18:41:16 +02:00
|
|
|
}
|
2018-01-07 21:42:19 +01:00
|
|
|
|
|
|
|
/* Common elements */
|
|
|
|
|
2022-01-05 23:14:59 +01:00
|
|
|
h1, h2, h3, h4, h5, h6, .light {
|
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 {
|
|
|
|
font-size: 2.5em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 2em;
|
|
|
|
border-bottom: 1px var(--layer_4_color_border) solid;
|
|
|
|
}
|
|
|
|
h3 {
|
2022-01-03 14:02:50 +01:00
|
|
|
font-size: 1.75em;
|
2020-03-10 17:06:52 +01:00
|
|
|
border-bottom: 1px var(--layer_3_color_border) solid;
|
|
|
|
}
|
2021-01-08 00:48:07 +01:00
|
|
|
h4 {
|
2022-01-03 14:02:50 +01:00
|
|
|
font-size: 1.50em;
|
2021-01-08 00:48:07 +01:00
|
|
|
border-bottom: 1px var(--layer_2_color_border) solid;
|
|
|
|
}
|
|
|
|
h5 {
|
2022-01-03 14:02:50 +01:00
|
|
|
font-size: 1.25em;
|
2021-01-08 00:48:07 +01:00
|
|
|
border-bottom: 1px var(--layer_1_color_border) solid;
|
|
|
|
}
|
2022-01-03 14:02:50 +01:00
|
|
|
h6 {
|
|
|
|
font-size: 1em;
|
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;
|
2019-09-17 23:38:40 +02:00
|
|
|
background-color: var(--input_color);
|
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
|
|
|
|
2018-07-09 21:41:17 +02:00
|
|
|
.form{
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
text-align: left;
|
2021-09-23 22:16:53 +02:00
|
|
|
max-width: 30em;
|
|
|
|
width: 100%;
|
2018-07-09 21:41:17 +02:00
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
.table_scroll > table {
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-09-16 23:50:57 +02:00
|
|
|
tr:not(.form) {border-bottom: 1px var(--layer_2_color_border) solid;}
|
2022-01-17 12:37:37 +01:00
|
|
|
tr > td, tr > th {padding: 0.2em 0.5em;}
|
2019-02-07 23:09:54 +01:00
|
|
|
@media(max-width: 30em) {
|
2020-01-21 17:01:26 +01:00
|
|
|
/* Forms will be stacked on small screens */
|
|
|
|
tr.form > td {
|
2018-08-13 22:02:07 +02:00
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2018-07-09 21:41:17 +02:00
|
|
|
|
2020-08-27 14:41:26 +02:00
|
|
|
pre {
|
|
|
|
margin: 16px;
|
2019-09-16 23:50:57 +02:00
|
|
|
border-bottom: 1px var(--layer_2_color_border) solid;
|
2020-07-29 16:29:25 +02:00
|
|
|
overflow-x: auto;
|
2018-07-09 21:41:17 +02:00
|
|
|
}
|
|
|
|
|
2018-10-08 15:10:55 +02:00
|
|
|
.file_button{
|
2018-01-18 23:33:44 +01:00
|
|
|
position: relative;
|
2021-01-11 21:43:04 +01:00
|
|
|
width: 400px;
|
2018-01-18 23:33:44 +01:00
|
|
|
max-width: 90%;
|
2019-08-11 17:16:18 +02:00
|
|
|
height: 3.6em;
|
2021-08-18 13:00:07 +02:00
|
|
|
margin: 8px;
|
2018-01-18 23:33:44 +01:00
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
2021-08-17 18:02:46 +02:00
|
|
|
border-radius: 6px;
|
2019-07-17 23:19:57 +02:00
|
|
|
box-shadow: 2px 2px 8px -3px var(--shadow_color);
|
2020-03-10 18:04:30 +01:00
|
|
|
background-color: var(--layer_3_color);
|
2019-04-10 20:33:14 +02:00
|
|
|
color: #bfbfbf; /* Fallback */
|
2018-01-18 23:33:44 +01:00
|
|
|
color: var(--text_color);
|
|
|
|
word-break: break-all;
|
|
|
|
text-align: left;
|
2019-07-18 19:53:09 +02:00
|
|
|
line-height: 1.2em;
|
2018-07-08 14:40:20 +02:00
|
|
|
display: inline-block;
|
2019-02-20 22:46:35 +01:00
|
|
|
transition: box-shadow 0.3s, opacity 2s;
|
2019-07-18 19:53:09 +02:00
|
|
|
white-space: normal;
|
2019-07-18 20:01:33 +02:00
|
|
|
text-overflow: ellipsis;
|
2020-08-11 20:25:22 +02:00
|
|
|
text-decoration: none;
|
2019-07-18 20:24:58 +02:00
|
|
|
vertical-align: top;
|
2020-01-20 19:55:51 +01:00
|
|
|
cursor: pointer;
|
2018-01-18 23:33:44 +01:00
|
|
|
}
|
2019-07-18 19:53:09 +02:00
|
|
|
.file_button:hover,
|
|
|
|
.file_button_selected {
|
2020-07-07 21:19:16 +02:00
|
|
|
box-shadow: 0 0 2px 2px var(--highlight_color), inset 0 0 1px 1px var(--highlight_color);
|
2018-10-08 15:10:55 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2018-01-18 23:33:44 +01:00
|
|
|
.file_button > img{
|
2019-07-18 19:53:09 +02:00
|
|
|
max-height: 100%;
|
|
|
|
max-width: 25%;
|
2018-01-18 23:33:44 +01:00
|
|
|
margin-right: 5px;
|
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
}
|
2020-01-20 12:43:43 +01:00
|
|
|
.file_button > .file_button_title{
|
2022-01-17 17:40:03 +01:00
|
|
|
color: var(--link_color);
|
2020-01-20 12:43:43 +01:00
|
|
|
}
|
2018-01-18 23:33:44 +01:00
|
|
|
|
2020-07-29 16:29:25 +02:00
|
|
|
/* API documentation markup */
|
|
|
|
|
|
|
|
details {
|
|
|
|
border-top: 1px solid;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
margin: 15px 0 15px 0;
|
|
|
|
}
|
|
|
|
details > summary {
|
|
|
|
padding: 2px;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
details > summary > .method {
|
|
|
|
display: inline-block;
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
details > div {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
details.request_get { border-color: #3636ff; background-color: rgba(32, 32, 255, 0.2); }
|
|
|
|
details.request_post { border-color: #00d000; background-color: rgba(0, 255, 0, 0.05); }
|
|
|
|
details.request_delete { border-color: #B00000; background-color: rgba(255, 0, 0, 0.05); }
|
|
|
|
details.request_put { border-color: #B06000; background-color: rgba(255, 128, 0, 0.05); }
|
|
|
|
details.request_patch { border-color: #6000B0; background-color: rgba(128, 0, 255, 0.1); }
|
|
|
|
|
2017-11-10 12:39:55 +01:00
|
|
|
/* Form fields */
|
|
|
|
|
2018-07-09 21:41:17 +02:00
|
|
|
.form_input {width: 100%;}
|
2018-06-20 23:47:47 +02:00
|
|
|
|
2018-01-07 21:42:19 +01:00
|
|
|
/* BUTTONS */
|
|
|
|
button,
|
2018-07-09 23:19:16 +02:00
|
|
|
.button,
|
2018-06-20 23:47:47 +02:00
|
|
|
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 {
|
2018-07-09 23:19:16 +02:00
|
|
|
display: inline-block;
|
2022-01-10 21:59:07 +01:00
|
|
|
border-radius: 6px;
|
2019-07-17 23:19:57 +02:00
|
|
|
margin: 3px;
|
2018-07-11 22:46:44 +02:00
|
|
|
background: linear-gradient(var(--input_color), var(--input_color_dark));
|
2021-08-18 13:00:07 +02:00
|
|
|
padding: 5px 5px 5px 5px;
|
2021-08-17 18:24:21 +02:00
|
|
|
box-shadow: 1px 1px 5px -3px var(--shadow_color);
|
2019-02-19 12:57:31 +00:00
|
|
|
overflow: hidden;
|
2018-07-11 22:46:44 +02:00
|
|
|
color: var(--input_text_color);
|
2018-01-07 21:42:19 +01:00
|
|
|
vertical-align: middle;
|
2021-08-18 13:00:07 +02:00
|
|
|
align-items: center;
|
2018-01-07 21:42:19 +01:00
|
|
|
cursor: pointer;
|
2020-11-11 00:00:54 +01:00
|
|
|
transition: padding 0.2s, box-shadow 0.2s;
|
2022-01-11 18:53:01 +01:00
|
|
|
|
|
|
|
/* Remove default styles set by the user-agent */
|
|
|
|
outline: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: normal;
|
2022-01-17 12:37:37 +01:00
|
|
|
line-height: 1;
|
2022-01-11 18:53:01 +01:00
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: none;
|
|
|
|
border: none;
|
2018-01-07 21:42:19 +01:00
|
|
|
}
|
|
|
|
button:hover,
|
2018-07-09 23:19:16 +02:00
|
|
|
.button:hover,
|
2018-06-20 23:47:47 +02:00
|
|
|
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,
|
2018-06-20 23:47:47 +02:00
|
|
|
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 {
|
2019-04-10 20:33:14 +02:00
|
|
|
color: #bfbfbf; /* Fallback */
|
2018-07-11 22:46:44 +02:00
|
|
|
color: var(--input_text_color);
|
2018-07-09 23:19:16 +02:00
|
|
|
text-decoration: none;
|
2019-07-17 23:19:57 +02:00
|
|
|
box-shadow: var(--highlight_border), 2px 2px 6px -3px var(--shadow_color);
|
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,
|
2018-06-20 23:47:47 +02:00
|
|
|
input[type="submit"]:active,
|
2018-01-07 21:42:19 +01:00
|
|
|
input[type="button"]:active,
|
|
|
|
input[type="color"]:active,
|
|
|
|
select:active{
|
2018-07-11 22:46:44 +02:00
|
|
|
background: linear-gradient(var(--input_color_dark), var(--input_color));
|
2019-07-06 18:41:16 +02:00
|
|
|
box-shadow: inset 4px 4px 8px var(--shadow_color);
|
2020-11-11 00:00:54 +01:00
|
|
|
/* 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
|
|
|
}
|
2019-07-17 23:19:57 +02:00
|
|
|
.button_full_width {width: calc(100% - 6px);}
|
2018-07-11 22:46:44 +02:00
|
|
|
.button_highlight {background: linear-gradient(var(--highlight_color), var(--highlight_color_dark)) !important; color: var(--highlight_text_color) !important;}
|
|
|
|
.button_highlight:active{background: linear-gradient(var(--highlight_color_dark), var(--highlight_color)) !important; color: var(--highlight_text_color) !important;}
|
2019-07-17 23:19:57 +02:00
|
|
|
.button_red {background: linear-gradient(var(--danger_color), var(--danger_color_dark)) !important; color: var(--highlight_text_color) !important;}
|
|
|
|
.button_red:active {background: linear-gradient(var(--danger_color_dark), var(--danger_color)) !important; color: var(--highlight_text_color) !important;}
|
2017-11-10 12:39:55 +01:00
|
|
|
|
2020-08-02 17:52:25 +02: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-01-18 20:58:57 +01:00
|
|
|
background: var(--input_disabled_color);
|
2020-12-01 23:01:21 +01:00
|
|
|
color: var(--input_color);
|
2020-08-02 17:52:25 +02:00
|
|
|
box-shadow: none;
|
2020-12-01 23:01:21 +01:00
|
|
|
transition: none;
|
|
|
|
padding: 4px 5px 4px 5px;
|
2021-06-22 17:14:21 +02:00
|
|
|
cursor: not-allowed;
|
2020-08-02 17:52:25 +02:00
|
|
|
}
|
2022-01-17 15:46:59 +01:00
|
|
|
button > i,
|
2022-02-07 12:00:22 +01:00
|
|
|
.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
|
|
|
}
|
2020-08-02 17:52:25 +02: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
|
|
|
background-color: var(--layer_1_color);
|
2022-01-04 15:55:20 +01:00
|
|
|
box-shadow: inset 0 -10px 8px -12px var(--shadow_color);
|
2021-09-23 20:38:17 +02:00
|
|
|
}
|
|
|
|
.tab_bar > button,
|
|
|
|
.tab_bar > .button {
|
|
|
|
margin: 10px 0 0 10px;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
.tab_bar > *:last-child {
|
|
|
|
margin-right: 10px;
|
2021-09-21 21:39:28 +02:00
|
|
|
}
|
2021-08-17 18:02:46 +02:00
|
|
|
|
2018-01-07 21:42:19 +01:00
|
|
|
/* Dropdown list of the select tag */
|
2019-04-10 20:33:14 +02:00
|
|
|
option{
|
|
|
|
background-color: var(--input_color_dark);
|
|
|
|
color: #bfbfbf; /* Fallback */
|
|
|
|
color: var(--text_color);
|
|
|
|
}
|
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"],
|
2021-05-11 20:29:56 +02:00
|
|
|
input[type="number"],
|
|
|
|
input[type="date"]{
|
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;
|
2018-07-11 22:46:44 +02:00
|
|
|
background: linear-gradient(var(--input_color_dark), var(--input_color));
|
2021-08-17 18:02:46 +02:00
|
|
|
box-shadow: inset 1px 1px 4px -2px var(--shadow_color);
|
2018-01-07 21:42:19 +01:00
|
|
|
padding: 3px 5px;
|
2018-07-11 22:46:44 +02:00
|
|
|
color: var(--input_text_color);
|
2019-02-20 22:46:35 +01:00
|
|
|
font-size: 1em;
|
2018-01-07 21:42:19 +01:00
|
|
|
outline: 0;
|
2019-02-19 10:28:40 +01:00
|
|
|
transition: box-shadow 0.3s;
|
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,
|
2021-05-11 20:29:56 +02:00
|
|
|
input[type="date"]:active,
|
2018-01-07 21:42:19 +01:00
|
|
|
textarea:focus,
|
|
|
|
input[type="text"]:focus,
|
|
|
|
input[type="password"]:focus,
|
|
|
|
input[type="email"]:focus,
|
2021-05-11 20:29:56 +02:00
|
|
|
input[type="number"]:focus,
|
|
|
|
input[type="date"]:focus{
|
2019-07-17 23:19:57 +02:00
|
|
|
box-shadow: var(--highlight_border), inset 3px 3px 6px -3px var(--shadow_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{
|
2022-01-18 20:58:57 +01:00
|
|
|
background: var(--input_disabled_color);
|
2021-11-26 20:21:39 +01:00
|
|
|
color: var(--input_color);
|
|
|
|
box-shadow: none;
|
|
|
|
transition: none;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2017-11-10 12:39:55 +01:00
|
|
|
|
|
|
|
input[type=file]{
|
|
|
|
visibility: hidden;
|
|
|
|
position: static;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
2020-01-27 16:56:16 +01:00
|
|
|
|
|
|
|
/* Webkit Scrollbars */
|
|
|
|
|
|
|
|
::-webkit-scrollbar{
|
|
|
|
width: 18px; /* for vertical scrollbars */
|
|
|
|
height: 18px; /* for horizontal scrollbars */
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
background: var(--scrollbar_background_color);
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background-color: var(--scrollbar_foreground_color);
|
|
|
|
border-radius: 10px;
|
|
|
|
border: 5px solid var(--scrollbar_background_color);
|
2020-02-07 16:21:43 +01:00
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
2020-01-27 16:56:16 +01:00
|
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
|
|
background-color: var(--scrollbar_hover_color);
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-corner{
|
|
|
|
background-color: var(--scrollbar_background_color);
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-button:single-button {
|
|
|
|
background-color: var(--scrollbar_background_color);
|
|
|
|
display: block;
|
|
|
|
border-style: solid;
|
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-button:single-button:vertical:decrement {
|
2022-01-11 00:05:58 +01:00
|
|
|
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
|
|
|
}
|
2022-01-11 00:05:58 +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;
|
2022-01-11 00:05:58 +01:00
|
|
|
} */
|
2020-01-27 16:56:16 +01:00
|
|
|
::-webkit-scrollbar-button:single-button:vertical:increment {
|
2022-01-11 00:05:58 +01:00
|
|
|
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
|
|
|
}
|
2022-01-11 00:05:58 +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;
|
2022-01-11 00:05:58 +01:00
|
|
|
} */
|
2020-01-27 16:56:16 +01:00
|
|
|
::-webkit-scrollbar-button:single-button:horizontal:decrement {
|
2022-01-11 00:05:58 +01:00
|
|
|
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
|
|
|
}
|
2022-01-11 00:05:58 +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;
|
2022-01-11 00:05:58 +01:00
|
|
|
} */
|
2020-01-27 16:56:16 +01:00
|
|
|
::-webkit-scrollbar-button:single-button:horizontal:increment {
|
2022-01-11 00:05:58 +01:00
|
|
|
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
|
|
|
}
|
2022-01-11 00:05:58 +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);
|
2022-01-11 00:05:58 +01:00
|
|
|
} */
|
2020-01-27 16:56:16 +01:00
|
|
|
|
|
|
|
/* Firefox Scrollbar */
|
|
|
|
|
|
|
|
* {
|
2022-01-11 00:05:58 +01:00
|
|
|
scrollbar-color: var(--scrollbar_foreground_color) var(--scrollbar_background_color);
|
2020-01-27 16:56:16 +01:00
|
|
|
}
|