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

152 lines
4.0 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);
/* 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;
}
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;
.roster-group {
border: none;
color: var(--text-color);
font-weight: normal;
text-shadow: 0 1px 0 var(--text-shadow-color);
2018-02-25 17:54:55 +01:00
margin: 0.75em 0 0.75em 0;
.group-toggle {
font-family: var(--heading-font);
display: block;
width: 100%;
padding-top: 0;
padding-bottom: 0.3rem;
}
li {
&.requesting-xmpp-contact {
a {
line-height: var(--line-height);
2018-09-04 11:39:27 +02:00
&.far, &.fas, &.fa {
width: 1.5em;
}
}
.req-contact-name {
2018-02-19 15:01:02 +01:00
padding: 0 0.2em 0 0;
}
}
.open-chat {
2018-02-19 15:01:02 +01:00
margin: 0;
padding: 0;
&.unread-msgs {
font-weight: bold;
.contact-name {
width: 70%;
}
}
.msgs-indicator {
2018-03-17 18:07:43 +01:00
color: white;
background-color: var(--chat-head-color);
opacity: 1;
border-radius: 10%;
2018-03-17 18:07:43 +01:00
padding: 0.2em;
font-size: var(--font-size-small);
}
.contact-name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 0;
margin: 0;
max-width: 85%;
float: none;
height: 100%;
&.unread-msgs {
max-width: 60%;
}
}
.avatar {
float: left;
display: inline-block;
}
}
&.current-xmpp-contact span {
font-size: var(--font-size);
float: left;
margin-right: 0.5em;
}
&.odd {
background-color: #DCEAC5;
/* Make this difference */
}
a, span {
display: inline-block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.decline-xmpp-request {
margin-left: 5px;
}
&:hover {
background-color: var(--controlbox-head-color-lighten-45-percent);
}
}
}
}
span {
&.pending-contact-name {
line-height: var(--line-height);
2017-02-16 14:42:50 +01:00
width: 100%;
}
}
}