mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-25 00:51:52 +00:00
77a60c6c48
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
41 lines
870 B
SCSS
41 lines
870 B
SCSS
/*
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
&.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);
|
|
}
|
|
}
|