mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Collapsable info tab on images
This commit is contained in:
parent
8357241487
commit
fef8a557d2
4 changed files with 29 additions and 32 deletions
|
@ -1,5 +1,5 @@
|
|||
.info-container
|
||||
width: 100%
|
||||
width: 25rem
|
||||
height: 100%
|
||||
|
||||
display: flex
|
||||
|
@ -9,6 +9,10 @@
|
|||
background-color: RGB($bg-200)
|
||||
|
||||
overflow-y: auto
|
||||
transition: transform 0.3s cubic-bezier(.79, .14, .15, .86)
|
||||
|
||||
&.collapsed
|
||||
transform: translateX(-25rem)
|
||||
|
||||
.info-tab
|
||||
width: 100%
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
.image-grid
|
||||
padding: 0
|
||||
|
||||
width: 100%
|
||||
height: 100vh
|
||||
|
||||
position: relative
|
||||
|
||||
display: grid
|
||||
|
@ -15,10 +18,11 @@
|
|||
grid-template-rows: 1fr auto
|
||||
gap: 0
|
||||
|
||||
height: 100vh
|
||||
|
||||
z-index: 3
|
||||
|
||||
&.collapse
|
||||
grid-template-columns: 0rem 1fr
|
||||
|
||||
#image-info
|
||||
grid-area: info
|
||||
#image-tools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue