765 lines
22 KiB
CSS
765 lines
22 KiB
CSS
/*! 98.css custom build - https://github.com/jdan/98.css */
|
|
/**
|
|
* 98.css
|
|
* Copyright (c) 2020 Jordan Scales <thatjdanisso.cool>
|
|
* https://github.com/jdan/98.css/blob/main/LICENSE
|
|
*/
|
|
|
|
:root {
|
|
/* Color */
|
|
--surface: var(--ButtonFace, #c0c0c0);
|
|
--button-highlight: var(--ButtonHilight, #ffffff);
|
|
--button-face: var(--ButtonFace, #dfdfdf);
|
|
--button-shadow: var(--ButtonShadow, #808080);
|
|
--window-frame: var(--WindowFrame, #0a0a0a);
|
|
--dialog-blue: var(--ActiveTitle, #000080);
|
|
--dialog-blue-light: var(--GradientActiveTitle, #1084d0);
|
|
--dialog-gray: var(--InactiveTitle, #808080);
|
|
--dialog-gray-light: var(--GradientInactiveTitle, #b5b5b5);
|
|
--link-blue: #0000ff;
|
|
|
|
/* Spacing */
|
|
--element-spacing: 8px;
|
|
--grouped-button-spacing: 4px;
|
|
--grouped-element-spacing: 6px;
|
|
--radio-width: 12px;
|
|
--checkbox-width: 13px;
|
|
--radio-label-spacing: 6px;
|
|
--range-track-height: 4px;
|
|
--range-spacing: 10px;
|
|
|
|
/* Some detailed computations for radio buttons and checkboxes */
|
|
--radio-total-width-precalc: var(--radio-width) + var(--radio-label-spacing);
|
|
--radio-total-width: calc(var(--radio-total-width-precalc));
|
|
--radio-left: calc(-1 * var(--radio-total-width-precalc));
|
|
--radio-dot-width: 4px;
|
|
--radio-dot-top: calc(var(--radio-width) / 2 - var(--radio-dot-width) / 2);
|
|
--radio-dot-left: calc(
|
|
-1 * (var(--radio-total-width-precalc)) + var(--radio-width) / 2 - var(
|
|
--radio-dot-width
|
|
) / 2
|
|
);
|
|
|
|
--checkbox-total-width-precalc: var(--checkbox-width) +
|
|
var(--radio-label-spacing);
|
|
--checkbox-total-width: calc(var(--checkbox-total-width-precalc));
|
|
--checkbox-left: calc(-1 * var(--checkbox-total-width-precalc));
|
|
--checkmark-width: 7px;
|
|
--checkmark-top: 3px;
|
|
--checkmark-left: 3px;
|
|
|
|
/* Borders */
|
|
--border-width: 1px;
|
|
--border-raised-outer: inset -1px -1px var(--window-frame),
|
|
inset 1px 1px var(--button-highlight);
|
|
--border-raised-inner: inset -2px -2px var(--button-shadow),
|
|
inset 2px 2px var(--button-face);
|
|
--border-sunken-outer: inset -1px -1px var(--button-highlight),
|
|
inset 1px 1px var(--window-frame);
|
|
--border-sunken-inner: inset -2px -2px var(--button-face),
|
|
inset 2px 2px var(--button-shadow);
|
|
|
|
/* Window borders flip button-face and button-highlight */
|
|
--border-window-outer: inset -1px -1px var(--window-frame),
|
|
inset 1px 1px var(--button-face);
|
|
--border-window-inner: inset -2px -2px var(--button-shadow),
|
|
inset 2px 2px var(--button-highlight);
|
|
|
|
/* Field borders (checkbox, input, etc) flip window-frame and button-shadow */
|
|
--border-field: inset -1px -1px var(--button-highlight),
|
|
inset 1px 1px var(--button-shadow), inset -2px -2px var(--button-face),
|
|
inset 2px 2px var(--window-frame);
|
|
}
|
|
|
|
/*
|
|
@font-face {
|
|
font-family: "Pixelated MS Sans Serif";
|
|
src: url("fonts/converted/ms_sans_serif.woff") format("woff");
|
|
src: url("fonts/converted/ms_sans_serif.woff2") format("woff2");
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Pixelated MS Sans Serif";
|
|
src: url("fonts/converted/ms_sans_serif_bold.woff") format("woff");
|
|
src: url("fonts/converted/ms_sans_serif_bold.woff2") format("woff2");
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial;
|
|
font-size: 12px;
|
|
color: #222222;
|
|
}
|
|
|
|
button,
|
|
label,
|
|
input,
|
|
textarea,
|
|
select,
|
|
option,
|
|
ul.tree-view,
|
|
.window,
|
|
.title-bar {
|
|
font-family: "Pixelated MS Sans Serif", Arial;
|
|
-webkit-font-smoothing: none;
|
|
font-size: 11px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 5rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
u {
|
|
text-decoration: none;
|
|
border-bottom: 0.5px solid #222222;
|
|
}
|
|
|
|
button {
|
|
box-sizing: border-box;
|
|
border: none;
|
|
background: var(--surface);
|
|
box-shadow: var(--border-raised-outer), var(--border-raised-inner);
|
|
border-radius: 0;
|
|
|
|
min-width: 75px;
|
|
min-height: 23px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.vertical-bar {
|
|
width: 4px;
|
|
height: 20px;
|
|
background: #c0c0c0;
|
|
box-shadow: var(--border-raised-outer), var(--border-raised-inner);
|
|
}
|
|
|
|
button:not(:disabled):active {
|
|
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
|
|
padding: 2px 11px 0 13px;
|
|
}
|
|
|
|
@media (not(hover)) {
|
|
button:not(:disabled):hover {
|
|
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
|
|
}
|
|
}
|
|
|
|
button:focus {
|
|
outline: 1px dotted #000000;
|
|
outline-offset: -4px;
|
|
}
|
|
|
|
button::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
|
|
:disabled,
|
|
:disabled + label {
|
|
color: var(--button-shadow);
|
|
}
|
|
|
|
button:disabled,
|
|
:disabled + label {
|
|
text-shadow: 1px 1px 0 var(--button-highlight);
|
|
}
|
|
|
|
.window {
|
|
box-shadow: var(--border-window-outer), var(--border-window-inner);
|
|
background: var(--surface);
|
|
padding: 3px;
|
|
}
|
|
|
|
.title-bar {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--dialog-blue),
|
|
var(--dialog-blue-light)
|
|
);
|
|
padding: 3px 2px 3px 3px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.title-bar.inactive {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--dialog-gray),
|
|
var(--dialog-gray-light)
|
|
);
|
|
}
|
|
|
|
.title-bar-text {
|
|
font-weight: bold;
|
|
color: white;
|
|
letter-spacing: 0;
|
|
margin-right: 24px;
|
|
}
|
|
|
|
.title-bar-controls {
|
|
display: flex;
|
|
}
|
|
|
|
.title-bar-controls button {
|
|
padding: 0;
|
|
display: block;
|
|
min-width: 16px;
|
|
min-height: 14px;
|
|
}
|
|
|
|
.title-bar-controls button:active {
|
|
padding: 0;
|
|
}
|
|
|
|
.title-bar-controls button:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.title-bar-controls button[aria-label="Minimize"] {
|
|
background-image: svg-load("./icon/minimize.svg");
|
|
background-repeat: no-repeat;
|
|
background-position: bottom 3px left 4px;
|
|
}
|
|
|
|
.title-bar-controls button[aria-label="Maximize"] {
|
|
background-image: svg-load("./icon/maximize.svg");
|
|
background-repeat: no-repeat;
|
|
background-position: top 2px left 3px;
|
|
}
|
|
|
|
.title-bar-controls button[aria-label="Restore"] {
|
|
background-image: svg-load("./icon/restore.svg");
|
|
background-repeat: no-repeat;
|
|
background-position: top 2px left 3px;
|
|
}
|
|
|
|
.title-bar-controls button[aria-label="Help"] {
|
|
background-image: svg-load("./icon/help.svg");
|
|
background-repeat: no-repeat;
|
|
background-position: top 2px left 5px;
|
|
}
|
|
|
|
.title-bar-controls button[aria-label="Close"] {
|
|
margin-left: 2px;
|
|
background-image: svg-load("./icon/close.svg");
|
|
background-repeat: no-repeat;
|
|
background-position: top 3px left 4px;
|
|
}
|
|
|
|
.status-bar {
|
|
margin: 0px 1px;
|
|
display: flex;
|
|
gap: 1px;
|
|
}
|
|
|
|
.status-bar-field {
|
|
box-shadow: inset -1px -1px #dfdfdf,
|
|
inset 1px 1px #808080;
|
|
flex-grow: 1;
|
|
padding: 2px 3px;
|
|
margin: 0;
|
|
}
|
|
|
|
.window-body {
|
|
margin: var(--element-spacing);
|
|
}
|
|
*/
|
|
|
|
fieldset {
|
|
border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' viewBox='0 0 5 5' fill='grey' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0H5V5H0V2H2V3H3V2H0' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0H4V4H0V1H1V3H3V1H0' fill='%23808080'/%3E %3C/svg%3E") 2;
|
|
padding: calc(2 * var(--border-width) + var(--element-spacing));
|
|
padding-block-start: var(--element-spacing);
|
|
margin: 0;
|
|
}
|
|
|
|
legend {
|
|
background: var(--surface);
|
|
}
|
|
|
|
/* .field-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
[class^="field-row"] + [class^="field-row"] {
|
|
margin-top: var(--grouped-element-spacing);
|
|
}
|
|
|
|
.field-row > * + * {
|
|
margin-left: var(--grouped-element-spacing);
|
|
}
|
|
|
|
.field-row-stacked {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.field-row-stacked * + * {
|
|
margin-top: var(--grouped-element-spacing);
|
|
}
|
|
|
|
.field-row label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
} */
|
|
|
|
input[type="radio"],
|
|
input[type="checkbox"] {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
margin: 0;
|
|
background: 100%;
|
|
position: fixed;
|
|
opacity: 0;
|
|
border: none;
|
|
}
|
|
|
|
input[type="radio"] + label,
|
|
input[type="checkbox"] + label {
|
|
line-height: 13px;
|
|
}
|
|
|
|
input[type="radio"] + label {
|
|
position: relative;
|
|
margin-right: var(--radio-total-width);
|
|
}
|
|
|
|
input[type="radio"] + label::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
right: calc(-1 * (var(--radio-total-width-precalc)));
|
|
display: inline-block;
|
|
width: var(--radio-width);
|
|
height: var(--radio-width);
|
|
margin-left: var(--radio-label-spacing);
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4V1H2V2H1V4H0V8H1V10H2V8H1V4H2V2H4V1H8V2H10V1H8V0Z' fill='%23808080'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4V2H2V3V4H1V8H2V9H3V8H2V4H3V3H4V2H8V3H10V2H8V1Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3H10V4H9V3ZM10 8V4H11V8H10ZM8 10V9H9V8H10V9V10H8ZM4 10V11H8V10H4ZM4 10V9H2V10H4Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2H10V4H11V8H10V10H8V11H4V10H2V11H4V12H8V11H10V10H11V8H12V4H11V2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2H8V3H9V4H10V8H9V9H8V10H4V9H3V8H2V4H3V3H4V2Z' fill='white'/%3E %3C/svg%3E");
|
|
}
|
|
|
|
input[type="radio"]:active + label::before {
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4V1H2V2H1V4H0V8H1V10H2V8H1V4H2V2H4V1H8V2H10V1H8V0Z' fill='%23808080'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4V2H2V3V4H1V8H2V9H3V8H2V4H3V3H4V2H8V3H10V2H8V1Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3H10V4H9V3ZM10 8V4H11V8H10ZM8 10V9H9V8H10V9V10H8ZM4 10V11H8V10H4ZM4 10V9H2V10H4Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2H10V4H11V8H10V10H8V11H4V10H2V11H4V12H8V11H10V10H11V8H12V4H11V2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2H8V3H9V4H10V8H9V9H8V10H4V9H3V8H2V4H3V3H4V2Z' fill='%23C0C0C0'/%3E %3C/svg%3E");
|
|
}
|
|
|
|
input[type="radio"]:checked + label::after {
|
|
content: "";
|
|
display: block;
|
|
width: var(--radio-dot-width);
|
|
height: var(--radio-dot-width);
|
|
top: var(--radio-dot-top);
|
|
right: var(--radio-dot-left);
|
|
position: absolute;
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' viewBox='0 0 4 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1V1H0V2V3H1V4H3V3H4V2V1H3V0Z' fill='black'/%3E %3C/svg%3E");
|
|
}
|
|
|
|
input[type="radio"]:focus + label,
|
|
input[type="checkbox"]:focus + label {
|
|
outline: 1px dotted #000000;
|
|
}
|
|
|
|
input[type="radio"][disabled] + label::before {
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H4V1H2V2H1V4H0V8H1V10H2V8H1V4H2V2H4V1H8V2H10V1H8V0Z' fill='%23808080'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 1H4V2H2V3V4H1V8H2V9H3V8H2V4H3V3H4V2H8V3H10V2H8V1Z' fill='black'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 3H10V4H9V3ZM10 8V4H11V8H10ZM8 10V9H9V8H10V9V10H8ZM4 10V11H8V10H4ZM4 10V9H2V10H4Z' fill='%23DFDFDF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 2H10V4H11V8H10V10H8V11H4V10H2V11H4V12H8V11H10V10H11V8H12V4H11V2Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2H8V3H9V4H10V8H9V9H8V10H4V9H3V8H2V4H3V3H4V2Z' fill='%23C0C0C0'/%3E %3C/svg%3E");
|
|
}
|
|
|
|
input[type="radio"][disabled]:checked + label::after {
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='4' height='4' viewBox='0 0 4 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 0H1V1H0V2V3H1V4H3V3H4V2V1H3V0Z' fill='%23808080'/%3E %3C/svg%3E");
|
|
}
|
|
|
|
input[type="checkbox"] + label {
|
|
position: relative;
|
|
margin-right: var(--checkbox-total-width);
|
|
}
|
|
|
|
input[type="checkbox"] + label::before {
|
|
content: "";
|
|
position: absolute;
|
|
right: calc(-1 * (var(--checkbox-total-width-precalc)));
|
|
display: inline-block;
|
|
width: var(--checkbox-width);
|
|
height: var(--checkbox-width);
|
|
background: var(--Window);
|
|
box-shadow: var(--border-field);
|
|
margin-left: var(--radio-label-spacing);
|
|
}
|
|
|
|
input[type="checkbox"]:active + label::before {
|
|
background: var(--surface);
|
|
}
|
|
|
|
input[type="checkbox"]:checked + label::after {
|
|
content: "";
|
|
display: block;
|
|
width: var(--checkmark-width);
|
|
height: var(--checkmark-width);
|
|
position: absolute;
|
|
top: var(--checkmark-top);
|
|
right: calc(
|
|
-1 * (var(--checkbox-total-width-precalc)) + var(--checkmark-left)
|
|
);
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' viewBox='0 0 7 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6V1H5V2H4V3H3V4H2V3H1V2H0V5H1V6H2V7H3V6H4V5H5V4H6V3H7V0Z' fill='black'/%3E %3C/svg%3E");
|
|
}
|
|
|
|
input[type="checkbox"][disabled] + label::before {
|
|
background: var(--surface);
|
|
}
|
|
|
|
input[type="checkbox"][disabled]:checked + label::after {
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='7' height='7' viewBox='0 0 7 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 0H6V1H5V2H4V3H3V4H2V3H1V2H0V5H1V6H2V7H3V6H4V5H5V4H6V3H7V0Z' fill='%23808080'/%3E %3C/svg%3E");
|
|
}
|
|
|
|
/*
|
|
input[type="text"],
|
|
input[type="password"],
|
|
input[type="email"],
|
|
select,
|
|
textarea {
|
|
padding: 3px 4px;
|
|
border: none;
|
|
box-shadow: var(--border-field);
|
|
background-color: var(--Window);
|
|
color: var(--WindowText);
|
|
box-sizing: border-box;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
input[type="email"],
|
|
select {
|
|
height: 21px;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
input[type="email"] {
|
|
/* For some reason descenders are getting cut off without this *.../
|
|
line-height: 2;
|
|
}
|
|
|
|
input[type="text"]:disabled,
|
|
input[type="password"]:disabled,
|
|
input[type="email"]:disabled,
|
|
textarea:disabled {
|
|
background-color: var(--surface);
|
|
}
|
|
|
|
select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
position: relative;
|
|
padding-right: 32px;
|
|
background-image: svg-load("./icon/button-down.svg");
|
|
background-position: top 2px right 2px;
|
|
background-repeat: no-repeat;
|
|
border-radius: 0;
|
|
}
|
|
|
|
select:focus,
|
|
input[type="text"]:focus,
|
|
input[type="password"]:focus,
|
|
input[type="email"]:focus,
|
|
textarea:focus {
|
|
outline: none;
|
|
}
|
|
*/
|
|
|
|
input[type="range"] {
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
background: transparent;
|
|
}
|
|
|
|
input[type="range"]:focus {
|
|
outline: none;
|
|
}
|
|
|
|
input[type="range"]::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
height: 21px;
|
|
width: 11px;
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' viewBox='0 0 11 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0V16H2V18H4V20H5V19H3V17H1V1H10V0Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1V16H2V17H3V18H4V19H6V18H7V17H8V16H9V1Z' fill='%23C0C7C8'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1H10V16H8V18H6V20H5V19H7V17H9Z' fill='%2387888F'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0H11V16H9V18H7V20H5V21H6V19H8V17H10Z' fill='black'/%3E %3C/svg%3E");
|
|
transform: translateY(-8px);
|
|
}
|
|
|
|
input[type="range"].has-box-indicator::-webkit-slider-thumb {
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' viewBox='0 0 11 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0V20H1V1H10V0Z' fill='white'/%3E %3Crect x='1' y='1' width='8' height='18' fill='%23C0C7C8'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1H10V20H1V19H9Z' fill='%2387888F'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0H11V21H0V20H10Z' fill='black'/%3E %3C/svg%3E");
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
input[type="range"]::-moz-range-thumb {
|
|
height: 21px;
|
|
width: 11px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' viewBox='0 0 11 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0V16H2V18H4V20H5V19H3V17H1V1H10V0Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1V16H2V17H3V18H4V19H6V18H7V17H8V16H9V1Z' fill='%23C0C7C8'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1H10V16H8V18H6V20H5V19H7V17H9Z' fill='%2387888F'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0H11V16H9V18H7V20H5V21H6V19H8V17H10Z' fill='black'/%3E %3C/svg%3E");
|
|
transform: translateY(2px);
|
|
}
|
|
|
|
input[type="range"].has-box-indicator::-moz-range-thumb {
|
|
background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' viewBox='0 0 11 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0V20H1V1H10V0Z' fill='white'/%3E %3Crect x='1' y='1' width='8' height='18' fill='%23C0C7C8'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1H10V20H1V19H9Z' fill='%2387888F'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0H11V21H0V20H10Z' fill='black'/%3E %3C/svg%3E");
|
|
transform: translateY(0px);
|
|
}
|
|
|
|
input[type="range"]::-webkit-slider-runnable-track {
|
|
width: 100%;
|
|
height: 2px;
|
|
box-sizing: border-box;
|
|
background: black;
|
|
border-left: 1px solid grey;
|
|
border-bottom: 1px solid grey;
|
|
box-shadow: 1px 0 0 white, 1px 1px 0 white, 0 1px 0 white, -1px 0 0 darkgrey,
|
|
-1px -1px 0 darkgrey, 0 -1px 0 darkgrey, -1px 1px 0 white, 1px -1px darkgrey;
|
|
}
|
|
|
|
input[type="range"]::-moz-range-track {
|
|
width: 100%;
|
|
height: 2px;
|
|
box-sizing: border-box;
|
|
background: black;
|
|
border-left: 1px solid grey;
|
|
border-bottom: 1px solid grey;
|
|
box-shadow: 1px 0 0 white, 1px 1px 0 white, 0 1px 0 white, -1px 0 0 darkgrey,
|
|
-1px -1px 0 darkgrey, 0 -1px 0 darkgrey, -1px 1px 0 white, 1px -1px darkgrey;
|
|
}
|
|
|
|
.is-vertical {
|
|
display: inline-block;
|
|
width: 4px;
|
|
height: 150px;
|
|
transform: translateY(50%);
|
|
}
|
|
|
|
.is-vertical > input[type="range"] {
|
|
width: 150px;
|
|
height: 4px;
|
|
margin: 0 var(--range-spacing) 0
|
|
calc(var(--grouped-element-spacing) + var(--range-spacing));
|
|
transform-origin: right;
|
|
transform: rotate(-270deg) translateX(calc(-1*(-50% + var(--element-spacing))));
|
|
}
|
|
|
|
.is-vertical > input[type="range"]::-webkit-slider-runnable-track {
|
|
border-right: 1px solid grey;
|
|
border-left: 0;
|
|
border-bottom: 1px solid grey;
|
|
box-shadow: -1px 0 0 white, -1px 1px 0 white, 0 1px 0 white, 1px 0 0 darkgrey,
|
|
1px -1px 0 darkgrey, 0 -1px 0 darkgrey, 1px 1px 0 white, -1px -1px darkgrey;
|
|
}
|
|
|
|
.is-vertical > input[type="range"]::-moz-range-track {
|
|
border-right: 1px solid grey;
|
|
border-left: 0;
|
|
border-bottom: 1px solid grey;
|
|
box-shadow: -1px 0 0 white, -1px 1px 0 white, 0 1px 0 white, 1px 0 0 darkgrey,
|
|
1px -1px 0 darkgrey, 0 -1px 0 darkgrey, 1px 1px 0 white, -1px -1px darkgrey;
|
|
}
|
|
|
|
.is-vertical > input[type="range"]::-webkit-slider-thumb {
|
|
transform: translateY(-8px) scaleX(-1);
|
|
}
|
|
|
|
.is-vertical > input[type="range"].has-box-indicator::-webkit-slider-thumb {
|
|
transform: translateY(-10px) scaleX(-1);
|
|
}
|
|
|
|
.is-vertical > input[type="range"]::-moz-range-thumb {
|
|
transform: translateY(2px) scaleX(-1);
|
|
}
|
|
|
|
.is-vertical > input[type="range"].has-box-indicator::-moz-range-thumb {
|
|
transform: translateY(0px) scaleX(-1);
|
|
}
|
|
|
|
/* select:focus {
|
|
color: var(--HilightText);
|
|
background-color: var(--Hilight);
|
|
}
|
|
select:focus option {
|
|
color: #000;
|
|
background-color: #fff;
|
|
}
|
|
|
|
select:active {
|
|
background-image: svg-load("./icon/button-down-active.svg");
|
|
} */
|
|
|
|
/* a {
|
|
color: var(--link-blue);
|
|
}
|
|
|
|
a:focus {
|
|
outline: 1px dotted var(--link-blue);
|
|
} */
|
|
|
|
/* ul.tree-view {
|
|
display: block;
|
|
background: var(--Window);
|
|
box-shadow: var(--border-field);
|
|
padding: 6px;
|
|
margin: 0;
|
|
}
|
|
|
|
ul.tree-view li {
|
|
list-style-type: none;
|
|
}
|
|
|
|
ul.tree-view a {
|
|
text-decoration: none;
|
|
color: #000;
|
|
}
|
|
|
|
ul.tree-view a:focus {
|
|
background-color: var(--Hilight);
|
|
color: var(--HilightText);
|
|
}
|
|
|
|
ul.tree-view ul,
|
|
ul.tree-view li {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
ul.tree-view ul {
|
|
margin-left: 16px;
|
|
padding-left: 16px;
|
|
/* Goes down too far *.../
|
|
border-left: 1px dotted #808080;
|
|
}
|
|
|
|
ul.tree-view ul > li {
|
|
position: relative;
|
|
}
|
|
ul.tree-view ul > li::before {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
left: -16px;
|
|
top: 6px;
|
|
width: 12px;
|
|
border-bottom: 1px dotted #808080;
|
|
}
|
|
|
|
/* Cover the bottom of the left dotted border *.../
|
|
ul.tree-view ul > li:last-child::after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
left: -20px;
|
|
top: 7px;
|
|
bottom: 0px;
|
|
width: 8px;
|
|
background: var(--Window);
|
|
}
|
|
|
|
ul.tree-view details {
|
|
margin-top: 0;
|
|
}
|
|
|
|
ul.tree-view details[open] summary {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
ul.tree-view ul details > summary:before {
|
|
margin-left: -22px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
ul.tree-view details > summary:before {
|
|
text-align: center;
|
|
display: block;
|
|
float: left;
|
|
content: "+";
|
|
border: 1px solid #808080;
|
|
width: 8px;
|
|
height: 9px;
|
|
line-height: 8px;
|
|
margin-right: 5px;
|
|
padding-left: 1px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
ul.tree-view details[open] > summary:before {
|
|
content: "-";
|
|
} */
|
|
|
|
/* pre {
|
|
display: block;
|
|
background: var(--Window);
|
|
box-shadow: var(--border-field);
|
|
padding: 12px 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
code,
|
|
code * {
|
|
font-family: monospace;
|
|
}
|
|
|
|
summary:focus {
|
|
outline: 1px dotted #000000;
|
|
} */
|
|
|
|
/*
|
|
::-webkit-scrollbar {
|
|
width: 16px;
|
|
}
|
|
::-webkit-scrollbar:horizontal {
|
|
height: 17px;
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background: var(--button-face);
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background-image: svg-load("./icon/scrollbar-background.svg");
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: var(--button-face);
|
|
box-shadow: var(--border-raised-outer), var(--border-raised-inner);
|
|
}
|
|
|
|
::-webkit-scrollbar-button:horizontal:start:decrement,
|
|
::-webkit-scrollbar-button:horizontal:end:increment,
|
|
::-webkit-scrollbar-button:vertical:start:decrement,
|
|
::-webkit-scrollbar-button:vertical:end:increment {
|
|
display: block;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:vertical:start {
|
|
height: 17px;
|
|
background-image: svg-load("./icon/button-up.svg");
|
|
}
|
|
::-webkit-scrollbar-button:vertical:end {
|
|
height: 17px;
|
|
background-image: svg-load("./icon/button-down.svg");
|
|
}
|
|
::-webkit-scrollbar-button:horizontal:start {
|
|
width: 16px;
|
|
background-image: svg-load("./icon/button-left.svg");
|
|
}
|
|
::-webkit-scrollbar-button:horizontal:end {
|
|
width: 16px;
|
|
background-image: svg-load("./icon/button-right.svg");
|
|
}
|
|
*/ |