mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-29 00:51:36 +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
src/components
|
@ -15,6 +15,17 @@
|
||||||
--reply-to-faded-color
|
--reply-to-faded-color
|
||||||
), transparent 160px);
|
), 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 */
|
/* STATUS PRE META */
|
||||||
|
|
||||||
|
|
|
@ -495,7 +495,7 @@ function Status({ statusID, status, withinContext, size = 'm', skeleton }) {
|
||||||
<div
|
<div
|
||||||
class={`status ${
|
class={`status ${
|
||||||
!withinContext && inReplyToAccount ? 'status-reply-to' : ''
|
!withinContext && inReplyToAccount ? 'status-reply-to' : ''
|
||||||
} ${
|
} visibility-${visibility} ${
|
||||||
{
|
{
|
||||||
s: 'small',
|
s: 'small',
|
||||||
m: 'medium',
|
m: 'medium',
|
||||||
|
|
Loading…
Add table
Reference in a new issue