2018-05-25 20:33:22 +00:00
|
|
|
.console-ui-panel-scroller {
|
2018-06-14 18:52:00 +00:00
|
|
|
background: linear-gradient(to right, #191a1c, #1b212d);
|
2018-05-25 20:33:22 +00:00
|
|
|
height: 0;
|
|
|
|
left: 0;
|
|
|
|
overflow: auto;
|
2018-05-29 02:50:37 +00:00
|
|
|
position: absolute;
|
|
|
|
min-height: 0;
|
2018-05-25 20:33:22 +00:00
|
|
|
right: 0;
|
|
|
|
transform: translate3d(0, -400px, 0);
|
|
|
|
transition: min-height $speed ease-out, transform $speed ease-in;
|
|
|
|
will-change: transform, min-height;
|
2018-05-29 02:50:37 +00:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2018-05-25 20:33:22 +00:00
|
|
|
z-index: 199;
|
|
|
|
}
|
|
|
|
|
|
|
|
.console-ui-panel {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding: $size-8 $size-8 $size-4;
|
|
|
|
min-height: 100%;
|
|
|
|
color: $white;
|
|
|
|
font-size: $body-size;
|
|
|
|
font-weight: $font-weight-semibold;
|
|
|
|
transition: justify-content $speed ease-in;
|
|
|
|
|
2018-06-14 18:52:00 +00:00
|
|
|
pre,
|
|
|
|
p {
|
2018-05-25 20:33:22 +00:00
|
|
|
background: none;
|
|
|
|
color: inherit;
|
|
|
|
font-size: $body-size;
|
|
|
|
|
|
|
|
&:not(.console-ui-command):not(.CodeMirror-line) {
|
|
|
|
padding-left: $console-spacing;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-s-hashi.CodeMirror {
|
|
|
|
background-color: rgba($black, 0.5) !important;
|
|
|
|
font-weight: $font-weight-normal;
|
|
|
|
margin-left: $console-spacing;
|
|
|
|
padding: $size-8 $size-4;
|
|
|
|
}
|
|
|
|
|
2018-06-14 18:52:00 +00:00
|
|
|
.button {
|
2018-05-25 20:33:22 +00:00
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
color: $grey-dark;
|
|
|
|
min-width: 0;
|
|
|
|
padding: 0 $size-8;
|
|
|
|
|
|
|
|
&.active,
|
|
|
|
&:hover {
|
|
|
|
background: $blue;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.console-ui-input {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
input {
|
|
|
|
background-color: rgba($black, 0.5);
|
|
|
|
border: 0;
|
|
|
|
caret-color: $white;
|
|
|
|
color: $white;
|
|
|
|
flex: 1;
|
|
|
|
font-family: $family-monospace;
|
2018-05-29 02:50:37 +00:00
|
|
|
font-size: 16px;
|
2018-05-25 20:33:22 +00:00
|
|
|
font-weight: $font-weight-bold;
|
|
|
|
margin-left: -$size-10;
|
|
|
|
outline: none;
|
|
|
|
padding: $size-10;
|
|
|
|
transition: background-color $speed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.console-ui-command {
|
|
|
|
line-height: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.console-ui-output {
|
|
|
|
transition: background-color $speed;
|
|
|
|
padding-right: $size-2;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.console-ui-output-actions {
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: opacity $speed;
|
|
|
|
will-change: opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: rgba($black, 0.25);
|
|
|
|
|
|
|
|
.console-ui-output-actions {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.console-ui-alert {
|
|
|
|
margin-left: calc(#{$console-spacing} - 0.33rem);
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-14 18:52:00 +00:00
|
|
|
.panel-open .console-ui-panel-scroller {
|
2018-05-25 21:28:03 +00:00
|
|
|
box-shadow: $box-shadow-highest;
|
2018-05-25 20:33:22 +00:00
|
|
|
transform: translate3d(0, 0, 0);
|
2018-05-29 02:50:37 +00:00
|
|
|
min-height: 400px;
|
2018-05-25 20:33:22 +00:00
|
|
|
}
|
2018-05-25 21:28:03 +00:00
|
|
|
|
2018-06-14 18:52:00 +00:00
|
|
|
.panel-open .console-ui-panel-scroller.fullscreen {
|
2018-05-25 20:33:22 +00:00
|
|
|
bottom: 0;
|
|
|
|
top: 0;
|
2018-05-29 02:50:37 +00:00
|
|
|
position: fixed;
|
2018-05-25 20:33:22 +00:00
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-open {
|
2018-06-14 18:52:00 +00:00
|
|
|
.navbar,
|
|
|
|
.navbar-sections {
|
2018-05-25 20:33:22 +00:00
|
|
|
transition: transform $speed ease-in;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-open.panel-fullscreen {
|
2018-06-14 18:52:00 +00:00
|
|
|
.navbar,
|
|
|
|
.navbar-sections {
|
2018-05-25 20:33:22 +00:00
|
|
|
transform: translate3d(0, -100px, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-26 21:35:47 +00:00
|
|
|
.page-container > header:not(.page-header) {
|
2018-06-14 18:52:00 +00:00
|
|
|
background: linear-gradient(to right, #191a1c, #1b212d);
|
2018-05-25 20:33:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
header .navbar,
|
|
|
|
header .navbar-sections {
|
|
|
|
z-index: 200;
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
will-change: transform;
|
|
|
|
}
|
2018-06-01 22:18:31 +00:00
|
|
|
|
|
|
|
.console-spinner.control {
|
|
|
|
height: 21px;
|
|
|
|
width: 21px;
|
|
|
|
transform: scale(.75);
|
|
|
|
transform-origin: center;
|
|
|
|
&::after {
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
right: .25rem;
|
|
|
|
left: .25rem;
|
|
|
|
top: .25rem;
|
|
|
|
bottom: .25rem;
|
|
|
|
}
|
|
|
|
}
|