2023-09-12 06:27:54 +03:00
|
|
|
#generic-accounts-container {
|
2024-03-24 12:24:47 +03:00
|
|
|
.post-preview {
|
|
|
|
--max-height: 120px;
|
|
|
|
max-height: var(--max-height);
|
|
|
|
overflow: hidden;
|
|
|
|
margin-block: 8px;
|
|
|
|
border: 1px solid var(--outline-color);
|
|
|
|
border-radius: 8px;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
.status {
|
|
|
|
font-size: calc(var(--text-size) * 0.9);
|
|
|
|
mask-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
black calc(var(--max-height) / 2),
|
|
|
|
transparent calc(var(--max-height) - 8px)
|
|
|
|
);
|
|
|
|
filter: saturate(0.5);
|
|
|
|
}
|
2024-05-08 05:29:00 +03:00
|
|
|
|
|
|
|
&:is(a) {
|
|
|
|
pointer-events: auto;
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--outline-hover-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.status {
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
}
|
2024-03-24 12:24:47 +03:00
|
|
|
}
|
|
|
|
|
2023-09-12 06:27:54 +03:00
|
|
|
.accounts-list {
|
2023-12-20 08:55:56 +03:00
|
|
|
--list-gap: 16px;
|
2023-09-12 06:27:54 +03:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 8px 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
|
|
|
column-gap: 1.5em;
|
2023-12-20 08:55:56 +03:00
|
|
|
row-gap: var(--list-gap);
|
2023-09-12 06:27:54 +03:00
|
|
|
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 16em;
|
2023-12-20 08:55:56 +03:00
|
|
|
/* align-items: center; */
|
2023-09-12 06:27:54 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
gap: 8px;
|
2023-12-20 08:55:56 +03:00
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
border-top: var(--hairline-width) solid var(--divider-color);
|
|
|
|
position: absolute;
|
|
|
|
bottom: calc(-1 * var(--list-gap) / 2);
|
|
|
|
left: 40px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:has(.reactions-block):before {
|
|
|
|
/* avatar + reactions + gap */
|
|
|
|
left: calc(40px + 16px + 8px);
|
|
|
|
}
|
2023-09-12 06:27:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.account-block-acct {
|
2023-12-20 08:55:56 +03:00
|
|
|
font-size: 0.9em;
|
2023-09-12 06:27:54 +03:00
|
|
|
color: var(--text-insignificant-color);
|
2023-12-20 08:55:56 +03:00
|
|
|
/* display: block; */
|
2023-09-12 06:27:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reactions-block {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-12-20 08:55:56 +03:00
|
|
|
/* align-self: center; */
|
2023-09-12 06:27:54 +03:00
|
|
|
|
|
|
|
.favourite-icon {
|
|
|
|
color: var(--favourite-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.reblog-icon {
|
|
|
|
color: var(--reblog-color);
|
|
|
|
}
|
2023-12-20 08:55:56 +03:00
|
|
|
|
|
|
|
> .icon:only-child {
|
|
|
|
margin-top: 8px; /* half of icon dimension */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-relationships {
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
animation: appear 0.3s ease-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.account-block {
|
|
|
|
align-items: flex-start;
|
2023-09-12 06:27:54 +03:00
|
|
|
}
|
|
|
|
}
|