As requested in #9822. Adding additional classes to `reveal-overlay`
element.
Not the possibility to replace the class, since many styling and some JS
handles react on this class.
optgroup,
select,
textarea {
- font-family: inherit; /* 1 */
+ font-family: $base-font-family; /* 1 */
font-size: 100%; /* 1 */
@if $normalize-vertical-rhythm {
line-height: ($base-line-height / $base-font-size) * 1em; /* 1 */
*/
_makeOverlay() {
return $('<div></div>')
- .addClass('reveal-overlay')
+ .addClass('reveal-overlay' + ' ' + this.options.additionalOverlayClassNames)
.appendTo(this.options.appendTo);
}
* @type {string}
* @default "body"
*/
- appendTo: "body"
-
+ appendTo: "body",
+ /**
+ * Allows adding additional class names to the reveal overlay
+ * @option
+ * @type {string}
+ * @default ''
+ */
+ additionalOverlayClassNames: ''
};
// Window exports