I'm around and round we go
Moderator
Dec 31, 2016 1:57:46 GMT -5
I thought this was a huge improvement to the UI of ProBoards (and modal windows in general) so I figured I'd share...
Just some simple CSS to "dim" the screen (essentially cover it with any color you want) whenever someone clicks on a popup/dialog window.
Add this to the
end of your stylesheet.
.ui-dialog:before {
content: "";
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
z-index: -2;
}
.ui-dialog:after {
content: "";
position:absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
Preview: