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}
<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}
{$OUT_STACK[$config_groupkey]}
{/foreach}
@ -32,9 +32,6 @@
<script>document.getElementById('el{$config_groupkeys@iteration}').style.display = "none";</script>
{/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 *}
{foreach $OUT_STACK_REST as $out_stack_config_item}

View File

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