fix: sticky-header-border-effect

This commit is contained in:
Robert Janus 2025-05-11 21:43:04 +02:00
parent c95aa68ec2
commit 3083b99898
3 changed files with 21 additions and 2 deletions

View file

@ -2,6 +2,7 @@
--padding-default: 1rem;
--padding-small: 0.5rem;
--radius-default: 3px;
--radius-border: 15px;
--transition-default: 150ms;
--color-success: #328104;

View file

@ -63,4 +63,24 @@
}
}
}
&:after, &:before {
content: '';
display: block;
position: absolute;
bottom: calc(-1 * var(--radius-border));
background: var(--color-blue-darkest);
width: var(--radius-border);
height: var(--radius-border);
}
&:after {
right: 0;
mask: radial-gradient(var(--radius-border) at 0 100%,#0000 98%,#000);
}
&:before {
left: 0;
mask: radial-gradient(var(--radius-border) at 100% 100%,#0000 98%,#000);
}
}

View file

@ -46,8 +46,6 @@
}
.content {
border-top-left-radius: 15px;
border-top-right-radius: 15px;
overflow: hidden;
background: var(--color-lightest);
height: 100%;