mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
55 lines
1.0 KiB
SCSS
55 lines
1.0 KiB
SCSS
@import "../../styles/colors.scss";
|
|
@import "../../styles/keyframes.scss";
|
|
|
|
.modal-wrapper {
|
|
z-index: 9999;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: rgba($black, 0.5);
|
|
backdrop-filter: blur(0.25em);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
animation: opacityin 0.3s both;
|
|
}
|
|
|
|
.modal-container {
|
|
background: $light-grey;
|
|
min-width: 500px;
|
|
padding: 1em 1.5em;
|
|
border-radius: 3px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
animation: fadeintop 0.3s both;
|
|
}
|
|
|
|
.modal-header {
|
|
width: 100%;
|
|
margin-bottom: 1.5em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
& button.btn-close {
|
|
color: $blue;
|
|
background-color: transparent;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.modal-body {
|
|
width: 100%;
|
|
display: flex;
|
|
flex: 1;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|