Added possibility to close utförande verksamheter dialog when clicking outside.
This commit is contained in:
9
apps/mina-sidor-fa/src/styles/mixins/_backdrop.scss
Normal file
9
apps/mina-sidor-fa/src/styles/mixins/_backdrop.scss
Normal 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);
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user