2015-10-27 11:17:55 +01:00
|
|
|
#conversejs {
|
2020-12-01 16:31:57 +01:00
|
|
|
|
2018-06-01 14:57:19 +02:00
|
|
|
.chatbox-navback {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-10-29 09:12:40 +01:00
|
|
|
.flyout {
|
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-10-25 20:42:56 +02:00
|
|
|
font-size: var(--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 {
|
2020-01-14 13:32:20 +01:00
|
|
|
display: flex;
|
2020-01-15 14:23:27 +01:00
|
|
|
flex-direction: row;
|
2015-10-29 09:12:40 +01:00
|
|
|
color: #ffffff;
|
|
|
|
font-size: 100%;
|
|
|
|
margin: 0;
|
2020-02-10 11:23:55 +01:00
|
|
|
padding: 0;
|
2015-10-29 09:12:40 +01:00
|
|
|
position: relative;
|
2018-01-27 10:07:54 +01:00
|
|
|
|
|
|
|
&.chat-head-chatbox {
|
2018-10-25 20:42:56 +02:00
|
|
|
background-color: var(--chat-head-color);
|
2018-01-27 10:07:54 +01:00
|
|
|
}
|
|
|
|
|
2015-10-29 09:12:40 +01:00
|
|
|
.avatar {
|
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
|
|
|
|
2020-12-01 16:31:57 +01:00
|
|
|
.show-msg-author-modal {
|
|
|
|
color: #ffffff !important;
|
|
|
|
}
|
|
|
|
|
2020-01-14 13:32:20 +01:00
|
|
|
.chat-head__desc {
|
2020-02-07 13:45:25 +01:00
|
|
|
color: var(--chat-head-color-lighten-50-percent);
|
2020-02-10 11:23:55 +01:00
|
|
|
font-size: var(--font-size-small);
|
2020-02-07 13:45:25 +01:00
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
2020-04-06 14:27:44 +02:00
|
|
|
padding: 0.5rem 1rem 0.5rem 1rem;
|
2020-02-07 13:45:25 +01:00
|
|
|
text-overflow: ellipsis;
|
2020-02-10 11:23:55 +01:00
|
|
|
width: 100%;
|
2020-04-06 14:27:44 +02:00
|
|
|
max-height: 5em;
|
2020-01-14 13:32:20 +01:00
|
|
|
}
|
|
|
|
|
2018-06-01 14:57:19 +02:00
|
|
|
.chatbox-title {
|
2020-02-10 11:23:55 +01:00
|
|
|
padding: 0.75rem 1rem 0 1rem;
|
2020-01-14 13:32:20 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%;
|
2018-06-01 14:57:19 +02:00
|
|
|
}
|
2020-01-14 13:32:20 +01:00
|
|
|
|
2020-02-10 11:23:55 +01:00
|
|
|
.chatbox-title--no-desc {
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
}
|
|
|
|
|
2020-01-14 13:32:20 +01:00
|
|
|
.chatbox-title--row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatbox-title__text {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatbox-title__buttons {
|
|
|
|
display: flex;
|
2018-01-27 10:07:54 +01:00
|
|
|
flex-direction: row-reverse;
|
2020-01-14 13:32:20 +01:00
|
|
|
flex-wrap: nowrap;
|
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
|
|
|
|
2018-02-20 16:41:55 +01:00
|
|
|
a, a:visited, a:hover, a:not([href]):not([tabindex]) {
|
|
|
|
&.chatbox-btn {
|
2018-09-04 11:39:27 +02:00
|
|
|
&.fa,
|
|
|
|
&.fas,
|
|
|
|
&.far {
|
2018-02-20 16:41:55 +01:00
|
|
|
color: white;
|
2018-03-16 20:41:00 +01:00
|
|
|
&.button-on:before {
|
|
|
|
padding: 0.2em;
|
2018-10-25 20:42:56 +02:00
|
|
|
background-color: var(--chat-head-text-color);
|
|
|
|
color: var(--chat-head-color);
|
2018-02-20 16:41:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-29 09:12:40 +01:00
|
|
|
}
|
2018-02-20 16:41:55 +01:00
|
|
|
|
|
|
|
.chatbox-btn {
|
|
|
|
color: white;
|
2018-09-04 11:39:27 +02:00
|
|
|
&.fa, &.far, &.fas {
|
2018-02-20 16:41:55 +01:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
2018-03-16 20:41:00 +01:00
|
|
|
&.button-on:before {
|
|
|
|
border-radius: 5%;
|
2018-10-25 20:42:56 +02:00
|
|
|
background-color: var(--chat-head-text-color);
|
|
|
|
color: var(--chat-head-color);
|
2018-02-20 16:41:55 +01:00
|
|
|
}
|
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;
|
2018-10-25 20:42:56 +02:00
|
|
|
margin: 0 var(--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;
|
2018-10-25 20:42:56 +02:00
|
|
|
width: var(--mobile-chat-width);
|
2016-04-01 12:53:15 +02:00
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
2015-10-27 11:17:55 +01:00
|
|
|
margin: 0;
|
2018-10-25 20:42:56 +02:00
|
|
|
width: var(--mobile-chat-width);
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
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;
|
2015-10-27 11:17:55 +01:00
|
|
|
box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
|
2019-10-29 11:34:22 +01:00
|
|
|
z-index: 2;
|
2020-01-14 13:32:20 +01:00
|
|
|
overflow: 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) {
|
2018-10-25 20:42:56 +02:00
|
|
|
height: var(--mobile-chat-height);
|
|
|
|
width: var(--mobile-chat-width);
|
2020-10-02 22:50:02 +02:00
|
|
|
height: var(--fullpage-chat-height);
|
2016-04-01 12:53:15 +02:00
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
2018-10-25 20:42:56 +02:00
|
|
|
height: var(--mobile-chat-height);
|
|
|
|
width: var(--mobile-chat-width);
|
2020-10-02 22:50:02 +02:00
|
|
|
height: var(--fullpage-chat-height);
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.chat-title {
|
2018-10-27 02:16:50 +02:00
|
|
|
display: var(--heading-display);
|
2018-10-25 20:42:56 +02:00
|
|
|
font-family: var(--heading-font);
|
2018-10-27 02:16:50 +02:00
|
|
|
color: var(--heading-color);
|
2015-10-31 19:29:43 +01:00
|
|
|
display: block;
|
2018-10-25 20:42:56 +02:00
|
|
|
line-height: var(--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;
|
2018-10-27 02:16:50 +02:00
|
|
|
&.groupchat {
|
|
|
|
padding-right: var(--chatroom-head-title-padding-right);
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
a {
|
2018-10-25 20:42:56 +02:00
|
|
|
color: var(--chat-head-text-color);
|
2015-10-27 11:17:55 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chat-body {
|
2018-03-06 23:49:39 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2021-02-08 10:16:39 +01:00
|
|
|
background-color: var(--chat-textarea-background-color);
|
2018-10-25 20:42:56 +02:00
|
|
|
border-bottom-left-radius: var(--chatbox-border-radius);
|
|
|
|
border-bottom-right-radius: var(--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 {
|
2018-10-25 20:42:56 +02:00
|
|
|
color: var(--text-color);
|
|
|
|
font-size: var(--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;
|
2018-10-25 20:42:56 +02:00
|
|
|
background-color: var(--chat-head-color);
|
|
|
|
color: var(--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 {
|
2019-10-08 14:50:36 +02:00
|
|
|
background-color: var(--chat-content-background-color);
|
2020-04-11 15:06:45 +02:00
|
|
|
border: 0;
|
|
|
|
color: var(--text-color);
|
|
|
|
font-size: var(--message-font-size);
|
|
|
|
height: 100%;
|
2015-10-27 11:17:55 +01:00
|
|
|
line-height: 1.3em;
|
2020-05-15 14:33:31 +02:00
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
2020-04-11 15:06:45 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2018-02-06 17:53:56 +01:00
|
|
|
|
2020-05-15 14:33:31 +02:00
|
|
|
converse-chat-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
converse-chat-message {
|
|
|
|
.spinner {
|
|
|
|
width: 100%;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-content__help {
|
2020-07-13 11:17:29 +02:00
|
|
|
border-top: 1px solid var(--chat-head-color);
|
|
|
|
max-height: 100%;
|
|
|
|
.close-chat-help {
|
|
|
|
svg {
|
|
|
|
fill: var(--chat-head-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-15 14:33:31 +02:00
|
|
|
converse-chat-help {
|
2020-07-13 11:17:29 +02:00
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
2020-05-15 14:33:31 +02:00
|
|
|
display: block;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
.close-chat-help {
|
|
|
|
float: right;
|
|
|
|
padding-right: 1em;
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--chat-content-background-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-content__messages {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2020-03-24 10:20:11 +01:00
|
|
|
.chat-content__notifications {
|
2020-03-24 16:30:19 +01:00
|
|
|
height: 1.7em;
|
2020-03-24 10:20:11 +01:00
|
|
|
white-space: pre;
|
|
|
|
background-color: var(--chat-content-background-color);
|
|
|
|
color: var(--subdued-color);
|
|
|
|
font-size: 90%;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: var(--line-height-small);
|
|
|
|
padding: 0 1em 0.3em;
|
2020-05-13 15:48:54 +02:00
|
|
|
&:before {
|
|
|
|
content: " ";
|
|
|
|
}
|
2020-03-24 10:20:11 +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
|
|
|
}
|
2020-03-18 19:32:03 +01:00
|
|
|
|
2017-03-30 12:40:17 +02:00
|
|
|
.chat-content-sendbutton {
|
2018-10-25 20:42:56 +02:00
|
|
|
height: calc(100% - (var(--chat-textarea-height) + var(--send-button-height) + 2 * var(--send-button-margin)));
|
2017-03-30 12:40:17 +02:00
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
|
|
|
|
.dropdown { /* status dropdown styles */
|
2018-10-25 20:42:56 +02:00
|
|
|
background-color: var(--light-background-color);
|
2015-10-27 11:17:55 +01:00
|
|
|
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;
|
2018-10-25 20:42:56 +02:00
|
|
|
border-bottom-radius: var(--chatbox-border-radius);
|
2015-10-27 11:17:55 +01:00
|
|
|
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
|
|
|
|
2020-07-08 11:14:53 +02:00
|
|
|
.chat-textarea, input {
|
|
|
|
&:active, &:focus{
|
|
|
|
outline-color: var(--chat-head-color);
|
|
|
|
}
|
|
|
|
&.correcting {
|
|
|
|
background-color: var(--chat-correcting-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-27 11:17:55 +01:00
|
|
|
.chat-textarea {
|
2018-10-25 20:42:56 +02:00
|
|
|
color: var(--chat-textarea-color);
|
2018-10-27 02:16:50 +02:00
|
|
|
background-color: var(--chat-textarea-background-color);
|
2018-01-23 11:20:51 +01:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
2018-10-25 20:42:56 +02:00
|
|
|
border-bottom-radius: var(--chatbox-border-radius);
|
2020-01-10 13:26:50 +01:00
|
|
|
padding-left: 0.5em;
|
|
|
|
padding-right: 4.5em;
|
|
|
|
padding-top: 0.5em;
|
|
|
|
padding-bottom:0.5em;
|
2015-10-27 11:17:55 +01:00
|
|
|
width: 100%;
|
2018-01-23 11:20:51 +01:00
|
|
|
border: none;
|
2018-10-25 20:42:56 +02:00
|
|
|
min-height: var(--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;
|
|
|
|
}
|
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%;
|
|
|
|
}
|
2019-09-25 08:15:36 +02:00
|
|
|
&-left,
|
|
|
|
&-occupants-left {
|
2015-10-27 11:17:55 +01:00
|
|
|
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 *************************** */
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
#conversejs {
|
|
|
|
converse-chats.converse-embedded,
|
|
|
|
converse-chats.converse-overlayed {
|
|
|
|
.controlbox-head {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
.chat-head {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
|
|
|
.chatbox {
|
2018-10-25 20:42:56 +02:00
|
|
|
min-width: var(--overlayed-chat-width) !important;
|
|
|
|
width: var(--overlayed-chat-width);
|
2021-01-25 20:54:50 +01:00
|
|
|
|
|
|
|
.box-flyout {
|
|
|
|
min-width: var(--overlayed-chat-width) !important;
|
|
|
|
width: var(--overlayed-chat-width);
|
|
|
|
}
|
2020-01-14 13:32:20 +01:00
|
|
|
}
|
2018-05-24 14:19:53 +02:00
|
|
|
}
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
converse-chats.converse-overlayed {
|
|
|
|
.chat-head, .box-flyout {
|
|
|
|
border-top-left-radius: var(--chatbox-border-radius);
|
|
|
|
border-top-right-radius: var(--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;
|
|
|
|
}
|
2020-07-07 14:06:33 +02:00
|
|
|
}
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
.flyout {
|
|
|
|
bottom: var(--overlayed-chatbox-hover-height);
|
2020-02-10 11:23:55 +01:00
|
|
|
}
|
2021-01-25 20:54:50 +01:00
|
|
|
.box-flyout {
|
|
|
|
height: var(--overlayed-chat-height);
|
|
|
|
min-height: calc(var(--overlayed-chat-height) / 2);
|
2020-02-10 11:23:55 +01:00
|
|
|
}
|
2021-01-25 20:54:50 +01:00
|
|
|
.chat-head {
|
|
|
|
min-height: var(--overlayed-chat-head-height);
|
2020-02-10 11:23:55 +01:00
|
|
|
}
|
2021-01-25 20:54:50 +01:00
|
|
|
.minimized-chats-flyout .chat-head {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.chat-textarea {
|
|
|
|
max-height: var(--overlayed-max-chat-textarea-height);
|
|
|
|
}
|
|
|
|
.chatbox {
|
|
|
|
.chat-body {
|
|
|
|
height: calc(100% - var(--overlayed-chat-head-height));
|
|
|
|
}
|
|
|
|
.chatbox-title {
|
|
|
|
padding: 0.5rem 0.75rem 0 0.75rem;
|
|
|
|
}
|
|
|
|
.chatbox-title--no-desc {
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
}
|
|
|
|
converse-dropdown {
|
|
|
|
.btn--standalone {
|
|
|
|
padding: 0 0.2em;
|
|
|
|
margin: 0 0 0 0.5em;
|
|
|
|
}
|
2020-02-10 11:23:55 +01:00
|
|
|
}
|
|
|
|
}
|
2018-09-04 10:41:31 +02:00
|
|
|
}
|
2018-05-24 13:17:26 +02:00
|
|
|
}
|
|
|
|
|
2018-05-24 14:19:53 +02:00
|
|
|
@include media-breakpoint-down(sm) {
|
2021-02-08 10:16:39 +01:00
|
|
|
#conversejs.converse-overlayed {
|
|
|
|
> .row {
|
|
|
|
flex-direction: column;
|
|
|
|
&.no-gutters {
|
|
|
|
margin: -1em;
|
2018-05-24 14:19:53 +02:00
|
|
|
}
|
2019-08-15 13:43:36 +02:00
|
|
|
}
|
|
|
|
}
|
2018-05-24 14:19:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
#conversejs {
|
|
|
|
converse-chats.converse-embedded,
|
|
|
|
converse-chats.converse-fullscreen {
|
2019-10-09 11:55:43 +02:00
|
|
|
.flyout {
|
2021-01-25 20:54:50 +01:00
|
|
|
border-radius: 0;
|
|
|
|
border:none;
|
|
|
|
bottom: 0;
|
2019-10-09 11:55:43 +02:00
|
|
|
}
|
2021-01-25 20:54:50 +01:00
|
|
|
|
2019-10-09 11:55:43 +02:00
|
|
|
.chatbox {
|
|
|
|
margin: 0;
|
2021-01-25 20:54:50 +01:00
|
|
|
margin-left: 15px;
|
|
|
|
.box-flyout {
|
|
|
|
box-shadow: none;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
&:not(#controlbox) {
|
|
|
|
.box-flyout {
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
max-width: 66.666667%;
|
|
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
max-width: 75%;
|
|
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
|
|
max-width: 83.333333%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-09 11:55:43 +02:00
|
|
|
@include media-breakpoint-up(md) {
|
2021-01-25 20:54:50 +01:00
|
|
|
@include make-col(8);
|
2019-10-09 11:55:43 +02:00
|
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
2021-01-25 20:54:50 +01:00
|
|
|
@include make-col(9);
|
2019-10-09 11:55:43 +02:00
|
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
2021-01-25 20:54:50 +01:00
|
|
|
@include make-col(10);
|
2019-10-09 11:55:43 +02:00
|
|
|
}
|
|
|
|
}
|
2018-12-04 12:52:25 +01:00
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
&.converse-singleton {
|
|
|
|
.flyout {
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
.chat-head {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
.chatbox {
|
|
|
|
margin: 0;
|
|
|
|
@include make-col-ready();
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
@include make-col(12);
|
|
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
|
|
@include make-col(12);
|
|
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
|
|
@include make-col(12);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-02 19:26:09 +02:00
|
|
|
}
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
converse-chats.converse-embedded {
|
|
|
|
.chat-head {
|
|
|
|
font-size: var(--font-size-huge);
|
|
|
|
}
|
2018-12-04 12:52:25 +01:00
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
&.converse-chatboxes {
|
|
|
|
z-index: 1031; // One more than bootstrap navbar
|
|
|
|
position: inherit;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
bottom: auto;
|
2018-12-04 12:52:25 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2021-01-25 20:54:50 +01:00
|
|
|
margin-left: -15px;
|
2018-12-04 12:52:25 +01:00
|
|
|
}
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
.chatbox {
|
|
|
|
.box-flyout {
|
|
|
|
bottom: 0;
|
|
|
|
height: 100%;
|
|
|
|
min-width: auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-textarea {
|
|
|
|
max-height: var(--fullpage-max-chat-textarea-height);
|
|
|
|
}
|
2018-12-04 12:52:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ******************* Fullpage styles *************************** */
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
#conversejs {
|
|
|
|
converse-chats.converse-fullscreen {
|
|
|
|
.chatbox-btn {
|
|
|
|
font-size: var(--fullpage-chatbox-button-size);
|
|
|
|
margin: 0 0.3em;
|
2018-05-24 14:28:05 +02:00
|
|
|
}
|
2021-01-25 20:54:50 +01:00
|
|
|
.chat-head {
|
2018-10-25 20:42:56 +02:00
|
|
|
font-size: var(--font-size-huge);
|
2018-05-24 14:28:05 +02:00
|
|
|
}
|
2021-01-25 20:54:50 +01:00
|
|
|
.chat-textarea {
|
|
|
|
max-height: var(--fullpage-max-chat-textarea-height);
|
|
|
|
}
|
|
|
|
.chatbox {
|
|
|
|
.box-flyout {
|
|
|
|
box-shadow: none;
|
|
|
|
height: var(--fullpage-chat-height);
|
|
|
|
min-height: calc(var(--fullpage-chat-height) / 2);
|
|
|
|
width: var(--fullpage-chat-width);
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.chat-body {
|
|
|
|
height: inherit;
|
|
|
|
overflow: hidden;
|
2021-02-10 11:37:48 +01:00
|
|
|
background-color: var(--chat-background-color);
|
2021-01-25 20:54:50 +01:00
|
|
|
}
|
|
|
|
.chat-title {
|
|
|
|
font-size: var(--font-size-huge);
|
|
|
|
line-height: var(--line-height-huge);
|
|
|
|
}
|
|
|
|
.sendXMPPMessage {
|
|
|
|
ul {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-05-24 14:28:05 +02:00
|
|
|
}
|
2018-05-11 00:17:44 +02:00
|
|
|
}
|
|
|
|
}
|
2018-05-10 22:14:37 +02:00
|
|
|
}
|
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
|
2018-06-01 14:57:19 +02:00
|
|
|
@include media-breakpoint-down(sm) {
|
2021-01-25 20:54:50 +01:00
|
|
|
#conversejs {
|
|
|
|
converse-chats:not(.converse-embedded) {
|
|
|
|
> .row {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
#converse-login-panel {
|
|
|
|
.converse-form {
|
|
|
|
padding: 3em 2em 3em;
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
}
|
2021-01-25 20:54:50 +01:00
|
|
|
.chatbox {
|
|
|
|
width: calc(100% - 50px);
|
|
|
|
.row {
|
|
|
|
.box-flyout {
|
|
|
|
left: 50px;
|
|
|
|
bottom: 0;
|
|
|
|
height: var(--fullpage-chat-height);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 14:28:05 +02:00
|
|
|
|
2021-01-25 20:54:50 +01:00
|
|
|
converse-chats.converse-mobile,
|
|
|
|
converse-chats.converse-overlayed,
|
|
|
|
converse-chats.converse-fullscreen {
|
|
|
|
.chatbox {
|
|
|
|
.box-flyout {
|
|
|
|
.chatbox-navback {
|
|
|
|
margin: auto 0;
|
|
|
|
margin-right: 1em;
|
|
|
|
display: flex;
|
|
|
|
.fa-arrow-left {
|
|
|
|
&:before {
|
|
|
|
color: white;
|
|
|
|
}
|
2018-06-01 14:57:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 14:28:05 +02:00
|
|
|
}
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
}
|