xmpp.chapril.org-conversejs/sass/_lists.scss
Emmanuel Gil Peyrot 28dc6e2cfe Switch from SASS variables to CSS custom properties
This will eventually allow client-side theming support.
2018-11-03 00:40:43 +01:00

119 lines
3.4 KiB
SCSS

#conversejs {
.list-container {
text-align: left;
padding: 0.3em 0;
.list-toggle {
font-family: var(--heading-font);
display: block;
color: var(--text-color);
padding: 0 0 0.5rem 0;
&:hover {
color: var(--list-toggle-color);
}
}
}
.items-list {
text-align: left;
.list-item {
border: none;
clear: both;
color: var(--text-color);
display: block;
height: 2em;
overflow: hidden;
padding-top: 0.5em;
text-shadow: 0 1px 0 var(--text-shadow-color);
word-wrap: break-word;
.list-item-link {
&:hover {
color: var(--dark-link-color);
}
font-size: var(--font-size);
line-height: var(--font-size);
padding-right: 0.5em;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.list-item-action {
opacity: 0;
font-size: var(--font-size-tiny);
padding: 0;
margin: 0 0 0 0.4em;
width: 1.6em;
&:before {
font-size: var(--font-size);
}
&.button-on {
color: var(--link-color);
&:hover {
color: var(--dark-link-color);
}
}
color: var(--subdued-color);
&:hover {
color: var(--list-toggle-hover-color);
opacity: 1;
}
}
&.open {
background-color: var(--controlbox-head-color);
&:hover {
background-color: var(--controlbox-head-color) !important;
}
a {
color: white;
}
.list-item-link {
&:hover {
color: white;
}
}
.list-item-action {
color: var(--list-item-action-color);
&:hover {
color: white;
}
}
.fa-circle {
color: var(--list-circle-color);
}
.fa-minus-circle {
color: var(--list-minus-circle-color);
}
.fa-dot-circle {
color: var(--list-dot-circle-color);
}
.far .fa-circle,
.fa-times-circle {
color: var(--subdued-color-lighten-25-percent);
}
}
&:hover {
background-color: var(--controlbox-head-color-lighten-45-percent);
.fa, .far, .fas {
opacity: 1;
}
}
&.unread-msgs {
.msgs-indicator {
border-radius: 10%;
opacity: 1;
}
.available-room,
.open-room {
width: 100%;
font-weight: bold;
}
}
}
}
}