error handling, launcher ui, read-only mode, rm plot/smooth

This commit is contained in:
bordun 2020-03-09 19:12:43 +01:00
parent cee4cb81b7
commit 4f31985930
59 changed files with 1299 additions and 781 deletions

View file

@ -71,221 +71,6 @@ body {
#launcher {
overflow: initial;
body {
background: var(--color-fg);
overflow: auto;
}
.form {
padding:8rem;
padding-top:58rem;
position: relative;
width: 100%;
background: var(--color-fg);
overflow: hidden;
opacity: 0;
transition: opacity .25s;
&.loaded {
opacity: 1;
overflow: auto;
}
}
.item-wrapper {
// margin-bottom:4rem;
label {
min-width:98rem;
}
.input-wrapper {
position: relative;
// height: 28rem;
// overflow: hidden;
// margin: 0;
box-shadow: none;
.clear {
padding:0;
height:26rem;
width: 26rem;
line-height: 26rem;
text-align: center;
position: absolute;
right:1rem;
top:2rem;
background: none;
opacity: .7;
box-shadow: none;
}
input {
padding-right:35rem;
box-shadow: none;
}
input[value="true"] {
color: inherit;
}
input[disabled] {
color:var(--color-accent);
}
.checkbox {
right: 30rem;
&.disabled {
pointer-events: none;
&.on i {
color:var(--color-text-fade);
}
}
}
}
.error-msg, .restart-msg {
transition: height .25s;
height: 0rem;
white-space:normal;
padding: 0 4rem;
margin-left:1rem;
text-transform: none;
}
&.error, &.restart {
.error-msg {
height: 28rem;
line-height: 28rem;
background: rgba(red,0.25)
}
.restart-msg {
height: 28rem;
line-height: 28rem;
background: rgba(orange,0.25)
}
}
}
.header {
position: fixed;
top:8rem;
left:8rem;
right:8rem;
background: var(--color-fg);
border: 1rem solid var(--color-bg);
margin-bottom: -1rem;
color: var(--color-accent);
cursor: default;
z-index: 2;
box-shadow: none;
box-shadow: 0 0 0 1rem var(--color-light) inset,
0 -8rem 0 0 var(--color-fg);
padding: 16rem 15rem 14rem;
#title {
text-transform: uppercase;
letter-spacing: 1rem;
font-size: 12rem;
line-height: 12rem;
}
#version {
opacity: .5;
text-transform: none;
}
#new-version {
color:yellow;
cursor: pointer;
float:right;
}
}
.start {
border: 1rem solid var(--color-bg);
z-index: 1;
margin-top: 8rem;
&:after {
content:"";
position: absolute;
top:0;
left:0;
right: 0;
bottom:0;
box-shadow: 0 0 0 1rem var(--color-light) inset;
pointer-events: none;
}
&.disabled {
opacity: .5;
}
&.started {
color:#fff;
cursor: default;
a {
cursor: pointer;
text-decoration: underline;
}
}
&.started:before {
content:"";
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
background-color: var(--color-accent);
opacity: 0.25;
z-index: -1;
}
}
.save {
float:left;
width:97rem;
border-right: 0;
&:before {
transition: opacity .5s;
content:"";
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
background-color: var(--color-accent);
opacity: 0;
z-index: -1;
}
&.saved:before {
transition: none;
opacity: 0.25;
}
}
.terminal {
margin-top: 8rem;
background: var(--color-bg);
font-family: 'RobotoMono';
text-transform: none;
padding:3rem;
border:2rem solid var(--color-bg);
letter-spacing: normal;
cursor: auto;
flex:1;
height: auto;
min-height: 50rem;
div {
user-select:text;
width: 100%;
white-space: pre-line;
word-wrap: break-word;
text-indent: -10px;
padding-left: 10px;
margin-top: 4rem;
}
.log {
}
.error {
color: rgba(255, 150, 50, 1)
}
}
}