2015-10-25 20:23:18 +01:00
|
|
|
#conversejs #converse-roster {
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2018-01-23 11:20:51 +01:00
|
|
|
margin: 0;
|
2015-10-25 20:23:18 +01:00
|
|
|
height: $roster-height;
|
2018-01-23 11:20:51 +01:00
|
|
|
height: calc(~"100% - #{$controlbox-dropdown-height*2} - 20px");
|
2018-01-26 14:41:06 +01:00
|
|
|
padding: 0;
|
2018-01-25 12:14:20 +01:00
|
|
|
overflow: hidden;
|
2015-10-25 20:23:18 +01:00
|
|
|
|
2018-01-23 11:20:51 +01:00
|
|
|
// XXX: FIXME
|
|
|
|
height: calc(100% - 70px);
|
|
|
|
|
2016-10-03 19:45:06 +02:00
|
|
|
/* Custom addition for CSP */
|
|
|
|
#online-count {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-10-28 09:49:28 +01:00
|
|
|
.search-xmpp {
|
|
|
|
ul {
|
|
|
|
li.chat-info {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-13 16:05:43 +01:00
|
|
|
.roster-filter-form {
|
2015-11-05 11:02:23 +01:00
|
|
|
width: 100%;
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2018-02-19 16:24:05 +01:00
|
|
|
.button-group {
|
|
|
|
padding: 0.2em;
|
|
|
|
}
|
|
|
|
|
2018-01-23 11:20:51 +01:00
|
|
|
span {
|
2018-02-19 16:05:29 +01:00
|
|
|
padding: 0.3em;
|
2018-01-23 11:20:51 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2015-10-30 19:30:39 +01:00
|
|
|
.roster-filter {
|
2018-02-19 16:05:29 +01:00
|
|
|
width: 100%;
|
2018-02-20 15:57:01 +01:00
|
|
|
margin: 0.2em;
|
2015-10-30 19:30:39 +01:00
|
|
|
}
|
2016-04-02 13:30:54 +02:00
|
|
|
.state-type {
|
2015-10-30 19:30:39 +01:00
|
|
|
font-size: calc(#{$font-size} - 2px);
|
|
|
|
height: $controlbox-dropdown-height;
|
2018-02-19 16:05:29 +01:00
|
|
|
width: 100%;
|
2015-10-30 19:30:39 +01:00
|
|
|
}
|
2015-10-25 20:23:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.roster-contacts {
|
2017-06-14 11:14:42 +02:00
|
|
|
padding: 0;
|
2018-02-22 17:47:18 +01:00
|
|
|
margin: 0 0 0.2em 0;
|
2015-10-25 20:23:18 +01:00
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2017-12-17 16:03:28 +01:00
|
|
|
.roster-group {
|
2015-10-27 11:17:55 +01:00
|
|
|
border: none;
|
|
|
|
color: $text-color;
|
|
|
|
font-weight: normal;
|
|
|
|
text-shadow: 0 1px 0 $text-shadow-color;
|
2018-02-25 17:54:55 +01:00
|
|
|
margin: 0.75em 0 0.75em 0;
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2015-10-27 11:17:55 +01:00
|
|
|
.group-toggle {
|
2017-06-14 11:14:42 +02:00
|
|
|
&:hover {
|
|
|
|
color: $dark-gray-color;
|
|
|
|
}
|
2015-10-25 20:23:18 +01:00
|
|
|
color: $text-color;
|
2015-10-27 11:17:55 +01:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2018-04-10 21:23:32 +02:00
|
|
|
padding: 0 0 0.3rem 0;
|
2015-10-25 20:23:18 +01:00
|
|
|
}
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2017-12-17 16:03:28 +01:00
|
|
|
li {
|
|
|
|
border: none;
|
|
|
|
clear: both;
|
|
|
|
color: $text-color;
|
|
|
|
display: block;
|
|
|
|
height: 24px;
|
|
|
|
overflow-y: hidden;
|
|
|
|
text-shadow: 0 1px 0 $text-shadow-color;
|
|
|
|
line-height: $font-size;
|
2018-01-23 11:20:51 +01:00
|
|
|
width: 100%;
|
2018-02-19 15:01:02 +01:00
|
|
|
margin-top: 0.5em;
|
2018-01-23 11:20:51 +01:00
|
|
|
|
|
|
|
&.requesting-xmpp-contact {
|
2018-03-20 12:02:55 +01:00
|
|
|
a {
|
|
|
|
line-height: $line-height;
|
|
|
|
&.fa {
|
|
|
|
width: 1.5em;
|
|
|
|
}
|
2018-01-23 11:20:51 +01:00
|
|
|
}
|
|
|
|
.req-contact-name {
|
2018-02-19 15:01:02 +01:00
|
|
|
padding: 0 0.2em 0 0;
|
2018-01-23 11:20:51 +01:00
|
|
|
}
|
|
|
|
}
|
2017-12-17 16:03:28 +01:00
|
|
|
a:hover {
|
|
|
|
color: $dark-link-color;
|
2017-04-13 19:16:58 +02:00
|
|
|
}
|
2018-02-20 15:57:01 +01:00
|
|
|
a.fa:hover {
|
|
|
|
color: $gray-color;
|
|
|
|
}
|
2017-04-13 19:16:58 +02:00
|
|
|
|
2017-12-17 16:03:28 +01:00
|
|
|
.open-chat {
|
2018-02-19 15:01:02 +01:00
|
|
|
margin: 0;
|
2017-04-13 19:16:58 +02:00
|
|
|
padding: 0;
|
2017-06-15 18:38:38 +02:00
|
|
|
&.unread-msgs {
|
2017-12-17 16:03:28 +01:00
|
|
|
font-weight: bold;
|
|
|
|
.contact-name {
|
|
|
|
width: 70%;
|
|
|
|
}
|
2017-06-15 18:38:38 +02:00
|
|
|
}
|
2017-04-13 19:16:58 +02:00
|
|
|
|
2017-12-17 16:03:28 +01:00
|
|
|
.msgs-indicator {
|
2018-03-17 18:07:43 +01:00
|
|
|
color: white;
|
2017-12-17 16:03:28 +01:00
|
|
|
background-color: $chat-head-color;
|
|
|
|
opacity: 1;
|
|
|
|
border-radius: 10%;
|
2018-03-17 18:07:43 +01:00
|
|
|
padding: 0.2em;
|
2017-12-17 16:03:28 +01:00
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contact-name {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
max-width: 80%;
|
|
|
|
float: none;
|
2018-04-10 21:23:32 +02:00
|
|
|
height: 100%;
|
2017-12-17 16:03:28 +01:00
|
|
|
&.unread-msgs {
|
|
|
|
max-width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
height: $roster-item-height;
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
2017-12-17 16:03:28 +01:00
|
|
|
&.current-xmpp-contact span {
|
|
|
|
font-size: $font-size;
|
|
|
|
float: left;
|
|
|
|
margin-right: 0.5em;
|
2015-11-02 01:28:00 +01:00
|
|
|
}
|
2017-12-17 16:03:28 +01:00
|
|
|
&.odd {
|
|
|
|
background-color: #DCEAC5;
|
|
|
|
/* Make this difference */
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
2017-12-17 16:03:28 +01:00
|
|
|
a, span {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
span {
|
2017-06-14 11:14:42 +02:00
|
|
|
padding: 0;
|
2017-12-17 16:03:28 +01:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
&.decline-xmpp-request {
|
|
|
|
margin-left: 5px;
|
2017-09-16 15:55:01 +02:00
|
|
|
}
|
2017-12-17 16:03:28 +01:00
|
|
|
&.remove-xmpp-contact {
|
|
|
|
font-size: $font-size-tiny;
|
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-01-23 11:20:51 +01:00
|
|
|
width: 2em;
|
2017-12-17 16:03:28 +01:00
|
|
|
&:before {
|
|
|
|
font-size: $font-size;
|
|
|
|
}
|
2017-06-14 11:14:42 +02:00
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
}
|
2015-10-25 20:23:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
&.pending-contact-name {
|
2017-02-16 14:42:50 +01:00
|
|
|
line-height: $line-height;
|
|
|
|
width: 100%;
|
2015-10-25 20:23:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|