Zebra striping for theme options.
TODO: Needs to be checked with a theme like BP which actually uses nested configuration groups here once all themes use the 2k11 backend.
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
|
||||
<div id="serendipity_config_options">
|
||||
{foreach $config_groups AS $config_header => $config_groupkeys}
|
||||
<div class="configuration_group">
|
||||
<div class="configuration_group {cycle values='odd,even'}">
|
||||
<h3><a id="optionel{$config_groupkeys@iteration}" class="show_config_option" href="#el{$config_groupkeys@iteration}" title="{$CONST.TOGGLE_OPTION}"><span class="icon-plus"></span> {$config_header}</a></h3>
|
||||
|
||||
<fieldset id="el{$config_groupkeys@iteration}" class="config_optiongroup{if $config_groupkeys@last} config_optiongroup_last{/if} additional_info">
|
||||
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
{foreach $OUT_STACK_REST as $out_stack_config_item}
|
||||
<div class="configuration_group">
|
||||
<div class="configuration_group {cycle values='odd,even'}">
|
||||
{$out_stack_config_item}
|
||||
</div>
|
||||
{/foreach}
|
||||
|
@ -893,6 +893,7 @@ input[type=checkbox],
|
||||
}
|
||||
|
||||
.configuration_group fieldset > fieldset,
|
||||
.theme_options .configuration_group > fieldset,
|
||||
.configuration_group .form_field,
|
||||
.configuration_group .form_area,
|
||||
.configuration_group .form_check,
|
||||
@ -904,6 +905,7 @@ input[type=checkbox],
|
||||
}
|
||||
|
||||
.configuration_group fieldset > fieldset,
|
||||
.theme_options .configuration_group > fieldset,
|
||||
.configuration_group .form_field,
|
||||
.configuration_group .form_area,
|
||||
.configuration_group .form_select,
|
||||
@ -1471,13 +1473,22 @@ form > .button_link:first-of-type {
|
||||
.zebra_list > li,
|
||||
.option_list .odd,
|
||||
.option_list .even,
|
||||
.theme_options .odd,
|
||||
.theme_options .even,
|
||||
#categories,
|
||||
#serendipity_image_folders {
|
||||
border-bottom: 1px solid #aaa;
|
||||
}
|
||||
|
||||
.theme_options > div:first-of-type {
|
||||
border-bottom: 1px solid #aaa;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.zebra_list > .odd,
|
||||
.option_list > .odd,
|
||||
.theme_options .odd,
|
||||
#categories .odd,
|
||||
#serendipity_image_folders .odd {
|
||||
background: #eee;
|
||||
|
@ -12,7 +12,7 @@
|
||||
{if $adminAction == 'configure'}
|
||||
<span class="msg_success"><span class="icon-ok-circled"></span> {$CONST.DONE}: {$save_time}</span>
|
||||
{/if}
|
||||
<form method="post" action="serendipity_admin.php">
|
||||
<form class="theme_options" method="post" action="serendipity_admin.php">
|
||||
<input name="serendipity[adminModule]" type="hidden" value="templates">
|
||||
<input name="serendipity[adminAction]" type="hidden" value="configure">
|
||||
{$form_token}
|
||||
|
Reference in New Issue
Block a user