Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-62200-33' of git://github.com/bmbrands/moodle into …
…MOODLE_33_STABLE
  • Loading branch information
David Monllao committed May 10, 2018
2 parents 7eb75ea + 3372b77 commit 255bc95
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions theme/boost/scss/moodle/core.scss
Expand Up @@ -1170,6 +1170,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 @@ -1335,6 +1335,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
6 changes: 6 additions & 0 deletions theme/bootstrapbase/style/moodle.css
Expand Up @@ -3662,6 +3662,12 @@ 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;
}
.pagelayout-popup .moodle-dialogue-base .moodle-dialogue {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.moodle-dialogue-base .hidden,
.moodle-dialogue-base .moodle-dialogue-hidden {
display: none;
Expand Down

0 comments on commit 255bc95

Please sign in to comment.