Added possibility to close utförande verksamheter dialog when clicking outside.

This commit is contained in:
Erik Tiekstra
2021-09-13 09:41:27 +02:00
parent c81d7fb38c
commit ac5b806c16
9 changed files with 31 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
@mixin msfa__backdrop() {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0;
background-color: rgba(255, 255, 255, 0.4);
}

View File

@@ -1,5 +1,6 @@
@import '@digi/core/dist/digi/digi.css';
@import 'mixins/a11y';
@import 'mixins/backdrop';
@import 'mixins/icon';
@import 'mixins/link';
@@ -69,6 +70,10 @@ dl {
font-size: 0.875rem !important;
}
&__backdrop {
@include msfa__backdrop;
}
&__loading-wrapper {
display: flex;
align-items: center;
@@ -76,12 +81,7 @@ dl {
z-index: 1000;
&--full-screen {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(255, 255, 255, 0.5);
@include msfa__backdrop;
}
}
&__spinner {