Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-62200 Theme boost: popup in popup styles
  • Loading branch information
Bas Brands committed May 4, 2018
1 parent 446d848 commit bfe00e6
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 @@ -1103,6 +1103,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 bfe00e6

Please sign in to comment.