mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 11:37:38 +00:00
Distinguish members and paid-members only post indicators
This commit is contained in:
parent
45bc14f08d
commit
d1ac1b8c2c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -643,12 +643,12 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
|
|||||||
padding-bottom: 55%;
|
padding-bottom: 55%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-card:is(.post-access-members, .post-access-paid) .post-card-image-link::after {
|
.post-card[class*="post-access-"]:not(.post-access-public) .post-card-image-link::after {
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
backdrop-filter: blur(3px);
|
backdrop-filter: blur(3px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-card.keep-ratio:is(.post-access-members, .post-access-paid) .post-card-image-link::after {
|
.post-card.keep-ratio[class*="post-access-"]:not(.post-access-public) .post-card-image-link::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
@ -21,7 +21,12 @@ which templates loop over to generate a list of posts. --}}
|
|||||||
|
|
||||||
{{^has visibility="public"}}
|
{{^has visibility="public"}}
|
||||||
<div class="post-card-access">
|
<div class="post-card-access">
|
||||||
{{> "icons/lock"}} Members-only
|
{{> "icons/lock"}}
|
||||||
|
{{#has visibility="members"}}
|
||||||
|
Members only
|
||||||
|
{{else}}
|
||||||
|
Paid-members only
|
||||||
|
{{/has}}
|
||||||
</div>
|
</div>
|
||||||
{{/has}}
|
{{/has}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user