1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +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-row-end: span 1;
grid-column-start: 1; grid-column-start: 1;
grid-column-end: -1; grid-column-end: -1;
// gridRow: "1 / 2",
// gridColumn: "1 / -1",
background: darken($content_bg, 2%); background: darken($content_bg, 2%);
border-radius: $radius; border-radius: $radius;
// height: 33vh;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -93,16 +90,17 @@ $stamp_color: $content_bg;
position: relative; position: relative;
&::after { &::after {
content: ''; content: "";
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
height: 60px; height: 60px;
width: 100%; 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; border-radius: $radius;
display: none; display: none;
z-index: 1; z-index: 1;
// min-width: 100%;
box-sizing: border-box; box-sizing: border-box;
// transform: translate(0, $gap);
padding: $gap; padding: $gap;
&::after { &::after {
@ -66,8 +64,6 @@
cursor: pointer; cursor: pointer;
margin-left: $gap; margin-left: $gap;
white-space: nowrap; white-space: nowrap;
// box-shadow: inset transparentize($content_bg, 0.8) 0 0 0 1px;
// background: transparentize($content_bg, 0.1);
padding: 0; padding: 0;
} }