mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed hover
This commit is contained in:
parent
ca3a9a89a2
commit
34e6bf77e9
2 changed files with 7 additions and 13 deletions
|
@ -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;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue