mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 08:36:21 +01:00
Special styling for "direct" posts
This commit is contained in:
parent
9c5586e43b
commit
bc4551583b
2 changed files with 12 additions and 1 deletions
|
@ -15,6 +15,17 @@
|
|||
--reply-to-faded-color
|
||||
), transparent 160px);
|
||||
}
|
||||
.visibility-direct {
|
||||
/* diagonal stripes of yellow */
|
||||
background-image: repeating-linear-gradient(
|
||||
-45deg,
|
||||
var(--reply-to-faded-color),
|
||||
var(--reply-to-faded-color) 10px,
|
||||
var(--reply-to-faded-color) 10px,
|
||||
transparent 10px,
|
||||
transparent 20px
|
||||
);
|
||||
}
|
||||
|
||||
/* STATUS PRE META */
|
||||
|
||||
|
|
|
@ -495,7 +495,7 @@ function Status({ statusID, status, withinContext, size = 'm', skeleton }) {
|
|||
<div
|
||||
class={`status ${
|
||||
!withinContext && inReplyToAccount ? 'status-reply-to' : ''
|
||||
} ${
|
||||
} visibility-${visibility} ${
|
||||
{
|
||||
s: 'small',
|
||||
m: 'medium',
|
||||
|
|
Loading…
Reference in a new issue