xmpp.chapril.org-conversejs/sass/_roster.scss

185 lines
4.6 KiB
SCSS
Raw Normal View History

#conversejs #converse-roster {
text-align: left;
width: 100%;
position: relative;
margin: 0;
height: var(--roster-height);
padding: 0;
overflow: hidden;
// XXX: FIXME
height: calc(100% - 70px);
2021-02-08 10:16:39 +01: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;
}
}
}
.roster-filter-form {
width: 100%;
2018-02-19 16:24:05 +01:00
.button-group {
padding: 0.2em;
}
span {
2018-02-19 16:05:29 +01:00
padding: 0.3em;
cursor: pointer;
min-width: 25px;
text-align: center;
}
2015-10-30 19:30:39 +01:00
.roster-filter {
2018-02-19 16:05:29 +01:00
width: 100%;
margin: 0.2em;
font-size: calc(var(--font-size) - 2px);
2015-10-30 19:30:39 +01:00
}
.state-type {
font-size: calc(var(--font-size) - 2px);
2018-02-19 16:05:29 +01:00
width: 100%;
2015-10-30 19:30:39 +01:00
}
}
.roster-contacts {
padding: 0;
2018-02-22 17:47:18 +01:00
margin: 0 0 0.2em 0;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
2021-01-26 14:01:37 +01:00
color: var(--text-color);
2021-02-08 10:16:39 +01:00
converse-roster-contact {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: flex;
justify-content: space-between;
}
2021-01-26 14:01:37 +01:00
.group-toggle {
font-family: var(--heading-font);
display: block;
width: 100%;
margin: 0.75em 0 0.25em 0;
}
2021-01-26 14:01:37 +01:00
.group-toggle, .group-toggle .fa {
color: var(--chat-head-color-dark) !important;
&:hover {
color: var(--chat-head-color-darker) !important;
}
2021-01-26 14:01:37 +01:00
}
2021-01-26 14:01:37 +01:00
.current-xmpp-contact {
margin: 0.25em 0;
.chat-status {
vertical-align: middle;
font-size: 0.6em;
margin-right: 0;
margin-left: -0.7em;
margin-bottom: -1.5em;
border-radius: 50%;
border: 2px solid var(--occupants-background-color);
}
2021-01-26 14:01:37 +01:00
.chat-status--offline {
margin-right: 0.8em;
}
.chat-status--online {
color: var(--chat-status-online);
}
.chat-status--busy {
color: var(--chat-status-busy);
}
.chat-status--away {
color: var(--chat-status-away);
}
.chat-status--offline {
display: none;
}
.far.fa-circle,
.fa-times-circle {
color: var(--subdued-color);
}
}
2021-01-26 14:01:37 +01:00
li {
&.requesting-xmpp-contact {
a {
line-height: var(--line-height);
}
2021-01-26 14:01:37 +01:00
.req-contact-name {
padding: 0 0.2em 0 0;
}
}
2021-01-26 14:01:37 +01:00
.open-chat {
margin: 0;
padding: 0;
&.unread-msgs {
font-weight: bold;
.contact-name {
2021-01-26 14:01:37 +01:00
width: 70%;
}
}
2021-01-26 14:01:37 +01:00
.msgs-indicator {
color: white;
background-color: var(--chat-head-color);
opacity: 1;
border-radius: 10%;
padding: 0.2em 0.4em;
font-size: var(--font-size-small);
margin-right: 0;
}
2021-01-26 14:01:37 +01:00
.contact-name {
padding: 0;
margin: 0;
max-width: 85%;
float: none;
height: 100%;
&.unread-msgs {
max-width: 60%;
}
&.contact-name--offline {
margin-left: 0.25em;
}
}
2021-01-26 14:01:37 +01:00
}
&.odd {
background-color: #DCEAC5;
/* Make this difference */
}
a, span {
white-space: nowrap;
text-overflow: ellipsis;
}
.span {
display: inline-block;
}
.decline-xmpp-request {
margin-left: 5px;
}
&:hover {
background-color: var(controlbox-pane-bg-hover-color);
}
}
}
span {
&.pending-contact-name {
line-height: var(--line-height);
2017-02-16 14:42:50 +01:00
width: 100%;
}
}
}