icynet-auth-server/src/fe/scss/_modal.scss

59 lines
948 B
SCSS

.modal {
display: block;
position: fixed;
overflow: auto;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.4);
&__content {
max-width: 800px;
background-color: var(--main);
box-shadow: 0px 6px 62px -14px rgba(0, 0, 0, 0.45);
margin: 4rem auto 0 auto;
}
&__body {
padding: 1rem;
h1,
h2,
h3,
h4,
h5 {
&:first-of-type {
margin-top: 0;
}
}
}
&__footer {
padding: 1rem;
display: flex;
flex-direction: row;
justify-content: flex-end;
border-top: 1px solid var(--main-darker);
gap: 1rem;
}
&__title {
display: flex;
flex-direction: row;
padding: 1rem;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--main-darker);
&-button .btn {
min-width: initial;
font-weight: bold;
font-size: 2rem;
padding: 0 0.65rem;
}
}
}