From a44dd9c3d3f4f4eaaf28c809ffa13bd341586f22 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 16 Apr 2016 12:50:56 +0200 Subject: [PATCH] Added proper styling for form grids --- .../install/files/acp/templates/pageList.tpl | 84 ++++++++++--------- wcfsetup/install/files/style/layout/form.scss | 12 +++ 2 files changed, 55 insertions(+), 41 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/pageList.tpl b/wcfsetup/install/files/acp/templates/pageList.tpl index 65639ca559..1972e72de7 100644 --- a/wcfsetup/install/files/acp/templates/pageList.tpl +++ b/wcfsetup/install/files/acp/templates/pageList.tpl @@ -44,59 +44,61 @@

{lang}wcf.global.filter{/lang}

-
-
-
-
-
- -
-
- -
-
-
- -
-
- -
-
-
- -
-
- -
-
-
+
+
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+
-
- -
-
-
+ +
+
+ +
+
+
+
-
- - {event name='filterFields'} -
+ +
+
-
- - {@SECURITY_TOKEN_INPUT_TAG} -
+ {event name='filterFields'} +
+ +
+ + {@SECURITY_TOKEN_INPUT_TAG}
diff --git a/wcfsetup/install/files/style/layout/form.scss b/wcfsetup/install/files/style/layout/form.scss index b8adc56af1..8732e33fc2 100644 --- a/wcfsetup/install/files/style/layout/form.scss +++ b/wcfsetup/install/files/style/layout/form.scss @@ -208,3 +208,15 @@ input { width: 100%; } } + +/* grid-based form controls */ +.formGrid { + dt { + display: none; + } + + .selectDropdown, + select { + width: 100%; + } +} -- 2.20.1