From: Alexander Ebert Date: Sat, 12 Mar 2016 12:50:31 +0000 (+0100) Subject: Dialogs are now inside div#content X-Git-Tag: 3.0.0_Beta_1~2030^2~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=918dd7e44ed971301af8f18608b79dab75b8f8ed;p=GitHub%2FWoltLab%2FWCF.git Dialogs are now inside div#content --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js index d074b15d25..92999c9ad7 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js @@ -44,7 +44,7 @@ define( elAttr(_container, 'aria-hidden', 'true'); _container.addEventListener('click', this._closeOnBackdrop.bind(this)); - document.body.appendChild(_container); + elById('content').appendChild(_container); _keyupListener = (function(event) { if (event.keyCode === 27) { diff --git a/wcfsetup/install/files/style/layout/layout.scss b/wcfsetup/install/files/style/layout/layout.scss index ba82c673d8..89075b8b4a 100644 --- a/wcfsetup/install/files/style/layout/layout.scss +++ b/wcfsetup/install/files/style/layout/layout.scss @@ -33,7 +33,6 @@ a { /* COLUMN LAYOUT */ .pageHeaderContainer { flex: 0 0 auto; - z-index: 100; } .main { @@ -41,7 +40,6 @@ a { color: $wcfContentText; flex: 1 0 auto; padding: 60px 0; - z-index: 50; a { color: $wcfContentLink; diff --git a/wcfsetup/install/files/style/ui/dialog.scss b/wcfsetup/install/files/style/ui/dialog.scss index a45170da7e..3d18fe40e0 100644 --- a/wcfsetup/install/files/style/ui/dialog.scss +++ b/wcfsetup/install/files/style/ui/dialog.scss @@ -103,7 +103,6 @@ > .dialogContent { background-color: $wcfContentBackground; - color: $wcfContentText; overflow: auto; &:not(.dialogContentNoPadding) { @@ -131,14 +130,6 @@ border-bottom-right-radius: 3px; } - a:not(.button) { - color: $wcfContentLink; - - &:hover { - color: $wcfContentLinkActive; - } - } - dl:not(.plain) { > dt { float: none;