$separator_thickness: 5px; $small_device: 650px; $animation_length: .5s; .app { min-width: 350px; min-height: 330px; .container-app-main { margin-top: 5px; position: relative; display: flex; flex-direction: column; justify-content: stretch; height: 100%; width: 100%; .container-channel-chat { min-height: 200px; min-width: 100px; width: 100%; display: flex; flex-direction: row; justify-content: stretch; & > * { height: 100%; min-height: 250px; border-radius: 5px; } .container-channel-tree { background: #353535; min-width: 200px; display: flex; justify-content: stretch; height: 100%; min-height: 100px; padding-top: 5px; /* overflow: auto; overflow-x: visible; */ overflow: hidden; overflow-y: auto; } .container-chat { background: #353535; min-width: 350px; display: flex; flex-direction: column; justify-content: stretch; } } .container-server-log { min-height: 0; height: 250px; width: 100%; border-radius: 5px; padding-right: 5px; padding-left: 5px; background: #353535; } } .container-control-bar { z-index: 200; flex-shrink: 0; border-radius: 5px; height: 30px; width: 100%; background-color: #454545; display: flex; flex-direction: column; justify-content: center; } .hide-small { opacity: 1; transition: opacity $animation_length linear; } .show-small { display: none; opacity: 0; transition: opacity $animation_length linear; } } .app-container { right: 0; left: 0; top: 0; overflow: auto; padding: 5px; } @media only screen and (max-width: 400px), only screen and (max-height: 400px) { .app-container { overflow: auto; } } @media only screen and (max-width: $small_device) { .app { .container-app-main { .container-info { display: none; position: absolute; width: 100% !important; /* override the seperator property */ height: 100%; z-index: 1000; &.shown { display: block; } .select_info { > .close { display: block; } } } .container-channel-chat + .container-seperator { display: none; animation: fadeout $animation_length linear; } .container-channel-chat { width: 100% !important; /* override the seperator property */ } } } .hide-small { display: none; opacity: 0; transition: opacity $animation_length linear; } .show-small { display: block !important; opacity: 1 !important; transition: opacity $animation_length linear; } } $animation_seperator_length: .1s; .container-seperator { -moz-transition: all $animation_seperator_length ease-in; -o-transition: all $animation_seperator_length ease-in; -webkit-transition: all $animation_seperator_length ease-in; transition: all $animation_seperator_length ease-in; background: #1e1e1e; flex-grow: 0; flex-shrink: 0; &.horizontal { height: $separator_thickness; width: 100%; cursor: row-resize; } &.vertical { width: $separator_thickness; height: 100%; cursor: col-resize; } &.seperator-selected { -moz-transition: all $animation_seperator_length ease-in; -o-transition: all $animation_seperator_length ease-in; -webkit-transition: all $animation_seperator_length ease-in; transition: all $animation_seperator_length ease-in; background-color: #707070; } } .icon-container { position: relative; display: inline-block; height: 16px; width: 16px; > img { position: absolute; } } #mouse-move { display: none; position: absolute; z-index: 10000; .container { position: relative; display: block; border: 2px solid gray; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } } html, body { overflow: hidden; } body { background: #1e1e1e !important; } footer { position: fixed; width: 100%; bottom: 0px; left: 0px; right: 0px; height: 25px; background-color: lightgray; display: flex; } footer .container { width: 100%; display: flex; position: relative; vertical-align: center; justify-content: center; }