Cart: Add sneak-peek preview (#3259)

This commit is contained in:
Richard Schreiber
2023-04-26 14:43:23 +02:00
committed by GitHub
parent 6b983d5f55
commit 38e826724f
4 changed files with 59 additions and 1 deletions

View File

@@ -398,6 +398,27 @@ details.details-open .panel-heading .collapse-indicator,
transform: rotate(180deg);
}
details.sneak-peek {
position: relative;
height: 11em;
overflow: hidden;
transition: height .5s;
}
.sneak-peek-trigger {
display: grid;
justify-content: center;
align-content: center;
width: 100%;
height: 4.5em;
margin: 0;
padding: 15px;
background: linear-gradient(0deg, rgba(248,248,248,.9) 44%, rgba(248,248,248,0) 100%);
position: absolute;
bottom: 0;
left: 0;
z-index: 10;
}
form.download-btn-form {
display: inline;
}