Dialogs are now inside div#content
authorAlexander Ebert <ebert@woltlab.com>
Sat, 12 Mar 2016 12:50:31 +0000 (13:50 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 12 Mar 2016 12:50:31 +0000 (13:50 +0100)
wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js
wcfsetup/install/files/style/layout/layout.scss
wcfsetup/install/files/style/ui/dialog.scss

index d074b15d25acb52b75de33fba3319a47a43d6930..92999c9ad707c56f5a8ef9a7dc9b6fb18a1f2232 100644 (file)
@@ -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) {
index ba82c673d81c2d8ced0e8027825980ed3d6405e7..89075b8b4a4aa029653dfa01d4508aef1c7db86b 100644 (file)
@@ -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;
index a45170da7e136499db542a9b8edec181233bddef..3d18fe40e00f6bb72b7d5e1b07b8841ca3d29d85 100644 (file)
        
        > .dialogContent {
                background-color: $wcfContentBackground;
-               color: $wcfContentText;
                overflow: auto;
                
                &:not(.dialogContentNoPadding) {
                        border-bottom-right-radius: 3px;
                }
                
-               a:not(.button) {
-                       color: $wcfContentLink;
-                       
-                       &:hover {
-                               color: $wcfContentLinkActive;
-                       }
-               }
-               
                dl:not(.plain) {
                        > dt {
                                float: none;