fix: new posts button z-index + use darkened accent

This commit is contained in:
freeplay 2023-06-26 12:56:47 -04:00
parent f0ebd73a11
commit 674f243885

View File

@ -354,13 +354,13 @@ onMounted(() => {
margin-top: -60px; margin-top: -60px;
pointer-events: none; pointer-events: none;
margin-inline: auto; margin-inline: auto;
z-index: 90000; z-index: 1001;
box-shadow: 0 24px 24px -20px var(--accentedBg); box-shadow: 0 24px 24px -20px var(--accentedBg);
&::after { &::after {
content: ""; content: "";
position: absolute; position: absolute;
inset: 0; inset: 0;
border: 2px solid var(--accent); border: 2px solid var(--accentDarken);
mask: linear-gradient(to right, transparent,black 40% 60%,transparent); mask: linear-gradient(to right, transparent,black 40% 60%,transparent);
-webkit-mask: linear-gradient(to right, transparent,black 40% 60%,transparent); -webkit-mask: linear-gradient(to right, transparent,black 40% 60%,transparent);
} }