Commit 5df52a0a authored by JC Brand's avatar JC Brand

Give the controlbox full height.

parent 806ada6b
...@@ -1805,17 +1805,18 @@ ...@@ -1805,17 +1805,18 @@
left: 0; } left: 0; }
#conversejs #controlbox { #conversejs #controlbox {
margin-right: 1em; } width: 300px;
@media screen and (max-width: 480px) { margin-right: 0;
#conversejs #controlbox { height: 100vh; }
margin: 0; } } #conversejs #controlbox .box-flyout {
@media screen and (max-height: 450px) { box-shadow: 0 0.3em 0.8em 0.8em rgba(0, 0, 0, 0.4);
#conversejs #controlbox { width: 300px;
margin: 0; } } bottom: 0;
height: 100vh; }
#conversejs #controlbox .controlbox-head { #conversejs #controlbox .controlbox-head {
background-color: #577BDD; background-color: #577BDD;
border-top-left-radius: 4px; border-top-left-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 0;
color: white; color: white;
height: 55px; height: 55px;
margin: 0; margin: 0;
...@@ -2049,7 +2050,7 @@ ...@@ -2049,7 +2050,7 @@
#conversejs #controlbox .controlbox-pane { #conversejs #controlbox .controlbox-pane {
background-color: white; background-color: white;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 0;
border: 0; border: 0;
font-size: 14px; font-size: 14px;
position: absolute; position: absolute;
......
#conversejs { #conversejs {
#controlbox { #controlbox {
margin-right: 2*$chat-gutter; width: $controlbox-width;
@media screen and (max-width: $mobile-portrait-length) { margin-right: 0;
margin: 0; height: 100vh;
} .box-flyout {
@media screen and (max-height: $mobile-landscape-height) { box-shadow: 0 0.3em 0.8em 0.8em rgba(0, 0, 0, 0.4);
margin: 0; width: $controlbox-width;
bottom: 0;
height: 100vh;
} }
.controlbox-head { .controlbox-head {
background-color: $controlbox-head-color; background-color: $controlbox-head-color;
border-top-left-radius: $chatbox-border-radius; border-top-left-radius: $chatbox-border-radius;
border-top-right-radius: $chatbox-border-radius; border-top-right-radius: 0;
@media screen and (max-height: $mobile-landscape-height) { @media screen and (max-height: $mobile-landscape-height) {
border-top-left-radius: 0; border-top-left-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
...@@ -325,7 +327,7 @@ ...@@ -325,7 +327,7 @@
.controlbox-pane { .controlbox-pane {
background-color: white; background-color: white;
border-bottom-left-radius: $chatbox-border-radius; border-bottom-left-radius: $chatbox-border-radius;
border-bottom-right-radius: $chatbox-border-radius; border-bottom-right-radius: 0;
border: 0; border: 0;
font-size: $font-size; font-size: $font-size;
position: absolute; position: absolute;
......
...@@ -59,6 +59,7 @@ $legend-font-size: 16px !default; ...@@ -59,6 +59,7 @@ $legend-font-size: 16px !default;
$line-height: 16px !default; $line-height: 16px !default;
$controlbox-width: 300px !default;
$chat-width: 200px !default; $chat-width: 200px !default;
$chat-height: 450px !default; $chat-height: 450px !default;
$chat-gutter: 0.5em !default; $chat-gutter: 0.5em !default;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment