|
|
@@ -85,33 +85,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-@mixin expand-modal-fullscreen($hasModalHeader: true, $hasModalFooter: true) {
|
|
|
- // full-screen modal
|
|
|
- width: auto;
|
|
|
- max-width: unset !important;
|
|
|
- height: calc(100vh - 30px);
|
|
|
- margin: 15px !important;
|
|
|
-
|
|
|
- .modal-content {
|
|
|
- height: calc(100vh - 30px);
|
|
|
- }
|
|
|
-
|
|
|
- // expand .modal-body (with calculating height)
|
|
|
- .modal-body {
|
|
|
- $modal-header: 54px;
|
|
|
- $modal-footer: 46px;
|
|
|
-
|
|
|
- $margin: 0px;
|
|
|
- @if $hasModalHeader {
|
|
|
- $margin: $margin + $modal-header;
|
|
|
- }
|
|
|
- @if $hasModalFooter {
|
|
|
- $margin: $margin + $modal-footer;
|
|
|
- }
|
|
|
- height: calc(100% - #{$margin});
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
@mixin apply-navigation-transition() {
|
|
|
transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
|
|
|
transition-duration: 300ms;
|