2017-09-01 10:23:50 +00:00
|
|
|
body {
|
2018-07-16 16:37:01 +00:00
|
|
|
overflow: hidden;
|
2017-09-01 10:23:50 +00:00
|
|
|
margin: 0;
|
2017-09-24 03:39:04 +00:00
|
|
|
background: white;
|
2022-01-18 13:39:33 +00:00
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
|
|
|
|
2017-11-11 05:13:34 +00:00
|
|
|
a {
|
|
|
|
color: #000;
|
|
|
|
transition: color .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2021-03-06 17:36:47 +00:00
|
|
|
img.icon {
|
2017-10-06 07:25:37 +00:00
|
|
|
height: 1.4em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-11-29 11:24:46 +00:00
|
|
|
input:disabled + span {
|
|
|
|
color: rgb(128, 128, 128);
|
2017-11-29 10:37:37 +00:00
|
|
|
}
|
|
|
|
|
2018-07-16 16:37:01 +00:00
|
|
|
#header,
|
2017-11-22 10:19:27 +00:00
|
|
|
.warnings {
|
2022-01-13 09:47:37 +00:00
|
|
|
flex: 0 0 var(--header-width);
|
2017-11-22 00:50:19 +00:00
|
|
|
box-sizing: border-box;
|
2018-07-16 16:37:01 +00:00
|
|
|
padding: 1rem;
|
2017-09-01 10:23:50 +00:00
|
|
|
box-shadow: 0 0 50px -18px black;
|
2022-01-18 13:39:33 +00:00
|
|
|
word-break: break-all;
|
2017-09-15 05:40:04 +00:00
|
|
|
overflow-wrap: break-word;
|
2017-11-22 10:19:27 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
#header {
|
|
|
|
--child-gap: 1rem;
|
|
|
|
}
|
|
|
|
#header-contents > :nth-last-child(n + 2) {
|
|
|
|
margin-bottom: var(--child-gap);
|
|
|
|
}
|
2018-07-16 16:37:01 +00:00
|
|
|
#header.meta-init-error {
|
2017-11-22 10:19:27 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
#header-contents ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-11-22 10:19:27 +00:00
|
|
|
|
|
|
|
.warnings {
|
|
|
|
display: none;
|
|
|
|
padding-bottom: 0;
|
|
|
|
flex-basis: auto;
|
|
|
|
background: #ffe2e2;
|
|
|
|
border-right: none;
|
|
|
|
border-bottom: 1px dashed #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-warnings .warnings {
|
2018-07-16 16:37:01 +00:00
|
|
|
display: flex;
|
2017-11-22 10:19:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.warning {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 125%;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning pre {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
margin: 1ex 0 0;
|
2018-07-04 16:25:03 +00:00
|
|
|
font-family: monospace;
|
2017-11-22 10:19:27 +00:00
|
|
|
font-weight: normal;
|
|
|
|
font-size: 80%;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
|
|
|
|
2017-11-24 17:27:09 +00:00
|
|
|
h1 {
|
2017-09-01 10:23:50 +00:00
|
|
|
margin-top: 0;
|
2022-01-18 13:39:33 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
flex-wrap: wrap;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.meta-name {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
.meta-version {
|
2017-09-05 02:32:30 +00:00
|
|
|
font-size: 0.6em;
|
2022-01-18 13:39:33 +00:00
|
|
|
white-space: nowrap;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
2017-09-13 08:54:09 +00:00
|
|
|
.meta-version::before {
|
2022-01-18 13:39:33 +00:00
|
|
|
content: "v";
|
2017-09-13 08:54:09 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.checkbox-wrapper {
|
|
|
|
padding-left: 16px;
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.set-update-url p {
|
|
|
|
word-break: break-all;
|
|
|
|
opacity: .5;
|
|
|
|
margin: .25em 0 0;
|
|
|
|
}
|
|
|
|
#install-wrapper {
|
2017-09-10 14:05:44 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-01-18 13:39:33 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
#install-wrapper > :nth-last-child(n + 2) {
|
|
|
|
margin-right: .5rem;
|
|
|
|
}
|
|
|
|
#live-reload-install-hint {
|
|
|
|
color: darkcyan;
|
|
|
|
}
|
|
|
|
.w100 {
|
|
|
|
width: 100%;
|
2017-09-10 14:05:44 +00:00
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install {
|
2017-12-01 23:43:01 +00:00
|
|
|
font-family: Arial, "DejaVu Sans", Verdana, Geneva, sans-serif;
|
|
|
|
font-size: 14px;
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(0, 0%, 33%);
|
|
|
|
color: #eee;
|
2017-12-01 23:43:01 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px 38px 4px 10px;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
text-shadow: 1px 1px 1px #333;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: none;
|
|
|
|
cursor: pointer;
|
|
|
|
box-shadow: inset 0 -1px 0 0 hsl(0, 0%, 24%), inset 0 1px 0 0 hsl(0, 0%, 30%), inset 1px 0 0 0 hsl(0, 0%, 24%);
|
2018-02-14 02:58:27 +00:00
|
|
|
transition: color .25s, background-color .25s;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install,
|
|
|
|
.install:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAeCAYAAAAGos/EAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gINFiccyZ2qfAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAb0lEQVQY012OwQ3CUAzFnNeMAfsv1hk4VDTm0H6ByMmyLL2U+lRowKobwAVFEEWbwqKIIGDXBTQqBU3VbWYk0CTLIAxNEHI1s5oAYXAYm2AIfZ64Ab1ta4s/yHv908twHB5gqf0Tvyg1l9l3efC9Dw0XRC2vHIXXAAAAAElFTkSuQmCC);
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:hover:not(:disabled) {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(0, 0%, 38%);
|
|
|
|
color: #fff;
|
|
|
|
text-shadow: none;
|
2017-12-01 23:43:01 +00:00
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:before,
|
|
|
|
.install:after {
|
2017-12-01 23:43:01 +00:00
|
|
|
content: "";
|
|
|
|
vertical-align: middle;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
border-left: 1px solid rgba(0, 0, 0, .3);
|
|
|
|
box-shadow: inset 0 -1px 0 0 hsl(0, 0%, 24%), inset 0 1px 0 0 hsl(0, 0%, 30%), inset -1px 0 0 0 hsl(0, 0%, 38%);
|
2017-12-01 23:43:01 +00:00
|
|
|
padding: 5px 8px;
|
2018-02-14 02:58:27 +00:00
|
|
|
transition: background-color .25s;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:before,
|
|
|
|
.install:active:before,
|
|
|
|
.install:active:hover:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(176, 50%, 35%);
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:hover:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(176, 50%, 40%);
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:active,
|
|
|
|
.install:active:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAeCAYAAAAGos/EAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gINFioX6+ENuQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAc0lEQVQY003OwQ0CQQxD0edsRBX03xg9cFjBhMPuSOT0ZdmxuS/zesWTzExBI7xlZhrKeeYkmZkH1Icg3Rfs1D98v3Kgj+NSypJlpZWU0tbKKlpVCm0JSyuxPbbnqpiJ0JLr8+w9sbtGxqRFInvYbLiVGX46ECZMv8VvjwAAAABJRU5ErkJggg==);
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:active,
|
|
|
|
.install:active:hover {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(0, 0%, 33%);
|
2017-12-01 23:43:01 +00:00
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:after {
|
2017-12-01 23:43:01 +00:00
|
|
|
background-image: url(../images/icon/16.png);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install:disabled {
|
2018-01-04 10:36:27 +00:00
|
|
|
opacity: .25;
|
|
|
|
color: white;
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install.reinstall:after {
|
2017-12-01 23:43:01 +00:00
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install.reinstall:before,
|
|
|
|
.install.reinstall:active:before,
|
|
|
|
.install.reinstall:active:hover:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(0, 0%, 20%);
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install.reinstall:hover:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(0, 0%, 25%);
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install.reinstall:hover:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: #444;
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install.update:before,
|
|
|
|
.install.update:active:before,
|
|
|
|
.install.update:active:hover:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(140, 100%, 13%);
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install.update:hover:before {
|
2018-02-14 02:58:27 +00:00
|
|
|
background-color: hsl(140, 100%, 18%);
|
|
|
|
}
|
|
|
|
|
2021-03-19 20:02:02 +00:00
|
|
|
.install.update:after {
|
2017-12-01 23:43:01 +00:00
|
|
|
filter: hue-rotate(-18deg) brightness(.7) contrast(2);
|
|
|
|
}
|
|
|
|
|
2022-01-18 13:39:33 +00:00
|
|
|
h2 {
|
2017-11-22 00:50:19 +00:00
|
|
|
font-weight: bold;
|
2022-01-18 13:39:33 +00:00
|
|
|
margin: 0;
|
2021-08-26 19:10:08 +00:00
|
|
|
color: darkcyan;
|
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.installed .configure-usercss svg {
|
2021-08-26 19:10:08 +00:00
|
|
|
fill: hsl(180, 100%, 20%);
|
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.installed .configure-usercss:hover svg {
|
2021-08-26 19:10:08 +00:00
|
|
|
fill: hsl(180, 100%, 30%);
|
2017-11-22 00:50:19 +00:00
|
|
|
}
|
|
|
|
|
2022-01-18 13:39:33 +00:00
|
|
|
#header-contents > .hide-empty:empty,
|
|
|
|
body:not(.installed) .install-show,
|
|
|
|
.installed .install-hide {
|
|
|
|
display: none !important;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.installed .install-dim {
|
2017-12-06 19:35:19 +00:00
|
|
|
opacity: .5;
|
2021-12-02 16:49:03 +00:00
|
|
|
}
|
|
|
|
|
2017-09-05 02:32:30 +00:00
|
|
|
.external {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.external > * {
|
|
|
|
margin: 0 7.5px;
|
|
|
|
}
|
|
|
|
|
2017-11-22 00:50:19 +00:00
|
|
|
li {
|
|
|
|
margin-left: -2em;
|
|
|
|
}
|
|
|
|
|
2017-09-10 14:05:44 +00:00
|
|
|
.main {
|
2017-09-15 05:40:04 +00:00
|
|
|
overflow: hidden;
|
2017-09-24 08:54:21 +00:00
|
|
|
}
|
|
|
|
|
2018-07-16 16:37:01 +00:00
|
|
|
.main,
|
2017-09-24 08:54:21 +00:00
|
|
|
.main .CodeMirror {
|
2022-01-18 13:39:33 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2017-11-22 10:19:27 +00:00
|
|
|
border: none;
|
2017-09-10 14:05:44 +00:00
|
|
|
}
|
2017-11-22 00:50:19 +00:00
|
|
|
|
2017-11-24 17:27:09 +00:00
|
|
|
/* spinner-related */
|
|
|
|
|
2018-07-16 16:37:01 +00:00
|
|
|
#header {
|
2017-11-24 17:27:09 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2018-07-16 16:37:01 +00:00
|
|
|
#header:not(.meta-init) > *:not(.lds-spinner),
|
|
|
|
#header.meta-init > .lds-spinner {
|
2017-11-24 17:27:09 +00:00
|
|
|
-moz-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2018-07-16 16:37:01 +00:00
|
|
|
#header.meta-init > * {
|
2017-11-24 17:27:09 +00:00
|
|
|
transition: opacity .5s;
|
|
|
|
}
|
|
|
|
|
2022-01-18 13:39:33 +00:00
|
|
|
.meta-init[data-arrived-fast="true"] > * {
|
2021-01-01 14:27:58 +00:00
|
|
|
transition-duration: .1s;
|
|
|
|
}
|
|
|
|
|
2017-11-24 17:27:09 +00:00
|
|
|
.lds-spinner {
|
|
|
|
top: 50px;
|
|
|
|
opacity: .2;
|
|
|
|
transition: opacity .5s;
|
2021-07-30 12:44:06 +00:00
|
|
|
animation: none;
|
2017-11-24 17:27:09 +00:00
|
|
|
}
|
|
|
|
|
2021-08-12 11:40:03 +00:00
|
|
|
.configure-usercss .svg-icon.config {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
#message-box.config-dialog {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
#message-box.config-dialog > div {
|
|
|
|
box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.75); /* copied from message-box.css + darkened the color */
|
|
|
|
}
|
|
|
|
|
2017-11-22 00:50:19 +00:00
|
|
|
/************ reponsive layouts ************/
|
2017-11-22 10:19:27 +00:00
|
|
|
|
2018-07-16 16:37:01 +00:00
|
|
|
@media (max-width: 850px) {
|
|
|
|
body {
|
2017-11-22 00:50:19 +00:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
2018-07-16 16:37:01 +00:00
|
|
|
#header {
|
2017-11-22 10:19:27 +00:00
|
|
|
border-bottom: 1px dashed #AAA;
|
2022-01-18 13:39:33 +00:00
|
|
|
min-height: 6rem;
|
|
|
|
max-height: 40vh;
|
|
|
|
resize: vertical;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
--child-gap: .75rem;
|
2018-07-16 16:37:01 +00:00
|
|
|
}
|
|
|
|
#header:not(.meta-init) {
|
|
|
|
min-height: 300px;
|
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
#header-contents {
|
2018-07-16 16:37:01 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2022-01-18 13:39:33 +00:00
|
|
|
align-content: flex-start;
|
|
|
|
align-items: flex-start;
|
2018-07-16 16:37:01 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
#header-contents > :not(.w100) {
|
|
|
|
margin-right: 1rem;
|
2018-07-16 16:37:01 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.set-update-url {
|
2018-07-16 16:37:01 +00:00
|
|
|
display: flex;
|
|
|
|
white-space: nowrap;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.set-update-url p {
|
2022-01-18 13:39:33 +00:00
|
|
|
margin: 0 0 0 1rem;
|
2018-07-16 16:37:01 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2017-11-22 10:19:27 +00:00
|
|
|
.warning:not(:last-child) {
|
|
|
|
border-bottom: 1px dashed #b57c7c;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
#header-contents h3 {
|
|
|
|
margin: 0 0 .5rem;
|
2017-11-22 10:19:27 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
#message-box.config-dialog > div {
|
|
|
|
top: auto;
|
|
|
|
bottom: 3rem;
|
2017-11-22 10:19:27 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
h1 {
|
|
|
|
flex-wrap: nowrap;
|
2017-11-22 10:19:27 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.meta-name {
|
2018-07-16 16:37:01 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2022-01-18 13:39:33 +00:00
|
|
|
white-space: nowrap;
|
2017-11-22 00:50:19 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.main {
|
|
|
|
height: auto;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 850px) {
|
|
|
|
#header {
|
|
|
|
height: 100% !important; /* overrides user resize */
|
2017-11-22 00:50:19 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
#ss-scheme > label {
|
|
|
|
display: block;
|
2017-11-22 00:50:19 +00:00
|
|
|
}
|
2022-01-18 13:39:33 +00:00
|
|
|
.w100-full {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: var(--child-gap);
|
2021-08-12 11:40:03 +00:00
|
|
|
}
|
2017-11-22 00:50:19 +00:00
|
|
|
}
|
2017-12-01 23:43:01 +00:00
|
|
|
|
|
|
|
/* Retina-specific stuff here */
|
|
|
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
|
|
.install:after {
|
|
|
|
background-image: url(../images/icon/32.png);
|
|
|
|
background-size: 16px 16px;
|
|
|
|
}
|
|
|
|
}
|