1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-02 08:06:41 +07:00

NodeNoComments

This commit is contained in:
muerwre 2019-07-27 18:52:47 +07:00
parent ea87b50a83
commit b5b8d78cea
7 changed files with 69 additions and 9 deletions
src/styles

View file

@ -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;
}
}