2017-09-01 10:23:50 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
font: 12px arial, sans-serif;
|
2017-09-24 03:39:04 +00:00
|
|
|
background: white;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
|
|
|
|
2017-11-11 05:13:34 +00:00
|
|
|
a {
|
|
|
|
color: #000;
|
|
|
|
transition: color .5s;
|
|
|
|
text-decoration-skip: ink;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2017-11-09 00:01:45 +00:00
|
|
|
img.icon,
|
2017-11-29 10:37:37 +00:00
|
|
|
.svg-icon {
|
2017-10-06 07:25:37 +00:00
|
|
|
height: 1.4em;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-11-29 10:37:37 +00:00
|
|
|
.svg-icon {
|
|
|
|
margin-left: 2px;
|
2017-11-29 11:24:46 +00:00
|
|
|
fill: #000;
|
|
|
|
transition: fill .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover .svg-icon {
|
|
|
|
fill: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:disabled + span {
|
|
|
|
color: rgb(128, 128, 128);
|
2017-11-29 10:37:37 +00:00
|
|
|
}
|
|
|
|
|
2017-09-01 10:23:50 +00:00
|
|
|
.container {
|
|
|
|
display: flex;
|
2017-09-24 08:54:21 +00:00
|
|
|
height: 100vh;
|
2017-09-01 10:23:50 +00:00
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
2017-11-22 10:19:27 +00:00
|
|
|
.main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header,
|
|
|
|
.warnings {
|
2017-09-24 08:54:21 +00:00
|
|
|
flex: 0 0 280px;
|
2017-11-22 00:50:19 +00:00
|
|
|
box-sizing: border-box;
|
2017-09-01 10:23:50 +00:00
|
|
|
padding: 15px;
|
|
|
|
border-right: 1px dashed #aaa;
|
|
|
|
box-shadow: 0 0 50px -18px black;
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header.meta-init-error {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warnings {
|
|
|
|
display: none;
|
|
|
|
padding-bottom: 0;
|
|
|
|
flex-basis: auto;
|
|
|
|
background: #ffe2e2;
|
|
|
|
border-right: none;
|
|
|
|
border-bottom: 1px dashed #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-warnings .warnings {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 125%;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning pre {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
margin: 1ex 0 0;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2017-09-05 02:32:30 +00:00
|
|
|
h1 small {
|
|
|
|
font-size: 0.6em;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
|
|
|
|
2017-09-13 08:54:09 +00:00
|
|
|
.meta-version::before {
|
|
|
|
content: " v";
|
|
|
|
}
|
|
|
|
|
2017-09-01 10:23:50 +00:00
|
|
|
.actions {
|
2017-11-22 10:19:27 +00:00
|
|
|
margin-bottom: 1em;
|
2017-09-01 10:23:50 +00:00
|
|
|
}
|
|
|
|
|
2017-09-19 00:23:47 +00:00
|
|
|
.actions label {
|
2017-09-24 08:54:21 +00:00
|
|
|
max-width: -moz-fit-content;
|
2017-11-22 00:50:19 +00:00
|
|
|
max-width: fit-content;
|
2017-09-10 14:05:44 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-09-18 21:10:45 +00:00
|
|
|
margin: 0.5em 0;
|
2017-09-10 14:05:44 +00:00
|
|
|
}
|
|
|
|
|
2017-11-22 00:50:19 +00:00
|
|
|
.install {
|
2017-12-01 23:43:01 +00:00
|
|
|
font-family: Arial, "DejaVu Sans", Verdana, Geneva, sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
background: linear-gradient(#666, #555);
|
|
|
|
color: white;
|
|
|
|
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;
|
|
|
|
margin-bottom: 1ex;
|
|
|
|
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%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.install:before,
|
|
|
|
.install:after {
|
|
|
|
content: "";
|
|
|
|
vertical-align: middle;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.install:before {
|
|
|
|
background-image: linear-gradient(hsl(176, 44%, 40%), hsl(176, 50%, 35%));
|
|
|
|
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 rgba(0, 0, 0, .3), inset -1px 0 0 0 hsl(0, 0%, 38%);
|
|
|
|
padding: 5px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.install:after {
|
|
|
|
background-image: url(../images/icon/16.png);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.install:hover {
|
|
|
|
filter: brightness(1.1);
|
|
|
|
color: #eee;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.install.reinstall:after {
|
|
|
|
background-color: #333;
|
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.install.update:before,
|
|
|
|
.install.update:after {
|
|
|
|
filter: hue-rotate(-18deg) brightness(.7) contrast(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.install.installed,
|
|
|
|
h2.installed {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.installed.active {
|
|
|
|
display: inline-block;
|
2017-11-22 00:50:19 +00:00
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 1ex;
|
2017-12-01 23:43:01 +00:00
|
|
|
margin-top: 0;
|
2017-11-22 00:50:19 +00:00
|
|
|
}
|
|
|
|
|
2017-09-19 00:23:47 +00:00
|
|
|
.actions label input {
|
2017-09-10 14:05:44 +00:00
|
|
|
margin: 0 0.5em 0 0;
|
2017-09-24 08:54:21 +00:00
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions label span {
|
|
|
|
min-width: 0;
|
2017-09-01 10:23:50 +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
|
|
|
}
|
|
|
|
|
|
|
|
.main .CodeMirror {
|
2017-11-22 10:19:27 +00:00
|
|
|
height: auto;
|
|
|
|
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 */
|
|
|
|
|
|
|
|
.header {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header:not(.meta-init) > *:not(.lds-spinner),
|
|
|
|
.header.meta-init > .lds-spinner {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header.meta-init > * {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity .5s;
|
|
|
|
-webkit-user-select: auto;
|
|
|
|
-moz-user-select: auto;
|
|
|
|
-ms-user-select: auto;
|
|
|
|
user-select: auto;
|
|
|
|
}
|
|
|
|
|
2017-12-03 23:40:22 +00:00
|
|
|
label {
|
|
|
|
padding-left: 16px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2017-11-24 17:27:09 +00:00
|
|
|
/* spinner: https://github.com/loadingio/css-spinner */
|
|
|
|
|
|
|
|
@keyframes lds-spinner {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-webkit-keyframes lds-spinner {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.lds-spinner {
|
|
|
|
position: absolute;
|
|
|
|
width: 200px;
|
|
|
|
height: 200px;
|
|
|
|
top: 50px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: auto;
|
|
|
|
opacity: .2;
|
|
|
|
transition: opacity .5s;
|
|
|
|
}
|
|
|
|
.lds-spinner div {
|
|
|
|
left: 94px;
|
|
|
|
top: 23px;
|
|
|
|
position: absolute;
|
|
|
|
-webkit-animation: lds-spinner linear 1s infinite;
|
|
|
|
animation: lds-spinner linear 1s infinite;
|
|
|
|
background: currentColor;
|
|
|
|
width: 12px;
|
|
|
|
height: 34px;
|
|
|
|
border-radius: 20%;
|
|
|
|
-webkit-transform-origin: 6px 77px;
|
|
|
|
transform-origin: 6px 77px;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(1) {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
-webkit-animation-delay: -0.916666666666667s;
|
|
|
|
animation-delay: -0.916666666666667s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(2) {
|
|
|
|
-webkit-transform: rotate(30deg);
|
|
|
|
transform: rotate(30deg);
|
|
|
|
-webkit-animation-delay: -0.833333333333333s;
|
|
|
|
animation-delay: -0.833333333333333s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(3) {
|
|
|
|
-webkit-transform: rotate(60deg);
|
|
|
|
transform: rotate(60deg);
|
|
|
|
-webkit-animation-delay: -0.75s;
|
|
|
|
animation-delay: -0.75s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(4) {
|
|
|
|
-webkit-transform: rotate(90deg);
|
|
|
|
transform: rotate(90deg);
|
|
|
|
-webkit-animation-delay: -0.666666666666667s;
|
|
|
|
animation-delay: -0.666666666666667s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(5) {
|
|
|
|
-webkit-transform: rotate(120deg);
|
|
|
|
transform: rotate(120deg);
|
|
|
|
-webkit-animation-delay: -0.583333333333333s;
|
|
|
|
animation-delay: -0.583333333333333s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(6) {
|
|
|
|
-webkit-transform: rotate(150deg);
|
|
|
|
transform: rotate(150deg);
|
|
|
|
-webkit-animation-delay: -0.5s;
|
|
|
|
animation-delay: -0.5s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(7) {
|
|
|
|
-webkit-transform: rotate(180deg);
|
|
|
|
transform: rotate(180deg);
|
|
|
|
-webkit-animation-delay: -0.416666666666667s;
|
|
|
|
animation-delay: -0.416666666666667s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(8) {
|
|
|
|
-webkit-transform: rotate(210deg);
|
|
|
|
transform: rotate(210deg);
|
|
|
|
-webkit-animation-delay: -0.333333333333333s;
|
|
|
|
animation-delay: -0.333333333333333s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(9) {
|
|
|
|
-webkit-transform: rotate(240deg);
|
|
|
|
transform: rotate(240deg);
|
|
|
|
-webkit-animation-delay: -0.25s;
|
|
|
|
animation-delay: -0.25s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(10) {
|
|
|
|
-webkit-transform: rotate(270deg);
|
|
|
|
transform: rotate(270deg);
|
|
|
|
-webkit-animation-delay: -0.166666666666667s;
|
|
|
|
animation-delay: -0.166666666666667s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(11) {
|
|
|
|
-webkit-transform: rotate(300deg);
|
|
|
|
transform: rotate(300deg);
|
|
|
|
-webkit-animation-delay: -0.083333333333333s;
|
|
|
|
animation-delay: -0.083333333333333s;
|
|
|
|
}
|
|
|
|
.lds-spinner div:nth-child(12) {
|
|
|
|
-webkit-transform: rotate(330deg);
|
|
|
|
transform: rotate(330deg);
|
|
|
|
-webkit-animation-delay: 0s;
|
|
|
|
animation-delay: 0s;
|
|
|
|
}
|
|
|
|
@-webkit-keyframes load3 {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes load3 {
|
|
|
|
0% {
|
|
|
|
-webkit-transform: rotate(0deg);
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-22 00:50:19 +00:00
|
|
|
/************ reponsive layouts ************/
|
2017-11-22 10:19:27 +00:00
|
|
|
|
|
|
|
@media (max-width:10in) {
|
2017-11-22 00:50:19 +00:00
|
|
|
.container {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.header {
|
|
|
|
flex-basis: auto;
|
2017-11-22 10:19:27 +00:00
|
|
|
border-right: none;
|
|
|
|
border-bottom: 1px dashed #AAA;
|
|
|
|
max-height: 50%;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
.has-warnings .header {
|
|
|
|
min-height: 4em;
|
|
|
|
max-height: 20%;
|
|
|
|
}
|
|
|
|
.warnings {
|
|
|
|
max-height: 20%;
|
|
|
|
}
|
|
|
|
.warning:not(:last-child) {
|
|
|
|
border-bottom: 1px dashed #b57c7c;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
.header,
|
|
|
|
.warning {
|
|
|
|
-webkit-column-count: 3;
|
|
|
|
-moz-column-count: 3;
|
|
|
|
column-count: 3;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
-webkit-column-span: all;
|
|
|
|
column-span: all;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
.actions {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.install {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width:7in) {
|
|
|
|
.header,
|
|
|
|
.warning {
|
2017-11-22 00:50:19 +00:00
|
|
|
-webkit-column-count: 2;
|
|
|
|
-moz-column-count: 2;
|
|
|
|
column-count: 2;
|
|
|
|
}
|
2017-11-22 10:19:27 +00:00
|
|
|
}
|
|
|
|
|
2017-11-22 13:48:42 +00:00
|
|
|
@media (max-width:4in) {
|
2017-11-22 10:19:27 +00:00
|
|
|
.header {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2017-11-22 14:23:06 +00:00
|
|
|
max-height: 100%;
|
2017-11-22 10:19:27 +00:00
|
|
|
}
|
|
|
|
.header,
|
|
|
|
.warning {
|
|
|
|
-webkit-column-count: 1;
|
|
|
|
-moz-column-count: 1;
|
|
|
|
column-count: 1;
|
2017-11-22 00:50:19 +00:00
|
|
|
}
|
2017-11-22 10:19:27 +00:00
|
|
|
.warning {
|
|
|
|
border: none;
|
|
|
|
padding-bottom: unset;
|
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;
|
|
|
|
}
|
|
|
|
}
|