From 39a98403257e4f93ef1a88a319de99b3ddf0e25b Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 8 Aug 2011 18:31:42 +0200 Subject: [PATCH] Nested definition lists and preparation for special checkbox display (unfinished) --- wcfsetup/install/files/acp/style/testing.css | 75 ++++++++++++++++--- .../acp/templates/optionTypeRadiobuttons.tpl | 22 +++--- .../files/acp/templates/optionTypeText.tpl | 2 +- .../files/acp/templates/userSearch.tpl | 66 ++++++++-------- 4 files changed, 110 insertions(+), 55 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index 78aa03db5d..6d2043c2d6 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -461,7 +461,7 @@ fieldset legend ~ p { } fieldset p.description { - color: #369; + color: #999; font-size: 90%; } @@ -477,23 +477,18 @@ fieldset > ul li { /* -- -- -- -- -- Tabbed Content -- -- -- -- -- */ +/* Simple */ + dl { clear: both; margin-bottom: 7px; } -dl small { - color: #999; - font-size: 85%; - margin: 3px 0 7px; - display: block; -} - -dl.disabled dt { +dl.disabled > dt { color: #777; } -dl dt { +dl > dt { color: #69c; float: left; text-align: right; @@ -501,10 +496,67 @@ dl dt { margin-top: 5px; /* not so nice */ } -dl dd { +dl > dd { margin-left: 250px; } +dl > dd > small { + color: #999; + font-size: 85%; + margin: 3px 0 7px; + display: block; +} + +/* Nested */ + +dl > dd > fieldset { + +} + +dl > dd > fieldset > legend { + display: none; +} + +dl > dd > fieldset > dl { + +} + +dl > dd > fieldset > dl > dt { + width: 150px; + margin-right: 20px; +} + +dl > dd > fieldset > dl > dd { + margin-left: 0; +} + +dl > dd > fieldset > dl > dd > label { + display: block; +} + +dl > dd > fieldset > dl > dd > small { + +} + +/* Reversed */ + +.reversed dt { + margin-top: 0; + text-align: left; + position: relative; + left: 270px; + width: auto; +} + +.reversed dd { + +} + +.reversed dd input { + margin-left: -10px !important; + padding: 0; +} + /* -- -- -- -- -- Forms -- -- -- -- -- */ @@ -532,6 +584,7 @@ label { .formGroup .formGroupLabel { text-align: right; + margin-top: 7px; float: left; width: 233px; } diff --git a/wcfsetup/install/files/acp/templates/optionTypeRadiobuttons.tpl b/wcfsetup/install/files/acp/templates/optionTypeRadiobuttons.tpl index 99d35a25f2..5e83fa00cb 100644 --- a/wcfsetup/install/files/acp/templates/optionTypeRadiobuttons.tpl +++ b/wcfsetup/install/files/acp/templates/optionTypeRadiobuttons.tpl @@ -1,10 +1,12 @@ - +
+
+ {foreach from=$selectOptions key=key item=selectOption} +
+ +
+ {/foreach} +
+
\ No newline at end of file diff --git a/wcfsetup/install/files/acp/templates/optionTypeText.tpl b/wcfsetup/install/files/acp/templates/optionTypeText.tpl index 6bea39bfc8..7052b00487 100644 --- a/wcfsetup/install/files/acp/templates/optionTypeText.tpl +++ b/wcfsetup/install/files/acp/templates/optionTypeText.tpl @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/wcfsetup/install/files/acp/templates/userSearch.tpl b/wcfsetup/install/files/acp/templates/userSearch.tpl index 383a96c9a2..616f922f90 100644 --- a/wcfsetup/install/files/acp/templates/userSearch.tpl +++ b/wcfsetup/install/files/acp/templates/userSearch.tpl @@ -72,39 +72,39 @@ {/if} {if $availableGroups|count} -
-
+
+
-
-
+ +
{lang}wcf.acp.user.groups{/lang} -
- {htmlCheckboxes options=$availableGroups name='groupIDs' selected=$groupIDs} - - -
+
+
{htmlCheckboxes options=$availableGroups name='groupIDs' selected=$groupIDs}
+
+ +
-
-
+ + {/if} {if $availableLanguages|count > 1} -
-
+
+
-
-
+ +
{lang}wcf.acp.user.language{/lang} -
- {htmlCheckboxes options=$availableLanguages name='languageIDs' selected=$languageIDs disableEncoding=true} -
+
+
{htmlCheckboxes options=$availableLanguages name='languageIDs' selected=$languageIDs disableEncoding=true}
+
-
-
+ + {/if} @@ -132,7 +132,7 @@ + + -- 2.20.1