Skip to content

Commit

Permalink
Merge branch 'MDL-62200-34' of git://github.com/bmbrands/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_34_STABLE
  • Loading branch information
David Monllao committed May 10, 2018
2 parents 0cd244b + 1ed8bd1 commit 43f8620
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions theme/boost/scss/moodle/core.scss
Expand Up @@ -1172,6 +1172,18 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
background-color: $gray;
}

// Prevent adding backdrops to popups in popups.
.pagelayout-popup {
.moodle-dialogue-base {
.moodle-dialogue-lightbox {
background-color: transparent;
}
.moodle-dialogue {
box-shadow: $popover-box-shadow;
}
}
}

.moodle-dialogue-base .hidden,
.moodle-dialogue-base .moodle-dialogue-hidden {
display: none;
Expand Down
8 changes: 8 additions & 0 deletions theme/bootstrapbase/less/moodle/core.less
Expand Up @@ -1332,6 +1332,14 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
.moodle-dialogue-base .moodle-dialogue-lightbox {
background-color: #aaa;
}
// Prevent adding backdrops to popups in popups.
.pagelayout-popup {
.moodle-dialogue-base {
.moodle-dialogue-lightbox {
background-color: transparent;
}
}
}
.moodle-dialogue-base .hidden,
.moodle-dialogue-base .moodle-dialogue-hidden {
display: none;
Expand Down
3 changes: 3 additions & 0 deletions theme/bootstrapbase/style/moodle.css
Expand Up @@ -3659,6 +3659,9 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
.moodle-dialogue-base .moodle-dialogue-lightbox {
background-color: #aaa;
}
.pagelayout-popup .moodle-dialogue-base .moodle-dialogue-lightbox {
background-color: transparent;
}
.moodle-dialogue-base .hidden,
.moodle-dialogue-base .moodle-dialogue-hidden {
display: none;
Expand Down

0 comments on commit 43f8620

Please sign in to comment.