From 3a8fa945dd9e2f8d96668f414c6ae11e385c2760 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Tue, 15 Nov 2011 19:02:40 +0100 Subject: [PATCH] Definition-lists & installation optimizations --- wcfsetup/install/files/acp/style/style.css | 20 +++++++++++++++---- .../form/element/LabelFormElement.class.php | 16 ++++++--------- .../PasswordInputFormElement.class.php | 18 +++++++---------- .../element/TextInputFormElement.class.php | 18 +++++++---------- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/wcfsetup/install/files/acp/style/style.css b/wcfsetup/install/files/acp/style/style.css index 7469a6e9b7..9f48b8b365 100644 --- a/wcfsetup/install/files/acp/style/style.css +++ b/wcfsetup/install/files/acp/style/style.css @@ -990,7 +990,7 @@ li > .badgeButton { margin-top: 30px; } -.overlay .mainHeading:not(:first-of-type) { +.ui-dialog .mainHeading { margin-top: 0; } @@ -2653,7 +2653,8 @@ div#packageInstallationInnerContentContainer { } div#packageInstallationInnerContentContainer fieldset { - border-color: #000; + border-color: #666; + background-color: rgba(0, 0, 0, .1); } div#packageInstallationInnerContent p.error { @@ -2769,6 +2770,8 @@ div#ajaxExceptionStacktrace { } +/* Dialog Titlebar */ + .ui-dialog-titlebar { border-top-left-radius: 7px; border-top-right-radius: 7px; @@ -2810,13 +2813,22 @@ a.ui-dialog-titlebar-close span { width: 0; } +/* Dialog Content */ + .ui-dialog-content { - border-bottom-left-radius: 7px; - border-bottom-right-radius: 7px; background-color: #333; padding-top: 7px; } +.ui-dialog-titlebar ~ .ui-dialog-content { + border-bottom-left-radius: 7px; + border-bottom-right-radius: 7px; +} + +.ui-dialog > .ui-dialog-content { + border-radius: 7px; +} + div.ui-widget-overlay { diff --git a/wcfsetup/install/files/lib/system/form/element/LabelFormElement.class.php b/wcfsetup/install/files/lib/system/form/element/LabelFormElement.class.php index 802dfa185b..aeb095137c 100644 --- a/wcfsetup/install/files/lib/system/form/element/LabelFormElement.class.php +++ b/wcfsetup/install/files/lib/system/form/element/LabelFormElement.class.php @@ -42,17 +42,13 @@ class LabelFormElement extends AbstractFormElement { */ public function getHTML($formName) { return << -
- -
-
+
+
+
{$this->getText()} -
-
-

{$this->getDescription()}

-
- + {$this->getDescription()} + + HTML; } } diff --git a/wcfsetup/install/files/lib/system/form/element/PasswordInputFormElement.class.php b/wcfsetup/install/files/lib/system/form/element/PasswordInputFormElement.class.php index e1e36395f7..4c6ba3e339 100644 --- a/wcfsetup/install/files/lib/system/form/element/PasswordInputFormElement.class.php +++ b/wcfsetup/install/files/lib/system/form/element/PasswordInputFormElement.class.php @@ -18,17 +18,13 @@ class PasswordInputFormElement extends AbstractNamedFormElement { */ public function getHTML($formName) { return << -
- -
-
- -
-
-

{$this->getDescription()}

-
- +
+
+
+ + {$this->getDescription()} +
+
HTML; } } diff --git a/wcfsetup/install/files/lib/system/form/element/TextInputFormElement.class.php b/wcfsetup/install/files/lib/system/form/element/TextInputFormElement.class.php index 01e0bdd25a..20d32088a0 100644 --- a/wcfsetup/install/files/lib/system/form/element/TextInputFormElement.class.php +++ b/wcfsetup/install/files/lib/system/form/element/TextInputFormElement.class.php @@ -18,17 +18,13 @@ class TextInputFormElement extends AbstractNamedFormElement { */ public function getHTML($formName) { return << -
- -
-
- -
-
-

{$this->getDescription()}

-
- +
+
+
+ + {$this->getDescription()} +
+
HTML; } } -- 2.20.1