Commit 039904eb authored by JC Brand's avatar JC Brand

Some CSS fixes.

* Make sure that minimized chats appear behind on mobile.
* Enable highlighting text (which for some reason is transparent).
parent 2e3eaa5d
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
box-sizing: border-box; box-sizing: border-box;
/* @group Tabs */ /* @group Tabs */
/* status dropdown styles */ } /* status dropdown styles */ }
#conversejs ::selection {
background-color: #E3C9C1; }
#conversejs *, #conversejs *:before, #conversejs *:after { #conversejs *, #conversejs *:before, #conversejs *:after {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
...@@ -460,9 +462,6 @@ ...@@ -460,9 +462,6 @@
background-color: #176679; background-color: #176679;
border-right: 1px solid #176679; border-right: 1px solid #176679;
border-left: 1px solid #176679; } border-left: 1px solid #176679; }
#conversejs .chat-message span::selection,
#conversejs .chat-message::selection {
background-color: darkgrey; }
#conversejs .chat-content { #conversejs .chat-content {
position: relative; position: relative;
padding: 8px; padding: 8px;
...@@ -827,6 +826,7 @@ ...@@ -827,6 +826,7 @@
#conversejs .chatbox { #conversejs .chatbox {
width: 100%; } } width: 100%; } }
#conversejs .chatbox .box-flyout { #conversejs .chatbox .box-flyout {
z-index: 1;
width: 200px; } width: 200px; }
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
#conversejs .chatbox .box-flyout { #conversejs .chatbox .box-flyout {
...@@ -1072,8 +1072,11 @@ ...@@ -1072,8 +1072,11 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
position: relative; position: relative;
width: 200px; height: 82px;
height: 82px; } width: 200px; }
@media screen and (max-width: 480px) {
#conversejs form.sendXMPPMessage {
width: 100%; } }
#conversejs form.sendXMPPMessage .chat-textarea { #conversejs form.sendXMPPMessage .chat-textarea {
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
......
...@@ -34,6 +34,10 @@ ...@@ -34,6 +34,10 @@
@import "../bourbon/bourbon"; @import "../bourbon/bourbon";
@import "variables"; @import "variables";
::selection {
background-color: $highlight-color;
}
color: $text-color; color: $text-color;
font-size: $font-size; font-size: $font-size;
bottom: 0; bottom: 0;
...@@ -404,11 +408,6 @@ ...@@ -404,11 +408,6 @@
border-left: 1px solid #176679; border-left: 1px solid #176679;
} }
.chat-message span::selection,
.chat-message::selection {
background-color: darkgrey;
}
.chat-content { .chat-content {
position: relative; position: relative;
padding: 8px; padding: 8px;
...@@ -922,6 +921,7 @@ ...@@ -922,6 +921,7 @@
width: $mobile-chat-width; width: $mobile-chat-width;
} }
.box-flyout { .box-flyout {
z-index: 1;
width: $chat-width; width: $chat-width;
@media screen and (max-width: $mobile_landscape_length) { @media screen and (max-width: $mobile_landscape_length) {
width: $mobile-chat-width; width: $mobile-chat-width;
...@@ -1253,8 +1253,11 @@ ...@@ -1253,8 +1253,11 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
position: relative; position: relative;
width: $chat-width;
height: #{$chat-textarea-height + $toolbar-height}; height: #{$chat-textarea-height + $toolbar-height};
width: $chat-width;
@media screen and (max-width: $mobile_landscape_length) {
width: 100%;
}
.chat-textarea { .chat-textarea {
@include border-bottom-radius(4px); @include border-bottom-radius(4px);
border: 0; border: 0;
......
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