Improved sub tab menus
authorAlexander Ebert <ebert@woltlab.com>
Sat, 19 Mar 2016 16:34:53 +0000 (17:34 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 19 Mar 2016 16:34:53 +0000 (17:34 +0100)
wcfsetup/install/files/acp/templates/package.tpl
wcfsetup/install/files/style/ui/tabMenu.scss

index 4e25b8c9918c5c2cf966f18748c442fb29f94956..b8f7afab0926dc89ab47d5e9b083b87074ecb238 100644 (file)
@@ -3,8 +3,6 @@
 <script data-relocate="true">
        //<![CDATA[
        $(function() {
-               WCF.TabMenu.init()
-               
                WCF.Language.addObject({
                        'wcf.acp.package.uninstallation.title': '{lang}wcf.acp.package.uninstallation.title{/lang}'
                });
                        </nav>
                        
                        {hascontent}
-                               <div id="dependencies-required" class="tabMenuContent tabularBox tabularBoxTitle hidden">
-                                       <header>
-                                               <h2>{lang}wcf.acp.package.dependencies.required{/lang}</h2>
-                                               <small>{lang}wcf.acp.package.dependencies.required.description{/lang}</small>
-                                       </header>
-                                       
+                               <div id="dependencies-required" class="tabMenuContent tabularBox hidden">
                                        <table class="table">
                                                <thead>
                                                        <tr>
                        {/hascontent}
                        
                        {hascontent}
-                               <div id="dependencies-dependent" class="tabMenuContent tabularBox tabularBoxTitle hidden">
-                                       <header>
-                                               <h2>{lang}wcf.acp.package.dependencies.dependent{/lang}</h2>
-                                               <small>{lang}wcf.acp.package.dependencies.dependent.description{/lang}</small>
-                                       </header>
-                                       
+                               <div id="dependencies-dependent" class="tabMenuContent tabularBox hidden">
                                        <table class="table">
                                                <thead>
                                                        <tr>
index 04abfbfd05f520cfadbea9393bf1c244ab2e0c03..68c82677545e35287bbdd46f4028b67e3a305fdc 100644 (file)
@@ -97,4 +97,8 @@
                position: absolute;
                transition: transform .2s linear, width .2s linear;
        }
+       
+       & + .tabMenuContent {
+               margin-top: 20px;
+       }
 }