CSS Hide Background
I just found this css snippet to somewhat like disabling the elements behind if a dialog box appears.
/* Enables to disable elements behind */
.somethingDialogUnderlayWrapper {
position: absolute;
left: 0px;
top: 0px;
z-index: 998;
display: none;
background: transparent;
}
/* colors to a disabled-color */
.somethingDialogUnderlay {
background: #eeeeee;
opacity: 0.5;
}
/* Enables to disable elements behind */
.somethingDialogUnderlayWrapper {
position: absolute;
left: 0px;
top: 0px;
z-index: 998;
display: none;
background: transparent;
}
/* colors to a disabled-color */
.somethingDialogUnderlay {
background: #eeeeee;
opacity: 0.5;
}
Comments