2018-04-24 18:22:44 +02:00
|
|
|
#conversejs.converse-embedded,
|
2015-10-25 20:02:36 +01:00
|
|
|
#conversejs {
|
2016-07-19 16:18:40 +02:00
|
|
|
.add-chatroom {
|
|
|
|
input[type="submit"],
|
|
|
|
input[type="button"] {
|
|
|
|
margin: 0.3em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-04 19:53:33 +02:00
|
|
|
#room-details-modal {
|
|
|
|
.features-list {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatroom-features {
|
|
|
|
width: 100%;
|
|
|
|
.features-list {
|
|
|
|
padding-top: 0;
|
|
|
|
.feature {
|
|
|
|
width: 100%;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
padding-right: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
cursor: help;
|
|
|
|
.fa {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-10-29 09:12:40 +01:00
|
|
|
.chat-head-chatroom {
|
|
|
|
background-color: $chatroom-head-color;
|
2018-01-27 10:07:54 +01:00
|
|
|
|
2018-04-27 14:16:34 +02:00
|
|
|
.chatroom-description {
|
2018-04-27 16:50:58 +02:00
|
|
|
color: lighten($chatroom-head-color, 25%);
|
2018-05-24 12:44:18 +02:00
|
|
|
font-size: $font-size;
|
2018-05-15 11:38:33 +02:00
|
|
|
font-size: 70%;
|
|
|
|
margin-top: 3px;
|
2018-01-27 10:07:54 +01:00
|
|
|
overflow-y: hidden;
|
2018-04-27 14:16:34 +02:00
|
|
|
overflow: hidden;
|
2018-01-27 10:07:54 +01:00
|
|
|
text-overflow: ellipsis;
|
2018-04-27 14:16:34 +02:00
|
|
|
white-space: nowrap;
|
2018-10-07 03:31:18 +02:00
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
}
|
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 {
|
|
|
|
&.fa {
|
|
|
|
color: $chat-head-text-color;
|
2018-03-16 20:41:00 +01:00
|
|
|
&.button-on:before {
|
2018-02-20 16:41:55 +01:00
|
|
|
color: $chatroom-head-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-27 23:50:38 +02:00
|
|
|
.chatbox-btn {
|
2018-03-16 20:41:00 +01:00
|
|
|
&.button-on:before {
|
2016-06-27 23:50:38 +02:00
|
|
|
color: $chatroom-head-color;
|
|
|
|
}
|
|
|
|
}
|
2017-07-17 17:10:25 +02:00
|
|
|
.chat-title {
|
2017-07-19 08:30:04 +02:00
|
|
|
.chatroom-jid {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
2015-10-31 19:29:43 +01:00
|
|
|
}
|
2015-10-29 09:12:40 +01:00
|
|
|
}
|
|
|
|
|
2015-10-25 20:02:36 +01:00
|
|
|
.chatroom {
|
|
|
|
width: $chatroom-width;
|
2016-04-01 12:53:15 +02:00
|
|
|
@media screen and (max-height: $mobile-landscape-height){
|
|
|
|
width: $mobile-chat-width;
|
|
|
|
}
|
|
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
2015-10-25 20:02:36 +01:00
|
|
|
width: $mobile-chat-width;
|
|
|
|
}
|
2017-04-04 16:22:19 +02:00
|
|
|
|
2015-10-25 20:02:36 +01:00
|
|
|
.box-flyout {
|
2018-03-05 18:37:18 +01:00
|
|
|
overflow-y: hidden;
|
2018-03-09 11:02:28 +01:00
|
|
|
background-color: $chatroom-head-color;
|
2018-03-05 18:37:18 +01:00
|
|
|
|
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) {
|
2016-04-01 10:12:06 +02:00
|
|
|
height: $mobile-chat-height;
|
|
|
|
width: $mobile-chat-width;
|
2016-04-01 12:53:15 +02:00
|
|
|
height: 100vh;
|
2016-04-01 10:12:06 +02:00
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
.chatroom-body {
|
2018-03-06 23:49:39 +01:00
|
|
|
flex-direction: row;
|
2018-03-07 10:42:15 +01:00
|
|
|
flex-flow: nowrap;
|
2015-10-25 20:02:36 +01:00
|
|
|
@include border-bottom-radius($chatbox-border-radius);
|
|
|
|
background-color: white;
|
|
|
|
border-top: 0;
|
|
|
|
width: 100%;
|
2018-01-25 12:36:13 +01:00
|
|
|
overflow: hidden;
|
|
|
|
|
2018-01-26 14:41:06 +01:00
|
|
|
.row {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2018-03-07 10:42:15 +01:00
|
|
|
.chat-topic {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $chatroom-head-color;
|
|
|
|
}
|
2017-06-17 23:48:46 +02:00
|
|
|
.chat-info {
|
2018-03-07 14:36:19 +01:00
|
|
|
color: $chatroom-head-color;
|
2018-01-23 11:20:51 +01:00
|
|
|
line-height: normal;
|
2018-03-07 14:36:19 +01:00
|
|
|
&.badge {
|
|
|
|
color: $chat-head-text-color;
|
|
|
|
}
|
2017-06-17 23:48:46 +02:00
|
|
|
}
|
2018-07-02 12:52:19 +02:00
|
|
|
.disconnect-container {
|
|
|
|
margin: 1em;
|
|
|
|
width: 100%;
|
|
|
|
h3.disconnect-msg {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
2017-04-21 18:10:51 +02:00
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
.chat-area {
|
2018-03-06 23:49:39 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-09-18 13:36:02 +02:00
|
|
|
word-wrap: break-word;
|
2016-05-28 10:55:03 +02:00
|
|
|
.new-msgs-indicator {
|
|
|
|
background-color: $chatroom-head-color;
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
.chat-content {
|
2018-03-06 23:49:39 +01:00
|
|
|
height: 100%;
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
|
|
|
}
|
2015-10-31 17:30:06 +01:00
|
|
|
.occupants {
|
2018-03-05 18:37:18 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2017-02-19 12:00:19 +01:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
2015-10-25 20:02:36 +01:00
|
|
|
vertical-align: top;
|
|
|
|
background-color: white;
|
2015-10-31 18:04:54 +01:00
|
|
|
border-left: 1px solid $text-color;
|
2015-10-25 20:02:36 +01:00
|
|
|
border-bottom-right-radius: $chatbox-border-radius;
|
2017-02-18 20:41:44 +01:00
|
|
|
padding: 0.5em;
|
2018-03-05 18:37:18 +01:00
|
|
|
|
2018-05-30 16:55:14 +02:00
|
|
|
.occupants-header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
.hide-occupants {
|
|
|
|
align-self: flex-end;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-10-29 10:21:31 +01:00
|
|
|
}
|
2018-09-18 13:36:02 +02:00
|
|
|
.occupants-heading {
|
|
|
|
font-family: $heading-font;
|
|
|
|
}
|
2017-03-03 15:33:11 +01:00
|
|
|
.awesomplete {
|
|
|
|
ul {
|
2017-06-18 00:42:54 +02:00
|
|
|
padding: 0;
|
|
|
|
li {
|
|
|
|
padding: .5em;
|
|
|
|
}
|
2017-03-03 15:33:11 +01:00
|
|
|
}
|
|
|
|
}
|
2017-02-18 20:41:44 +01:00
|
|
|
ul {
|
2017-12-14 18:43:00 +01:00
|
|
|
padding: 0.5em 0 0 0;
|
|
|
|
margin-bottom: 0.5em;
|
2015-11-03 17:42:04 +01:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2015-10-25 20:02:36 +01:00
|
|
|
list-style: none;
|
2017-02-19 09:43:08 +01:00
|
|
|
|
|
|
|
&.occupant-list {
|
2017-02-25 21:53:50 +01:00
|
|
|
overflow-y: auto;
|
2018-03-05 18:37:18 +01:00
|
|
|
flex-basis: 0;
|
|
|
|
flex-grow: 1;
|
2018-05-09 12:57:50 +02:00
|
|
|
border-bottom: 1px solid lightgrey;
|
2017-02-19 12:00:19 +01:00
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
li {
|
|
|
|
cursor: default;
|
|
|
|
display: block;
|
2017-02-18 20:41:44 +01:00
|
|
|
font-size: $font-size-small;
|
2015-10-25 20:02:36 +01:00
|
|
|
overflow: hidden;
|
2018-05-09 12:28:34 +02:00
|
|
|
padding: 0.25em 0.25em 0.25em 0;
|
2015-10-25 20:02:36 +01:00
|
|
|
text-overflow: ellipsis;
|
2018-03-06 18:33:59 +01:00
|
|
|
.fa {
|
|
|
|
margin-right: 0.5em;
|
2017-02-18 20:41:44 +01:00
|
|
|
}
|
|
|
|
&.feature {
|
|
|
|
font-size: $font-size-tiny;
|
|
|
|
}
|
2016-07-26 11:04:05 +02:00
|
|
|
&.occupant {
|
|
|
|
cursor: pointer;
|
2018-05-09 12:28:34 +02:00
|
|
|
|
|
|
|
div.row.no-gutters {
|
|
|
|
flex-wrap: nowrap;
|
2018-05-09 12:57:50 +02:00
|
|
|
min-height: 1.5em;
|
2018-05-09 12:28:34 +02:00
|
|
|
}
|
|
|
|
.badge {
|
2018-05-09 12:57:50 +02:00
|
|
|
margin-bottom: 0.125rem;
|
2018-05-09 12:28:34 +02:00
|
|
|
}
|
|
|
|
|
2017-02-28 06:27:30 +01:00
|
|
|
.occupant-status {
|
2018-01-27 16:20:35 +01:00
|
|
|
display: inline-block;
|
2018-05-09 12:57:50 +02:00
|
|
|
margin: 0 0.5em 0.125em 0;
|
2018-01-27 16:20:35 +01:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.5em;
|
2018-05-09 12:28:34 +02:00
|
|
|
|
2017-02-28 06:46:21 +01:00
|
|
|
&.occupant-online,
|
|
|
|
&.occupant-chat {
|
2017-02-28 08:32:00 +01:00
|
|
|
background-color: #1A9707;
|
2017-02-28 06:27:30 +01:00
|
|
|
}
|
|
|
|
&.occupant-dnd {
|
|
|
|
background-color: red;
|
|
|
|
}
|
|
|
|
&.occupant-away {
|
|
|
|
background-color: darkorange;
|
|
|
|
}
|
|
|
|
&.occupant-xa {
|
|
|
|
background-color: orange;
|
|
|
|
}
|
2018-05-09 12:28:34 +02:00
|
|
|
&.occupant-offline {
|
|
|
|
background-color: darkgrey;
|
|
|
|
}
|
2017-02-28 06:27:30 +01:00
|
|
|
}
|
2016-07-26 11:04:05 +02:00
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chatroom-form-container {
|
|
|
|
background-color: white;
|
2017-07-05 11:59:55 +02:00
|
|
|
border-bottom-left-radius: $chatbox-border-radius;
|
|
|
|
border-bottom-right-radius: $chatbox-border-radius;
|
2015-10-25 20:02:36 +01:00
|
|
|
border: 0;
|
|
|
|
color: $text-color;
|
|
|
|
font-size: $font-size;
|
2018-04-15 21:30:35 +02:00
|
|
|
height: 100%;
|
2017-02-13 12:46:28 +01:00
|
|
|
width: 100%;
|
2015-10-25 20:02:36 +01:00
|
|
|
overflow-y: auto;
|
2016-07-20 10:16:08 +02:00
|
|
|
|
|
|
|
.validation-message {
|
|
|
|
font-size: 90%;
|
|
|
|
color: $error-color;
|
|
|
|
}
|
2017-02-28 08:32:00 +01:00
|
|
|
input[type=button],
|
|
|
|
input[type=submit] {
|
|
|
|
margin: 0 0.5em;
|
|
|
|
}
|
2017-06-17 23:48:46 +02:00
|
|
|
.button-primary {
|
|
|
|
background-color: $chatroom-head-color;
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
|
2018-01-25 12:36:13 +01:00
|
|
|
.sendXMPPMessage {
|
2017-06-17 23:48:46 +02:00
|
|
|
.chat-toolbar {
|
2018-03-06 14:48:23 +01:00
|
|
|
background-color: white;
|
2018-08-07 15:10:27 +02:00
|
|
|
border-top: 4px solid $chatroom-head-color;
|
2018-03-06 14:48:23 +01:00
|
|
|
color: $chatroom-head-color;
|
2018-09-04 11:39:27 +02:00
|
|
|
.fas, .fas:hover,
|
|
|
|
.far, .far:hover,
|
2018-03-06 14:48:23 +01:00
|
|
|
.fa, .fa:hover {
|
|
|
|
color: $chatroom-head-color;
|
|
|
|
}
|
2017-06-17 23:48:46 +02:00
|
|
|
}
|
2017-03-30 12:34:49 +02:00
|
|
|
.chat-textarea {
|
|
|
|
border-bottom-right-radius: 0;
|
2018-08-07 08:54:50 +02:00
|
|
|
&.correcting {
|
|
|
|
background-color: lighten($chatroom-head-color, 30%);
|
|
|
|
}
|
2017-03-30 12:34:49 +02:00
|
|
|
}
|
|
|
|
.send-button {
|
|
|
|
background-color: $chatroom-head-color;
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
2015-10-31 13:54:04 +01:00
|
|
|
|
2015-10-31 17:18:31 +01:00
|
|
|
.room-invite {
|
2018-08-14 16:32:02 +02:00
|
|
|
padding-bottom: 1em;
|
2015-10-31 17:18:31 +01:00
|
|
|
.invited-contact {
|
|
|
|
margin: -1px 0 0 -1px;
|
2015-11-02 01:28:00 +01:00
|
|
|
width: 100%;
|
2015-10-31 17:18:31 +01:00
|
|
|
border: 1px solid #999;
|
2015-10-31 13:54:04 +01:00
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
|
2018-05-24 12:44:18 +02:00
|
|
|
/* ******************* Overlay styles *************************** */
|
|
|
|
|
|
|
|
#conversejs.converse-overlayed {
|
|
|
|
.chatbox {
|
|
|
|
&.chatroom {
|
|
|
|
min-width: $chatroom-width !important;
|
|
|
|
width: $chatroom-width;
|
|
|
|
.box-flyout {
|
|
|
|
min-width: $chatroom-width !important;
|
|
|
|
width: $chatroom-width;
|
|
|
|
}
|
|
|
|
.chatbox-title {
|
2018-09-18 13:39:04 +02:00
|
|
|
@include make-col(7);
|
2018-05-24 12:44:18 +02:00
|
|
|
.chatroom-description {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
}
|
2018-06-01 12:37:14 +02:00
|
|
|
.chatbox-buttons {
|
2018-09-18 13:39:04 +02:00
|
|
|
@include make-col(5);
|
2018-06-01 12:37:14 +02:00
|
|
|
}
|
2018-05-24 12:44:18 +02:00
|
|
|
.chatroom-body {
|
|
|
|
.occupants {
|
2018-09-18 13:36:02 +02:00
|
|
|
.occupants-heading {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-05-24 12:44:18 +02:00
|
|
|
.chatroom-features {
|
|
|
|
.feature {
|
2018-09-18 13:36:02 +02:00
|
|
|
font-size: $font-size-tiny;
|
2018-05-24 12:44:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 13:17:26 +02:00
|
|
|
.chat-area {
|
|
|
|
min-width: $overlayed-chat-width;
|
|
|
|
}
|
2018-05-24 12:44:18 +02:00
|
|
|
}
|
2018-09-04 12:08:05 +02:00
|
|
|
.sendXMPPMessage {
|
|
|
|
.chat-toolbar {
|
|
|
|
li {
|
|
|
|
.toolbar-menu {
|
|
|
|
min-width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 12:44:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-01 12:37:14 +02:00
|
|
|
#conversejs.converse-fullscreen {
|
|
|
|
.chatroom {
|
|
|
|
.box-flyout {
|
|
|
|
.chatbox-title {
|
|
|
|
@include make-col(9);
|
|
|
|
}
|
|
|
|
.chatbox-buttons {
|
|
|
|
@include make-col(3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
2018-06-04 21:42:21 +02:00
|
|
|
|
|
|
|
#conversejs:not(.converse-embedded) {
|
2018-06-01 14:57:19 +02:00
|
|
|
.chatroom {
|
2018-06-04 21:42:21 +02:00
|
|
|
width: 100vw !important;
|
2018-06-01 14:57:19 +02:00
|
|
|
.box-flyout {
|
|
|
|
.chatbox-navback {
|
|
|
|
@include make-col(2);
|
|
|
|
}
|
|
|
|
.chatbox-title {
|
|
|
|
@include make-col(7);
|
|
|
|
}
|
|
|
|
.chatbox-buttons {
|
|
|
|
@include make-col(3);
|
|
|
|
}
|
2018-06-01 12:37:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-24 12:44:18 +02:00
|
|
|
|
|
|
|
#conversejs.converse-fullscreen,
|
|
|
|
#conversejs.converse-mobile {
|
2018-05-24 13:17:26 +02:00
|
|
|
|
2018-05-24 12:44:18 +02:00
|
|
|
.chatroom {
|
|
|
|
.box-flyout {
|
|
|
|
background-color: $chatroom-head-color;
|
|
|
|
border: $flyout-padding solid $chatroom-head-color;
|
|
|
|
border-top: 0.8em solid $chatroom-head-color;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.chatbox-title {
|
|
|
|
.chatroom-description {
|
|
|
|
font-size: 70%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatroom-body {
|
|
|
|
@include border-top-radius($chatbox-border-radius);
|
|
|
|
.chatroom-form-container {
|
|
|
|
border-radius: $chatbox-border-radius;
|
|
|
|
}
|
|
|
|
.chat-area {
|
|
|
|
border-top-left-radius: $chatbox-border-radius;
|
|
|
|
.chat-content {
|
|
|
|
border-top-left-radius: $chatbox-border-radius;
|
|
|
|
}
|
|
|
|
&.full {
|
|
|
|
max-width: 100%;
|
|
|
|
.new-msgs-indicator {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.occupants {
|
|
|
|
border-top-right-radius: $chatbox-border-radius;;
|
|
|
|
padding: $occupants-padding;
|
|
|
|
.occupants-heading {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
&.occupant-list {
|
|
|
|
li {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.room-invite {
|
|
|
|
span {
|
|
|
|
.invited-contact {
|
|
|
|
margin: 0 0 0.5em -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|