1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed flow hero appearance

This commit is contained in:
Fedor Katurov 2019-11-05 16:57:40 +07:00
parent 56086e7c5f
commit aff052e66d
4 changed files with 45 additions and 16 deletions

View file

@ -27,6 +27,23 @@
pointer-events: none;
touch-action: none;
}
&::before {
content: ' ';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
182deg,
transparentize($cell_shade, 1) 50%,
transparentize($cell_shade, 0) 95%
);
z-index: 4;
pointer-events: none;
touch-action: none;
}
}
.hero {
@ -90,13 +107,13 @@
.title {
flex: 0;
height: 48px;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
padding: 0 $gap;
padding: 0 $gap 0 0;
border-radius: $radius;
font: $font_hero_title;
text-transform: uppercase;
}
.buttons {