CSS tweaks for the embedded demo
This commit is contained in:
parent
da23015ced
commit
78b945ed7b
@ -5,10 +5,17 @@
|
|||||||
*/
|
*/
|
||||||
/* $font-path: "../fonticons/fonts/" !default; */
|
/* $font-path: "../fonticons/fonts/" !default; */
|
||||||
#converse-embedded-chat {
|
#converse-embedded-chat {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
right: auto;
|
right: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
#converse-embedded-chat *, #converse-embedded-chat *:before, #converse-embedded-chat *:after {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box; }
|
||||||
#converse-embedded-chat .chatroom {
|
#converse-embedded-chat .chatroom {
|
||||||
width: auto; }
|
width: auto; }
|
||||||
#converse-embedded-chat .flyout {
|
#converse-embedded-chat .flyout {
|
||||||
@ -26,10 +33,13 @@
|
|||||||
display: none; }
|
display: none; }
|
||||||
#converse-embedded-chat .chatroom .box-flyout {
|
#converse-embedded-chat .chatroom .box-flyout {
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
width: 100%; }
|
width: 100%;
|
||||||
|
height: 90vh; }
|
||||||
#converse-embedded-chat .chatroom .box-flyout .chat-body {
|
#converse-embedded-chat .chatroom .box-flyout .chat-body {
|
||||||
height: -webkit-calc(100% - 55px);
|
height: -webkit-calc(100% - 55px);
|
||||||
height: calc(100% - 55px); }
|
height: calc(100% - 55px); }
|
||||||
|
#converse-embedded-chat .chatroom .box-flyout .chat-content {
|
||||||
|
height: calc(100% - 97px); }
|
||||||
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .chatroom-form-container {
|
#converse-embedded-chat .chatroom .box-flyout .chatroom-body .chatroom-form-container {
|
||||||
height: auto;
|
height: auto;
|
||||||
position: relative; }
|
position: relative; }
|
||||||
|
@ -1656,6 +1656,7 @@
|
|||||||
resize: none; }
|
resize: none; }
|
||||||
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar,
|
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar,
|
||||||
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar {
|
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar {
|
||||||
|
box-sizing: border-box;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -1664,7 +1665,10 @@
|
|||||||
background-color: #FFF5EE; }
|
background-color: #FFF5EE; }
|
||||||
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar a,
|
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar a,
|
||||||
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar a {
|
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar a {
|
||||||
color: #2A9D8F; }
|
font-size: 14px;
|
||||||
|
color: #2A9D8F;
|
||||||
|
text-decoration: none;
|
||||||
|
text-shadow: none; }
|
||||||
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .chat-toolbar-text,
|
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .chat-toolbar-text,
|
||||||
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .chat-toolbar-text {
|
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .chat-toolbar-text {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -1720,6 +1724,9 @@
|
|||||||
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar ul li a:hover,
|
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar ul li a:hover,
|
||||||
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar ul li a:hover {
|
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar ul li a:hover {
|
||||||
color: #8f2831; }
|
color: #8f2831; }
|
||||||
|
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar li,
|
||||||
|
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar li {
|
||||||
|
margin-left: 0; }
|
||||||
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .toggle-smiley,
|
#converse-embedded-chat .chatbox form.sendXMPPMessage .chat-toolbar .toggle-smiley,
|
||||||
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .toggle-smiley {
|
#conversejs .chatbox form.sendXMPPMessage .chat-toolbar .toggle-smiley {
|
||||||
color: #2A9D8F;
|
color: #2A9D8F;
|
||||||
@ -2346,7 +2353,7 @@
|
|||||||
border: 0;
|
border: 0;
|
||||||
color: #818479;
|
color: #818479;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
height: 289px;
|
height: 100%;
|
||||||
height: -webkit-calc(100% - 55px);
|
height: -webkit-calc(100% - 55px);
|
||||||
height: calc(100% - 55px);
|
height: calc(100% - 55px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
@ -256,6 +256,7 @@
|
|||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
.chat-toolbar {
|
.chat-toolbar {
|
||||||
|
box-sizing: border-box;
|
||||||
font-size: $font-size;
|
font-size: $font-size;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -263,7 +264,10 @@
|
|||||||
display: block;
|
display: block;
|
||||||
background-color: $toolbar-color;
|
background-color: $toolbar-color;
|
||||||
a {
|
a {
|
||||||
|
font-size: $font-size;
|
||||||
color: $link-color;
|
color: $link-color;
|
||||||
|
text-decoration: none;
|
||||||
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
.chat-toolbar-text {
|
.chat-toolbar-text {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -315,6 +319,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
li {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
.toggle-smiley {
|
.toggle-smiley {
|
||||||
color: $link-color;
|
color: $link-color;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
@import "bourbon";
|
@import "bourbon";
|
||||||
@import "variables";
|
@import "variables";
|
||||||
#converse-embedded-chat {
|
#converse-embedded-chat {
|
||||||
|
|
||||||
|
@include box-sizing(border-box);
|
||||||
|
*, *:before, *:after {
|
||||||
|
@include box-sizing(border-box);
|
||||||
|
}
|
||||||
|
|
||||||
bottom: auto;
|
bottom: auto;
|
||||||
right: auto;
|
right: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -32,9 +38,13 @@
|
|||||||
.box-flyout {
|
.box-flyout {
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 90vh;
|
||||||
.chat-body {
|
.chat-body {
|
||||||
@include calc(height, '100% - #{$chat-head-height}');
|
@include calc(height, '100% - #{$chat-head-height}');
|
||||||
}
|
}
|
||||||
|
.chat-content {
|
||||||
|
height: calc(100% - #{$toolbar-height + $chat-textarea-height +2px});
|
||||||
|
}
|
||||||
.chatroom-body {
|
.chatroom-body {
|
||||||
.chatroom-form-container {
|
.chatroom-form-container {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
Loading…
Reference in New Issue
Block a user