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

Remove flyout padding in fullscreen view mode

parent 7d91b175
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
display: none; display: none;
} }
.flyout { .flyout {
border-radius: var(--chatbox-border-radius);
position: absolute; position: absolute;
@media screen and (max-height: $mobile-landscape-height) { @media screen and (max-height: $mobile-landscape-height) {
...@@ -42,8 +41,7 @@ ...@@ -42,8 +41,7 @@
color: #ffffff; color: #ffffff;
font-size: 100%; font-size: 100%;
margin: 0; margin: 0;
padding: 0; padding: 1em;;
padding-bottom: 0.5em;
position: relative; position: relative;
&.chat-head-chatbox { &.chat-head-chatbox {
...@@ -498,13 +496,12 @@ ...@@ -498,13 +496,12 @@
#conversejs.converse-fullscreen { #conversejs.converse-fullscreen {
.flyout { .flyout {
border-radius: 0; border-radius: 0;
border-top: 0.8em solid var(--chat-head-color); border:none;
border: var(--flyout-padding) solid var(--chat-head-color);
bottom: 0; bottom: 0;
} }
.chat-head { .chat-head {
height: var(--fullpage-chat-head-height); min-height: var(--fullpage-chat-head-height);
.user-custom-message { .user-custom-message {
font-size: 70%; font-size: 70%;
height: auto; height: auto;
...@@ -609,12 +606,6 @@ ...@@ -609,12 +606,6 @@
} }
.chat-body { .chat-body {
background-color: var(--chat-head-color); background-color: var(--chat-head-color);
border-top-left-radius: var(--chatbox-border-radius);
border-top-right-radius: var(--chatbox-border-radius);
}
.chat-content {
border-top-left-radius: var(--chatbox-border-radius);
border-top-right-radius: var(--chatbox-border-radius);
} }
.chat-title { .chat-title {
font-size: var(--font-size-huge); font-size: var(--font-size-huge);
......
...@@ -106,7 +106,6 @@ ...@@ -106,7 +106,6 @@
.chatroom-body { .chatroom-body {
flex-direction: row; flex-direction: row;
flex-flow: nowrap; flex-flow: nowrap;
border-bottom-radius: var(--chatbox-border-radius);
background-color: white; background-color: white;
border-top: 0; border-top: 0;
width: 100%; width: 100%;
...@@ -161,7 +160,6 @@ ...@@ -161,7 +160,6 @@
vertical-align: top; vertical-align: top;
background-color: var(--occupants-background-color); background-color: var(--occupants-background-color);
border-left: var(--occupants-border-left); border-left: var(--occupants-border-left);
border-bottom-right-radius: var(--chatbox-border-radius);
padding: 0.5em; padding: 0.5em;
max-width: 75%; max-width: 75%;
min-width: 20%; min-width: 20%;
...@@ -288,8 +286,6 @@ ...@@ -288,8 +286,6 @@
} }
.chatroom-form-container { .chatroom-form-container {
background-color: white; background-color: white;
border-bottom-left-radius: var(--chatbox-border-radius);
border-bottom-right-radius: var(--chatbox-border-radius);
border: 0; border: 0;
color: var(--text-color); color: var(--text-color);
font-size: var(--font-size); font-size: var(--font-size);
...@@ -345,8 +341,6 @@ ...@@ -345,8 +341,6 @@
height: 16em; height: 16em;
.chatroom-form-container { .chatroom-form-container {
border-radius: 0 !important;
.chatroom-form { .chatroom-form {
padding-top: 2em; padding-top: 2em;
padding-bottom: 0; padding-bottom: 0;
...@@ -471,9 +465,6 @@ ...@@ -471,9 +465,6 @@
.chatroom { .chatroom {
.box-flyout { .box-flyout {
background-color: var(--chatroom-head-bg-color);
border: var(--flyout-padding) solid var(--chatroom-head-bg-color);
border-top: 0.8em solid var(--chatroom-head-bg-color);
width: 100%; width: 100%;
.chat-head__desc { .chat-head__desc {
...@@ -481,15 +472,7 @@ ...@@ -481,15 +472,7 @@
} }
.chatroom-body { .chatroom-body {
border-top-radius: var(--chatbox-border-radius);
.chatroom-form-container {
border-radius: var(--chatbox-border-radius);
}
.chat-area { .chat-area {
border-top-left-radius: var(--chatbox-border-radius);
.chat-content {
border-top-left-radius: var(--chatbox-border-radius);
}
&.full { &.full {
.new-msgs-indicator { .new-msgs-indicator {
max-width: 100%; max-width: 100%;
...@@ -497,7 +480,6 @@ ...@@ -497,7 +480,6 @@
} }
} }
.occupants { .occupants {
border-top-right-radius: var(--chatbox-border-radius);
padding: var(--occupants-padding); padding: var(--occupants-padding);
.occupants-heading { .occupants-heading {
font-size: var(--font-size-large); font-size: var(--font-size-large);
......
...@@ -47,7 +47,7 @@ $mobile_portrait_length: 480px !default; ...@@ -47,7 +47,7 @@ $mobile_portrait_length: 480px !default;
--roster-height: 194px; --roster-height: 194px;
--flyout-padding: 1.2em; --flyout-padding: 0.5em;
--chat-head-color: var(--green); --chat-head-color: var(--green);
--chat-head-color-dark: #1E9652; --chat-head-color-dark: #1E9652;
......
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