1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

added updated nodes to flow

This commit is contained in:
Fedor Katurov 2019-10-30 17:26:30 +07:00
parent 6f76bec2c0
commit 74cd181530
13 changed files with 128 additions and 30 deletions

View file

@ -1,4 +1,5 @@
$cols: $content_width / $cell;
$stamp_color: $content_bg;
.grid {
padding: $gap / 2;
@ -11,8 +12,8 @@ $cols: $content_width / $cell;
grid-template-rows: 50vh $cell;
grid-auto-rows: $cell;
grid-auto-flow: row dense;
grid-column-gap: $grid_line;
grid-row-gap: $grid_line;
grid-column-gap: $gap;
grid-row-gap: $gap;
@include tablet {
padding: 0 $gap;
@ -72,10 +73,11 @@ $cols: $content_width / $cell;
}
.stamp {
@include outer_shadow();
// grid-row: -1 / 3;
grid-row-end: span 2;
grid-column: -2 / -1;
background: darken($content_bg, 8%);
background: $stamp_color;
border-radius: $radius;
padding: $gap;
display: flex;
@ -85,4 +87,16 @@ $cols: $content_width / $cell;
display: flex;
align-items: stretch;
justify-content: stretch;
overflow: hidden;
position: relative;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
height: 60px;
width: 100%;
background: linear-gradient(transparentize($stamp_color, 1), $stamp_color 90%);
}
}