2017-01-16 22:15:07 +01:00
|
|
|
#converse-embedded-chat,
|
2015-10-25 20:02:36 +01:00
|
|
|
#conversejs {
|
2017-01-16 22:15:07 +01:00
|
|
|
.new-chatroom-nick {
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
|
2016-07-19 16:18:40 +02:00
|
|
|
.add-chatroom {
|
|
|
|
input[type="submit"],
|
|
|
|
input[type="button"] {
|
|
|
|
margin: 0.3em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-29 09:12:40 +01:00
|
|
|
.chat-head-chatroom {
|
|
|
|
background-color: $chatroom-head-color;
|
2016-06-27 23:50:38 +02:00
|
|
|
.chatbox-btn {
|
|
|
|
&.button-on {
|
|
|
|
background-color: $chat-head-text-color;
|
|
|
|
color: $chatroom-head-color;
|
|
|
|
}
|
|
|
|
}
|
2017-07-17 17:10:25 +02:00
|
|
|
.chat-title {
|
|
|
|
color: $chatroom-color-lightest;
|
|
|
|
.chatroom-name {
|
|
|
|
color: white;
|
|
|
|
}
|
2017-07-19 08:30:04 +02:00
|
|
|
.chatroom-jid {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
2017-07-17 17:10:25 +02:00
|
|
|
.chatroom-description {
|
|
|
|
color: white;
|
|
|
|
font-size: 80%;
|
|
|
|
font-style: italic;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-07-19 08:30:04 +02:00
|
|
|
margin: 0.3em 0;
|
2017-07-17 17:10:25 +02:00
|
|
|
}
|
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 {
|
|
|
|
min-width: $chatroom-width;
|
|
|
|
width: $chatroom-width;
|
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 {
|
|
|
|
height: 289px;
|
|
|
|
@include border-bottom-radius($chatbox-border-radius);
|
|
|
|
@include calc(height, '100% - #{$chat-head-height}');
|
|
|
|
background-color: white;
|
|
|
|
border-top: 0;
|
|
|
|
width: 100%;
|
2017-06-17 23:48:46 +02:00
|
|
|
.chat-info {
|
|
|
|
color: $chatroom-head-color;
|
|
|
|
}
|
2016-06-20 21:25:57 +02:00
|
|
|
.mentioned {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2017-06-17 23:48:46 +02:00
|
|
|
.chat-message {
|
2018-01-16 16:34:42 +01:00
|
|
|
&.onload {
|
|
|
|
animation: colorchange-chatmessage-muc 1s;
|
|
|
|
-webkit-animation: colorchange-chatmessage-muc 1s;
|
|
|
|
}
|
2017-06-17 23:48:46 +02:00
|
|
|
.chat-msg-them {
|
|
|
|
color: $chatroom-message-them-color;
|
|
|
|
}
|
2016-06-20 21:25:57 +02:00
|
|
|
}
|
2017-04-21 18:10:51 +02:00
|
|
|
.disconnect-msg {
|
|
|
|
padding: 2em 2em 0 2em;
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
.chat-area {
|
|
|
|
word-wrap: break-word;
|
|
|
|
height: 100%;
|
2016-06-20 21:25:57 +02:00
|
|
|
width: 70%;
|
2015-11-03 17:42:04 +01:00
|
|
|
float: left;
|
2015-10-25 20:02:36 +01:00
|
|
|
min-width: $chat-width;
|
2016-05-28 10:55:03 +02:00
|
|
|
.new-msgs-indicator {
|
|
|
|
background-color: $chatroom-head-color;
|
|
|
|
max-width: 70%;
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
.chat-content {
|
2015-11-02 01:28:00 +01:00
|
|
|
// There's an annoying Chrome box-sizing bug which prevents us from adding 0.5em padding here.
|
|
|
|
padding: 0 0.5em 0 0.5em;
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
2015-11-03 17:42:04 +01:00
|
|
|
&.full {
|
2016-06-10 17:05:49 +02:00
|
|
|
min-width: 100%;
|
2016-05-28 10:55:03 +02:00
|
|
|
.new-msgs-indicator {
|
2016-06-10 17:05:49 +02:00
|
|
|
min-width: 100%;
|
2016-05-28 10:55:03 +02:00
|
|
|
}
|
2015-11-03 17:42:04 +01:00
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
2015-10-31 17:30:06 +01:00
|
|
|
.occupants {
|
2017-02-19 12:00:19 +01:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
2016-06-20 21:25:57 +02:00
|
|
|
float: right;
|
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;
|
2016-06-20 21:25:57 +02:00
|
|
|
width: 30%;
|
2015-10-25 20:02:36 +01:00
|
|
|
height: 100%;
|
2017-02-18 20:41:44 +01:00
|
|
|
padding: 0.5em;
|
2015-10-31 17:30:06 +01:00
|
|
|
.occupants-heading {
|
2017-02-18 20:41:44 +01:00
|
|
|
padding: 0.3em 0;
|
2015-10-29 10:21:31 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2017-02-20 15:34:13 +01:00
|
|
|
.chatroom-features {
|
|
|
|
bottom: 0.5em;
|
2017-12-06 16:38:16 +01:00
|
|
|
width: 100%;
|
2017-02-20 15:34:13 +01:00
|
|
|
}
|
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;
|
2017-02-27 18:40:48 +01:00
|
|
|
@include calc(height, '100% - 220px');
|
2017-02-19 12:00:19 +01:00
|
|
|
}
|
|
|
|
&.features-list {
|
|
|
|
padding-top: 0;
|
2017-02-19 09:43:08 +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;
|
2017-02-28 06:27:30 +01:00
|
|
|
padding: 0.2em 0.5em 0.2em 0;
|
2015-10-25 20:02:36 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-02-18 20:41:44 +01:00
|
|
|
[class^="icon-"], [class*=" icon-"] {
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
&.feature {
|
|
|
|
font-size: $font-size-tiny;
|
|
|
|
}
|
2016-07-26 11:04:05 +02:00
|
|
|
&.occupant {
|
|
|
|
cursor: pointer;
|
2017-02-28 06:27:30 +01:00
|
|
|
.occupant-status {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
width: 0.5em;
|
|
|
|
height: 0.5em;
|
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;
|
|
|
|
}
|
|
|
|
}
|
2016-07-26 11:04:05 +02:00
|
|
|
}
|
2016-07-26 08:59:34 +02:00
|
|
|
&.moderator {
|
|
|
|
color: $moderator-color;
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
2017-12-14 14:45:14 +01:00
|
|
|
&.visitor {
|
|
|
|
color: $visitor-color;
|
|
|
|
}
|
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;
|
|
|
|
height: 289px;
|
2017-02-13 12:46:28 +01:00
|
|
|
width: 100%;
|
2015-10-25 20:02:36 +01:00
|
|
|
@include calc(height, '100% - #{$chat-head-height}');
|
|
|
|
overflow-y: auto;
|
|
|
|
position: absolute;
|
2016-07-20 10:16:08 +02:00
|
|
|
|
|
|
|
.validation-message {
|
|
|
|
font-size: 90%;
|
|
|
|
color: $error-color;
|
|
|
|
}
|
2016-06-27 23:50:38 +02:00
|
|
|
.chatroom-form {
|
|
|
|
label,
|
|
|
|
input[type=text] {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
|
2017-03-30 12:34:49 +02:00
|
|
|
form.sendXMPPMessage {
|
2017-06-17 23:48:46 +02:00
|
|
|
.chat-toolbar {
|
2017-06-19 15:41:59 +02:00
|
|
|
background-color: $chatroom-toolbar-color;
|
2017-06-17 23:48:46 +02:00
|
|
|
}
|
2017-03-30 12:34:49 +02:00
|
|
|
.chat-textarea {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
.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 {
|
|
|
|
.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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|