open-stage-control/browser/css/style.css
2016-03-18 02:01:51 +01:00

1483 lines
38 KiB
CSS

:root {
--color-accent: #528bff;
--color-text: rgba(255, 255, 255, 0.8);
--color-text-fade: rgba(255, 255, 255, 0.5); }
* {
margin: 0;
padding: 0;
border: 0;
box-sizing: border-box;
text-decoration: none;
outline: 0;
font: inherit;
color: inherit;
cursor: inherit;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none; }
::-webkit-scrollbar {
width: 20rem;
height: 20rem;
opacity: 1; }
::-webkit-scrollbar-track-piece {
background: #202329; }
::-webkit-scrollbar-track-piece:vertical {
border-left: 4rem solid #202329; }
::-webkit-scrollbar-track-piece:horizontal {
border-top: 4rem solid #202329; }
::-webkit-scrollbar-corner {
background: transparent; }
::-webkit-scrollbar-thumb {
background: #363b45; }
::-webkit-scrollbar-thumb:vertical {
border-left: 4rem solid #202329; }
::-webkit-scrollbar-thumb:horizontal {
border-top: 4rem solid #202329; }
body {
background: #2d313a;
border-radius: 0; }
#container {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: flex;
flex-direction: column;
background: #202329;
padding: 4rem;
transition: right .2s; }
#container.sidepanel-open {
right: 300rem; }
.content {
border-radius: 0;
height: 100%;
overflow: hidden;
position: relative;
background: #2d313a;
padding: 4rem; }
.tab {
position: absolute;
border-radius: 0;
overflow: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #202329; }
.tab.has-tabs {
display: flex;
flex-direction: column; }
.tab.has-tabs > .navigation {
background: #202329; }
.tab.has-tabs > .content {
background: none; }
.navigation {
height: 40rem;
border-radius: 0;
margin-bottom: 4rem;
flex-shrink: 0;
font-weight: bold;
text-transform: uppercase; }
.navigation.main li:last-child {
width: 40rem;
max-width: 40rem;
min-width: 40rem; }
.navigation.main li:last-child i {
margin: 0 auto; }
.navigation ul {
list-style: none;
display: flex;
overflow: hidden;
height: 100%;
border-radius: 0; }
.navigation ul li {
display: block;
min-width: 0;
flex: 1;
cursor: pointer;
height: 100%;
margin-right: 1rem; }
.navigation ul li.parent {
max-width: 150rem;
flex: 1;
position: relative;
padding-right: 1rem; }
.navigation ul li.parent a {
background: #363b45; }
.navigation ul li.parent:before {
content: "";
display: block;
position: absolute;
border-left: 20rem solid #202329;
border-bottom: 20rem solid transparent;
border-top: 20rem solid transparent;
top: 0;
right: -21rem;
z-index: 1; }
.navigation ul li.parent:after {
content: "";
display: block;
position: absolute;
border-left: 20rem solid #363b45;
border-bottom: 20rem solid transparent;
border-top: 20rem solid transparent;
top: 0;
right: -19rem;
z-index: 2; }
.navigation ul li:last-child {
margin-right: 0; }
.navigation ul li a {
background: #2d313a;
pointer-events: none;
padding: 5rem;
border-radius: 0;
height: 100%;
display: flex;
align-items: center;
overflow: hidden;
text-align: center;
position: relative; }
.navigation ul li a span {
display: block;
width: 100%;
-webkit-mask: linear-gradient(to left, transparent, #000000 10rem) no-repeat; }
.navigation ul li a:after {
content: "";
background: #528bff;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2rem;
opacity: 0;
transition: all .2s;
transform: scale(0); }
.navigation ul li.on a, .navigation ul li .sidepanel-open {
position: relative;
background: #363b45; }
.navigation ul li.on a:after, .navigation ul li .sidepanel-open:after {
opacity: 1;
transform: scale(1); }
.navigation ul .parent + li a {
padding-left: 25rem; }
.form .input-wrapper {
display: flex;
margin-bottom: 4rem;
background: #202329;
align-items: center; }
.form .input-wrapper:last-child {
margin-bottom: 0; }
.form .input-wrapper label {
background: #2d313a;
flex-shrink: 0;
padding: 5rem;
border: 1rem solid #202329; }
.form .input-wrapper .input, .form .input-wrapper input {
background: #202329;
width: 100%;
padding: 5rem; }
.form .input-wrapper.column {
flex-direction: column; }
.form .input-wrapper.column label {
width: 100%;
padding: 7rem;
margin-bottom: 0; }
.form label {
display: block;
font-size: 10rem;
background: #292d34; }
.form .info {
color: rgba(255, 255, 255, 0.5);
margin-bottom: 10rem; }
.form input, .form .input {
display: block;
border: 0;
font: inherit;
color: rgba(255, 255, 255, 0.8);
width: 100%; }
.form input:focus, .form .input:focus {
border-color: #528bff; }
.form input .btn, .form .input .btn {
background: #363b45;
box-shadow: 0 0 0 1rem #202329; }
.form .checkbox {
background: #363b45;
cursor: pointer; }
.form .select-wrapper {
position: relative;
width: 100%; }
.form .select-wrapper:after {
content: "\f107";
font-family: FontAwesome;
position: absolute;
padding: 5rem;
right: 0;
top: 0;
font-size: 20rem; }
.form select {
-webkit-appearance: none; }
.form .submit {
margin-top: 30rem; }
.form .separator {
line-height: 30rem;
height: 30rem;
margin-bottom: 5rem;
position: relative;
display: flex;
align-items: center; }
.form .separator:before, .form .separator:after {
content: "";
top: 14rem;
width: 100%;
height: 1rem;
background: rgba(255, 255, 255, 0.5); }
.form .separator span {
font-variant: small-caps;
position: relative;
display: block;
width: 100%;
text-align: center; }
.widget.editing {
z-index: 11 !important; }
.widget.editing:after, li.editing a:before, a.editing:before, .content.editing:before, #container.editing:before {
content: "";
z-index: 999;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 1px dashed #528bff;
pointer-events: none; }
.context-menu {
position: fixed;
z-index: 999999999;
background: #363b45;
box-shadow: 0 0 4rem 0 #15171a; }
.context-menu .context-menu {
position: absolute;
left: 100%;
top: 0;
opacity: 0;
pointer-events: none;
margin-left: 2rem; }
.context-menu .context-menu:before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: -2rem;
width: 2rem; }
.context-menu > .item {
padding: 10rem 15rem 10rem 10rem;
position: relative;
cursor: pointer; }
.context-menu > .item i {
margin-right: 5rem;
width: 15rem;
text-align: center; }
.context-menu > .item:hover, .context-menu > .item:focus {
background: #528bff; }
.context-menu > .item:hover > .context-menu, .context-menu > .item:focus > .context-menu {
pointer-events: auto;
opacity: 1; }
.context-menu > .item.has-sub:before {
content: "\f105";
display: block;
font-family: FontAwesome;
float: right;
margin-right: -10rem;
padding-left: 10rem; }
.ui-resizable-handle {
position: absolute;
z-index: 1000000;
display: flex;
justify-content: center;
align-items: center;
background: #528bff;
width: 20rem;
height: 20rem;
border-radius: 100%;
box-shadow: 0 0 4rem 0 #202329; }
.ui-resizable-handle:after {
content: "";
position: absolute;
top: -5rem;
right: -5rem;
left: -5rem;
bottom: -5rem; }
.ui-resizable-handle.ui-resizable-se {
content: "";
bottom: 5rem;
right: 5rem;
cursor: se-resize; }
.ui-resizable-handle.ui-resizable-se:before {
content: "\f065";
font-family: FontAwesome;
transform: rotate(90deg); }
.ui-resizable-handle.ui-resizable-e {
top: 50%;
margin-top: -10rem;
right: 5rem;
cursor: e-resize; }
.ui-resizable-handle.ui-resizable-e:before {
content: "\f051";
font-family: FontAwesome; }
.ui-resizable-handle.ui-resizable-s {
bottom: 5rem;
left: 50%;
margin-left: -10rem;
cursor: s-resize; }
.ui-resizable-handle.ui-resizable-s:before {
content: "\f051";
font-family: FontAwesome;
transform: rotate(90deg); }
.ui-helper {
border: 1rem dashed #528bff;
background: rgba(82, 139, 255, 0.25);
min-width: 30rem !important;
min-height: 30rem !important;
z-index: 12 !important;
opacity: 1 !important; }
:not(.absolute-position) .ui-helper:not(.ui-draggable-dragging) {
margin-top: -8rem;
margin-left: -8rem; }
.ui-draggable-handle {
position: absolute;
top: 5rem;
left: 5rem;
z-index: 100000;
cursor: -webkit-grab;
height: 20rem;
width: 20rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 100%;
background: #528bff;
box-shadow: 0 0 4rem 0 #202329; }
.ui-draggable-handle:active {
cursor: -webkit-grabbing; }
.ui-draggable-handle:before {
content: "\f0b2";
font-family: FontAwesome;
transform: rotate(45deg); }
#sidepanel {
position: absolute;
z-index: 999999;
width: 300rem;
border: 8rem solid #2d313a;
top: 0;
right: 0;
bottom: 0;
margin-right: -300rem;
background: #2d313a;
transition: right .2s;
overflow-y: auto;
overflow-x: visible; }
#sidepanel.sidepanel-open {
right: 300rem; }
#sidepanel #options {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
list-style: none; }
#sidepanel #options li {
display: block;
margin-bottom: 8rem;
position: relative; }
#sidepanel #options li:last-child {
margin: 0; }
#sidepanel #options li .btn + span {
position: absolute;
right: 0rem;
top: 0rem;
padding: 8rem;
color: rgba(255, 255, 255, 0.5); }
#sidepanel #options li .btn + span:hover {
color: rgba(255, 255, 255, 0.8); }
#sidepanel #options li ul {
padding: 4rem; }
#sidepanel #options li ul li {
margin-bottom: 4rem; }
#sidepanel #options .editor .form {
margin-top: 10rem; }
#sidepanel #options .help {
margin-top: 10rem;
font-size: .75em;
text-align: center;
font-style: italic; }
#sidepanel::-webkit-scrollbar-track-piece {
background: #202329; }
#sidepanel::-webkit-scrollbar-track-piece:vertical {
border-left: 8rem solid #2d313a; }
#sidepanel::-webkit-scrollbar-thumb {
background: #363b45; }
#sidepanel::-webkit-scrollbar-thumb:vertical {
border-left: 8rem solid #2d313a; }
.actions {
padding: 1rem;
background: #202329;
display: flex;
align-items: stretch;
flex-wrap: wrap; }
.actions .title {
background: #292d34;
min-width: 100%;
flex-grow: 2;
padding: 10rem;
box-shadow: 0 0 0 1rem #202329; }
.actions a {
min-width: 33%;
flex-grow: 4;
padding: 10rem;
display: block;
text-align: center;
box-shadow: 0 0 0 1rem #202329;
position: relative; }
.actions a.on {
pointer-events: none; }
.actions a.on:after {
opacity: 1;
transform: scale(1); }
.actions a:after {
content: "";
background: #528bff;
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2rem;
opacity: 0;
transition: all .2s;
transform: scale(0); }
.widget {
display: inline-block;
height: auto;
overflow: hidden;
position: relative;
padding: 35rem 0 0;
vertical-align: top;
box-shadow: 0 0 0 1rem #202329;
background: #2d313a;
background-clip: padding-box;
-webkit-tap-highlight-color: transparent;
min-height: 30rem;
min-width: 30rem; }
.widget:not(:last-child):not(.absolute-position) {
margin-right: 1rem; }
.widget.absolute-position {
position: absolute;
z-index: 10;
border: 0; }
.widget.nolabel {
padding-top: 0; }
.widget.nolabel > .label {
display: none; }
.widget .label {
padding: 10rem 10rem;
position: absolute;
top: 0;
left: 0;
right: 0;
text-overflow: ellipsis;
overflow: hidden;
text-align: center;
height: 35rem;
background: #292d34;
border-bottom: 1rem solid #202329; }
.widget .label.accent {
color: #528bff; }
.widget .input {
width: 100%;
height: 30rem;
border: 0;
background: transparent;
color: rgba(255, 255, 255, 0.5);
display: block;
padding: 7rem 5rem;
position: relative; }
.widget .input input {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding: 7rem 5rem;
width: 100%;
font: inherit;
text-align: center;
border: 0;
background: transparent;
color: #528bff; }
.widget .input canvas {
width: 100%;
height: 100%;
opacity: 0;
transition: opacity .2s; }
.widget .input canvas.visible {
opacity: .8; }
.widget .input input + canvas {
visibility: hidden; }
.widget .input:focus {
color: #528bff; }
.widget .input[disabled] {
color: rgba(255, 255, 255, 0.5); }
.fader-container {
width: 100rem;
min-height: 200rem;
height: 100%; }
.fader-container.nolabel .fader-wrapper-outer {
top: 0; }
.fader-container .fader-wrapper-outer {
padding-bottom: 30rem;
position: absolute;
top: 30rem;
bottom: 0;
left: 0;
right: 0; }
.fader-container .fader-wrapper-outer .input {
position: absolute;
bottom: 0; }
.fader-container .fader-wrapper {
padding: 20rem 20rem 10rem;
overflow: hidden;
height: 100%;
position: relative;
cursor: -webkit-grab; }
.fader-container .fader-wrapper:active {
cursor: -webkit-grabbing; }
.fader-container .fader-wrapper .fader {
height: 100%;
width: 4rem;
position: relative;
margin: 0 auto;
pointer-events: none; }
.fader-container .fader-wrapper .fader:before {
content: "";
width: 100%;
height: 100%;
background: #1c1f25;
z-index: 1;
position: relative;
display: block;
box-shadow: 0 0 0 15rem #2d313a; }
.fader-container .fader-wrapper .fader.nogauge .handle {
background: none; }
.fader-container .fader-wrapper .fader .handle {
position: absolute;
bottom: 0 !important;
top: auto !important;
width: 100%;
height: 100%;
transform-origin: bottom;
max-height: 100%;
max-width: 100%;
background: #528bff;
z-index: 1;
transform-style: preserve-3d;
backface-visibility: hidden; }
.fader-container .fader-wrapper .fader .handle span {
position: absolute;
bottom: 0;
top: 0;
width: 100%;
height: 100%;
transform-origin: top;
backface-visibility: hidden; }
.fader-container .fader-wrapper .fader .handle span:before {
content: "";
position: absolute;
top: -4rem;
left: -2rem;
height: 8rem;
width: 8rem;
background: #528bff;
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 6rem rgba(82, 139, 255, 0.2), 0 0 2rem 0 rgba(48, 52, 61, 0.996); }
.fader-container .fader-wrapper .fader .handle span:after {
content: "";
position: absolute;
top: -10rem;
left: -8rem;
height: 20rem;
width: 20rem;
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 1rem rgba(82, 139, 255, 0.2) inset; }
.fader-container .fader-wrapper .pips {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
z-index: 0; }
.fader-container .fader-wrapper .pips .pip {
height: 1%;
width: 38rem;
margin-left: -19rem;
background: linear-gradient(rgba(255, 255, 255, 0.8), transparent 1px); }
.fader-container .fader-wrapper .pips .pip.val {
position: relative;
width: 44rem;
margin-left: -22rem; }
.fader-container .fader-wrapper .pips .pip.val span {
position: absolute;
width: 30rem;
display: block;
text-align: center;
font-size: 11rem;
line-height: 12rem;
left: 44rem;
top: -5.5rem;
color: rgba(255, 255, 255, 0.5); }
.fader-container .fader-wrapper .pips .pip.val span:last-child {
left: auto;
right: 44rem; }
.fader-container.horizontal {
min-height: 80rem;
height: auto;
width: 300rem;
flex-shrink: 0; }
.fader-container.horizontal .fader-wrapper-outer {
position: relative;
top: auto;
padding-bottom: 30rem;
height: 100%; }
.fader-container.horizontal .fader-wrapper-outer .fader-wrapper {
padding: 20rem 20rem 35rem; }
.fader-container.horizontal .fader-wrapper-outer .fader {
width: 100%;
left: auto;
top: 50%;
height: 4rem; }
.fader-container.horizontal .fader-wrapper-outer .fader .handle {
height: 100%important;
width: 100%;
transform-origin: left; }
.fader-container.horizontal .fader-wrapper-outer .fader .handle span {
transform-origin: right; }
.fader-container.horizontal .fader-wrapper-outer .fader .handle span:before {
top: -2rem;
right: -4rem;
left: auto; }
.fader-container.horizontal .fader-wrapper-outer .fader .handle span:after {
top: -8rem;
right: -10rem;
left: auto; }
.fader-container.horizontal .fader-wrapper-outer .pips {
top: 14rem;
left: 0;
right: 0;
font-size: 0; }
.fader-container.horizontal .fader-wrapper-outer .pip {
width: 1%;
display: inline-block;
height: 4rem;
margin-bottom: 5rem;
margin-left: 0;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent 1px); }
.fader-container.horizontal .fader-wrapper-outer .pip.val {
width: 1%;
height: 10rem;
margin-left: 0; }
.fader-container.horizontal .fader-wrapper-outer .pip.val span {
top: 15rem;
left: -15rem; }
.fader-container.horizontal .fader-wrapper-outer .pip.val span:last-child {
display: none; }
.knob-container {
width: 100rem;
display: inline-flex !important;
align-items: center;
min-height: 135rem;
flex-shrink: 0; }
.knob-container.nolabel .knob-wrapper-outer {
top: 0;
padding-bottom: 30rem; }
.knob-container .knob-wrapper-outer {
width: 100%;
top: 30rem;
bottom: 0;
padding: 10rem 0 50rem;
height: 100%;
display: flex;
align-items: center; }
.knob-container .knob-wrapper-outer .input {
bottom: 0;
position: absolute;
left: 0; }
.knob-container .knob-wrapper-outer .knob-wrapper {
margin: 0 auto;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
cursor: -webkit-grab; }
.knob-container .knob-wrapper-outer .knob-wrapper:active {
cursor: -webkit-grabbing; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask {
width: 58%;
padding-bottom: 58%;
flex-shrink: 0;
border-radius: 100%;
pointer-events: none;
position: relative; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask:before {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 100%;
border: 4rem solid #1c1f25;
box-shadow: 0 0 0 1rem rgba(48, 52, 61, 0.996), 0 0 0 1rem rgba(48, 52, 61, 0.996) inset, 0 0 1rem 1rem rgba(48, 52, 61, 0.996), 0 0 1rem 1rem rgba(48, 52, 61, 0.996) inset;
transform: rotate(45deg);
z-index: 4; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask.pan-left:before {
content: "";
border-left-color: transparent;
border-bottom-color: transparent; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask.pan-left .knob:after {
border-color: #1c1f25;
border-left-color: #528bff;
border-top-color: #528bff; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask.pan-right:before {
content: "";
border-right-color: transparent;
border-top-color: transparent; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask.pan-right .knob:after {
border-color: #1c1f25;
border-right-color: #528bff;
border-bottom-color: #528bff; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob-mask:after {
content: "";
position: absolute;
top: 0rem;
left: -3rem;
right: -3rem;
bottom: -2rem;
border-radius: 100%;
border: 12rem solid transparent;
border-bottom-color: #2d313a;
z-index: 4; }
.knob-container .knob-wrapper-outer .knob-wrapper .round {
content: "";
position: absolute;
top: 15rem;
left: 15rem;
right: 15rem;
bottom: 15rem;
border-radius: 100%;
background: #363b45; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
transform: rotateZ(0deg);
backface-visibility: hidden;
z-index: 2; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob:after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 100%;
border: 4rem solid #1c1f25;
border-bottom-color: #528bff; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob.d2:after {
border-right-color: #528bff; }
.knob-container .knob-wrapper-outer .knob-wrapper .knob.d3:after {
border-top-color: #528bff;
border-right-color: #528bff; }
.knob-container .knob-wrapper-outer .knob-wrapper .handle {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
transform: rotateZ(-45deg);
backface-visibility: hidden;
z-index: 5; }
.knob-container .knob-wrapper-outer .knob-wrapper .handle:before {
content: "";
position: absolute;
top: 50%;
left: -2rem;
margin-top: -4rem;
height: 8rem;
width: 8rem;
background: #528bff;
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 6rem rgba(82, 139, 255, 0.2), 0 0 2rem 0 rgba(48, 52, 61, 0.996); }
.knob-container .knob-wrapper-outer .knob-wrapper .handle:after {
content: "";
position: absolute;
top: 50%;
margin-top: -10rem;
left: -8rem;
height: 20rem;
width: 20rem;
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 1rem rgba(82, 139, 255, 0.2) inset; }
.knob-container .knob-wrapper-outer .knob-wrapper .pip {
position: absolute;
font-size: 11rem;
color: rgba(255, 255, 255, 0.8);
pointer-events: none;
top: 50%;
margin-top: 30%; }
.knob-container .knob-wrapper-outer .knob-wrapper .pip.min {
left: 0;
right: 50%;
width: 50%;
text-align: center; }
.knob-container .knob-wrapper-outer .knob-wrapper .pip.max {
left: 50%;
width: 50%;
right: 0;
text-align: center; }
/* Multiple widgets (push|toggle|fader) matrix */
.multitoggle-container, .multipush-container, .multifader-container {
height: 200rem;
width: 200rem; }
.multitoggle-container.nolabel .matrix, .multipush-container.nolabel .matrix, .multifader-container.nolabel .matrix {
top: 0; }
.matrix {
overflow: auto;
position: absolute;
top: 35rem;
left: 0;
right: 0;
bottom: 0;
background: #202329;
display: flex;
flex-wrap: wrap;
flex-direction: row; }
.matrix > .widget {
min-height: 0;
min-width: 0;
margin: 0 !important; }
.multifader-container .matrix {
padding: 0 !important; }
.multifader-container .widget {
border: 0 !important; }
.multifader-container .widget .label {
background: none;
border: 0; }
.multifader-container .fader-wrapper {
padding: 10rem 0 !important; }
.multifader-container .fader-wrapper .fader {
left: 0 !important; }
.multifader-container .fader-wrapper .fader .pips {
display: none; }
.xy-container, .rgb-container {
width: 200rem;
height: 250rem;
flex-shrink: 0; }
.xy-container.nolabel .xy-wrapper, .rgb-container.nolabel .xy-wrapper {
top: 0; }
.xy-wrapper {
position: absolute;
top: 35rem;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
padding-bottom: 60rem; }
.xy-wrapper .value {
width: 100%;
position: absolute;
bottom: 0;
border-top: 1rem solid #202329; }
.xy-wrapper .input, .xy-wrapper input {
width: 50%;
float: left;
height: 30rem;
text-align: center;
position: relative; }
.xy {
position: relative;
width: auto;
height: 100%;
overflow: hidden;
cursor: -webkit-grab;
background: rgba(32, 35, 41, 0.5); }
.xy:active {
cursor: -webkit-grabbing; }
.xy:active .handle:after, .xy:active .handle:before {
transform: scale(1.5); }
.xy .handle {
position: absolute;
bottom: 0;
left: 0;
z-index: 2;
pointer-events: none;
backface-visibility: hidden;
transform-origin: center;
transform: translate3d(0, 0, 0); }
.xy .handle:before {
content: "";
position: absolute;
top: -4rem;
right: -4rem;
height: 8rem;
width: 8rem;
background: #528bff;
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 6rem rgba(82, 139, 255, 0.2), 0 0 2rem 0 rgba(48, 52, 61, 0.996); }
.xy .handle:after {
content: "";
position: absolute;
top: -10rem;
right: -10rem;
height: 20rem;
width: 20rem;
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 1rem rgba(82, 139, 255, 0.2) inset; }
.rgb-wrapper {
padding-bottom: 90rem; }
.rgb-wrapper .input, .rgb-wrapper input {
width: 33.33%; }
.rgb .bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: red;
opacity: .75; }
.rgb .bg:before, .rgb .bg:after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%; }
.rgb .bg:before {
background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%); }
.rgb .bg:after {
background: linear-gradient(to bottom, transparent 0%, black 100%); }
.rgb .handle:before {
content: "";
position: absolute;
top: -4rem;
right: -4rem;
height: 8rem;
width: 8rem;
background: rgba(255, 255, 255, 0.8);
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 6rem rgba(255, 255, 255, 0); }
.rgb .handle:after {
content: "";
position: absolute;
top: -10rem;
right: -10rem;
height: 20rem;
width: 20rem;
border: none !important;
border-radius: 100% !important;
box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0) inset; }
.hue {
width: auto;
height: 29rem;
overflow: hidden;
position: absolute;
bottom: 61rem;
left: 0;
right: 0;
cursor: -webkit-grab; }
.hue .bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.5;
background: transparent linear-gradient(to left, #F00, #FF0080, #F0F, #8000FF, #00F, #0080FF, #0FF, #00FF80, #0F0, #80FF00, #FF0, #FF8000, #F00) repeat scroll 0% 0%; }
.hue:active {
cursor: -webkit-grabbing; }
.hue:active .handle:after {
transform: scale(1.5); }
.hue .handle {
position: absolute;
z-index: 2;
left: 0;
top: 50%;
pointer-events: none;
transform: translate3d(0, 0, 0); }
.hue .handle:before {
content: "";
position: absolute;
top: -4rem;
right: -4rem;
height: 8rem;
width: 8rem;
border: none !important;
border-radius: 100% !important;
box-shadow: none;
background: rgba(255, 255, 255, 0.8); }
.led-container {
width: 100rem;
flex-shrink: 0; }
.led-container .led {
padding: 10rem;
display: flex;
align-items: center;
height: 100%; }
.led-container .led div {
border-radius: 100%;
width: 40rem;
height: 40rem;
margin: 0 auto;
overflow: hidden;
background: #15171a; }
.led-container .led div span {
height: 100%;
display: block;
background-color: #528bff; }
.plot-container, .visualizer-container {
min-height: 200rem;
min-width: 200rem; }
.plot-container .plot, .visualizer-container .plot {
position: absolute;
top: 35rem;
left: 0;
right: 0;
bottom: 0; }
.plot-container.nolabel .plot, .visualizer-container.nolabel .plot {
top: 0; }
.plot-container canvas, .visualizer-container canvas {
width: 100%;
height: 100%;
opacity: 0;
transition: opacity .2s; }
.plot-container canvas.visible, .visualizer-container canvas.visible {
opacity: 1; }
.toggle-container {
width: 100rem;
min-height: 65rem;
flex-shrink: 0;
padding: 0 !important;
background: #363b45;
cursor: pointer; }
.toggle-container .label {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: auto;
background: none !important;
text-align: center;
pointer-events: none;
display: flex;
justify-content: center;
align-items: center; }
.toggle {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-bottom: 4rem solid #2d313a; }
.toggle .light {
position: absolute;
left: 4rem;
right: 4rem;
top: 4rem;
height: 4rem;
background: #1c1f25;
pointer-events: none; }
.toggle.on .light {
background: #528bff; }
.push-container {
width: 100rem;
min-height: 65rem;
flex-shrink: 0;
padding: 0 !important;
background: #363b45;
cursor: pointer; }
.push-container .label {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: auto;
background: none !important;
text-align: center;
pointer-events: none;
display: flex;
justify-content: center;
align-items: center;
z-index: 1; }
.push {
border-bottom: 4rem solid #2d313a; }
.push.on {
animation: none;
background: #528bff; }
.switch-container {
width: 100rem;
flex-shrink: 0; }
.switch-container.nolabel .value:first-child {
border-top: 0 !important; }
.switch-container .switch {
height: 100%;
width: 100%;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: stretch; }
.switch-container .switch.horizontal {
flex-direction: row; }
.switch-container .switch.horizontal .value {
padding: 28rem 12rem 12rem 12rem;
text-align: center;
display: flex;
justify-content: center;
flex-direction: column; }
.switch-container .switch.horizontal .value:before {
left: 50%;
top: 8rem;
width: 8rem;
height: 8rem;
margin-left: -4rem;
margin-top: 0; }
.switch-container .switch.horizontal .value:first-child {
border-top: 1rem solid #2d313a; }
.switch-container .switch .value {
background: #363b45;
color: rgba(255, 255, 255, 0.8);
width: 100%;
height: 100%;
position: relative;
border-top: 1rem solid #2d313a;
padding: 12rem 12rem 12rem 24rem;
white-space: normal;
text-align: left;
word-break: break-all;
overflow: hidden; }
.switch-container .switch .value:last-child {
margin-bottom: 0; }
.switch-container .switch .value:before {
content: "";
position: absolute;
left: 8rem;
top: 50%;
width: 8rem;
height: 8rem;
margin-top: -4rem;
background: #1c1f25;
border-radius: 8rem; }
.switch-container .switch .value.on:before {
background: #528bff; }
.strip-container {
padding-top: 35rem;
width: 100rem;
height: 100%;
overflow: visible;
background: none; }
.strip-container.nolabel {
padding: 0 !important; }
.strip-container .strip {
height: 100%;
display: flex;
flex-direction: column; }
.strip-container .strip > .widget {
display: block;
width: auto;
margin: 0; }
.strip-container.vertical {
padding-top: 35rem;
border-bottom: 0; }
.strip-container.vertical .strip > .widget {
max-width: 100%;
margin-top: -1rem; }
.strip-container.horizontal {
padding-top: 0;
padding-left: 35rem;
width: 100%;
height: auto;
display: block;
border-right: 0;
margin-bottom: 4rem; }
.strip-container.horizontal .strip {
flex-direction: row; }
.strip-container.horizontal .strip > .widget {
flex-shrink: initial;
width: 100%;
min-height: 100%;
max-height: 100%;
margin-left: -1rem; }
.strip-container.horizontal > .label {
width: 35rem;
height: 100%;
left: 0;
top: 0;
border-bottom: 0;
border-right: 1rem solid #202329; }
.strip-container.horizontal > .label span {
transform: rotate(180deg);
display: block;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
-webkit-writing-mode: vertical-lr;
text-align: center;
height: 100%; }
.panel-container {
z-index: 2;
min-width: 200rem;
min-height: 200rem; }
.panel-container ::-webkit-scrollbar-thumb, .panel-container ::-webkit-scrollbar-track-piece {
border-top: 1rem solid #202329; }
.panel-container.nolabel .panel {
top: 1rem; }
.panel-container .panel {
overflow: auto;
position: absolute;
top: 35rem;
left: 1rem;
right: 1rem;
bottom: 1rem;
background: #202329;
z-index: 1; }
.panel-container .panel.has-tabs {
display: flex;
flex-direction: column; }
.panel-container .panel.stretch {
display: flex;
justify-content: space-between; }
.panel-container .panel.stretch > .widget {
width: 100%; }
.panel-container .panel > .navigation:before {
display: none; }
.panel-container .navigation {
border-top: 0;
background: transparent; }
.panel-container .navigation:after {
background: #202329; }
.panel-container .navigation a.on {
border-color: #202329; }
.panel-container .content {
background: transparent; }
input:focus::selection {
background: #528bff;
color: rgba(255, 255, 255, 0.8); }
input {
cursor: text; }
html, body {
height: 100%;
overflow: hidden;
position: relative; }
html {
font-size: 1px; }
body {
font-size: 13rem;
line-height: 16rem;
font-family: Droid Sans;
color: rgba(255, 255, 255, 0.8);
white-space: nowrap;
opacity: 1;
cursor: default; }
i {
font-size: 14rem !important; }
.btn {
background: #363b45;
display: block;
padding: 15rem;
position: relative;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
cursor: pointer; }
.btn.small {
padding: 8rem;
padding-right: 15rem; }
.btn.warning {
background: firebrick; }
.btn.disabled {
pointer-events: none;
color: rgba(255, 255, 255, 0.5); }
.btn.align-center {
text-align: center; }
#lobby {
background: #202329;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
border: 1rem solid #15171a;
display: flex;
align-items: center;
justify-content: center;
overflow-y: auto;
padding: 20rem; }
#lobby .main {
width: 600rem;
max-height: 100%; }
#lobby .header {
background: #363b45;
padding: 20rem;
font-weight: bold;
box-shadow: 0 0 0 1rem #15171a inset;
white-space: nowrap;
text-overflow: ellipsis; }
#lobby a {
padding-right: 35rem;
overflow: hidden;
margin-top: 10rem;
position: relative;
white-space: nowrap;
text-overflow: ellipsis; }
#lobby a span {
position: absolute;
right: 0rem;
top: 0rem;
padding: 15rem;
color: rgba(255, 255, 255, 0.5); }
#loading {
position: absolute;
top: 50%;
left: 50%;
margin-top: -15rem;
text-align: center; }
#loading .spinner {
display: block;
margin: 0 auto;
height: 30rem;
width: 30rem;
border-radius: 50%;
border: 2rem solid #15171a;
border-top-color: #528bff;
animation: spin .5s linear infinite; }
#loading #status {
margin-top: 10rem;
display: inline-block; }
@keyframes spin {
0% {
transform: rotate(0deg); }
100% {
transform: rotate(360deg); } }
.popup {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding: 10%;
display: flex;
align-items: center;
background: rgba(32, 35, 41, 0.5);
z-index: 1000000; }
.popup .popup-title {
position: relative;
padding: 15rem;
background: #363b45; }
.popup .popup-title .closer {
position: absolute;
right: 0rem;
top: 0;
padding: 15rem;
color: rgba(255, 255, 255, 0.5);
cursor: pointer; }
.popup .popup-wrapper {
display: flex;
flex-direction: column;
align-items: stretch;
background: #2d313a;
width: auto;
max-width: 600rem;
margin: 0 auto;
position: relative;
overflow: hidden;
border: 1rem solid #15171a; }
.popup .popup-wrapper .popup-content {
height: 100%;
width: 100%;
padding: 10rem;
overflow-y: auto;
white-space: normal; }