Modal and such!
This commit is contained in:
parent
0a757dd500
commit
e40807b623
7 changed files with 95 additions and 26 deletions
|
|
@ -1,15 +1,15 @@
|
|||
.modal {
|
||||
display: none; /* Hidden by default */
|
||||
position: fixed; /* Stay in place */
|
||||
z-index: 1; /* Sit on top */
|
||||
padding-top: 100px; /* Location of the box */
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
padding-top: 100px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%; /* Full width */
|
||||
height: 100%; /* Full height */
|
||||
overflow: auto; /* Enable scroll if needed */
|
||||
background-color: $background; /* Fallback color */
|
||||
background-color: rgba($background, 0.4); /* Black w/ opacity */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: $background;
|
||||
background-color: rgba($background, 0.4);
|
||||
}
|
||||
|
||||
/* Modal Content */
|
||||
|
|
@ -20,6 +20,11 @@
|
|||
border: 1px solid lighten($background, 10%);
|
||||
width: 80%;
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* The Close Button */
|
||||
.close {
|
||||
color: #aaaaaa;
|
||||
|
|
|
|||
Loading…
Reference in a new issue