xmpp.chapril.org-conversejs/sass/_lists.scss
JC Brand 1be9958aa1 Bugfix. Highlighted roster contact shown as online when actually away
Removed CSS rules which don't appear to be used anywhere.
2019-05-09 11:40:48 +02:00

113 lines
3.2 KiB
SCSS

#conversejs {
.list-container {
text-align: left;
padding: 0.3em 0;
.list-toggle {
font-family: var(--heading-font);
font-weight: var(--list-toggle-font-weight);
display: block;
color: var(--list-toggle-color);
padding: 0 0 0.5rem 0;
&:hover {
color: var(--list-toggle-hover-color);
}
}
}
.items-list {
text-align: left;
.list-item {
border: none;
clear: both;
color: var(--text-color);
overflow: hidden;
padding: 0.5em 0;
text-shadow: 0 1px 0 var(--text-shadow-color);
word-wrap: break-word;
height: 2.5em;
&.unread-msgs {
font-weight: bold;
}
.list-item-link {
color: var(--list-item-link-color);
&:hover {
color: var(--list-item-link-hover-color);
}
margin: auto;
font-size: var(--font-size);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: baseline;
}
.list-item-badge {
opacity: 1;
border-radius: 25%;
color: white;
font-size: var(--font-size-small);
line-height: var(--font-size-small);
}
.list-item-action {
opacity: 0;
font-size: var(--font-size-tiny);
padding: 0.3em 0 0 0;
margin: 0 0 0 var(--inline-action-margin);
width: 2em;
height: 2em;
&:before {
font-size: var(--font-size);
}
&.button-on {
color: var(--list-item-link-color);
&:hover {
color: var(--list-item-link-hover-color);
}
}
color: var(--subdued-color);
&:hover {
color: var(--list-toggle-hover-color);
opacity: 1;
}
}
.list-item-action--visible {
opacity: 1 !important;
}
&.open {
background-color: var(--list-item-open-color);
&:hover {
background-color: var(--list-item-open-hover-color) !important;
}
a {
color: white;
}
.list-item-link {
&:hover {
color: white;
}
}
.list-item-action {
color: var(--list-item-action-color);
&:hover {
color: white;
}
}
}
&:hover {
background-color: var(--controlbox-head-color-lighten-45-percent);
.fa, .far, .fas {
opacity: 1;
}
}
}
}
}