From 8f3284a362fdf750d389edca9317bc47772542ba Mon Sep 17 00:00:00 2001 From: Luzifr Date: Tue, 20 Sep 2011 15:37:12 +0200 Subject: [PATCH] Some typos, Faster scroll Effect, Tabs Fixed some typos, quickened the smooth-scroll effect, gave the tabs a max-width to prevent too wide pages when there are too many tabs (not really a good solution!), fixed some small spacing problems with borders and fieldsets. --- wcfsetup/install/files/acp/style/testing.css | 18 ++++++++++-------- .../install/files/acp/templates/option.tpl | 4 ++-- wcfsetup/install/files/js/WCF.js | 6 +++--- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index e7272db5bc..751db8d137 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -358,17 +358,17 @@ section.content { vertical-align: top; } -section.content .content { - border: 1px solid #ccc; - background-color: rgba(0, 0, 0, .01); - padding: 13px 23px; -} - div.main > div section:only-child { display: block !important; width: auto; } +section.content .content { + border: 1px solid #ccc; + background-color: rgba(0, 0, 0, .01); + padding: 13px 23px 23px; +} + /* -- -- -- -- -- Content Header & Footer -- -- -- -- -- */ @@ -587,12 +587,12 @@ fieldset { border: 1px solid #ccc; border-radius: 7px; background-color: rgba(0, 0, 0, .015); - margin: 7px 0 0; + margin: 15px 0 0; padding: 15px; } fieldset:last-child, fieldset:only-child { - margin: 7px 0 7px !important; + margin-bottom: 7px !important; } /* experimental @@ -1350,6 +1350,8 @@ input[type='button'][disabled='disabled'], position: relative; bottom: -1px; z-index: 10; + max-width: 200px; + overflow: hidden; } .tabMenu li:not(.ui-state-active) a:hover { diff --git a/wcfsetup/install/files/acp/templates/option.tpl b/wcfsetup/install/files/acp/templates/option.tpl index 84db769475..4ffca0ec22 100644 --- a/wcfsetup/install/files/acp/templates/option.tpl +++ b/wcfsetup/install/files/acp/templates/option.tpl @@ -30,13 +30,13 @@ {foreach from=$optionTree item=categoryLevel1} -