Commit ef02b4b6 authored by JC Brand's avatar JC Brand

Tweak the send button CSS (positioning and margin)

parent 09251f32
...@@ -1621,7 +1621,7 @@ ...@@ -1621,7 +1621,7 @@
height: calc(100% - 96px); } height: calc(100% - 96px); }
#converse-embedded-chat .chatbox .chat-content-sendbutton, #converse-embedded-chat .chatbox .chat-content-sendbutton,
#conversejs .chatbox .chat-content-sendbutton { #conversejs .chatbox .chat-content-sendbutton {
height: calc(100% - 123px); } height: calc(100% - 128px); }
#converse-embedded-chat .chatbox .dropdown, #converse-embedded-chat .chatbox .dropdown,
#conversejs .chatbox .dropdown { #conversejs .chatbox .dropdown {
/* status dropdown styles */ /* status dropdown styles */
...@@ -1667,13 +1667,13 @@ ...@@ -1667,13 +1667,13 @@
#conversejs .chatbox form.sendXMPPMessage .send-button { #conversejs .chatbox form.sendXMPPMessage .send-button {
position: absolute; position: absolute;
left: 3px; left: 3px;
width: -webkit-calc(100% - 3px - 3px); width: -webkit-calc(100% - 6px);
width: calc(100% - 3px - 3px); width: calc(100% - 6px);
background-color: #F4A261; background-color: #F4A261;
color: white; color: white;
font-size: 80%; font-size: 80%;
height: 27px; height: 27px;
bottom: -24px; } bottom: -30px; }
#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; box-sizing: border-box;
......
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
height: calc(100% - #{$toolbar-height + $chat-textarea-height +1px}); height: calc(100% - #{$toolbar-height + $chat-textarea-height +1px});
} }
.chat-content-sendbutton { .chat-content-sendbutton {
height: calc(100% - #{$toolbar-height + $chat-textarea-height + $send-button-height + 1px}); height: calc(100% - #{$toolbar-height + $chat-textarea-height + $send-button-height + 2*$send-button-margin});
} }
.dropdown { /* status dropdown styles */ .dropdown { /* status dropdown styles */
...@@ -261,12 +261,12 @@ ...@@ -261,12 +261,12 @@
.send-button { .send-button {
position: absolute; position: absolute;
left: $send-button-margin; left: $send-button-margin;
@include calc(width, '100% - #{$send-button-margin} - #{$send-button-margin}'); @include calc(width, '100% - #{2*$send-button-margin}');
background-color: $chat-head-color; background-color: $chat-head-color;
color: $inverse-link-color; color: $inverse-link-color;
font-size: 80%; font-size: 80%;
height: $send-button-height; height: $send-button-height;
bottom: -$send-button-height + $send-button-margin; bottom: -$send-button-height - $send-button-margin;
} }
.chat-toolbar { .chat-toolbar {
......
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