audio-vis/raw/scss/_modal.scss

59 lines
1 KiB
SCSS
Raw Normal View History

#modal {
max-width: 860px;
width: 90%;
background-color: $bg;
padding: unset;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
border-radius: 15px;
overflow: hidden;
2020-08-06 23:44:37 +02:00
&.lightMode {
background-color: rgba(0, 0, 0, .1);
}
div {
position: unset;
}
header {
height: 50px;
font-size: 30px;
line-height: 50px;
padding-left: 10px;
overflow: hidden;
background-color: $darker;
display: flex;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
.headline {
flex-grow: 1;
}
.close {
margin-right: 10px;
font-size: 24px;
cursor: pointer;
&:hover {
color: $primary;
}
}
}
modal-content {
display: block;
max-height: calc(100vh - 200px);
overflow: auto;
}
modal-footer {
display: block;
box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
2020-08-06 23:44:37 +02:00
.inner {
padding: 5px;
width: calc(100% - 40px);
margin: 0 auto;
}
}
}