better modals

This commit is contained in:
oitsjustjose 2020-03-03 00:01:17 -05:00
commit 178e1c1390
4 changed files with 44 additions and 18 deletions

View file

@ -17,7 +17,7 @@
/* Modal Content */
.modal-content {
background-color: lighten($background, 15%);
background-color: $background;
padding: 20px;
border: 1px solid lighten($background, 10%);
width: 80%;
@ -29,6 +29,18 @@
height: 100%;
}
.header {
text-align: center;
margin-block-start: 0;
padding-bottom: 1rem;
border-bottom: 1px solid lighten($background, 10%);
}
.content {
overflow: auto;
}
/* The Close Button */
.close {
color: #eeeeee;

View file

@ -382,7 +382,7 @@ body {
/* Modal Content */
.modal-content {
background-color: #4b4b4b;
background-color: #252525;
padding: 20px;
border: 1px solid #3f3f3f;
width: 80%;
@ -397,6 +397,18 @@ body {
height: 100%;
}
.modal-content .header {
text-align: center;
-webkit-margin-before: 0;
margin-block-start: 0;
padding-bottom: 1rem;
border-bottom: 1px solid #3f3f3f;
}
.modal-content .content {
overflow: auto;
}
.modal-content .close {
color: #eeeeee;
float: right;

File diff suppressed because one or more lines are too long