2020-12-07 01:37:19 +00:00
|
|
|
/*
|
2022-02-03 01:43:10 +00:00
|
|
|
* Copyright (C) 2020-2022 Yomichan Authors
|
2020-12-07 01:37:19 +00:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Variables */
|
|
|
|
:root {
|
|
|
|
--padding: 10px;
|
|
|
|
--padding-negative: calc(var(--padding) * -1);
|
2021-03-13 18:08:50 +00:00
|
|
|
--content-width: 700px;
|
2020-12-07 01:37:19 +00:00
|
|
|
--main-content-padding: 10px;
|
|
|
|
--sidebar-size: 200px;
|
|
|
|
--preview-sidebar-expanded-width: 400px;
|
|
|
|
--shadow-vertical: 0 1px 4px 0 var(--shadow-color), 0 2px 2px 0 var(--shadow-color);
|
|
|
|
--shadow-vertical-top: 0 -1px 4px 0 var(--shadow-color), 0 -2px 2px 0 var(--shadow-color);
|
|
|
|
--shadow-left: -1px 0 4px 0 var(--shadow-color), -2px 0 2px 0 var(--shadow-color);
|
|
|
|
--shadow-right: 1px 0 4px 0 var(--shadow-color), 2px 0 2px 0 var(--shadow-color);
|
|
|
|
--settings-group-horizontal-margin: 0;
|
|
|
|
--settings-group-inner-vertical-padding: 0.85em;
|
|
|
|
--settings-group-inner-horizontal-padding: 1.5em;
|
|
|
|
--settings-group-inner-horizontal-padding-half: calc(var(--settings-group-inner-horizontal-padding) * 0.5);
|
|
|
|
--settings-group-inner-horizontal-padding-half-wrappable: var(--settings-group-inner-horizontal-padding-half);
|
|
|
|
--settings-group-inner-horizontal-padding-fourth: calc(var(--settings-group-inner-horizontal-padding) * 0.25);
|
|
|
|
--settings-group-border-radius: 0.3em;
|
|
|
|
--settings-group-right-max-height: 40px;
|
|
|
|
--settings-group-wrap: nowrap;
|
|
|
|
--show-preview-label-height: 40px;
|
|
|
|
|
2020-12-30 02:33:57 +00:00
|
|
|
--font-size-no-units: 14;
|
|
|
|
--font-size: calc(1px * var(--font-size-no-units));
|
2020-12-07 01:37:19 +00:00
|
|
|
--font-size-small: 12px;
|
|
|
|
--outline-item-height: 40px;
|
|
|
|
--outline-item-icon-size: 32px;
|
2021-01-30 00:10:57 +00:00
|
|
|
--input-short-width: calc(var(--input-width-large) / 2 - var(--padding) / 2);
|
|
|
|
--input-short-height: 24px;
|
2021-03-31 22:17:28 +00:00
|
|
|
--input-medium-width: calc(var(--input-width-large) * 0.75);
|
2020-12-07 01:37:19 +00:00
|
|
|
--fab-button-size: 56px;
|
|
|
|
--fab-button-padding: 16px;
|
|
|
|
--modal-width: 600px;
|
|
|
|
--modal-height: 400px;
|
|
|
|
--modal-width-small: 400px;
|
|
|
|
--modal-height-small: 200px;
|
|
|
|
--modal-transition-offset: -64px;
|
2021-02-08 22:52:46 +00:00
|
|
|
--badge-size: 16px;
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
--link-color: var(--accent-color);
|
|
|
|
--link-color-hover: var(--accent-color-dark);
|
|
|
|
--separator-color1: #cccccc;
|
|
|
|
--separator-color2: #eeeeee;
|
2021-01-03 20:30:38 +00:00
|
|
|
--outline-item-background-color: rgba(13, 13, 13, 0);
|
2020-12-07 01:37:19 +00:00
|
|
|
--outline-item-background-color-hover: rgba(13, 13, 13, 0.15);
|
|
|
|
--warning-color: #96751c;
|
2021-02-08 22:52:46 +00:00
|
|
|
--warning-color-light: #edc75e;
|
2020-12-07 01:37:19 +00:00
|
|
|
--dim-background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
--content-dimmer-color: rgba(0, 0, 0, 0.1);
|
2022-04-02 18:59:16 +00:00
|
|
|
--advanced-color: #6640be;
|
|
|
|
--advanced-color-lighter: hsl(258, 50%, 75%);
|
|
|
|
--advanced-color-transparent25: rgba(102, 64, 190, 0.5);
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
--modal-padding-horizontal: 1em;
|
|
|
|
--modal-padding-vertical: 0.625em;
|
|
|
|
--modal-padding-vertical-half: calc(var(--modal-padding-vertical) * 0.5);
|
|
|
|
--modal-button-spacing: 0.625em;
|
|
|
|
}
|
2020-12-30 02:33:57 +00:00
|
|
|
:root:not([data-loaded=true]) {
|
|
|
|
--animation-duration: 0s;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
2020-12-30 02:33:57 +00:00
|
|
|
:root[data-theme=dark] {
|
|
|
|
--separator-color1: #333333;
|
|
|
|
--separator-color2: #222222;
|
|
|
|
}
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
:root {
|
|
|
|
--settings-group-horizontal-margin: calc(var(--main-content-padding) * -1);
|
|
|
|
--settings-group-inner-horizontal-padding: var(--main-content-padding);
|
|
|
|
--settings-group-border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
:root {
|
|
|
|
--settings-group-horizontal-margin: calc(var(--main-content-padding) * -1);
|
|
|
|
--settings-group-inner-horizontal-padding: var(--main-content-padding);
|
|
|
|
--settings-group-inner-horizontal-padding-half-wrappable: var(--settings-group-inner-horizontal-padding);
|
|
|
|
--settings-group-wrap: wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Common styles */
|
|
|
|
body {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 0 1.5em;
|
|
|
|
}
|
2021-01-03 20:30:38 +00:00
|
|
|
p+p,
|
|
|
|
p+ol,
|
|
|
|
p+ul,
|
|
|
|
ol+p,
|
|
|
|
ol+ol,
|
|
|
|
ol+ul,
|
|
|
|
ul+p,
|
|
|
|
ul+ol,
|
|
|
|
ul+ul,
|
2020-12-07 01:37:19 +00:00
|
|
|
li {
|
2021-04-11 03:55:11 +00:00
|
|
|
margin: 0.425em 0 0;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: var(--link-color);
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
color: var(--link-color-hover);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
code {
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
background-color: var(--input-background-color);
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2021-01-31 01:44:54 +00:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* Text styles */
|
|
|
|
.warning-text {
|
|
|
|
color: var(--warning-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Headings */
|
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.25em 0 0;
|
|
|
|
font-weight: normal;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-bottom: var(--thin-border-size) solid var(--separator-color1);
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 1.125em;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.5;
|
2020-12-20 21:03:07 +00:00
|
|
|
padding: 0.9em 0;
|
|
|
|
margin: 0.85em 0 0;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 1.5em 0 0.85em;
|
|
|
|
}
|
|
|
|
.heading-container {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
width: 100%;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
2021-01-09 21:39:30 +00:00
|
|
|
.heading-container a {
|
|
|
|
color: inherit;
|
|
|
|
transition: background-color var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.heading-container a:hover {
|
|
|
|
color: var(--link-color-hover);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2020-12-20 21:03:07 +00:00
|
|
|
.heading-container-icon {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
align-self: center;
|
|
|
|
margin: 0.85em 0.75em 0 0;
|
|
|
|
}
|
|
|
|
.heading-container-icon>.icon {
|
|
|
|
display: block;
|
2021-02-21 05:18:43 +00:00
|
|
|
background-color: var(--button-default-icon-color);
|
2020-12-20 21:03:07 +00:00
|
|
|
width: var(--outline-item-icon-size);
|
|
|
|
height: var(--outline-item-icon-size);
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
.heading-container-left {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.heading-container-right {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
.heading-sub-text {
|
2020-12-20 21:03:07 +00:00
|
|
|
font-size: calc(1em / 1.125);
|
2021-01-23 21:24:05 +00:00
|
|
|
color: var(--text-color-light2);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
2021-01-16 15:22:24 +00:00
|
|
|
a.heading-link-light {
|
2021-01-23 21:24:05 +00:00
|
|
|
color: var(--text-color-light2);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.heading-description,
|
|
|
|
.heading-description.more {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 1.0125em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Content layout */
|
|
|
|
.content-outer {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: scroll;
|
|
|
|
position: relative;
|
|
|
|
align-items: stretch;
|
2021-05-10 23:06:07 +00:00
|
|
|
justify-content: flex-start;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.content-left {
|
|
|
|
flex: 1 1 0;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
.content-center {
|
2021-05-10 23:06:07 +00:00
|
|
|
flex: 0 1 auto;
|
2021-03-13 18:08:50 +00:00
|
|
|
width: var(--content-width);
|
2020-12-07 01:37:19 +00:00
|
|
|
padding: 0 var(--main-content-padding);
|
2021-03-13 18:08:50 +00:00
|
|
|
max-width: var(--content-width);
|
2020-12-07 01:37:19 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.content-right {
|
|
|
|
flex: 1 1 0;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
#content-scroll-focus {
|
|
|
|
opacity: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-12-28 22:41:59 +00:00
|
|
|
outline: none;
|
2020-12-07 01:37:19 +00:00
|
|
|
background-color: transparent;
|
|
|
|
display: inline;
|
2020-12-28 22:41:59 +00:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
line-height: 0;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
#content-scroll-focus::-moz-focus-inner {
|
|
|
|
border: 0;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.content-dimmer {
|
|
|
|
display: block;
|
|
|
|
visibility: hidden;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 3;
|
|
|
|
opacity: 0;
|
|
|
|
background-color: var(--content-dimmer-color);
|
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity var(--animation-duration) ease-in-out, visibility var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* More details toggle */
|
|
|
|
.more-toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.more-toggle.more-only[data-expanded=true],
|
|
|
|
.more-toggle.no-more-only:not([data-expanded=true]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.more {
|
|
|
|
margin-top: 0.85em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Footer */
|
|
|
|
.footer-padding {
|
|
|
|
height: 4.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Left sidebar */
|
|
|
|
.sidebar {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: var(--sidebar-size);
|
|
|
|
max-width: 100%;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
transition: max-width var(--animation-duration) ease-in;
|
|
|
|
}
|
|
|
|
.sidebar:hover {
|
|
|
|
max-width: var(--sidebar-size);
|
2021-01-03 20:30:38 +00:00
|
|
|
transition:
|
|
|
|
max-width var(--animation-duration) ease-out 0.5s,
|
|
|
|
box-shadow var(--animation-duration) ease-out;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.sidebar-inner {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
transition: box-shadow var(--animation-duration) ease-out;
|
|
|
|
}
|
|
|
|
.sidebar-top {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
height: 2em;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.sidebar-top-link {
|
|
|
|
display: block;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
height: 100%;
|
|
|
|
line-height: 2em;
|
|
|
|
padding: 0 1.5em;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
transition: opacity var(--animation-duration2) ease-in-out, visibility var(--animation-duration2);
|
|
|
|
}
|
|
|
|
.sidebar-top-link[hidden] {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.sidebar-top-link:not(:hover) {
|
2020-12-30 02:33:57 +00:00
|
|
|
color: var(--text-color);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.sidebar-top-icon {
|
|
|
|
display: inline-block;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 12px 12px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2021-02-13 01:27:43 +00:00
|
|
|
background-image: url(/images/up-arrow.svg);
|
2020-12-07 01:37:19 +00:00
|
|
|
margin-right: calc(var(--padding) * 0.5);
|
|
|
|
}
|
|
|
|
.sidebar-body {
|
2020-12-29 03:55:42 +00:00
|
|
|
padding: 2em 0;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.sidebar-bottom {
|
|
|
|
padding-bottom: 2em;
|
|
|
|
}
|
|
|
|
.outline-item {
|
2021-02-21 05:18:43 +00:00
|
|
|
--button-content-color: var(--text-color);
|
|
|
|
--button-border-color: transparent;
|
|
|
|
--button-background-color: var(--outline-item-background-color);
|
|
|
|
--button-shadow: none;
|
|
|
|
|
|
|
|
--button-hover-border-color: transparent;
|
|
|
|
--button-hover-background-color: var(--outline-item-background-color-hover);
|
|
|
|
--button-hover-shadow: none;
|
|
|
|
|
|
|
|
--button-active-border-color: transparent;
|
|
|
|
--button-active-background-color: var(--outline-item-background-color-hover);
|
|
|
|
--button-active-shadow: none;
|
|
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
border-style: none;
|
|
|
|
border-width: 0;
|
2021-08-20 22:20:56 +00:00
|
|
|
border-radius: 0;
|
2020-12-20 20:43:10 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
2020-12-07 01:37:19 +00:00
|
|
|
height: var(--outline-item-height);
|
|
|
|
padding: 0 1.5em;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background-color var(--animation-duration) ease-in-out;
|
2021-08-20 22:13:56 +00:00
|
|
|
box-sizing: border-box;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.outline-item,
|
|
|
|
.outline-item:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.outline-item-left {
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--outline-item-icon-size);
|
|
|
|
height: var(--outline-item-icon-size);
|
|
|
|
min-width: var(--outline-item-icon-size);
|
|
|
|
min-height: var(--outline-item-icon-size);
|
|
|
|
position: relative;
|
2021-08-20 22:13:56 +00:00
|
|
|
line-height: var(--outline-item-height);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.outline-item-left-warning-badge {
|
|
|
|
position: absolute;
|
|
|
|
right: calc(var(--outline-item-icon-size) * -0.125);
|
|
|
|
top: calc(var(--outline-item-icon-size) * -0.125);
|
|
|
|
}
|
|
|
|
.outline-item-left-warning-badge:not([hidden]) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.outline-item-label {
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-left: var(--padding);
|
|
|
|
}
|
|
|
|
.outline-item-icon {
|
2020-12-20 20:43:10 +00:00
|
|
|
display: block;
|
2021-02-21 05:18:43 +00:00
|
|
|
background-color: var(--button-default-icon-color);
|
2020-12-20 20:43:10 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Preview sidebar */
|
|
|
|
.preview-sidebar {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
max-width: 100%;
|
2021-01-03 20:30:38 +00:00
|
|
|
transition:
|
|
|
|
width var(--animation-duration) ease-in-out,
|
|
|
|
max-width var(--animation-duration) ease-in-out,
|
|
|
|
box-shadow var(--animation-duration) ease-in-out;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.preview-sidebar-inner {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
}
|
|
|
|
.preview-sidebar-setting {
|
|
|
|
text-align: center;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
.preview-frame-container {
|
|
|
|
position: relative;
|
|
|
|
align-self: stretch;
|
2020-12-21 03:16:38 +00:00
|
|
|
flex: 1 1 auto;
|
2020-12-07 01:37:19 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
.preview-frame {
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-02-15 15:43:38 +00:00
|
|
|
user-select: none;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Settings styles */
|
|
|
|
.settings-group {
|
|
|
|
margin: 0 var(--settings-group-horizontal-margin);
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: var(--background-color-light);
|
|
|
|
box-shadow: var(--shadow-vertical);
|
|
|
|
border-radius: var(--settings-group-border-radius);
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
.settings-group.settings-group-top-margin {
|
|
|
|
margin-top: 1.0125em;
|
|
|
|
}
|
2022-04-02 18:59:16 +00:00
|
|
|
.settings-item {
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-12-13 17:32:43 +00:00
|
|
|
.settings-item:not([hidden]) {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
.settings-item-outer {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.settings-item-inner {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
2022-04-02 18:48:57 +00:00
|
|
|
justify-content: flex-end;
|
2020-12-07 01:37:19 +00:00
|
|
|
align-content: stretch;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.settings-item-inner.settings-item-inner-wrappable {
|
|
|
|
flex-wrap: var(--settings-group-wrap);
|
|
|
|
}
|
|
|
|
.settings-item-left {
|
|
|
|
padding: var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding-half) var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding);
|
|
|
|
flex: 1 1 auto;
|
|
|
|
align-self: center;
|
2021-01-31 16:55:11 +00:00
|
|
|
position: relative;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
2020-12-10 22:53:26 +00:00
|
|
|
.settings-item-left:last-child {
|
|
|
|
padding-right: var(--settings-group-inner-horizontal-padding);
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
.settings-item-right {
|
|
|
|
padding: var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding) var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding-half);
|
|
|
|
flex: 0 1 auto;
|
|
|
|
align-self: stretch;
|
|
|
|
max-height: var(--settings-group-right-max-height);
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
.settings-item-inner.settings-item-inner-wrappable>.settings-item-left {
|
|
|
|
padding-right: var(--settings-group-inner-horizontal-padding-half-wrappable);
|
|
|
|
}
|
|
|
|
.settings-item-inner.settings-item-inner-wrappable>.settings-item-right {
|
|
|
|
padding-left: var(--settings-group-inner-horizontal-padding-half-wrappable);
|
|
|
|
}
|
|
|
|
.settings-item-center {
|
|
|
|
padding: var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding) var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding);
|
|
|
|
flex: 0 1 100%;
|
|
|
|
align-self: flex-start;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.settings-item+.settings-item {
|
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
|
|
|
}
|
|
|
|
.settings-item-description {
|
2021-01-23 21:24:05 +00:00
|
|
|
color: var(--text-color-light2);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.settings-item-right.open-panel-button-container {
|
|
|
|
padding: 0.25em 1em 0.25em 0.75em;
|
|
|
|
max-height: calc(var(--settings-group-right-max-height) + var(--settings-group-inner-vertical-padding) * 2);
|
|
|
|
}
|
|
|
|
.settings-item-children {
|
|
|
|
padding: 0em var(--settings-group-inner-horizontal-padding-half) var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding);
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.settings-item-children.settings-item-children-group {
|
|
|
|
padding: 0 0 0 calc(var(--settings-group-inner-horizontal-padding) + var(--settings-group-inner-horizontal-padding));
|
|
|
|
}
|
|
|
|
.settings-item-children.settings-item-children-group .settings-item {
|
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
|
|
|
}
|
|
|
|
.settings-item-children.settings-item-children-group .settings-item-left {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2020-12-30 18:32:41 +00:00
|
|
|
.settings-item-children.settings-item-children-group .settings-item-inner.settings-item-inner-wrappable>.settings-item-left:not(:last-child) {
|
2020-12-30 18:35:25 +00:00
|
|
|
padding-right: calc(var(--settings-group-inner-horizontal-padding-half-wrappable) * 2);
|
2020-12-30 18:32:41 +00:00
|
|
|
}
|
|
|
|
.settings-item-children.settings-item-children-group .settings-item-inner.settings-item-inner-wrappable>.settings-item-right {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
.settings-item-children.settings-item-children-group .settings-item-children {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
:root:not([data-advanced=true]) .advanced-only {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-12-22 00:21:03 +00:00
|
|
|
.settings-item.settings-item-button,
|
|
|
|
a.settings-item.settings-item-button {
|
|
|
|
cursor: pointer;
|
2020-12-30 02:33:57 +00:00
|
|
|
color: var(--text-color);
|
2020-12-22 00:21:03 +00:00
|
|
|
text-decoration: none;
|
|
|
|
background-color: transparent;
|
|
|
|
transition: background-color var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.settings-item.settings-item-button>.settings-item-inner,
|
|
|
|
.settings-item.settings-item-button>.settings-item-inner>.settings-item-left,
|
|
|
|
.settings-item.settings-item-button>.settings-item-inner>.settings-item-right {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.settings-item.settings-item-button:hover,
|
|
|
|
.settings-item.settings-item-button:active {
|
|
|
|
background-color: var(--background-color);
|
|
|
|
}
|
|
|
|
.settings-item.settings-item-button .icon-button>.icon-button-inner>.icon {
|
|
|
|
transition: background-color var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.settings-item.settings-item-button:hover .icon-button>.icon-button-inner>.icon,
|
|
|
|
.settings-item.settings-item-button:active .icon-button>.icon-button-inner>.icon {
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
}
|
2021-01-31 16:55:11 +00:00
|
|
|
.settings-item-invalid-indicator {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 0.5em;
|
|
|
|
background-color: var(--danger-color);
|
|
|
|
}
|
|
|
|
.settings-item[data-invalid=true] .settings-item-invalid-indicator {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* Settings item groups */
|
|
|
|
.settings-item-group {
|
|
|
|
margin-right: var(--padding-negative);
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
.settings-item-group.settings-item-group-wrap {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
.settings-item-group-item {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
padding-right: var(--padding);
|
|
|
|
}
|
|
|
|
.settings-item-group-item-label {
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
input[type=text].short-width,
|
|
|
|
input[type=number].short-width,
|
|
|
|
select.short-width {
|
2021-01-30 00:10:57 +00:00
|
|
|
width: var(--input-short-width);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
2021-03-31 22:17:28 +00:00
|
|
|
input[type=text].medium-width,
|
|
|
|
input[type=number].medium-width,
|
|
|
|
select.medium-width {
|
|
|
|
width: var(--input-medium-width);
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
input[type=text].short-height,
|
|
|
|
input[type=number].short-height,
|
|
|
|
select.short-height {
|
2021-01-30 00:10:57 +00:00
|
|
|
height: var(--input-short-height);
|
|
|
|
margin-top: calc(var(--settings-group-right-max-height) - var(--input-short-height) - var(--font-size-small));
|
2021-08-20 22:13:56 +00:00
|
|
|
line-height: var(--line-height);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.settings-item-button-group-container {
|
|
|
|
max-height: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.settings-item-button-group {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
max-height: none;
|
|
|
|
justify-content: flex-start;
|
|
|
|
margin-top: var(--padding-negative);
|
|
|
|
margin-right: var(--padding-negative);
|
|
|
|
}
|
|
|
|
.settings-item-button-group-item {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
padding-top: var(--padding);
|
|
|
|
padding-right: var(--padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-04-02 18:59:16 +00:00
|
|
|
/* Advanced settings */
|
|
|
|
.settings-group.advanced-only>.settings-item::after,
|
|
|
|
.settings-item.advanced-only::after {
|
|
|
|
content: '';
|
|
|
|
background-color: var(--advanced-color-lighter);
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 0.25em;
|
|
|
|
}
|
|
|
|
.advanced-toggle {
|
|
|
|
--accent-color: var(--advanced-color);
|
|
|
|
--accent-color-lighter: var(--advanced-color-lighter);
|
|
|
|
--accent-color-transparent25: var(--advanced-color-transparent25);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
/* Modal */
|
2021-01-31 00:47:16 +00:00
|
|
|
.modal {
|
2020-12-07 01:37:19 +00:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
background-color: var(--dim-background-color);
|
|
|
|
outline: none;
|
|
|
|
z-index: 100;
|
2020-12-29 04:00:03 +00:00
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
transition:
|
|
|
|
opacity var(--animation-duration2) ease-out,
|
|
|
|
visibility 0s linear;
|
|
|
|
}
|
2021-01-31 00:47:16 +00:00
|
|
|
.modal[hidden] {
|
2020-12-07 01:37:19 +00:00
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
2020-12-29 04:00:03 +00:00
|
|
|
transition:
|
|
|
|
opacity var(--animation-duration2) ease-in,
|
|
|
|
visibility 0s linear var(--animation-duration2);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
2021-01-31 00:47:16 +00:00
|
|
|
.modal[hidden]:not(.hidden-animating) {
|
2020-12-07 01:37:19 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.modal-content {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
width: var(--modal-width);
|
|
|
|
height: var(--modal-height);
|
|
|
|
background-color: var(--background-color-light);
|
|
|
|
flex: 0 1 auto;
|
|
|
|
border-radius: 0.5em;
|
2020-12-29 04:00:03 +00:00
|
|
|
transform: translate(0, 0);
|
2020-12-21 00:59:39 +00:00
|
|
|
transition:
|
2020-12-29 04:00:03 +00:00
|
|
|
transform var(--animation-duration2) ease-out,
|
2020-12-21 00:59:39 +00:00
|
|
|
width var(--animation-duration2) ease-in-out,
|
|
|
|
height var(--animation-duration2) ease-in-out,
|
|
|
|
border-radius var(--animation-duration2) ease-in-out;
|
2020-12-07 01:37:19 +00:00
|
|
|
box-shadow: var(--shadow-vertical);
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-01-31 00:47:16 +00:00
|
|
|
.modal[hidden] .modal-content {
|
2020-12-07 01:37:19 +00:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.modal-content.modal-content-small {
|
|
|
|
width: var(--modal-width-small);
|
|
|
|
min-height: var(--modal-height-small);
|
|
|
|
height: auto;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
.modal-content.modal-content-full {
|
2021-03-13 18:08:50 +00:00
|
|
|
width: var(--content-width);
|
2020-12-07 01:37:19 +00:00
|
|
|
height: 100%;
|
|
|
|
transform: translate(0, 0);
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2021-01-31 00:47:16 +00:00
|
|
|
.modal[hidden] .modal-content {
|
2020-12-29 04:00:03 +00:00
|
|
|
transform: translate(0, var(--modal-transition-offset));
|
2020-12-21 00:59:39 +00:00
|
|
|
transition:
|
2020-12-29 04:00:03 +00:00
|
|
|
transform 0s linear var(--animation-duration2),
|
2020-12-21 00:59:39 +00:00
|
|
|
width var(--animation-duration2) ease-in-out,
|
|
|
|
height var(--animation-duration2) ease-in-out,
|
|
|
|
border-radius var(--animation-duration2) ease-in-out;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.modal-header {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: var(--modal-padding-vertical) var(--modal-padding-horizontal) var(--modal-padding-vertical-half);
|
2020-12-21 00:59:39 +00:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.modal-title {
|
|
|
|
font-size: 1.125em;
|
2020-12-21 00:59:39 +00:00
|
|
|
flex: 1 1 auto;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.modal-footer {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: var(--modal-padding-vertical-half) var(--modal-padding-horizontal) var(--modal-padding-vertical);
|
|
|
|
margin-right: calc(var(--modal-button-spacing) * -1);
|
|
|
|
margin-top: calc(var(--modal-button-spacing) * -1);
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: flex-end;
|
|
|
|
justify-items: flex-end;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
.modal-footer>* {
|
|
|
|
margin-right: var(--modal-button-spacing);
|
|
|
|
margin-top: var(--modal-button-spacing);
|
|
|
|
}
|
|
|
|
.modal-body {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: auto;
|
|
|
|
padding: var(--modal-padding-vertical-half) var(--modal-padding-horizontal);
|
|
|
|
}
|
|
|
|
.modal-body-addon {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: var(--modal-padding-vertical-half) var(--modal-padding-horizontal);
|
|
|
|
}
|
2021-01-28 00:34:14 +00:00
|
|
|
.modal-body>.settings-item,
|
|
|
|
.modal-settings-group>.settings-item {
|
2020-12-07 01:37:19 +00:00
|
|
|
margin-left: calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
}
|
|
|
|
.modal-body .settings-item {
|
|
|
|
margin-right: calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
}
|
|
|
|
.modal-body .settings-item+.settings-item {
|
2021-01-03 20:30:38 +00:00
|
|
|
border-top: none;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.modal-body .settings-item-left {
|
|
|
|
padding-left: var(--modal-padding-horizontal);
|
|
|
|
padding-top: var(--settings-group-inner-horizontal-padding-fourth);
|
|
|
|
padding-bottom: var(--settings-group-inner-horizontal-padding-fourth);
|
|
|
|
}
|
|
|
|
.modal-body .settings-item-right {
|
|
|
|
padding-right: var(--modal-padding-horizontal);
|
|
|
|
padding-top: var(--settings-group-inner-horizontal-padding-fourth);
|
|
|
|
padding-bottom: var(--settings-group-inner-horizontal-padding-fourth);
|
|
|
|
}
|
|
|
|
.modal-body .settings-item-children {
|
|
|
|
padding-left: var(--modal-padding-horizontal);
|
|
|
|
padding-right: var(--modal-padding-horizontal);
|
|
|
|
padding-bottom: var(--settings-group-inner-horizontal-padding-fourth);
|
|
|
|
}
|
|
|
|
|
2021-01-31 00:47:16 +00:00
|
|
|
.modal.modal-left {
|
2020-12-07 01:37:19 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: transparent;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2021-01-31 00:47:16 +00:00
|
|
|
.modal.modal-left::after {
|
2020-12-07 01:37:19 +00:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.modal-content-container1 {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: grid;
|
2021-03-13 18:08:50 +00:00
|
|
|
grid-template-columns: 1fr minmax(auto, var(--content-width)) 1fr;
|
2020-12-07 01:37:19 +00:00
|
|
|
grid-template-rows: auto;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
.modal-content-container2 {
|
|
|
|
grid-area: 1/1/2/3;
|
|
|
|
background-color: var(--dim-background-color);
|
|
|
|
pointer-events: auto;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.modal-content-container1-fade {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
grid-area: 1/3/2/4;
|
|
|
|
}
|
|
|
|
.modal-content-container1-fade::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 64px;
|
|
|
|
background: transparent linear-gradient(to right, var(--dim-background-color), transparent) repeat-y;
|
|
|
|
}
|
|
|
|
|
2020-12-21 00:59:39 +00:00
|
|
|
.modal-header-button-container {
|
|
|
|
margin-top: calc(-1 * var(--modal-padding-vertical-half));
|
|
|
|
margin-bottom: calc(-1 * var(--modal-padding-vertical-half));
|
|
|
|
}
|
|
|
|
.modal-header-button-group {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: var(--icon-button-size);
|
|
|
|
height: var(--icon-button-size);
|
|
|
|
}
|
|
|
|
.modal-header-button {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2021-02-21 05:18:43 +00:00
|
|
|
button.icon-button.modal-header-button {
|
|
|
|
--button-content-color: var(--button-default-icon-color-light);
|
|
|
|
--button-hover-content-color: var(--button-default-icon-color);
|
|
|
|
--button-active-content-color: var(--button-default-icon-color);
|
|
|
|
}
|
2020-12-21 00:59:39 +00:00
|
|
|
button.icon-button.modal-header-button>.icon-button-inner>.icon {
|
|
|
|
transition: background-color var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.modal-header-button[data-modal-action=expand],
|
|
|
|
.modal-header-button[data-modal-action=collapse] {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
z-index: 1;
|
|
|
|
transition:
|
|
|
|
opacity var(--animation-duration2) ease-in-out 0s,
|
|
|
|
visibility 0s ease-in-out 0s;
|
|
|
|
}
|
|
|
|
.modal-content.modal-content-full .modal-header-button[data-modal-action=expand],
|
|
|
|
.modal-content:not(.modal-content-full) .modal-header-button[data-modal-action=collapse] {
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 0;
|
|
|
|
transition:
|
|
|
|
opacity var(--animation-duration2) ease-in-out 0s,
|
|
|
|
visibility 0s ease-in-out var(--animation-duration2);
|
|
|
|
}
|
|
|
|
|
2021-01-28 00:34:14 +00:00
|
|
|
.modal-separator-line {
|
2021-02-26 23:15:04 +00:00
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color1);
|
2021-01-28 00:34:14 +00:00
|
|
|
margin: 0 calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
}
|
|
|
|
.modal-separator-line-light {
|
2021-02-26 23:15:04 +00:00
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
2021-01-28 00:34:14 +00:00
|
|
|
margin: 0 calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
}
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
/* Status footer */
|
|
|
|
.status-footer-container {
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: stretch;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
.status-footer-container2 {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.status-footer-container::after {
|
|
|
|
/* Used to add scrollbar width to get better alignment with the main content container */
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
overflow-y: scroll;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.status-footer {
|
2021-03-13 18:08:50 +00:00
|
|
|
max-width: var(--content-width);
|
2020-12-07 01:37:19 +00:00
|
|
|
max-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
pointer-events: auto;
|
|
|
|
overflow: auto;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
padding: 0.375em 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-shadow: var(--shadow-vertical-top);
|
|
|
|
background-color: var(--background-color-light);
|
|
|
|
border-radius: var(--settings-group-border-radius) var(--settings-group-border-radius) 0 0;
|
|
|
|
transform: none;
|
|
|
|
opacity: 1;
|
2020-12-29 04:00:03 +00:00
|
|
|
transition:
|
|
|
|
transform var(--animation-duration) ease-out,
|
|
|
|
opacity var(--animation-duration) ease-out;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
2020-12-29 04:00:03 +00:00
|
|
|
.status-footer-container[hidden] .status-footer {
|
2020-12-07 01:37:19 +00:00
|
|
|
transform: translate(0, 100%);
|
|
|
|
opacity: 0;
|
2020-12-29 04:00:03 +00:00
|
|
|
transition:
|
|
|
|
transform var(--animation-duration) ease-in,
|
|
|
|
opacity var(--animation-duration) ease-in;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
2020-12-29 04:00:03 +00:00
|
|
|
.status-footer-container[hidden]:not(.hidden-animating) {
|
2020-12-07 01:37:19 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.status-footer-header {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.375em 0.75em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.status-footer-header-label {
|
|
|
|
font-weight: bold;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.status-footer-item {
|
|
|
|
padding: 0.375em 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Floating action button container */
|
|
|
|
.fab-container {
|
|
|
|
display: flex;
|
|
|
|
visibility: hidden;
|
|
|
|
align-items: stretch;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
.fab-container::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.fab-container-left {
|
|
|
|
flex: 1 1 0;
|
|
|
|
}
|
|
|
|
.fab-container-center {
|
|
|
|
flex: 1 1 auto;
|
2021-03-13 18:08:50 +00:00
|
|
|
width: var(--content-width);
|
2020-12-07 01:37:19 +00:00
|
|
|
padding: 0 var(--main-content-padding);
|
2021-03-13 18:08:50 +00:00
|
|
|
max-width: var(--content-width);
|
2020-12-07 01:37:19 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
.fab-container-right {
|
|
|
|
flex: 1 1 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.fab-container-right-inner1 {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
max-width: 100%;
|
2021-01-03 20:30:38 +00:00
|
|
|
transition:
|
|
|
|
width var(--animation-duration) ease-in-out,
|
|
|
|
max-width var(--animation-duration) ease-in-out;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.fab-container-right-inner2 {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
position: absolute;
|
|
|
|
right: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 0 var(--fab-button-padding) 0 0;
|
|
|
|
}
|
|
|
|
.fab-container-item {
|
|
|
|
padding-bottom: var(--fab-button-padding);
|
|
|
|
}
|
|
|
|
button.fab-button {
|
2021-02-21 05:18:43 +00:00
|
|
|
--button-content-color: var(--button-default-text-color);
|
|
|
|
--button-border-color: transparent;
|
|
|
|
--button-background-color: transparent;
|
|
|
|
--button-shadow: none;
|
|
|
|
|
|
|
|
--button-hover-border-color: transparent;
|
|
|
|
--button-hover-background-color: transparent;
|
|
|
|
--button-hover-shadow: none;
|
|
|
|
|
|
|
|
--button-active-border-color: transparent;
|
|
|
|
--button-active-background-color: transparent;
|
|
|
|
--button-active-shadow: none;
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
button.fab-button>.icon-button-inner {
|
|
|
|
width: var(--fab-button-size);
|
|
|
|
height: var(--fab-button-size);
|
|
|
|
}
|
|
|
|
.fab-button-background {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
2021-01-03 20:30:38 +00:00
|
|
|
content: '';
|
2020-12-07 01:37:19 +00:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
box-shadow: var(--shadow-vertical);
|
|
|
|
}
|
2020-12-20 20:43:10 +00:00
|
|
|
button.fab-button>.icon-button-inner>.icon {
|
2021-02-21 05:18:43 +00:00
|
|
|
background-color: var(--button-content-color);
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.fab-container-item.fab-container-item-popup-preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Progress */
|
|
|
|
.progress-labels {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.progress-info {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
.progress-status {
|
|
|
|
text-align: right;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.progress-bar-track {
|
|
|
|
width: 100%;
|
|
|
|
height: 4px;
|
|
|
|
background-color: var(--input-background-color);
|
|
|
|
}
|
|
|
|
.progress-bar {
|
|
|
|
width: 0;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
}
|
|
|
|
.progress-bar.danger {
|
|
|
|
background-color: var(--danger-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-02-26 23:15:04 +00:00
|
|
|
/* Tabs */
|
|
|
|
.tabs-container {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
margin-left: calc(-1 * var(--modal-padding-horizontal));
|
|
|
|
margin-right: calc(-1 * var(--modal-padding-horizontal));
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.tabs {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: stretch;
|
|
|
|
height: 2.75em;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.tab {
|
|
|
|
cursor: pointer;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio'] {
|
|
|
|
opacity: 0;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
.tab-inner {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
.tab-inner::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: var(--text-color-light3);
|
|
|
|
opacity: 0;
|
|
|
|
transition:
|
|
|
|
background-color var(--animation-duration) ease-in-out,
|
|
|
|
opacity var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:checked~.tab-inner::before {
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:hover~.tab-inner::before,
|
|
|
|
.tab>input[type='radio']:focus~.tab-inner::before {
|
|
|
|
opacity: 0.125;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:active~.tab-inner::before {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:focus:not(:focus-visible)~.tab-inner::before {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:focus-visible~.tab-inner::before,
|
|
|
|
.tab>input[type='radio']:hover:focus-visible~.tab-inner::before,
|
|
|
|
.tab>input[type='radio']:hover:not(:focus-visible)~.tab-inner::before {
|
|
|
|
opacity: 0.125;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:active:focus-visible~.tab-inner::before,
|
|
|
|
.tab>input[type='radio']:active:not(:focus-visible)~.tab-inner::before {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
.tab-inner::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 0em;
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
transition: height var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:checked~.tab-inner::after {
|
|
|
|
height: 0.2em;
|
|
|
|
}
|
|
|
|
.tab-label {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: calc(12em / var(--font-size-no-units));
|
|
|
|
color: var(--text-color-light3);
|
|
|
|
transition: color var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.tab>input[type='radio']:checked~.tab-inner>.tab-label {
|
|
|
|
color: var(--accent-color);
|
|
|
|
}
|
|
|
|
.tabs-right {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0 var(--modal-padding-horizontal);
|
|
|
|
height: 2.75em;
|
|
|
|
}
|
|
|
|
.tabs-right:not([hidden]) {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
/* Conditional styles */
|
|
|
|
body.sidebar-visible .content-dimmer {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
body.sidebar-visible .sidebar,
|
|
|
|
body.sidebar-visible .sidebar:hover {
|
|
|
|
max-width: var(--sidebar-size);
|
|
|
|
transition: max-width var(--animation-duration) ease-out;
|
|
|
|
}
|
|
|
|
body.sidebar-visible .sidebar-inner {
|
|
|
|
box-shadow: var(--shadow-right);
|
|
|
|
}
|
|
|
|
body.sidebar-visible .fab-container {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
body.sidebar-visible .content-left {
|
|
|
|
z-index: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.preview-sidebar-visible .content-dimmer {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
body.preview-sidebar-visible .preview-sidebar {
|
|
|
|
width: 70vw;
|
|
|
|
max-width: var(--preview-sidebar-expanded-width);
|
|
|
|
box-shadow: var(--shadow-left);
|
|
|
|
}
|
|
|
|
body.preview-sidebar-visible .content-right {
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
body.preview-sidebar-visible .fab-container-right-inner1 {
|
|
|
|
width: 70vw;
|
|
|
|
max-width: var(--preview-sidebar-expanded-width);
|
|
|
|
}
|
|
|
|
body.preview-sidebar-visible .fab-container {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
body.sidebar-visible .fab-container-item.fab-container-item-popup-preview,
|
|
|
|
body.preview-sidebar-visible .fab-container-item.fab-container-item-popup-preview {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Specialized settings styles */
|
|
|
|
#audio-source-list>div+div {
|
|
|
|
margin-top: 0.375em;
|
|
|
|
}
|
|
|
|
#audio-source-list .generic-list-index-prefix {
|
|
|
|
width: 2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#audio-source-list-empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-05-30 16:41:19 +00:00
|
|
|
.audio-source {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
align-content: flex-start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
.audio-source-inner {
|
|
|
|
margin: 0 0.375em;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
|
|
|
align-content: flex-start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
.audio-source-type-select {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
width: calc(var(--input-width-large) + 2em);
|
|
|
|
margin: 0.125em 0;
|
|
|
|
}
|
|
|
|
.audio-source-parameter-container {
|
|
|
|
margin: 0.125em 0;
|
|
|
|
flex: 1e8 1 auto;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
align-content: flex-start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
.audio-source-parameter-container:not([hidden]) {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.audio-source-parameter-label {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin: 0 0.375em;
|
|
|
|
}
|
|
|
|
.audio-source-parameter {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
.profile-add-button-container {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
.profile-entry-header {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.profile-entry-header-text {
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
line-height: 1;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.profile-entry {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
.profile-entry-cell:nth-child(1) {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
min-width: 2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.profile-entry-cell:nth-child(2) {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
width: 3.5em;
|
|
|
|
}
|
|
|
|
.profile-entry-cell:nth-child(3) {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.profile-entry-cell:nth-child(4) {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
min-width: 4em;
|
|
|
|
text-align: center;
|
2021-01-03 20:30:38 +00:00
|
|
|
align-self: stretch;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.profile-entry-cell:nth-child(5) {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 2.75em;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
input[type=text].profile-entry-name-input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.profile-entry-condition-count-link {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-condition-groups {
|
|
|
|
margin-left: calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
margin-right: calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
padding-left: var(--modal-padding-horizontal);
|
|
|
|
padding-right: var(--modal-padding-horizontal);
|
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
|
|
|
}
|
|
|
|
.profile-condition-group-list-info {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
.profile-condition-group-list-info-space {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.profile-condition-groups-empty-info {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.profile-condition-groups:not(:empty)+.profile-condition-group-list-info>.profile-condition-groups-empty-info {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.profile-condition-group {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
.profile-condition-list-info {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
.profile-condition-list-info-space {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.profile-condition-group-separator-label {
|
|
|
|
width: 2.5em;
|
|
|
|
text-align: center;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
.profile-condition-group:last-child>.profile-condition-list-info>.profile-condition-group-separator-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-condition {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
.profile-condition-inner {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: -0.25em;
|
|
|
|
margin-left: -0.25em;
|
|
|
|
}
|
|
|
|
.profile-condition-inner>* {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
.profile-condition-prefix {
|
|
|
|
width: 2.5em;
|
|
|
|
text-align: center;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
height: var(--input-height);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
.profile-condition-prefix::after {
|
2021-01-03 20:30:38 +00:00
|
|
|
content: 'if';
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.profile-condition:nth-child(n+2)>.profile-condition-prefix::after {
|
2021-01-03 20:30:38 +00:00
|
|
|
content: 'and';
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
select.profile-condition-type,
|
|
|
|
select.profile-condition-operator {
|
|
|
|
width: auto;
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
.profile-condition-input-container {
|
|
|
|
flex: 1000000 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.profile-condition-input {
|
|
|
|
width: 100%;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.profile-condition-menu-button-container {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.anki-card-fields {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
.anki-card-field-name-header {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
.anki-card-field-input-header {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-12-18 17:05:33 +00:00
|
|
|
.anki-card-field-name-container {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-self: stretch;
|
|
|
|
align-items: center;
|
2020-12-07 01:37:19 +00:00
|
|
|
margin-top: 0.25em;
|
2020-12-18 17:05:33 +00:00
|
|
|
margin-right: 0.25em;
|
|
|
|
padding: 0 0.25em;
|
|
|
|
}
|
2020-12-20 16:27:05 +00:00
|
|
|
.anki-card-field-name-container[data-invalid=true],
|
2020-12-18 17:05:33 +00:00
|
|
|
.anki-card-field-name-container[data-order-matches=false][data-index='0'] {
|
|
|
|
background-color: var(--danger-color-lightest);
|
2020-12-30 02:33:57 +00:00
|
|
|
border-radius: var(--input-border-radius);
|
2020-12-18 17:05:33 +00:00
|
|
|
}
|
|
|
|
.anki-card-field-name {
|
|
|
|
flex: 1 1 auto;
|
2020-12-07 01:37:19 +00:00
|
|
|
}
|
|
|
|
.anki-card-field-value-container {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
input.anki-card-field-value {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
#anki-error-message-details {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
white-space: pre;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.anki-field-marker-info-table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
2021-01-31 01:44:54 +00:00
|
|
|
.anki-field-marker-info-table tr.anki-field-marker-info-table-heading {
|
2020-12-07 01:37:19 +00:00
|
|
|
font-weight: bold;
|
|
|
|
background-color: var(--input-background-color);
|
|
|
|
}
|
|
|
|
.anki-field-marker-info-table td {
|
|
|
|
vertical-align: top;
|
|
|
|
border: 1px solid var(--separator-color1);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.25em;
|
|
|
|
}
|
|
|
|
.anki-field-marker-info-table td:nth-child(n+2) {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
.anki-field-marker-info-table td:nth-last-child(n+2) {
|
|
|
|
border-right: none;
|
|
|
|
}
|
2021-01-31 01:44:54 +00:00
|
|
|
code.anki-field-marker {
|
|
|
|
white-space: nowrap;
|
|
|
|
font-size: 0.85em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
.anki-card-templates-layout {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
}
|
|
|
|
.anki-card-templates-info {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
}
|
|
|
|
.anki-card-templates-test-input-container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.anki-card-templates-test-container {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
}
|
|
|
|
.anki-card-templates-test-table {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr auto;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
column-gap: 0.85em;
|
|
|
|
}
|
|
|
|
.anki-card-templates-test-table-header {
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
}
|
|
|
|
#anki-card-templates-textarea {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
resize: none;
|
|
|
|
min-height: calc(var(--textarea-line-height) * 5 + var(--textarea-padding) * 2);
|
|
|
|
}
|
|
|
|
#anki-card-templates-render-result,
|
|
|
|
#anki-card-templates-compile-result {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
min-height: calc(var(--textarea-line-height) + var(--textarea-padding) * 2);
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: var(--textarea-padding);
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
background-color: var(--input-background-color);
|
|
|
|
border: none;
|
2020-12-30 02:33:57 +00:00
|
|
|
border-radius: var(--input-border-radius);
|
2020-12-07 01:37:19 +00:00
|
|
|
line-height: var(--textarea-line-height);
|
|
|
|
overflow: auto;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-popup-css-container {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
}
|
|
|
|
.custom-popup-css-header {
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
}
|
|
|
|
#custom-popup-css,
|
|
|
|
#custom-popup-outer-css {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
resize: none;
|
|
|
|
min-height: calc(var(--textarea-line-height) * 5 + var(--textarea-padding) * 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.scan-input-list {
|
|
|
|
margin: 0 calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
}
|
|
|
|
.scan-input {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
.scan-input+.scan-input {
|
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
|
|
|
}
|
|
|
|
.scan-input-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto 1fr auto;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
width: 100%;
|
|
|
|
column-gap: 0.25em;
|
|
|
|
row-gap: 0.25em;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 0 var(--modal-padding-horizontal);
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2021-08-20 22:13:56 +00:00
|
|
|
.scan-input-menu-button-cell {
|
2020-12-07 01:37:19 +00:00
|
|
|
grid-area: 1/4/2/5;
|
|
|
|
}
|
|
|
|
.scan-input-index-cell {
|
|
|
|
grid-area: 1/1/2/2;
|
|
|
|
align-self: center;
|
|
|
|
width: 2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.scan-input-prefix-cell {
|
|
|
|
align-self: center;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.scan-input-content-cell {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.scan-input-prefix-cell[data-property=include] {
|
|
|
|
grid-area: 1/2/2/3;
|
|
|
|
}
|
|
|
|
.scan-input-prefix-cell[data-property=exclude] {
|
|
|
|
grid-area: 2/2/3/3;
|
|
|
|
}
|
|
|
|
.scan-input-prefix-cell[data-property=types] {
|
|
|
|
grid-area: 3/2/4/3;
|
|
|
|
}
|
|
|
|
.scan-input-prefix-cell[data-property=search-options] {
|
|
|
|
grid-area: 4/2/5/3;
|
|
|
|
}
|
|
|
|
.scan-input-prefix-cell[data-property=touch-pen-options] {
|
|
|
|
grid-area: 5/2/6/3;
|
|
|
|
}
|
|
|
|
.scan-input-content-cell[data-property=include] {
|
|
|
|
grid-area: 1/3/2/4;
|
|
|
|
}
|
|
|
|
.scan-input-content-cell[data-property=exclude] {
|
|
|
|
grid-area: 2/3/3/4;
|
|
|
|
}
|
|
|
|
.scan-input-content-cell[data-property=types] {
|
|
|
|
grid-area: 3/3/4/4;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.scan-input-content-cell[data-property=search-options] {
|
|
|
|
grid-area: 4/3/5/4;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.scan-input-content-cell[data-property=touch-pen-options] {
|
|
|
|
grid-area: 5/3/6/4;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.scan-input-options-cell {
|
|
|
|
padding: 0.25em 0;
|
|
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
.scan-input:not([data-show-advanced=true]) .scan-input-advanced-only {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.scan-input-checkbox-item {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 0.75em;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.scan-input-checkbox-item>span {
|
|
|
|
padding-left: 0.375em;
|
|
|
|
}
|
|
|
|
.scan-input-option-heading {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.scan-input-option-group {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
padding-left: 1.5em;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2021-01-03 17:12:55 +00:00
|
|
|
.translation-text-replacement-entry {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto 1fr auto;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
grid-template-areas:
|
2021-01-03 20:30:38 +00:00
|
|
|
'index pattern-label pattern button'
|
|
|
|
'. replacement-label replacement button'
|
|
|
|
'. test-label test .';
|
2021-01-03 17:12:55 +00:00
|
|
|
column-gap: 0.25em;
|
|
|
|
row-gap: 0.25em;
|
|
|
|
align-items: stretch;
|
|
|
|
justify-items: stretch;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-entry+.translation-text-replacement-entry {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-index {
|
|
|
|
grid-area: index;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: start;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-pattern-label {
|
|
|
|
grid-area: pattern-label;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: start;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-replacement-label {
|
|
|
|
grid-area: replacement-label;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: start;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-pattern-container {
|
|
|
|
grid-area: pattern;
|
|
|
|
align-self: stretch;
|
|
|
|
justify-self: stretch;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-replacement-container {
|
|
|
|
grid-area: replacement;
|
|
|
|
align-self: stretch;
|
|
|
|
justify-self: stretch;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
input.translation-text-replacement-pattern,
|
|
|
|
input.translation-text-replacement-replacement {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-checkbox-container {
|
|
|
|
white-space: nowrap;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-checkbox-label {
|
|
|
|
padding-left: 0.5em;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-button {
|
|
|
|
grid-area: button;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: start;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-test-label {
|
|
|
|
grid-area: test-label;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: start;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-test-container {
|
|
|
|
grid-area: test;
|
|
|
|
align-self: stretch;
|
|
|
|
justify-self: stretch;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
input.translation-text-replacement-test-input,
|
|
|
|
input.translation-text-replacement-test-output {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-test-label-inner {
|
|
|
|
grid-area: button;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: start;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.translation-text-replacement-entry:not([data-test-visible=true]) .translation-text-replacement-test-node {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-01-10 19:43:06 +00:00
|
|
|
.sentence-termination-character-list-table {
|
|
|
|
width: 100%;
|
|
|
|
table-layout: fixed;
|
|
|
|
border-spacing: 0.25em;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
min-width: 400px;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table thead td {
|
|
|
|
white-space: nowrap;
|
|
|
|
font-size: var(--font-size-small);
|
|
|
|
line-height: 1;
|
|
|
|
text-align: left;
|
|
|
|
vertical-align: bottom;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td {
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td:nth-child(1) {
|
|
|
|
width: 2em;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td:nth-child(2) {
|
|
|
|
width: 4em;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td:nth-child(3) {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td:nth-child(4) {
|
|
|
|
width: 18.5%;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td:nth-child(5) {
|
|
|
|
width: 18.5%;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td:nth-child(6) {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-list-table td:nth-child(7) {
|
|
|
|
width: 3em;
|
|
|
|
}
|
|
|
|
select.sentence-termination-character-type,
|
|
|
|
input.sentence-termination-character-input1,
|
|
|
|
input.sentence-termination-character-input2 {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-input2-alt {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-entry:not([data-type=quote]) .sentence-termination-character-input2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-entry[data-type=quote] .sentence-termination-character-input2-alt {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-include-list {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-include {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
white-space: nowrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-include>:first-child {
|
|
|
|
margin-right: 0.375em;
|
|
|
|
}
|
|
|
|
.sentence-termination-character-include+.sentence-termination-character-include {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
#sentence-termination-character-list-empty {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
2021-01-15 01:56:18 +00:00
|
|
|
.hotkey-list {
|
|
|
|
margin: 0 calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
}
|
|
|
|
.hotkey-list-item {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
.hotkey-list-item+.hotkey-list-item {
|
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
|
|
|
}
|
|
|
|
.hotkey-list-item-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto 1fr auto;
|
|
|
|
grid-template-rows: auto;
|
|
|
|
grid-template-areas:
|
|
|
|
'index input-label input button'
|
|
|
|
'. action-label action .';
|
|
|
|
width: 100%;
|
|
|
|
column-gap: 0.25em;
|
|
|
|
row-gap: 0.25em;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 0 var(--modal-padding-horizontal);
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-index-cell {
|
|
|
|
grid-area: index;
|
|
|
|
align-self: center;
|
|
|
|
text-align: center;
|
|
|
|
width: 2em;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-button-cell {
|
|
|
|
grid-area: button;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-input-label-cell {
|
|
|
|
grid-area: input-label;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-input-cell {
|
|
|
|
grid-area: input;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
width: 100%;
|
|
|
|
align-items: stretch;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-input {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-action-label-cell {
|
|
|
|
grid-area: action-label;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-action-cell {
|
|
|
|
grid-area: action;
|
|
|
|
align-self: center;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-action {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2021-03-27 17:21:34 +00:00
|
|
|
.hotkey-list-item-enabled-button-container {
|
|
|
|
margin-left: 0.375em;
|
|
|
|
}
|
|
|
|
button.hotkey-list-item-enabled-button {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
button.hotkey-list-item-enabled-button[data-scope-count='0'] {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-enabled-button-label {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-enabled-button-label>.checkbox {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2021-03-28 02:30:45 +00:00
|
|
|
.hotkey-list-item-action-argument-container {
|
2021-03-27 17:21:34 +00:00
|
|
|
margin-left: 0.375em;
|
|
|
|
flex: 1 1 auto;
|
2021-03-28 02:30:45 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
width: var(--input-width-large);
|
|
|
|
}
|
|
|
|
.hotkey-argument-label {
|
|
|
|
margin-right: 0.25em;
|
2021-01-15 01:56:18 +00:00
|
|
|
}
|
|
|
|
.hotkey-list-item-flex-row {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.hotkey-list-item-flex-row-label {
|
|
|
|
margin: 0 0.5em 0 1em;
|
|
|
|
}
|
2021-03-27 17:21:34 +00:00
|
|
|
|
|
|
|
.hotkey-scope-popup-menu-item-label {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
2021-01-15 01:56:18 +00:00
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
2021-01-17 03:31:30 +00:00
|
|
|
}
|
2021-03-27 17:21:34 +00:00
|
|
|
.hotkey-scope-popup-menu-item-label>.checkbox {
|
|
|
|
margin-right: 0.5em;
|
2021-01-15 01:56:18 +00:00
|
|
|
}
|
|
|
|
|
2021-01-31 01:44:54 +00:00
|
|
|
.inline-icon {
|
|
|
|
position: relative;
|
|
|
|
width: calc(1em * (16 / var(--font-size-no-units)));
|
|
|
|
height: calc(1em * (16 / var(--font-size-no-units)));
|
|
|
|
top: calc(1em * (3 / var(--font-size-no-units)));
|
|
|
|
}
|
|
|
|
|
2021-04-30 22:01:16 +00:00
|
|
|
.badge {
|
2021-02-08 22:52:46 +00:00
|
|
|
position: relative;
|
|
|
|
width: var(--badge-size);
|
|
|
|
height: var(--badge-size);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
box-shadow: var(--shadow-vertical);
|
|
|
|
}
|
2021-04-30 22:01:16 +00:00
|
|
|
.badge:not([hidden]) {
|
2021-02-08 22:52:46 +00:00
|
|
|
display: block;
|
|
|
|
}
|
2021-04-30 22:01:16 +00:00
|
|
|
.badge>.icon {
|
2021-02-08 22:52:46 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2021-04-30 22:01:16 +00:00
|
|
|
}
|
|
|
|
.badge.badge-small-icon>.icon {
|
|
|
|
margin: calc(1em / var(--font-size-no-units));
|
|
|
|
}
|
|
|
|
.badge.info-badge {
|
|
|
|
background-color: var(--accent-color-lighter);
|
|
|
|
}
|
|
|
|
.badge.info-badge>.icon {
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
}
|
|
|
|
.badge.warning-badge {
|
|
|
|
background-color: var(--warning-color-light);
|
|
|
|
}
|
|
|
|
.badge.warning-badge>.icon {
|
2021-02-08 22:52:46 +00:00
|
|
|
background-color: var(--warning-color);
|
|
|
|
}
|
2021-04-30 22:01:16 +00:00
|
|
|
.badge.danger-badge {
|
|
|
|
background-color: var(--danger-color-lighter);
|
|
|
|
}
|
|
|
|
.badge.danger-badge>.icon {
|
|
|
|
background-color: var(--danger-color);
|
|
|
|
}
|
2021-02-08 22:52:46 +00:00
|
|
|
|
2021-03-31 22:17:28 +00:00
|
|
|
.collapsible-dictionary-list {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
.collapsible-dictionary-item {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
margin-right: calc(var(--modal-padding-horizontal) * -1);
|
|
|
|
padding: var(--settings-group-inner-horizontal-padding-fourth) var(--modal-padding-horizontal);
|
|
|
|
}
|
|
|
|
.collapsible-dictionary-item:not(:first-child) {
|
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
|
|
|
}
|
|
|
|
.collapsible-dictionary-cell {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.collapsible-dictionary-cell:first-of-type {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
.collapsible-dictionary-cell:not(:first-of-type) {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
.collapsible-dictionary-cell-label {
|
|
|
|
margin-left: 0.375em;
|
|
|
|
}
|
|
|
|
|
2021-04-11 03:55:11 +00:00
|
|
|
.page-loading-stalled-notification {
|
|
|
|
border: 1px solid var(--danger-color);
|
|
|
|
}
|
|
|
|
:root:not([data-loading-stalled=true]) .page-loading-stalled-notification {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
|
2021-04-30 22:01:16 +00:00
|
|
|
/* Dictionary settings */
|
|
|
|
.dictionary-list {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
2021-05-03 01:04:39 +00:00
|
|
|
grid-template-columns: auto auto 1fr auto auto;
|
2021-04-30 22:01:16 +00:00
|
|
|
grid-template-rows: auto;
|
|
|
|
place-items: center start;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2021-05-03 01:04:39 +00:00
|
|
|
.dictionary-list-index {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2021-04-30 22:01:16 +00:00
|
|
|
.dictionary-list[data-count='0']>.dictionary-item-top {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.dictionary-item-button-height {
|
|
|
|
height: var(--icon-button-size);
|
|
|
|
}
|
|
|
|
.dictionary-item {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
border-top: var(--thin-border-size) solid var(--separator-color2);
|
|
|
|
}
|
|
|
|
.dictionary-item-enabled-toggle-container {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
.dictionary-item-title-container {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
.dictionary-title {
|
|
|
|
color: inherit;
|
|
|
|
transition: color var(--animation-duration) ease-in-out;
|
|
|
|
}
|
|
|
|
.dictionary-item[data-enabled=false] .dictionary-title {
|
|
|
|
color: var(--text-color-light2);
|
|
|
|
}
|
|
|
|
input[type=number].dictionary-priority {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
.dictionary-outdated-button,
|
|
|
|
.dictionary-integrity-button {
|
|
|
|
--button-content-color: transparent;
|
|
|
|
--button-border-color: transparent;
|
|
|
|
--button-background-color: transparent;
|
|
|
|
--button-shadow: none;
|
|
|
|
|
|
|
|
--button-hover-content-color: transparent;
|
|
|
|
--button-hover-border-color: transparent;
|
|
|
|
--button-hover-background-color: transparent;
|
|
|
|
--button-hover-shadow: none;
|
|
|
|
|
|
|
|
--button-active-content-color: transparent;
|
|
|
|
--button-active-border-color: transparent;
|
|
|
|
--button-active-background-color: transparent;
|
|
|
|
--button-active-shadow: none;
|
|
|
|
|
|
|
|
--button-disabled-content-color: transparent;
|
|
|
|
--button-disabled-border-color: transparent;
|
|
|
|
--button-disabled-background-color: transparent;
|
|
|
|
--button-disabled-shadow: none;
|
|
|
|
|
|
|
|
--button-padding-vertical: 0;
|
|
|
|
--button-padding-horizontal: 0;
|
|
|
|
|
|
|
|
margin-left: 0.375em;
|
|
|
|
}
|
|
|
|
.dictionary-details-table {
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.dictionary-details-entry {
|
|
|
|
display: table-row;
|
|
|
|
}
|
|
|
|
.dictionary-details-entry+.dictionary-details-entry>* {
|
|
|
|
padding-top: 0.25em;
|
|
|
|
}
|
|
|
|
.dictionary-details-entry-label {
|
|
|
|
display: table-cell;
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
.dictionary-details-entry-info {
|
|
|
|
display: table-cell;
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
|
|
|
.dictionary-counts {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: inherit;
|
|
|
|
max-height: 10em;
|
|
|
|
line-height: 1.25;
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
white-space: pre;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-05-08 19:18:41 +00:00
|
|
|
/* Secondary search dictionary settings */
|
|
|
|
.secondary-search-dictionary-list {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
.secondary-search-dictionary-item {
|
|
|
|
padding: 0.375em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
/* Generic layouts */
|
|
|
|
.margin-above {
|
|
|
|
margin-top: 0.85em;
|
|
|
|
}
|
|
|
|
.margin-left {
|
|
|
|
margin-left: 0.85em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.horizontal-flex {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
margin-left: -0.375em;
|
|
|
|
align-items: center;
|
|
|
|
align-content: flex-start;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2021-05-16 19:24:38 +00:00
|
|
|
.horizontal-flex.horizontal-flex-nowrap {
|
|
|
|
flex-wrap: nowrap;
|
2021-09-26 15:08:16 +00:00
|
|
|
margin-left: 0;
|
2021-05-16 19:24:38 +00:00
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
.horizontal-flex>* {
|
|
|
|
margin-left: 0.375em;
|
|
|
|
}
|
2021-09-26 15:08:16 +00:00
|
|
|
.horizontal-flex.horizontal-flex-nowrap>*:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
.horizontal-flex-fill {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.generic-list {
|
|
|
|
counter-reset: generic-list-index;
|
|
|
|
}
|
|
|
|
.generic-list-index-prefix::after {
|
|
|
|
counter-increment: generic-list-index;
|
|
|
|
content: counter(generic-list-index);
|
|
|
|
}
|
2021-04-09 02:04:11 +00:00
|
|
|
.generic-list:not(:empty)~.generic-list-empty-indicator {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
.flex-row-nowrap {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.flex-row-nowrap.right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
.flex-row-wrap {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-02-08 22:52:46 +00:00
|
|
|
.flex-margin-left {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
.flex-column-nowrap {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.flex-column-nowrap-spaced>* {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-label {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.flex-label>span {
|
|
|
|
margin-left: 0.375em;
|
|
|
|
}
|
|
|
|
.flex-label.no-wrap>span {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-wrap {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2021-05-11 00:02:06 +00:00
|
|
|
.overflow-wrap {
|
|
|
|
word-break: break-all;
|
2021-05-10 23:06:07 +00:00
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
2022-04-02 19:24:59 +00:00
|
|
|
.input-prevention-option-list {
|
|
|
|
margin-top: 0.375em;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
width: 100%;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.input-prevention-option-list-item {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.input-prevention-option-list-item>:first-child {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
.input-prevention-option-list-item>:not(:first-child) {
|
|
|
|
margin-left: 0.375em;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
/* Environment-specific display */
|
2021-04-11 03:55:11 +00:00
|
|
|
:root[data-browser=unknown] [data-show-for-browser],
|
|
|
|
:root[data-browser=unknown] [data-hide-for-browser],
|
2020-12-07 01:37:19 +00:00
|
|
|
:root[data-browser=edge] [data-show-for-browser]:not([data-show-for-browser~=edge]),
|
|
|
|
:root[data-browser=edge-legacy] [data-show-for-browser]:not([data-show-for-browser~=edge-legacy]),
|
|
|
|
:root[data-browser=chrome] [data-show-for-browser]:not([data-show-for-browser~=chrome]),
|
2021-04-11 03:55:11 +00:00
|
|
|
:root[data-browser=safari] [data-show-for-browser]:not([data-show-for-browser~=safari]),
|
2020-12-07 01:37:19 +00:00
|
|
|
:root[data-browser=firefox] [data-show-for-browser]:not([data-show-for-browser~=firefox]),
|
|
|
|
:root[data-browser=firefox-mobile] [data-show-for-browser]:not([data-show-for-browser~=firefox-mobile]),
|
2020-12-18 22:00:34 +00:00
|
|
|
:root[data-browser=edge] [data-hide-for-browser~=edge],
|
|
|
|
:root[data-browser=edge-legacy] [data-hide-for-browser~=edge-legacy],
|
|
|
|
:root[data-browser=chrome] [data-hide-for-browser~=chrome],
|
2021-04-11 03:55:11 +00:00
|
|
|
:root[data-browser=safari] [data-hide-for-browser~=safari],
|
2020-12-18 22:00:34 +00:00
|
|
|
:root[data-browser=firefox] [data-hide-for-browser~=firefox],
|
|
|
|
:root[data-browser=firefox-mobile] [data-hide-for-browser~=firefox-mobile] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-04-11 03:55:11 +00:00
|
|
|
:root[data-os=unknown] [data-show-for-os],
|
|
|
|
:root[data-os=unknown] [data-hide-for-os],
|
2020-12-07 01:37:19 +00:00
|
|
|
:root[data-os=mac] [data-show-for-os]:not([data-show-for-os~=mac]),
|
|
|
|
:root[data-os=win] [data-show-for-os]:not([data-show-for-os~=win]),
|
|
|
|
:root[data-os=android] [data-show-for-os]:not([data-show-for-os~=android]),
|
|
|
|
:root[data-os=cros] [data-show-for-os]:not([data-show-for-os~=cros]),
|
|
|
|
:root[data-os=linux] [data-show-for-os]:not([data-show-for-os~=linux]),
|
|
|
|
:root[data-os=openbsd] [data-show-for-os]:not([data-show-for-os~=openbsd]),
|
|
|
|
:root[data-os=mac] [data-hide-for-os~=mac],
|
|
|
|
:root[data-os=win] [data-hide-for-os~=win],
|
|
|
|
:root[data-os=android] [data-hide-for-os~=android],
|
|
|
|
:root[data-os=cros] [data-hide-for-os~=cros],
|
|
|
|
:root[data-os=linux] [data-hide-for-os~=linux],
|
|
|
|
:root[data-os=openbsd] [data-hide-for-os~=openbsd] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-04-11 03:55:11 +00:00
|
|
|
:root[data-manifest-version=unknown] [data-show-for-manifest-version],
|
|
|
|
:root[data-manifest-version=unknown] [data-hide-for-manifest-version],
|
2020-12-18 22:00:34 +00:00
|
|
|
:root[data-manifest-version='2'] [data-show-for-manifest-version]:not([data-show-for-manifest-version~='2']),
|
|
|
|
:root[data-manifest-version='3'] [data-show-for-manifest-version]:not([data-show-for-manifest-version~='3']),
|
|
|
|
:root[data-manifest-version='2'] [data-hide-for-manifest-version~='2'],
|
|
|
|
:root[data-manifest-version='3'] [data-hide-for-manifest-version~='3'] {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-12-07 01:37:19 +00:00
|
|
|
|
|
|
|
/* Media-specific styles */
|
|
|
|
@media (max-width: 800px), (hover: none) and (max-width: 1100px) {
|
|
|
|
.fab-container {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
.sidebar-inner {
|
|
|
|
box-shadow: var(--shadow-right);
|
|
|
|
}
|
|
|
|
}
|