DRAFT | new theme - minimage
This commit is contained in:
parent
5116fe4640
commit
ac8d9e7eb3
90 changed files with 15302 additions and 1 deletions
20
themes/minimage/source/sass/object/component/_overlay.scss
Normal file
20
themes/minimage/source/sass/object/component/_overlay.scss
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
.c-overlay {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: rgba($color-primary, 0.8);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
transform: translate3d(0, 60px, 0);
|
||||
transition: transform 0.2s $ease-out-quart 0s, opacity 0.2s $ease-out-quart 0s;
|
||||
opacity: 0;
|
||||
|
||||
&.isShow {
|
||||
transform: translate3d(0, 0, 0);
|
||||
left: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue