From 918dd7e44ed971301af8f18608b79dab75b8f8ed Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 12 Mar 2016 13:50:31 +0100 Subject: [PATCH] Dialogs are now inside div#content --- wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js | 2 +- wcfsetup/install/files/style/layout/layout.scss | 2 -- wcfsetup/install/files/style/ui/dialog.scss | 9 --------- 3 files changed, 1 insertion(+), 12 deletions(-) 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; -- 2.20.1