Restructuring components and styling
This commit is contained in:
@@ -46,3 +46,18 @@
|
||||
-webkit-transform-origin: 15% 95%;
|
||||
transform-origin: 15% 95%;
|
||||
}
|
||||
|
||||
.panel:before {
|
||||
content: '';
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
transition: background-color 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.panel-open:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user