Improved modals and embedding!
This commit is contained in:
parent
e40807b623
commit
03e6eccb71
7 changed files with 101 additions and 33 deletions
|
|
@ -1,24 +1,33 @@
|
|||
.modal {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
padding-top: 100px;
|
||||
z-index: 2048;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
background-color: $background;
|
||||
background-color: rgba($background, 0.4);
|
||||
transition: visibility 0s, opacity 150ms ease-in-out;
|
||||
}
|
||||
|
||||
/* Modal Content */
|
||||
.modal-content {
|
||||
background-color: lighten($background, 15%);
|
||||
margin: auto;
|
||||
padding: 20px;
|
||||
border: 1px solid lighten($background, 10%);
|
||||
width: 80%;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
|
||||
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue