More layout fixes for plugin configuration, especially groups.

This commit is contained in:
Matthias Mees 2013-02-18 17:43:12 +01:00
parent 0ec5a237dd
commit 25c8884db9
2 changed files with 14 additions and 16 deletions

View File

@ -24,7 +24,7 @@
{foreach $config_groups AS $config_header => $config_groupkeys} {foreach $config_groups AS $config_header => $config_groupkeys}
<h2><a id="optionel{$config_groupkeys@iteration}" href="#" onClick="showConfig('el{$config_groupkeys@iteration}'); return false" title="{$CONST.TOGGLE_OPTION}">{$config_header}</a></h2> <h2><a id="optionel{$config_groupkeys@iteration}" href="#" onClick="showConfig('el{$config_groupkeys@iteration}'); return false" title="{$CONST.TOGGLE_OPTION}">{$config_header}</a></h2>
<fieldset id="el{$config_groupkeys@iteration}" class="plugin_optiongroup"> <fieldset id="el{$config_groupkeys@iteration}" class="plugin_optiongroup{if $config_groupkeys@last} plugin_optiongroup_last{/if}">
{foreach $config_groupkeys AS $config_groupkey} {foreach $config_groupkeys AS $config_groupkey}
{$OUT_STACK[$config_groupkey]} {$OUT_STACK[$config_groupkey]}
{/foreach} {/foreach}
@ -32,9 +32,6 @@
<script>document.getElementById('el{$config_groupkeys@iteration}').style.display = "none";</script> <script>document.getElementById('el{$config_groupkeys@iteration}').style.display = "none";</script>
{/foreach} {/foreach}
{* Is this really necessary? What for? *}
<div id="configuration_footer">&nbsp;</div>
{* If it is not, drop the inline style from CSS. *}
{/if} {* foreach config_groups end *} {/if} {* foreach config_groups end *}
{foreach $OUT_STACK_REST as $out_stack_config_item} {foreach $OUT_STACK_REST as $out_stack_config_item}

View File

@ -396,7 +396,7 @@ nav ol { padding: 0; }
/* replace w/ .level_inblock */ /* replace w/ .level_inblock */
.icon_link, .icon_link,
#insert_image, #insert_image,
form > a, form>a,
#user_menu li, #user_menu li,
.edit_actions li, .edit_actions li,
.actions li, .actions li,
@ -431,8 +431,8 @@ form > a,
/* replace w/ .level_block */ /* replace w/ .level_block */
.block_level, .block_level,
.form_multiselect label, .form_multiselect label,
label > span, label>span,
legend > span > span, legend>span>span,
#back_to_blog, #back_to_blog,
#meta small, #meta small,
.msg_error, .msg_error,
@ -463,7 +463,7 @@ table,
details, details,
.standalone, .standalone,
.form_buttons, .form_buttons,
form > a { form>a {
margin-top: 1.5em; margin-top: 1.5em;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
@ -800,10 +800,10 @@ optgroup {
/* BACKEND FORM STYLES /* BACKEND FORM STYLES
----------------------------------------------------------------- */ ----------------------------------------------------------------- */
label, label,
legend > span, legend>span,
figcaption { font-weight: bold; } figcaption { font-weight: bold; }
label > span, label>span,
legend>span>span, legend>span>span,
input[type=checkbox] + label, input[type=checkbox] + label,
input[type=radio] + label, input[type=radio] + label,
@ -820,6 +820,7 @@ input[type=checkbox] { margin-right: .4em; }
.form_check label { display: inline-block !important; } .form_check label { display: inline-block !important; }
.serendipity_commentDirection, .serendipity_commentDirection,
.configuration_group fieldset>fieldset,
.form_field, .form_field,
.form_area, .form_area,
.form_check, .form_check,
@ -966,7 +967,7 @@ summary {
/* LAYOUT /* LAYOUT
----------------------------------------------------------------- */ ----------------------------------------------------------------- */
#top > div, #top>div,
#main { #main {
margin: 0 auto; margin: 0 auto;
max-width: 1280px; max-width: 1280px;
@ -1171,12 +1172,12 @@ fieldset p,
.comment_data, .comment_data,
.configuration_group h3, .configuration_group h3,
form > .button_link:first-of-type { margin-top: 0; } form>.button_link:first-of-type { margin-top: 0; }
#template_options, #template_options,
#pluginlist_sidebar { margin-bottom: 3em; } #pluginlist_sidebar { margin-bottom: 3em; }
.configuration_group > fieldset { margin-bottom: 1.5em; } .configuration_group>fieldset { margin-bottom: 1.5em; }
.editor_toolbar { margin-top: .25em; } .editor_toolbar { margin-top: .25em; }
@ -1241,8 +1242,8 @@ form > .button_link:first-of-type { margin-top: 0; }
#entries_list>li, #entries_list>li,
#serendipity_comments_list>li { padding: 0 0 0 .4em; } #serendipity_comments_list>li { padding: 0 0 0 .4em; }
#categories li > ul, #categories li>ul,
#serendipity_image_folders li > ul { padding: 0 0 0 1em; } #serendipity_image_folders li>ul { padding: 0 0 0 1em; }
#categories .edit_actions li, #categories .edit_actions li,
#serendipity_image_folders .edit_actions li { padding: 0; } #serendipity_image_folders .edit_actions li { padding: 0; }
@ -1283,7 +1284,7 @@ form > .button_link:first-of-type { margin-top: 0; }
(These might go into pluginmanager.css or be merged with it.) (These might go into pluginmanager.css or be merged with it.)
----------------------------------------------------------------- */ ----------------------------------------------------------------- */
#configuration_footer { height: 100px; } .plugin_optiongroup_last { border-bottom: 1px solid #aaa; }
.plugin_count { .plugin_count {
clear: both; clear: both;