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

fixed hover

This commit is contained in:
Fedor Katurov 2019-11-19 16:44:46 +07:00
parent ca3a9a89a2
commit 34e6bf77e9
2 changed files with 7 additions and 13 deletions

View file

@ -63,11 +63,8 @@ $stamp_color: $content_bg;
grid-row-end: span 1;
grid-column-start: 1;
grid-column-end: -1;
// gridRow: "1 / 2",
// gridColumn: "1 / -1",
background: darken($content_bg, 2%);
border-radius: $radius;
// height: 33vh;
display: flex;
align-items: center;
justify-content: center;
@ -93,16 +90,17 @@ $stamp_color: $content_bg;
position: relative;
&::after {
content: '';
content: "";
position: absolute;
bottom: 0;
left: 0;
height: 60px;
width: 100%;
background: linear-gradient(transparentize($stamp_color, 1), $stamp_color 90%);
background: linear-gradient(
transparentize($stamp_color, 1),
$stamp_color 90%
);
pointer-events: none;
touch-action: none;
}
// @media (max-width: $cell * 2) {
// grid-row-end: span 3;
// }
}

View file

@ -15,9 +15,7 @@
border-radius: $radius;
display: none;
z-index: 1;
// min-width: 100%;
box-sizing: border-box;
// transform: translate(0, $gap);
padding: $gap;
&::after {
@ -66,8 +64,6 @@
cursor: pointer;
margin-left: $gap;
white-space: nowrap;
// box-shadow: inset transparentize($content_bg, 0.8) 0 0 0 1px;
// background: transparentize($content_bg, 0.1);
padding: 0;
}