Newer
Older
top: 0;
background: var(--primary-background);
svg {
margin-inline-end: 4px;
}
details {
summary {
outline: none;
list-style: none;
&::marker, &::-webkit-details-marker {
display: none;
}
svg {
transition: .2s ease transform;
}
}
&:not([open]) {
summary svg {
transform: rotateZ(-90deg);
}
}
}
&[data-empty="true"] {
img {
height: 120px;
border-radius: 8px;
}
gap: 16px;
height: 100%;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
}
.friend {
display: flex;
border-radius: 5px;
align-items: center;
cursor: pointer;
&:hover {
background: var(--secondary-background);
:global(.button) {
background-color: var(--primary-background);
}
}
.name {
flex-grow: 1;
margin: 0 12px;
font-size: 16px;
display: flex;
flex-direction: column;
text-overflow: ellipsis;
overflow: hidden;
span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.actions {
display: flex;
gap: 12px;
&:hover.error {
background: var(--error);
&:hover.success {
background: var(--success);
.divider {
width: 1px;
height: 24px;
margin: 0 8px;
background: var(--primary-background);
}
.title {
flex-grow: 1;
}
.pending {
padding: 1em;
display: flex;
cursor: pointer;
margin-top: 1em;
align-items: center;
flex-direction: row;
background: var(--secondary-background);
flex-shrink: 0;
margin-inline-end: 15px;
svg:not(:first-child) {
position: relative;
margin-left: -32px;
}
}
.details {
flex-grow: 1;
display: flex;
flex-direction: column;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: flex;
gap: 6px;
align-items: center;
min-width: 0;
.title {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
border-radius: 50%;
align-items: center;
display: inline-flex;
justify-content: center;
background: var(--error);
flex-shrink: 0;
}
}
.from {
.user {
font-weight: 600;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
@media only screen and (max-width: 768px) {
.list {
.call {
display: none;
}