added overlay feature as suggested in issue #355

This commit is contained in:
Abdullah Almsaeed
2015-05-05 10:45:52 -04:00
parent 95a5719287
commit 66f6c40b47
3 changed files with 19 additions and 12 deletions

13
dist/css/AdminLTE.css vendored
View File

@@ -1641,19 +1641,23 @@ a:focus {
margin-bottom: 0.3em;
}
.box > .overlay,
.box > .loading-img {
.overlay-wrapper > .overlay,
.box > .loading-img,
.overlay-wrapper > .loading-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.box .overlay {
.box .overlay,
.overlay-wrapper .overlay {
z-index: 50;
background: rgba(255, 255, 255, 0.7);
border-radius: 3px;
}
.box .overlay > .fa {
.box .overlay > .fa,
.overlay-wrapper .overlay > .fa {
position: absolute;
top: 50%;
left: 50%;
@@ -1662,7 +1666,8 @@ a:focus {
color: #000;
font-size: 30px;
}
.box .overlay.dark {
.box .overlay.dark,
.overlay-wrapper .overlay.dark {
background: rgba(0, 0, 0, 0.5);
}
.box-header:before,