2022-03-08 20:38:51 +00:00
|
|
|
@supports not (accent-color: red) {
|
2021-04-19 13:01:36 +00:00
|
|
|
/* This suppresses a bug in all? browsers: they apply transitions during page load.
|
2022-03-08 20:38:51 +00:00
|
|
|
* It was fixed by crrev.com/886802 in Chrome 93, which we detect via `accent-color`.
|
2021-04-20 17:27:07 +00:00
|
|
|
* Using an increased specificity to override sane selectors in user styles.
|
|
|
|
* Using \1 to simplify js code because \0 is converted to \xFFFD per spec. */
|
2022-03-08 20:38:51 +00:00
|
|
|
html#stylus #header *:not(#\1transition-suppressor) {
|
|
|
|
transition: none !important;
|
|
|
|
}
|
2021-02-28 20:01:49 +00:00
|
|
|
}
|
2022-01-18 21:25:11 +00:00
|
|
|
:root {
|
|
|
|
--family: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
|
2022-01-28 12:52:55 +00:00
|
|
|
--input-height: 22px;
|
2022-02-17 00:10:59 +00:00
|
|
|
--cmin: hsl(0, 0%, 00%);
|
|
|
|
--c00: hsl(0, 0%, 00%);
|
|
|
|
--c10: hsl(0, 0%, 10%);
|
|
|
|
--c20: hsl(0, 0%, 20%);
|
|
|
|
--c30: hsl(0, 0%, 30%);
|
|
|
|
--c40: hsl(0, 0%, 40%);
|
|
|
|
--c45: hsl(0, 0%, 45%);
|
|
|
|
--c50: hsl(0, 0%, 50%);
|
|
|
|
--c60: hsl(0, 0%, 60%);
|
|
|
|
--c65: hsl(0, 0%, 65%);
|
|
|
|
--c70: hsl(0, 0%, 70%);
|
|
|
|
--c75: hsl(0, 0%, 75%);
|
|
|
|
--c80: hsl(0, 0%, 80%);
|
|
|
|
--c85: hsl(0, 0%, 85%);
|
|
|
|
--c90: hsl(0, 0%, 90%);
|
|
|
|
--c95: hsl(0, 0%, 95%);
|
|
|
|
--c100: hsl(0, 0%, 100%);
|
|
|
|
--cmax: hsl(0, 0%, 100%);
|
|
|
|
--bg: var(--c100);
|
|
|
|
--fg: var(--c00);
|
|
|
|
--accent-1: hsl(180, 100%, 15%);
|
|
|
|
--accent-2: hsl(180, 50%, 40%);
|
|
|
|
--accent-3: hsl(180, 40%, 69%);
|
2022-03-31 09:25:37 +00:00
|
|
|
--red1: hsl(0, 70%, 45%);
|
2022-01-18 21:25:11 +00:00
|
|
|
}
|
2018-08-20 09:57:17 +00:00
|
|
|
body {
|
2022-01-18 21:25:11 +00:00
|
|
|
font: normal 12px var(--family);
|
2022-02-17 00:10:59 +00:00
|
|
|
background-color: var(--bg);
|
|
|
|
color: var(--fg);
|
|
|
|
margin: 0;
|
2018-08-20 09:57:17 +00:00
|
|
|
}
|
|
|
|
body:lang(ja) {
|
|
|
|
font-family: Arial, 'Meiryo UI', 'MS Gothic', system-ui, sans-serif;
|
|
|
|
}
|
|
|
|
body:lang(zh-CN) {
|
|
|
|
font-family: Arial, 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui, sans-serif;
|
|
|
|
}
|
|
|
|
body:lang(zh-TW),
|
|
|
|
body:lang(zh-HK) {
|
|
|
|
font-family: Arial, 'Microsoft JhengHei UI', 'Microsoft JhengHei', system-ui, sans-serif;
|
|
|
|
}
|
|
|
|
|
2021-03-19 19:53:52 +00:00
|
|
|
button {
|
2017-12-08 03:18:47 +00:00
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
user-select: none;
|
2018-07-16 16:37:01 +00:00
|
|
|
max-width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2017-12-08 03:18:47 +00:00
|
|
|
padding: 2px 7px;
|
2022-02-17 00:10:59 +00:00
|
|
|
border: 1px solid var(--c60);
|
2018-08-20 09:57:17 +00:00
|
|
|
font: inherit;
|
|
|
|
font-size: 13px;
|
2022-01-19 11:45:45 +00:00
|
|
|
line-height: 1.2;
|
2022-02-17 00:10:59 +00:00
|
|
|
color: var(--fg);
|
|
|
|
background-color: var(--bg);
|
2017-12-19 05:46:30 +00:00
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAYAAADtlXTHAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QwGBBwIHvKt6QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAL0lEQVQI12NoaGgQZ2JgYGBkYmBgYGZiYGBggrMY4VxsYsyoskQQCB2MWAxAMhkADVECDhlW9CoAAAAASUVORK5CYII=');
|
2017-12-12 18:33:41 +00:00
|
|
|
background-repeat: repeat-x;
|
2017-12-08 03:18:47 +00:00
|
|
|
background-size: 100% 100%;
|
|
|
|
transition: background-color .25s, border-color .25s;
|
|
|
|
}
|
|
|
|
|
2021-03-19 19:53:52 +00:00
|
|
|
button:not(:disabled):hover {
|
2022-02-17 00:10:59 +00:00
|
|
|
background-color: var(--c95);
|
|
|
|
border-color: var(--c50);
|
2017-12-08 03:18:47 +00:00
|
|
|
}
|
|
|
|
|
2021-03-19 19:53:52 +00:00
|
|
|
button:active {
|
2022-02-17 00:10:59 +00:00
|
|
|
background-color: var(--c95);
|
|
|
|
border-color: var(--c50);
|
2017-12-19 05:46:30 +00:00
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAYAAADtlXTHAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QwJARIWJNZvuQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAMElEQVQI12NoaGgIZmJgYPjLxMDA8I+JgYHhP5z1Dy7xH5X7jxQCzWQ0A9DEILYBABm5HtJk2jPHAAAAAElFTkSuQmCC');
|
2017-12-12 18:33:41 +00:00
|
|
|
background-repeat: repeat-x;
|
2017-12-09 07:03:18 +00:00
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
|
2022-01-29 22:55:01 +00:00
|
|
|
button .svg-icon {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
2022-02-17 00:35:51 +00:00
|
|
|
[data-ui-theme="light"] button .svg-icon {
|
|
|
|
/* Our svgs are pixel-aligned so the default #000 looks too strong */
|
|
|
|
fill: #333;
|
|
|
|
}
|
2022-01-29 22:55:01 +00:00
|
|
|
|
2017-12-08 03:18:47 +00:00
|
|
|
/* For some odd reason these hovers appear lighter than all other button hovers in every browser */
|
2021-03-19 19:53:52 +00:00
|
|
|
#message-box-buttons button:not(:disabled):hover {
|
2022-02-17 00:10:59 +00:00
|
|
|
background-color: var(--c90);
|
|
|
|
border-color: var(--c50);
|
2017-12-08 03:18:47 +00:00
|
|
|
}
|
|
|
|
|
2020-10-13 18:14:54 +00:00
|
|
|
input {
|
2018-08-20 09:57:17 +00:00
|
|
|
font: inherit;
|
2022-02-17 00:10:59 +00:00
|
|
|
border: 1px solid var(--c65);
|
2020-10-13 18:14:54 +00:00
|
|
|
transition: border-color .1s, box-shadow .1s;
|
2018-08-20 09:57:17 +00:00
|
|
|
}
|
|
|
|
|
2020-10-13 18:14:54 +00:00
|
|
|
input:not([type]),
|
2022-01-28 12:52:55 +00:00
|
|
|
input[type=text],
|
2022-02-17 00:10:59 +00:00
|
|
|
input[type=number],
|
2020-10-13 18:14:54 +00:00
|
|
|
input[type=search] {
|
2022-02-17 00:10:59 +00:00
|
|
|
background: var(--bg);
|
|
|
|
color: var(--fg);
|
2022-01-28 12:52:55 +00:00
|
|
|
height: var(--input-height);
|
|
|
|
min-height: var(--input-height)!important;
|
|
|
|
line-height: var(--input-height);
|
|
|
|
box-sizing: border-box;
|
2017-12-08 03:18:47 +00:00
|
|
|
padding: 0 3px;
|
2022-02-17 00:10:59 +00:00
|
|
|
border: 1px solid var(--c65);
|
2018-07-17 08:24:13 +00:00
|
|
|
}
|
2017-12-08 03:18:47 +00:00
|
|
|
|
2022-02-18 00:47:22 +00:00
|
|
|
input:invalid {
|
|
|
|
background-color: rgba(255, 0, 0, 0.1);
|
|
|
|
color: darkred;
|
|
|
|
}
|
|
|
|
|
2021-03-06 17:36:47 +00:00
|
|
|
.svg-icon {
|
|
|
|
cursor: pointer;
|
|
|
|
vertical-align: middle;
|
|
|
|
transition: fill .5s;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--c40);
|
2021-03-06 17:36:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon:hover {
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--fg);
|
2021-03-06 17:36:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.info {
|
|
|
|
width: 14px;
|
|
|
|
height: 16px;
|
|
|
|
margin-left: .5ex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.config {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2017-12-04 16:14:04 +00:00
|
|
|
.svg-icon.checked {
|
|
|
|
position: absolute;
|
|
|
|
height: 8px;
|
|
|
|
width: 8px;
|
|
|
|
display: none;
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--fg);
|
2017-12-04 16:14:04 +00:00
|
|
|
margin: 2px 0 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:not(.slider):checked + .svg-icon.checked {
|
|
|
|
display: inline-flex;
|
|
|
|
transition: fill .1s;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:not(.slider) {
|
2017-12-08 03:18:47 +00:00
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
2017-12-04 16:14:04 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2022-02-17 00:10:59 +00:00
|
|
|
border: 1px solid var(--c45);
|
2017-12-04 16:14:04 +00:00
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
display: inline-flex;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: hsla(0, 0%, 0%, .1);
|
|
|
|
margin: 0;
|
|
|
|
transition: background-color .1s, border-color .1s;
|
|
|
|
}
|
|
|
|
|
2017-12-09 07:03:18 +00:00
|
|
|
input[type="checkbox"]:not(.slider):hover {
|
2022-02-17 00:10:59 +00:00
|
|
|
border-color: var(--c30);
|
|
|
|
background-color: var(--c80);
|
2017-12-04 16:14:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:not(.slider):checked + .svg-icon.checked {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2017-12-05 11:23:07 +00:00
|
|
|
input[type="checkbox"]:not(.slider):disabled {
|
|
|
|
background-color: transparent;
|
2022-02-17 00:10:59 +00:00
|
|
|
border-color: var(--c50);
|
2017-12-05 11:23:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:not(.slider):disabled + .svg-icon.checked {
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--c50);
|
2017-12-05 11:23:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:not(.slider):disabled + .svg-icon.checked + span {
|
2022-02-17 00:10:59 +00:00
|
|
|
color: var(--c50);
|
2017-12-05 11:23:07 +00:00
|
|
|
}
|
|
|
|
|
2017-12-04 16:14:04 +00:00
|
|
|
label {
|
|
|
|
transition: color .1s;
|
|
|
|
}
|
2022-02-19 08:18:14 +00:00
|
|
|
.checkbox-wrapper {
|
|
|
|
padding-left: 16px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2017-12-04 16:14:04 +00:00
|
|
|
|
|
|
|
select {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
2022-01-28 12:52:55 +00:00
|
|
|
height: var(--input-height);
|
2018-08-20 09:57:17 +00:00
|
|
|
font: inherit;
|
2022-02-17 00:10:59 +00:00
|
|
|
color: var(--fg);
|
2017-12-04 16:14:04 +00:00
|
|
|
background-color: transparent;
|
2022-02-17 00:10:59 +00:00
|
|
|
border: 1px solid var(--c65);
|
2017-12-04 16:14:04 +00:00
|
|
|
padding: 0 20px 0 6px;
|
|
|
|
transition: color .5s;
|
|
|
|
}
|
|
|
|
|
2020-11-18 11:17:15 +00:00
|
|
|
.select-wrapper,
|
2017-12-04 16:14:04 +00:00
|
|
|
.select-resizer {
|
|
|
|
display: inline-flex!important;
|
|
|
|
cursor: default;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-icon.select-arrow {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
|
|
|
display: inline-flex;
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--fg);
|
2017-12-04 16:14:04 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 4px;
|
|
|
|
transition: fill .5s;
|
|
|
|
}
|
|
|
|
|
2017-12-08 17:02:01 +00:00
|
|
|
input[type="radio"] {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
2022-02-17 00:10:59 +00:00
|
|
|
background: var(--c90);
|
2017-12-08 17:02:01 +00:00
|
|
|
border-radius: 50%;
|
2022-02-17 00:10:59 +00:00
|
|
|
border: 1px solid var(--c60);
|
2017-12-08 17:02:01 +00:00
|
|
|
cursor: default;
|
|
|
|
height: 13px;
|
|
|
|
width: 13px;
|
|
|
|
position: relative;
|
2022-02-17 00:26:20 +00:00
|
|
|
margin: 0 4px 1px 0;
|
2017-12-08 17:02:01 +00:00
|
|
|
}
|
|
|
|
input[type="radio"]:after {
|
|
|
|
content: '';
|
|
|
|
background-color: transparent;
|
|
|
|
transform: scale(0);
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
transition: background-color .5s, transform .5s;
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 7px;
|
|
|
|
width: 7px;
|
|
|
|
left: 2px;
|
|
|
|
top: 2px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
input[type="radio"]:checked:after {
|
2022-02-17 00:10:59 +00:00
|
|
|
background-color: var(--c30);
|
2017-12-08 17:02:01 +00:00
|
|
|
transform: scale(1);
|
|
|
|
}
|
2022-02-17 00:26:20 +00:00
|
|
|
.radio-wrapper {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
2017-12-08 17:02:01 +00:00
|
|
|
|
2017-12-08 19:26:53 +00:00
|
|
|
/* restore disabled state dimming */
|
|
|
|
button:disabled,
|
|
|
|
select:disabled,
|
|
|
|
option:disabled,
|
|
|
|
select[disabled] > option {
|
|
|
|
color: graytext;
|
|
|
|
}
|
|
|
|
|
2019-11-14 05:50:38 +00:00
|
|
|
select:disabled + .select-arrow,
|
|
|
|
select[disabled] + .select-arrow {
|
2022-02-17 00:10:59 +00:00
|
|
|
fill: var(--c50);
|
2019-11-14 05:50:38 +00:00
|
|
|
}
|
|
|
|
|
2021-07-30 12:44:06 +00:00
|
|
|
summary {
|
|
|
|
-moz-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2017-12-10 01:19:55 +00:00
|
|
|
/* global stuff we use everywhere */
|
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2022-02-20 21:02:42 +00:00
|
|
|
.rel {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.abs {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2017-12-10 01:19:55 +00:00
|
|
|
|
2022-03-31 09:25:37 +00:00
|
|
|
html:not(.all-disabled) body:not(#stylus-popup) #disableAll-label:not([data-persist]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
html:not(.all-disabled) #disableAll-label::before {
|
|
|
|
content: attr(data-on);
|
|
|
|
}
|
|
|
|
.all-disabled #disableAll-label::before {
|
|
|
|
content: attr(data-off);
|
|
|
|
}
|
|
|
|
.all-disabled #disableAll-label {
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--red1);
|
|
|
|
}
|
|
|
|
.all-disabled #disableAll-label .svg-icon {
|
|
|
|
fill: var(--red1);
|
|
|
|
}
|
|
|
|
.all-disabled #disableAll {
|
|
|
|
border-color: var(--red1);
|
|
|
|
}
|
|
|
|
|
2020-10-13 18:14:54 +00:00
|
|
|
:focus,
|
|
|
|
.CodeMirror-focused,
|
2020-11-08 08:12:42 +00:00
|
|
|
/* Allowing click outline on text/search inputs and textareas */
|
|
|
|
textarea[data-focused-via-click]:focus,
|
|
|
|
input:not([type])[data-focused-via-click]:focus, /* same as "text" */
|
|
|
|
input[type="text"][data-focused-via-click]:focus,
|
2022-01-28 12:52:55 +00:00
|
|
|
input[type="url"][data-focused-via-click]:focus,
|
2020-11-08 08:12:42 +00:00
|
|
|
input[type="search"][data-focused-via-click]:focus,
|
|
|
|
input[type="number"][data-focused-via-click]:focus {
|
2020-10-13 18:14:54 +00:00
|
|
|
/* Using box-shadow instead of the ugly outline in new Chrome */
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 1px hsl(180, 100%, 38%), 0 0 3px hsla(180, 100%, 60%, .5);
|
|
|
|
}
|
|
|
|
|
2017-12-12 18:33:41 +00:00
|
|
|
[data-focused-via-click] :focus,
|
|
|
|
[data-focused-via-click]:focus {
|
|
|
|
outline: none;
|
2020-10-13 18:14:54 +00:00
|
|
|
box-shadow: none;
|
2017-12-12 18:33:41 +00:00
|
|
|
}
|
|
|
|
|
2022-01-13 09:47:37 +00:00
|
|
|
/* header resizer */
|
|
|
|
:root {
|
|
|
|
--header-width: 280px;
|
2022-02-14 19:19:20 +00:00
|
|
|
--header-resizer-width: 8px;
|
2022-01-13 09:47:37 +00:00
|
|
|
}
|
|
|
|
#header-resizer {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2022-02-14 19:19:20 +00:00
|
|
|
width: var(--header-resizer-width);
|
|
|
|
box-sizing: border-box;
|
2022-01-13 09:47:37 +00:00
|
|
|
cursor: e-resize;
|
|
|
|
border-width: 0 1px;
|
|
|
|
border-style: solid;
|
2022-02-17 00:10:59 +00:00
|
|
|
color: hsla(0, 0%, 50%, .5);
|
2022-01-13 09:47:37 +00:00
|
|
|
border-color: currentColor;
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
#header-resizer:active {
|
2022-02-17 00:10:59 +00:00
|
|
|
border-color: var(--c50);
|
2022-01-13 09:47:37 +00:00
|
|
|
}
|
|
|
|
#header-resizer::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
border-right: 2px dotted currentColor;
|
|
|
|
left: 2px;
|
|
|
|
width: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
body.resizing-h {
|
|
|
|
cursor: e-resize;
|
|
|
|
}
|
|
|
|
body.resizing-v {
|
|
|
|
cursor: n-resize;
|
|
|
|
}
|
|
|
|
body.resizing-h > *,
|
|
|
|
body.resizing-v > * {
|
|
|
|
pointer-events: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
/* header resizer - end */
|
|
|
|
|
2022-01-19 11:45:45 +00:00
|
|
|
.split-btn {
|
|
|
|
position: relative;
|
2022-02-14 19:19:20 +00:00
|
|
|
white-space: nowrap;
|
2022-02-22 21:07:01 +00:00
|
|
|
--menu-pad: .5em;
|
2022-01-19 11:45:45 +00:00
|
|
|
}
|
|
|
|
.split-btn-pedal {
|
|
|
|
margin-left: -1px !important;
|
2022-01-22 09:06:29 +00:00
|
|
|
padding-left: .25em !important;
|
|
|
|
padding-right: .25em !important;
|
2022-01-19 13:13:53 +00:00
|
|
|
min-width: 0 !important;
|
2022-01-19 11:45:45 +00:00
|
|
|
}
|
|
|
|
.split-btn-pedal::after {
|
2022-01-22 09:06:29 +00:00
|
|
|
--side: 4px;
|
|
|
|
content: '';
|
|
|
|
border: var(--side) solid transparent;
|
|
|
|
display: inline-block;
|
|
|
|
border-top: calc(var(--side) * 1.3) solid currentColor;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
2022-02-22 21:07:01 +00:00
|
|
|
.split-btn.active .split-btn-pedal {
|
2022-01-19 11:45:45 +00:00
|
|
|
box-shadow: inset 0 0 100px rgba(0, 0, 0, .2);
|
|
|
|
}
|
|
|
|
.split-btn-menu {
|
2022-02-17 00:10:59 +00:00
|
|
|
background: var(--bg);
|
2022-01-19 11:45:45 +00:00
|
|
|
position: absolute;
|
|
|
|
box-shadow: 2px 3px 7px rgba(0, 0, 0, .5);
|
|
|
|
border: 1px solid hsl(180deg, 50%, 50%);
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: .25em 0;
|
2022-02-17 00:10:59 +00:00
|
|
|
z-index: 1000;
|
2022-01-19 11:45:45 +00:00
|
|
|
}
|
|
|
|
.split-btn-menu > * {
|
2022-02-22 21:07:01 +00:00
|
|
|
padding: var(--menu-pad) 1em;
|
2022-01-19 11:45:45 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.split-btn-menu > :hover {
|
|
|
|
background-color: hsla(180deg, 50%, 50%, .25);
|
2022-02-17 00:10:59 +00:00
|
|
|
color: var(--fg);
|
2022-01-19 11:45:45 +00:00
|
|
|
}
|
|
|
|
|
2017-12-04 16:14:04 +00:00
|
|
|
@supports (-moz-appearance: none) {
|
2017-12-08 03:18:47 +00:00
|
|
|
.firefox select {
|
|
|
|
padding: 0 20px 0 2px;
|
2022-01-28 12:52:55 +00:00
|
|
|
line-height: var(--input-height)!important;
|
2017-12-05 12:50:49 +00:00
|
|
|
}
|
2017-12-05 18:01:10 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
transform: scale(1); /* de-blur */
|
|
|
|
}
|
2017-12-08 03:18:47 +00:00
|
|
|
|
|
|
|
/* We can customize everything about number inputs except arrows. They're horrible in Linux FF, so we'll hide them unless hovered or focused. */
|
2017-12-08 17:02:01 +00:00
|
|
|
.firefox.non-windows input[type="number"] {
|
2017-12-08 03:18:47 +00:00
|
|
|
-moz-appearance: textfield;
|
2022-02-17 00:10:59 +00:00
|
|
|
background: var(--bg);
|
|
|
|
color: var(--fg);
|
|
|
|
border: 1px solid var(--c65);
|
2017-12-08 03:18:47 +00:00
|
|
|
}
|
|
|
|
|
2017-12-08 19:26:53 +00:00
|
|
|
.firefox.non-windows input[type="number"]:not(:disabled):hover,
|
2017-12-08 03:18:47 +00:00
|
|
|
.firefox.non-windows input[type="number"]:focus {
|
|
|
|
-moz-appearance: number-input;
|
|
|
|
}
|
2017-12-08 17:02:01 +00:00
|
|
|
|
|
|
|
.firefox.non-windows input[type="color"] {
|
2022-02-17 00:10:59 +00:00
|
|
|
background: var(--bg);
|
|
|
|
border: 1px solid var(--c65);
|
2017-12-08 17:02:01 +00:00
|
|
|
padding: 4px;
|
|
|
|
}
|
2017-12-04 16:14:04 +00:00
|
|
|
}
|
2022-01-13 09:47:37 +00:00
|
|
|
|
|
|
|
@media (max-width: 850px) {
|
|
|
|
#header-resizer {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|