2020-11-22 15:50:07 -05:00
|
|
|
/*
|
2021-01-06 15:37:59 -05:00
|
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
2020-11-22 15:50:07 -05:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-09-13 12:04:02 -04:00
|
|
|
&.modal-open .modal {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Actual modal
|
|
|
|
.modal-content {
|
|
|
|
background-color: $modal-content-bg;
|
|
|
|
border-color: $modal-content-border-color;
|
|
|
|
@include box-shadow($modal-content-box-shadow-xs);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Modal background
|
|
|
|
.modal-backdrop {
|
|
|
|
background-color: $modal-backdrop-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Modal header
|
|
|
|
// Top section of the modal w/ title and dismiss
|
|
|
|
.modal-header {
|
|
|
|
border-bottom: $modal-header-border-width solid $modal-header-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Footer (for actions)
|
|
|
|
.modal-footer {
|
|
|
|
border-top: $modal-footer-border-width solid $modal-footer-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Scale up the modal
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
.modal-content {
|
|
|
|
@include box-shadow($modal-content-box-shadow-sm-up);
|
|
|
|
}
|
|
|
|
}
|