Merge branch 'MDL-38067-m' of git://github.com/andrewnicols/moodle
This commit is contained in:
@@ -252,8 +252,7 @@ YUI.add('moodle-core-tooltip', function (Y, NAME) {
|
||||
this.setAttrs({
|
||||
headerContent: this.get('initialheadertext'),
|
||||
bodyContent: this.get('initialbodytext'),
|
||||
footerContent: this.get('initialfootertext'),
|
||||
zIndex: 150
|
||||
footerContent: this.get('initialfootertext')
|
||||
});
|
||||
|
||||
// Hide and then render the dialogue.
|
||||
@@ -263,6 +262,10 @@ YUI.add('moodle-core-tooltip', function (Y, NAME) {
|
||||
// Hook into a few useful areas.
|
||||
this.bb = this.get('boundingBox');
|
||||
|
||||
// Add an additional class to the boundingbox to allow tooltip-specific style to be
|
||||
// set.
|
||||
this.bb.addClass('moodle-dialogue-tooltip');
|
||||
|
||||
// Change the alignment if this is an RTL language.
|
||||
if (right_to_left()) {
|
||||
this.alignpoints = [
|
||||
|
||||
@@ -1020,7 +1020,9 @@ sup {vertical-align: super;}
|
||||
.moodle-dialogue .tooltiptext {
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
.moodle-dialogue-base .moodle-dialogue.moodle-dialogue-tooltip {
|
||||
z-index: 3001;
|
||||
}
|
||||
|
||||
/* Question Bank - Question Chooser "Close" button */
|
||||
#page-question-edit.dir-rtl a.container-close {right:auto;left:6px;}
|
||||
|
||||
Reference in New Issue
Block a user