2015-10-25 20:23:18 +01:00
|
|
|
#conversejs #converse-roster {
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2015-10-30 19:30:39 +01:00
|
|
|
margin: 1em 0 0 0;
|
2015-10-25 20:23:18 +01:00
|
|
|
height: $roster-height;
|
|
|
|
height: calc(100% - #{$controlbox-dropdown-height*2} - 20px);
|
|
|
|
overflow: hidden;
|
2015-10-30 19:30:39 +01:00
|
|
|
padding: 0;
|
2015-10-25 20:23:18 +01:00
|
|
|
padding-bottom: 3em;
|
|
|
|
|
|
|
|
&.no-contact-requests {
|
|
|
|
height: calc(100% - #{$controlbox-dropdown-height} - 20px);
|
|
|
|
}
|
|
|
|
|
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 {
|
2017-06-14 11:14:42 +02:00
|
|
|
margin: 0 0 0.5em 0;
|
2015-11-05 11:02:23 +01:00
|
|
|
width: 100%;
|
2015-10-30 19:30:39 +01:00
|
|
|
.roster-filter {
|
|
|
|
float: left;
|
|
|
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABNSURBVHjaXI7BDcAwCAMvyQjMyQ6dAbZiKfqoUK34g2zJh1dENIC7M8pMAPYdzAVY3d0ajNz9aypS/b5R6o+ZPdqoKgCq6h80KH3xDgBqNR97p8oAGQAAAABJRU5ErkJggg== ) no-repeat right -20px center;
|
|
|
|
border: 1px solid #999;
|
|
|
|
font-size: $font-size;
|
|
|
|
height: $controlbox-dropdown-height;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding-left: 0.4em;
|
|
|
|
width: 53%;
|
|
|
|
}
|
|
|
|
/* (jQ addClass:) if input has value: */
|
|
|
|
.roster-filter.x {
|
|
|
|
background-position: right 3px center;
|
|
|
|
}
|
|
|
|
/* (jQ addClass:) if mouse is over the 'x' input area*/
|
|
|
|
.roster-filter.onX {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-04-30 10:22:54 +02:00
|
|
|
.roster-filter-state {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-04-02 13:30:54 +02:00
|
|
|
.state-type {
|
|
|
|
float: left;
|
|
|
|
border: 1px solid #999;
|
|
|
|
font-size: calc(#{$font-size} - 2px);
|
|
|
|
height: $controlbox-dropdown-height;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
padding-left: 0.4em;
|
|
|
|
width: 53%;
|
2017-05-07 11:24:21 +02:00
|
|
|
display: none;
|
2016-04-02 13:30:54 +02:00
|
|
|
}
|
2017-04-30 10:22:54 +02:00
|
|
|
.state-type-state {
|
2017-05-07 11:24:21 +02:00
|
|
|
display: inline-block;
|
2017-04-30 10:22:54 +02:00
|
|
|
}
|
2015-10-30 19:30:39 +01:00
|
|
|
.filter-type {
|
|
|
|
display: table-cell;
|
|
|
|
float: right;
|
|
|
|
font-size: calc(#{$font-size} - 2px);
|
|
|
|
height: $controlbox-dropdown-height;
|
|
|
|
padding: 0;
|
|
|
|
width: 47%;
|
|
|
|
border-radius: 0;
|
|
|
|
border: 1px solid;
|
|
|
|
}
|
2015-10-25 20:23:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.roster-contacts {
|
2017-06-14 11:14:42 +02:00
|
|
|
padding: 0;
|
2015-10-25 20:23:18 +01:00
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2017-04-30 10:22:54 +02:00
|
|
|
display: none;
|
2015-10-27 11:17:55 +01:00
|
|
|
dt.roster-group {
|
|
|
|
border: none;
|
|
|
|
color: $text-color;
|
|
|
|
display: none;
|
|
|
|
font-weight: normal;
|
2017-06-14 11:14:42 +02:00
|
|
|
margin: 1em 0 0.5em 0;
|
2015-10-27 11:17:55 +01:00
|
|
|
text-shadow: 0 1px 0 $text-shadow-color;
|
|
|
|
.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%;
|
2015-10-25 20:23:18 +01:00
|
|
|
}
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
dd {
|
|
|
|
border: none;
|
|
|
|
clear: both;
|
|
|
|
color: $text-color;
|
|
|
|
display: block;
|
|
|
|
height: 24px;
|
|
|
|
overflow-y: hidden;
|
|
|
|
text-shadow: 0 1px 0 $text-shadow-color;
|
2017-06-15 18:27:48 +02:00
|
|
|
line-height: $font-size;
|
2015-11-02 11:58:02 +01:00
|
|
|
width: 100%;
|
2017-04-13 19:16:58 +02:00
|
|
|
height: 30px;
|
|
|
|
margin: 0;
|
2017-06-14 11:14:42 +02:00
|
|
|
padding: 0.5em 0 0 0;
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: $dark-link-color;
|
|
|
|
}
|
2017-04-13 19:16:58 +02:00
|
|
|
|
2015-11-02 11:58:02 +01:00
|
|
|
.open-chat {
|
2017-04-13 19:16:58 +02:00
|
|
|
margin: auto;
|
2017-06-14 11:14:42 +02:00
|
|
|
padding: 0;
|
2017-04-21 15:29:05 +02:00
|
|
|
width: 85%;
|
2017-04-13 19:16:58 +02:00
|
|
|
&.unread-msgs {
|
|
|
|
font-weight: bold;
|
|
|
|
.contact-name {
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-05 14:50:29 +02:00
|
|
|
.msgs-indicator {
|
2017-06-15 18:38:38 +02:00
|
|
|
background-color: $chat-head-color;
|
2017-06-07 00:43:40 +02:00
|
|
|
opacity: 1;
|
2017-06-05 14:50:29 +02:00
|
|
|
border-radius: 10%;
|
2017-06-15 18:05:51 +02:00
|
|
|
padding: 0 0.2em;
|
|
|
|
font-size: $font-size-small;
|
2017-04-13 19:16:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.contact-name {
|
2017-06-15 18:38:38 +02:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2017-04-13 19:16:58 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
max-width: 80%;
|
|
|
|
float: none;
|
|
|
|
height: $roster-item-height;
|
2017-06-15 18:38:38 +02:00
|
|
|
&.unread-msgs {
|
|
|
|
max-width: 60%;
|
|
|
|
}
|
2017-04-13 19:16:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
display: inline-block;
|
|
|
|
height: $roster-item-height;
|
|
|
|
}
|
2015-11-02 11:58:02 +01:00
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
&.requesting-xmpp-contact {
|
2017-02-02 16:23:31 +01:00
|
|
|
.request-actions {
|
2017-06-14 11:14:42 +02:00
|
|
|
padding: 0 0 0 0.3em;
|
2015-10-27 11:17:55 +01:00
|
|
|
float: right;
|
|
|
|
}
|
2017-02-02 16:23:31 +01:00
|
|
|
.open-chat {
|
2017-04-21 15:29:05 +02:00
|
|
|
max-width: 70%;
|
2017-02-02 16:23:31 +01:00
|
|
|
.req-contact-name {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2015-11-02 01:28:00 +01:00
|
|
|
.req-contact-name {
|
2017-02-16 14:42:50 +01:00
|
|
|
line-height: $line-height;
|
2015-11-02 01:28:00 +01:00
|
|
|
width: 69%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
&.current-xmpp-contact span {
|
2017-06-15 18:27:48 +02:00
|
|
|
font-size: $font-size;
|
2015-10-27 11:17:55 +01:00
|
|
|
float: left;
|
2017-04-13 19:16:58 +02:00
|
|
|
margin-right: 0.5em;
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
&.odd {
|
|
|
|
background-color: #DCEAC5;
|
|
|
|
/* Make this difference */
|
|
|
|
}
|
|
|
|
a, span {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
span {
|
2017-02-15 11:20:50 +01:00
|
|
|
padding: 0;
|
2015-11-02 01:28:00 +01:00
|
|
|
height: 100%;
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
&.decline-xmpp-request {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
&.remove-xmpp-contact {
|
2017-05-15 17:38:13 +02:00
|
|
|
font-size: $font-size-tiny;
|
2015-10-27 11:17:55 +01:00
|
|
|
float: right;
|
2017-06-14 11:14:42 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2017-04-21 15:29:05 +02:00
|
|
|
color: $subdued-color;
|
2017-09-16 15:55:01 +02:00
|
|
|
&:before {
|
|
|
|
font-size: $font-size;
|
|
|
|
}
|
2017-06-14 11:14:42 +02:00
|
|
|
&:hover {
|
|
|
|
color: $gray-color;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|