style modal component

This commit is contained in:
2021-09-10 21:38:03 -04:00
committed by oliviasculley
parent 8e4e3872f5
commit a11a222bea
2 changed files with 18 additions and 40 deletions

View File

@ -28,42 +28,6 @@ $fa-font-path: "@fortawesome/fontawesome-free/webfonts";
pointer-events: none;
}
.phx-modal {
opacity: 1!important;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.phx-modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.phx-modal-close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.phx-modal-close:hover,
.phx-modal-close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
/* Alerts and form errors */
.alert {
padding: 15px;