feat: Add animation for disable multiple selection
This commit is contained in:
parent
d79d864825
commit
a570604f69
@ -12,10 +12,8 @@
|
||||
|
||||
#listing>div {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#listing .item {
|
||||
@ -207,16 +205,6 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@keyframes slidein {
|
||||
from {
|
||||
bottom: -4em;
|
||||
}
|
||||
|
||||
to {
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#listing #multiple-selection {
|
||||
position: fixed;
|
||||
bottom: -4em;
|
||||
@ -225,16 +213,13 @@
|
||||
width: 100%;
|
||||
background-color: var(--blue);
|
||||
height: 4em;
|
||||
display: none;
|
||||
padding: 0.5em 0.5em 0.5em 1em;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
transition: .2s ease bottom;
|
||||
}
|
||||
|
||||
#listing #multiple-selection.active {
|
||||
animation: slidein 0.2s forwards;
|
||||
display: flex;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
#listing #multiple-selection p,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user