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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-29 09:12:40 +01:00
|
|
|
.chat-head-chatroom {
|
|
|
|
background-color: $chatroom-head-color;
|
2015-10-31 19:29:43 +01:00
|
|
|
|
|
|
|
.chatroom-topic {
|
|
|
|
color: white;
|
|
|
|
font-size: 80%;
|
|
|
|
font-style: italic;
|
|
|
|
height: 1.3em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 0.3em;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
.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%;
|
2016-06-20 21:25:57 +02:00
|
|
|
.mentioned {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.chat-msg-room {
|
|
|
|
color: $message-them-color;
|
|
|
|
}
|
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 {
|
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-11-03 17:42:04 +01:00
|
|
|
overflow: hidden;
|
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%;
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-10-31 17:30:06 +01:00
|
|
|
.occupants-heading {
|
2015-10-29 10:21:31 +01:00
|
|
|
padding: 0.3em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2015-10-31 17:30:06 +01:00
|
|
|
.occupant-list {
|
2015-11-03 17:42:04 +01:00
|
|
|
height: 85%;
|
|
|
|
height: calc(100% - 70px);
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2015-10-25 20:02:36 +01:00
|
|
|
list-style: none;
|
|
|
|
li {
|
|
|
|
cursor: default;
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 2px 5px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2016-07-19 14:45:25 +02:00
|
|
|
color: $light-text-color;
|
2015-10-25 20:02:36 +01:00
|
|
|
width: 100px;
|
2016-07-19 14:45:25 +02:00
|
|
|
&.online {
|
|
|
|
color: $online-color;
|
|
|
|
&.moderator {
|
|
|
|
color: $moderator-color;
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chatroom-form-container {
|
|
|
|
background-color: white;
|
|
|
|
border-bottom-left-radius: $chatbox-border-radius;
|
|
|
|
border-bottom-right-radius: $chatbox-border-radius;
|
|
|
|
border: 0;
|
|
|
|
color: $text-color;
|
|
|
|
font-size: $font-size;
|
|
|
|
height: 289px;
|
|
|
|
@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;
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
|
2015-10-25 20:02:36 +01:00
|
|
|
.chat-textarea {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
2015-10-31 13:54:04 +01:00
|
|
|
|
2015-10-31 17:18:31 +01:00
|
|
|
.room-invite {
|
|
|
|
margin: 0.3em;
|
|
|
|
.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;
|
|
|
|
&.tt-input {
|
|
|
|
width: 100%;
|
|
|
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gkBCjE0uzKkOgAAAidJREFUKM+N0k+IEnEUB/D3cyscdagkWpHV0WGWREXm0AgOGkSJ07kh2UXYU5cOewm6Bp0KXG/tpSCv6hyEFQIhMEaE3yERYfwTOoqKGLQxDAbqYadLgu7J7/XxeY/3ez8EACDLsgljfMfj8ZxUKhXXYDAAnueBoqgyAMipVOovXAuSZdnUaDQeDofDs16vFyUIAjRNUwmCoG02G1AUdZ5IJN7GYrHfm3AvEAjcnUwmX0ajUdRqtV74fL6sruufKYoa6bp+fzabPUMI7ZfL5eImNHk8npNerxc1m80XHMe98fv9H3K5XDkSibxjWfb1arWaYoyPMMbCFqxUKi6CIODw8LDmdDq7oigaAACiKK5omv7KcdylpmlIkiTHFlRVFTRNUxVFqa/ROqIoGoqi5A3DgFartfU4Jp7ngSAI2uVyPZIk6dZmUZKk2w6H4xghBPF4HK7vWLbZbDCdTp+rqvpUkiS0RvV6/bTf7x8wDHMViURqm/AGAMgURZ232+1X1Wr102KxuEwmk3lZlo/7/f7BcrkkSZKs2e12tHXH/x/gHsY4jTE+0jQNGYYBCCFgGOaKJMkfjUaDZximGQ6HXzSbzZ+ZTMbY6oIxFgqFgqPT6YAgCMBxXM1ut6N0Op0fj8chi8XyjWXZ98Fg8DuCHZLNZh+USqWP8/n8idvt/hUKhV7u7QK9Xu8fmqanAJBQVXUfAGY7TQQAKBaLN8fjsdDtdh/run72Dzhf7XLe2UevAAAAAElFTkSuQmCC ) no-repeat right 3px center;
|
|
|
|
&:focus {
|
|
|
|
border-color: $chatroom-head-color;
|
|
|
|
}
|
2015-10-31 13:54:04 +01:00
|
|
|
}
|
2015-10-31 17:18:31 +01:00
|
|
|
&.tt-hint {
|
|
|
|
color: transparent;
|
|
|
|
background-color: white;
|
2015-10-31 13:54:04 +01:00
|
|
|
}
|
2015-10-31 17:18:31 +01:00
|
|
|
}
|
|
|
|
.tt-dropdown-menu {
|
|
|
|
width: 96%;
|
|
|
|
max-height: 250px;
|
|
|
|
background: $chatroom-head-color;
|
|
|
|
border-bottom-right-radius: $chatbox-border-radius;
|
|
|
|
border-bottom-left-radius: $chatbox-border-radius;
|
|
|
|
overflow-y: auto;
|
|
|
|
.tt-suggestion {
|
|
|
|
p {
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 11px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow-x: hidden;
|
|
|
|
&:hover {
|
2015-10-31 18:04:54 +01:00
|
|
|
background-color: $chatroom-color-light;
|
2015-10-31 17:18:31 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.tt-highlight {
|
2015-10-31 18:04:54 +01:00
|
|
|
background-color: $chatroom-color-dark;
|
2015-10-31 17:18:31 +01:00
|
|
|
}
|
2015-10-31 13:54:04 +01:00
|
|
|
}
|
|
|
|
}
|
2015-10-25 20:02:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|