2015-10-27 11:17:55 +01:00
|
|
|
#conversejs {
|
2018-06-01 14:57:19 +02:00
|
|
|
.chatbox-navback {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-10-29 09:12:40 +01:00
|
|
|
.flyout {
|
|
|
|
border-radius: $chatbox-border-radius;
|
2018-04-25 18:03:03 +02:00
|
|
|
position: absolute;
|
|
|
|
|
2016-04-01 12:53:15 +02:00
|
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2018-01-26 14:41:06 +01:00
|
|
|
|
2016-04-01 12:53:15 +02:00
|
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2015-10-29 09:12:40 +01:00
|
|
|
}
|
2018-02-20 16:41:55 +01:00
|
|
|
|
|
|
|
.chatbox-btn {
|
|
|
|
border-radius: 25%;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2018-05-10 22:14:37 +02:00
|
|
|
font-size: $chatbox-button-size;
|
2018-02-20 16:41:55 +01:00
|
|
|
margin: 0 0.2em;
|
2018-03-09 23:42:42 +01:00
|
|
|
padding: 0 0 0 0.5em;
|
2018-02-20 16:41:55 +01:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-29 09:12:40 +01:00
|
|
|
.chat-head {
|
2018-01-26 15:32:31 +01:00
|
|
|
flex-wrap: nowrap;
|
2015-10-29 09:12:40 +01:00
|
|
|
color: #ffffff;
|
|
|
|
font-size: 100%;
|
|
|
|
margin: 0;
|
2017-02-18 18:15:16 +01:00
|
|
|
padding: 0.5em;
|
2015-10-29 09:12:40 +01:00
|
|
|
position: relative;
|
2018-01-27 10:07:54 +01:00
|
|
|
|
|
|
|
&.chat-head-chatbox {
|
|
|
|
background-color: $chat-head-color;
|
|
|
|
}
|
|
|
|
|
2015-10-29 09:12:40 +01:00
|
|
|
.avatar {
|
2018-05-15 10:11:13 +02:00
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
2015-10-31 19:29:43 +01:00
|
|
|
margin-right: 0.5em;
|
2015-10-29 09:12:40 +01:00
|
|
|
}
|
2018-01-27 10:07:54 +01:00
|
|
|
|
2018-06-01 14:57:19 +02:00
|
|
|
.chatbox-title {
|
|
|
|
.chatroom-description {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
}
|
2018-01-27 10:07:54 +01:00
|
|
|
.chatbox-buttons {
|
|
|
|
flex-direction: row-reverse;
|
2018-03-25 14:23:19 +02:00
|
|
|
padding: 0;
|
2015-10-29 09:12:40 +01:00
|
|
|
}
|
2018-01-27 10:07:54 +01:00
|
|
|
|
2015-10-31 19:29:43 +01:00
|
|
|
.user-custom-message {
|
2018-07-19 17:09:48 +02:00
|
|
|
color: lighten($chat-head-color, 50%);
|
2017-04-04 13:20:22 +02:00
|
|
|
font-size: 75%;
|
2015-10-31 19:29:43 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin: 0;
|
2017-04-04 13:20:22 +02:00
|
|
|
padding-top: 0.2em;
|
2015-10-31 19:29:43 +01:00
|
|
|
}
|
2018-02-20 16:41:55 +01:00
|
|
|
|
|
|
|
a, a:visited, a:hover, a:not([href]):not([tabindex]) {
|
|
|
|
&.chatbox-btn {
|
|
|
|
&.fa {
|
|
|
|
color: white;
|
2018-03-16 20:41:00 +01:00
|
|
|
&.button-on:before {
|
|
|
|
padding: 0.2em;
|
|
|
|
background-color: $chat-head-text-color;
|
2018-02-20 16:41:55 +01:00
|
|
|
color: $chat-head-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-29 09:12:40 +01:00
|
|
|
}
|
2018-02-20 16:41:55 +01:00
|
|
|
|
|
|
|
.chatbox-btn {
|
|
|
|
color: white;
|
|
|
|
&.fa {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
2018-03-16 20:41:00 +01:00
|
|
|
&.button-on:before {
|
|
|
|
border-radius: 5%;
|
|
|
|
background-color: $chat-head-text-color;
|
2018-02-20 16:41:55 +01:00
|
|
|
color: $chat-head-color;
|
|
|
|
}
|
2016-06-27 23:50:38 +02:00
|
|
|
}
|
2015-10-29 09:12:40 +01:00
|
|
|
}
|
2018-02-20 16:41:55 +01:00
|
|
|
|
2015-10-27 11:17:55 +01:00
|
|
|
.chatbox {
|
2017-01-16 22:15:07 +01:00
|
|
|
text-align: left;
|
2015-10-27 11:17:55 +01:00
|
|
|
margin: 0 $chat-gutter;
|
2018-01-26 14:41:06 +01:00
|
|
|
|
2016-04-01 12:53:15 +02:00
|
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
|
|
margin: 0;
|
|
|
|
width: $mobile-chat-width;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
2015-10-27 11:17:55 +01:00
|
|
|
margin: 0;
|
|
|
|
width: $mobile-chat-width;
|
|
|
|
}
|
2018-02-07 10:30:06 +01:00
|
|
|
|
2015-10-27 11:17:55 +01:00
|
|
|
.box-flyout {
|
2018-03-06 23:49:39 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2018-03-09 11:02:28 +01:00
|
|
|
background-color: $chat-head-color;
|
2015-10-27 11:17:55 +01:00
|
|
|
box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
|
|
|
|
z-index: 1;
|
2018-07-20 15:54:59 +02:00
|
|
|
overflow-y: hidden;
|
2018-01-26 14:41:06 +01:00
|
|
|
width: 100%;
|
|
|
|
|
2016-04-01 12:53:15 +02:00
|
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
|
|
height: $mobile-chat-height;
|
|
|
|
width: $mobile-chat-width;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
2015-10-27 11:17:55 +01:00
|
|
|
height: $mobile-chat-height;
|
|
|
|
width: $mobile-chat-width;
|
2016-04-01 12:53:15 +02:00
|
|
|
height: 100vh;
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.chat-title {
|
2018-05-15 11:38:33 +02:00
|
|
|
font-family: $heading-font;
|
2018-04-27 16:50:58 +02:00
|
|
|
color: white;
|
2015-10-31 19:29:43 +01:00
|
|
|
display: block;
|
2018-01-27 10:07:54 +01:00
|
|
|
line-height: $line-height-large;
|
2015-11-01 03:00:31 +01:00
|
|
|
overflow: hidden;
|
2017-07-17 17:10:25 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2015-10-27 11:17:55 +01:00
|
|
|
a {
|
|
|
|
color: $chat-head-text-color;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chat-body {
|
2018-03-06 23:49:39 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 100%;
|
|
|
|
background-color: $chat-head-color;
|
2015-10-27 11:17:55 +01:00
|
|
|
border-bottom-left-radius: $chatbox-border-radius;
|
|
|
|
border-bottom-right-radius: $chatbox-border-radius;
|
2018-04-25 19:27:55 +02:00
|
|
|
|
2016-04-01 12:53:15 +02:00
|
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
border-top: 0;
|
|
|
|
p {
|
|
|
|
color: $text-color;
|
2018-04-25 19:27:55 +02:00
|
|
|
font-size: $message-font-size;
|
2015-10-27 11:17:55 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
2016-05-28 10:55:03 +02:00
|
|
|
.new-msgs-indicator {
|
2018-04-25 19:27:55 +02:00
|
|
|
position: relative;
|
2016-05-28 10:55:03 +02:00
|
|
|
width: 100%;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: $chat-head-color;
|
|
|
|
color: $light-background-color;
|
2017-06-17 23:48:46 +02:00
|
|
|
padding: 0.5em;
|
2016-05-28 10:55:03 +02:00
|
|
|
font-size: 0.9em;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 20;
|
2017-06-17 23:48:46 +02:00
|
|
|
white-space: nowrap;
|
2018-04-25 19:27:55 +02:00
|
|
|
margin-bottom: 0.25em;
|
2016-05-28 10:55:03 +02:00
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
.chat-content {
|
2018-03-09 11:02:28 +01:00
|
|
|
height: 100%;
|
2018-04-25 19:27:55 +02:00
|
|
|
font-size: $message-font-size;
|
2015-10-27 11:17:55 +01:00
|
|
|
color: $text-color;
|
|
|
|
overflow-y: auto;
|
|
|
|
border: 0;
|
|
|
|
background-color: #ffffff;
|
|
|
|
line-height: 1.3em;
|
2018-02-06 17:53:56 +01:00
|
|
|
|
2018-04-18 16:55:26 +02:00
|
|
|
video {
|
|
|
|
width: 100%
|
|
|
|
}
|
2018-04-18 08:53:54 +02:00
|
|
|
progress {
|
2018-04-18 11:35:39 +02:00
|
|
|
margin: 0.5em 0;
|
2018-04-18 08:53:54 +02:00
|
|
|
width: 100%
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
2017-03-30 12:40:17 +02:00
|
|
|
.chat-content-sendbutton {
|
2018-03-06 23:49:39 +01:00
|
|
|
height: calc(100% - #{$chat-textarea-height + $send-button-height + 2*$send-button-margin});
|
2017-03-30 12:40:17 +02:00
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
|
|
|
|
.dropdown { /* status dropdown styles */
|
|
|
|
background-color: $light-background-color;
|
|
|
|
dd {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
2018-02-04 20:07:33 +01:00
|
|
|
|
2018-01-25 12:36:13 +01:00
|
|
|
.sendXMPPMessage {
|
2015-10-27 11:17:55 +01:00
|
|
|
-moz-background-clip: padding;
|
|
|
|
-webkit-background-clip: padding-box;
|
|
|
|
@include border-bottom-radius($chatbox-border-radius);
|
|
|
|
background-clip: padding-box;
|
2018-03-06 14:48:23 +01:00
|
|
|
background-color: white;
|
2015-10-27 11:17:55 +01:00
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2016-04-01 12:53:15 +02:00
|
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
2015-10-27 11:17:55 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
|
2018-08-14 12:50:10 +02:00
|
|
|
.suggestion-box__results {
|
|
|
|
&:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-04 20:07:33 +01:00
|
|
|
.spoiler-hint {
|
2018-02-04 18:33:39 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2018-02-04 20:07:33 +01:00
|
|
|
|
2015-10-27 11:17:55 +01:00
|
|
|
.chat-textarea {
|
2018-08-15 18:56:25 +02:00
|
|
|
color: $chat-textarea-color;
|
2018-01-23 11:20:51 +01:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2015-10-27 11:17:55 +01:00
|
|
|
@include border-bottom-radius($chatbox-border-radius);
|
|
|
|
padding: 0.5em;
|
|
|
|
width: 100%;
|
2018-01-23 11:20:51 +01:00
|
|
|
border: none;
|
2018-03-06 23:49:39 +01:00
|
|
|
min-height: $chat-textarea-height;
|
2018-04-24 14:46:09 +02:00
|
|
|
margin-bottom: -4px; // Not clear why this is necessar :(
|
2018-08-10 11:09:18 +02:00
|
|
|
resize: none;
|
2018-02-04 18:33:39 +01:00
|
|
|
&.spoiler {
|
|
|
|
height: 42px;
|
|
|
|
}
|
2018-08-07 08:54:50 +02:00
|
|
|
&.correcting {
|
|
|
|
background-color: lighten($chat-head-color, 50%);
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
|
2017-03-30 12:40:17 +02:00
|
|
|
.send-button {
|
|
|
|
position: absolute;
|
2017-03-30 12:34:49 +02:00
|
|
|
left: $send-button-margin;
|
2017-03-31 22:41:06 +02:00
|
|
|
@include calc(width, '100% - #{2*$send-button-margin}');
|
2017-03-30 12:34:49 +02:00
|
|
|
background-color: $chat-head-color;
|
|
|
|
color: $inverse-link-color;
|
2017-03-30 12:40:17 +02:00
|
|
|
font-size: 80%;
|
2017-03-30 12:34:49 +02:00
|
|
|
height: $send-button-height;
|
2017-03-31 22:41:06 +02:00
|
|
|
bottom: -$send-button-height - $send-button-margin;
|
2017-03-30 12:34:49 +02:00
|
|
|
|
2017-03-30 12:40:17 +02:00
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
.chat-toolbar {
|
2017-02-03 00:16:15 +01:00
|
|
|
box-sizing: border-box;
|
2015-10-27 11:17:55 +01:00
|
|
|
margin: 0;
|
2018-02-07 13:12:35 +01:00
|
|
|
padding: 0.25em;
|
2015-10-27 11:17:55 +01:00
|
|
|
display: block;
|
2018-08-07 15:10:27 +02:00
|
|
|
border-top: 4px solid $chat-head-color;
|
2018-03-06 14:48:23 +01:00
|
|
|
background-color: white;
|
|
|
|
color: $chat-head-color;
|
|
|
|
.fa, .fa:hover {
|
|
|
|
color: $chat-head-color;
|
2018-02-07 13:29:54 +01:00
|
|
|
font-size: $font-size-large;
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
.unencrypted a,
|
|
|
|
.unencrypted {
|
2017-06-19 15:41:59 +02:00
|
|
|
color: $text-color;
|
2017-07-15 11:03:22 +02:00
|
|
|
.toolbar-menu {
|
2017-06-17 23:48:46 +02:00
|
|
|
a {
|
|
|
|
color: $link-color;
|
|
|
|
}
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
.unverified a,
|
|
|
|
.unverified {
|
|
|
|
color: #cf5300;
|
|
|
|
}
|
|
|
|
.private a,
|
|
|
|
.private {
|
|
|
|
color: #4b7003;
|
|
|
|
}
|
2018-03-09 17:30:42 +01:00
|
|
|
.toggle-occupants {
|
2015-10-27 11:17:55 +01:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
li {
|
2017-07-15 11:03:22 +02:00
|
|
|
cursor: pointer;
|
2015-10-27 11:17:55 +01:00
|
|
|
display: inline-block;
|
|
|
|
list-style: none;
|
2018-03-09 17:30:42 +01:00
|
|
|
padding: 0 0.5em;
|
2017-07-15 11:03:22 +02:00
|
|
|
&:hover {
|
2015-10-27 11:17:55 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-07-15 11:03:22 +02:00
|
|
|
.toolbar-menu {
|
|
|
|
background-color: #fff;
|
2018-03-09 14:49:56 +01:00
|
|
|
bottom: 2rem;
|
2017-07-15 11:03:22 +02:00
|
|
|
box-shadow: -1px -1px 2px 0 rgba(0, 0, 0, 0.4);
|
2018-03-09 14:49:56 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
min-width: 20rem;
|
2017-07-15 11:03:22 +02:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2018-03-09 14:49:56 +01:00
|
|
|
top: auto;
|
|
|
|
z-index: $zindex-dropdown;
|
|
|
|
|
2018-03-09 17:30:42 +01:00
|
|
|
&.otr-menu {
|
|
|
|
left: -6em;
|
|
|
|
min-width: 15rem;
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-15 11:03:22 +02:00
|
|
|
a {
|
|
|
|
color: $link-color;
|
2017-06-16 11:31:57 +02:00
|
|
|
}
|
2017-07-15 11:03:22 +02:00
|
|
|
ul {
|
2017-07-16 11:06:34 +02:00
|
|
|
&.emoji-picker {
|
|
|
|
overflow: scroll;
|
2017-07-16 14:52:19 +02:00
|
|
|
padding: 0.5em;
|
2017-07-16 11:06:34 +02:00
|
|
|
}
|
2017-07-15 11:03:22 +02:00
|
|
|
li {
|
|
|
|
margin-left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
list-style: none;
|
|
|
|
position: relative;
|
2018-03-25 13:56:36 +02:00
|
|
|
&.emoji-skintone {
|
|
|
|
}
|
|
|
|
&.insert-emoji {
|
|
|
|
padding: 0.2em;
|
|
|
|
&.picked {
|
|
|
|
background-color: $highlight-color;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: $highlight-color;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
font-size: $font-size-huge;
|
|
|
|
&:hover {
|
|
|
|
color: #8f2831;
|
|
|
|
}
|
|
|
|
}
|
2017-07-15 11:03:22 +02:00
|
|
|
}
|
|
|
|
}
|
2017-06-16 11:31:57 +02:00
|
|
|
}
|
2017-07-15 11:03:22 +02:00
|
|
|
}
|
2017-07-18 08:23:55 +02:00
|
|
|
&.toggle-smiley {
|
2018-04-08 19:44:53 +02:00
|
|
|
a.toggle-smiley {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-07-18 08:23:55 +02:00
|
|
|
.emoji-toolbar {
|
2018-03-25 13:56:36 +02:00
|
|
|
box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
|
|
|
|
|
2018-03-09 14:49:56 +01:00
|
|
|
.emoji-category-picker {
|
2018-03-25 13:56:36 +02:00
|
|
|
padding-top: 0.5em;
|
2018-03-09 14:49:56 +01:00
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-18 08:23:55 +02:00
|
|
|
.emoji-category-picker,
|
|
|
|
.emoji-skintone-picker {
|
2018-03-25 13:56:36 +02:00
|
|
|
li {
|
|
|
|
padding: 0.2em;
|
2018-03-25 14:05:13 +02:00
|
|
|
font-size: $font-size-huge;
|
2018-03-25 13:56:36 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: $highlight-color;
|
|
|
|
}
|
2017-06-24 12:28:20 +02:00
|
|
|
}
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
2017-07-15 11:03:22 +02:00
|
|
|
}
|
|
|
|
&.toggle-otr {
|
|
|
|
ul {
|
2015-10-27 11:17:55 +01:00
|
|
|
z-index: 99;
|
2017-07-15 11:03:22 +02:00
|
|
|
li {
|
2017-07-18 08:23:55 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: $highlight-color;
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
display: block;
|
2017-07-15 11:03:22 +02:00
|
|
|
padding: 7px;
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.dragresize {
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: 20;
|
|
|
|
&-top {
|
|
|
|
cursor: n-resize;
|
|
|
|
height: 5px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
&-left {
|
|
|
|
cursor: w-resize;
|
|
|
|
width: 5px;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
&-topleft {
|
|
|
|
cursor: nw-resize;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
|
2018-05-24 14:19:53 +02:00
|
|
|
/* ******************* Overlay and embedded styles *************************** */
|
|
|
|
|
2018-08-07 10:53:15 +02:00
|
|
|
#conversejs.converse-embedded {
|
|
|
|
.chat-textarea {
|
|
|
|
max-height: $fullpage-max-chat-textarea-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-24 14:19:53 +02:00
|
|
|
#conversejs.converse-embedded,
|
|
|
|
#conversejs.converse-overlayed {
|
|
|
|
.chat-head {
|
|
|
|
border-top-left-radius: $chatbox-border-radius;
|
|
|
|
border-top-right-radius: $chatbox-border-radius;
|
|
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
2018-06-01 14:57:19 +02:00
|
|
|
.chatbox-title {
|
|
|
|
@include make-col(8);
|
|
|
|
}
|
|
|
|
.chatbox-buttons {
|
|
|
|
@include make-col(4);
|
|
|
|
}
|
2018-05-24 14:19:53 +02:00
|
|
|
}
|
2018-06-01 14:57:19 +02:00
|
|
|
|
2018-05-24 14:19:53 +02:00
|
|
|
.chatbox {
|
|
|
|
min-width: $overlayed-chat-width!important;
|
|
|
|
width: $overlayed-chat-width;
|
|
|
|
|
|
|
|
.box-flyout {
|
|
|
|
min-width: $overlayed-chat-width!important;
|
|
|
|
width: $overlayed-chat-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chatbox {
|
|
|
|
form.sendXMPPMessage {
|
|
|
|
.chat-toolbar {
|
|
|
|
li {
|
|
|
|
.toolbar-menu {
|
|
|
|
min-width: 235px;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
&.emoji-toolbar {
|
|
|
|
width: 100%;
|
|
|
|
.emoji-category {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-24 13:17:26 +02:00
|
|
|
#conversejs.converse-overlayed {
|
|
|
|
.flyout {
|
|
|
|
bottom: $overlayed-chatbox-hover-height;
|
|
|
|
}
|
|
|
|
.box-flyout {
|
|
|
|
height: $overlayed-chat-height;
|
|
|
|
min-height: $overlayed-chat-height/2;
|
|
|
|
}
|
|
|
|
.chat-head {
|
|
|
|
height: $overlayed-chat-head-height;
|
|
|
|
}
|
|
|
|
.chat-textarea {
|
|
|
|
max-height: $overlayed-max-chat-textarea-height;
|
|
|
|
}
|
|
|
|
.emoji-picker {
|
|
|
|
height: $overlayed-emoji-picker-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-24 14:19:53 +02:00
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
#conversejs.converse-overlayed {
|
|
|
|
> .row {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&.no-gutters {
|
|
|
|
margin: -1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ******************* Fullpage styles *************************** */
|
|
|
|
|
2018-05-10 22:14:37 +02:00
|
|
|
#conversejs.converse-fullscreen {
|
2018-05-24 13:17:26 +02:00
|
|
|
.flyout {
|
2018-05-24 14:28:05 +02:00
|
|
|
border-radius: 0;
|
|
|
|
border-top: 0.8em solid $chat-head-color;
|
|
|
|
border: $flyout-padding solid $chat-head-color;
|
|
|
|
bottom: 0;
|
2018-05-24 13:17:26 +02:00
|
|
|
}
|
2018-05-10 22:14:37 +02:00
|
|
|
.chatbox-btn {
|
|
|
|
font-size: $fullpage-chatbox-button-size;
|
2018-05-24 14:28:05 +02:00
|
|
|
margin: 0 0.3em;
|
2018-05-10 22:14:37 +02:00
|
|
|
}
|
2018-05-11 00:17:44 +02:00
|
|
|
.chat-head {
|
2018-05-24 13:17:26 +02:00
|
|
|
height: $fullpage-chat-head-height;
|
2018-05-24 14:28:05 +02:00
|
|
|
font-size: $font-size-huge;
|
|
|
|
padding: 0;
|
|
|
|
.user-custom-message {
|
2018-07-19 17:09:48 +02:00
|
|
|
font-size: 70%;
|
2018-05-24 14:28:05 +02:00
|
|
|
height: auto;
|
|
|
|
line-height: $line-height;
|
|
|
|
}
|
2018-06-01 14:57:19 +02:00
|
|
|
.chatbox-title {
|
|
|
|
@include make-col(10);
|
|
|
|
}
|
|
|
|
.chatbox-buttons {
|
|
|
|
@include make-col(2);
|
|
|
|
}
|
2018-05-11 00:17:44 +02:00
|
|
|
}
|
2018-05-24 13:17:26 +02:00
|
|
|
.chat-textarea {
|
|
|
|
max-height: $fullpage-max-chat-textarea-height;
|
|
|
|
}
|
|
|
|
.emoji-picker {
|
|
|
|
height: $fullpage-emoji-picker-height;
|
|
|
|
}
|
2018-05-24 14:28:05 +02:00
|
|
|
|
|
|
|
.chatbox {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
@include make-col-ready();
|
|
|
|
@include media-breakpoint-up(md) {
|
2018-07-04 12:00:02 +02:00
|
|
|
@include make-col(8);
|
2018-05-24 14:28:05 +02:00
|
|
|
}
|
2018-06-07 06:58:37 +02:00
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
@include make-col(9);
|
|
|
|
}
|
2018-05-24 14:28:05 +02:00
|
|
|
@include media-breakpoint-up(xl) {
|
|
|
|
@include make-col(10);
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-flyout {
|
|
|
|
background-color: $chat-head-color;
|
|
|
|
box-shadow: none;
|
|
|
|
height: $fullpage-chat-height;
|
|
|
|
min-height: $fullpage-chat-height/2;
|
|
|
|
width: $fullpage-chat-width;
|
2018-07-19 17:06:00 +02:00
|
|
|
overflow: hidden;
|
2018-05-24 14:28:05 +02:00
|
|
|
}
|
|
|
|
.chat-body {
|
|
|
|
background-color: $chat-head-color;
|
|
|
|
border-top-left-radius: $chatbox-border-radius;
|
|
|
|
border-top-right-radius: $chatbox-border-radius;
|
|
|
|
}
|
|
|
|
.chat-content {
|
|
|
|
border-top-left-radius: $chatbox-border-radius;
|
|
|
|
border-top-right-radius: $chatbox-border-radius;
|
|
|
|
}
|
|
|
|
.chat-title {
|
|
|
|
font-size: $font-size-huge;
|
|
|
|
line-height: $line-height-huge;
|
|
|
|
}
|
|
|
|
.sendXMPPMessage {
|
|
|
|
ul {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.toggle-smiley {
|
|
|
|
ul {
|
|
|
|
&.emoji-toolbar {
|
|
|
|
.emoji-category-picker {
|
|
|
|
margin-right: 5em;
|
|
|
|
}
|
|
|
|
.emoji-category {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-10 22:14:37 +02:00
|
|
|
}
|
|
|
|
|
2018-06-01 14:57:19 +02:00
|
|
|
@include media-breakpoint-down(sm) {
|
2018-04-25 18:03:03 +02:00
|
|
|
#conversejs:not(.converse-embedded) {
|
2018-01-26 20:50:11 +01:00
|
|
|
> .row {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2018-02-24 18:43:32 +01:00
|
|
|
#converse-login-panel {
|
2018-02-22 15:51:44 +01:00
|
|
|
.converse-form {
|
2018-01-25 12:36:13 +01:00
|
|
|
padding: 3em 2em 3em;
|
|
|
|
}
|
|
|
|
}
|
2018-01-25 16:30:47 +01:00
|
|
|
.chatbox {
|
2018-01-26 20:50:11 +01:00
|
|
|
width: calc(100% - 50px);
|
2018-01-25 16:30:47 +01:00
|
|
|
.row {
|
|
|
|
.box-flyout {
|
|
|
|
left: 50px;
|
|
|
|
bottom: 0;
|
|
|
|
height: 100vh;
|
|
|
|
box-shadow: none;
|
2018-01-25 12:36:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 14:28:05 +02:00
|
|
|
|
2018-06-01 14:57:19 +02:00
|
|
|
#conversejs.converse-mobile,
|
|
|
|
#conversejs.converse-overlayed,
|
|
|
|
#conversejs.converse-embedded,
|
|
|
|
#conversejs.converse-fullscreen {
|
2018-05-24 14:28:05 +02:00
|
|
|
.chatbox {
|
2018-06-01 14:57:19 +02:00
|
|
|
.box-flyout {
|
|
|
|
.chatbox-navback {
|
|
|
|
display: flex;
|
|
|
|
@include make-col(2);
|
|
|
|
.fa-arrow-left {
|
|
|
|
&:before {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chatbox-title {
|
|
|
|
@include make-col(7);
|
|
|
|
}
|
|
|
|
.chatbox-buttons {
|
|
|
|
@include make-col(3);
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 14:28:05 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|