0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 16:12:38 +00:00

Add animations

This commit is contained in:
G.Ambatte
2023-04-09 21:01:28 +12:00
parent ebc90c998a
commit b8e68f9a93
2 changed files with 12 additions and 10 deletions

View File

@@ -177,15 +177,9 @@
i{
margin-right: 10px;
}
// .windowWrapper{
// position: fixed;
// top: 18px;
// left: 0px;
// width: calc(100vw - 30px);
// z-index: -1;
.window{
position: absolute;
top: 100%;
bottom: 0;
width: 80%;
left: 10%;
max-height : ~"calc(100vh - 28px)";
@@ -197,6 +191,16 @@
padding: 0px 10px;
border-radius: 0 0 5px 5px;
margin: 0 auto;
z-index: -1;
transition: transform 0.5s, opacity 0.5s;
&.active{
transform: translateY(100%);
opacity: 1;
}
&.inactive{
transform: translateY(0%);
opacity: 0;
}
.row{
display : flex;
flex-flow : row wrap;