mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-01 23:56:41 +07:00
NodeNoComments
This commit is contained in:
parent
ea87b50a83
commit
b5b8d78cea
7 changed files with 69 additions and 9 deletions
src/styles
|
@ -81,3 +81,20 @@ $tag_height: 22px;
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@mixin after_shade($color, $position: relative) {
|
||||
position: $position;
|
||||
|
||||
&::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 120px;
|
||||
width: 100%;
|
||||
background: linear-gradient(transparentize($color, 1), $color);
|
||||
border-radius: $radius;
|
||||
pointer-events: none;
|
||||
touch-action: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue