diff --git a/templates/2k11/admin/category.inc.tpl b/templates/2k11/admin/category.inc.tpl index bf56469b..9ed39f00 100644 --- a/templates/2k11/admin/category.inc.tpl +++ b/templates/2k11/admin/category.inc.tpl @@ -82,6 +82,8 @@
{$CONST.CATEGORY_HIDE_SUB} More + {$CONST.CATEGORY_HIDE_SUB_DESC} +
@@ -93,8 +95,6 @@
- - {$CONST.CATEGORY_HIDE_SUB_DESC}
diff --git a/templates/2k11/admin/config_template.tpl b/templates/2k11/admin/config_template.tpl index 0ea52872..467f4f70 100644 --- a/templates/2k11/admin/config_template.tpl +++ b/templates/2k11/admin/config_template.tpl @@ -26,22 +26,22 @@ {cycle assign='zebra_class' values='odd,even'} {if $item.guessedInput} {if $item.type == 'bool'} -
+
{$item.title}{if $item.description != ''} {/if} + {if $item.description != ''} + {$item.description} + {/if}
{$item.guessedInput}
- {if $item.description != ''} - {$item.description} - {/if}
{else} -
+
- {$item.guessedInput} {if $item.description != ''} {$item.description} {/if} + {$item.guessedInput}
{/if} {/if} diff --git a/templates/2k11/admin/groups.inc.tpl b/templates/2k11/admin/groups.inc.tpl index afe8af1d..142fd466 100644 --- a/templates/2k11/admin/groups.inc.tpl +++ b/templates/2k11/admin/groups.inc.tpl @@ -35,10 +35,10 @@ {if $edit} {/if} -
+
- {$CONST.GROUP_NAME_DESC} +
diff --git a/templates/2k11/admin/plugin_config_item.tpl b/templates/2k11/admin/plugin_config_item.tpl index fe0a71b1..02f00f16 100644 --- a/templates/2k11/admin/plugin_config_item.tpl +++ b/templates/2k11/admin/plugin_config_item.tpl @@ -1,8 +1,9 @@ {if $ctype == 'seperator'}
{elseif $ctype == 'select'} -
+
+ {if $cdesc != ''}{$cdesc}{/if} {* Make sure id creation actually produces unique identifiers *} - {if $cdesc != ''}{$cdesc}{/if}
{elseif $ctype == 'radio'} -
+ {$cname}{if $cdesc != ''} {/if} + {if $cdesc != ''}{$cdesc}{/if}
{foreach $radio_button AS $r}
@@ -25,20 +26,18 @@
{/foreach}
- {if $cdesc != ''}{$cdesc}{/if}
{elseif $ctype == 'string'} -
+
- {if $cdesc != ''}{$cdesc}{/if} +
{elseif (($ctype == 'html') || ($ctype == 'text'))} -
+
- - {if $cdesc != ''}{$cdesc}{/if} +
{elseif $ctype == 'content'}
@@ -54,23 +53,23 @@
{elseif $ctype == 'media'} -
+
+ {if $cdesc != ''}{$cdesc}{/if} {* This should maybe be input[type=file] *} - {if $cdesc != ''}{$cdesc}{/if} -
{$CONST.PREVIEW}
{elseif $ctype == 'sequence'} -
+ {$cname}{if $cdesc != ''} {/if} + {if $cdesc != ''}{$cdesc}{/if}
{/if} diff --git a/templates/2k11/admin/serendipity_editor.js.tpl b/templates/2k11/admin/serendipity_editor.js.tpl index 5afdf002..6ff78330 100644 --- a/templates/2k11/admin/serendipity_editor.js.tpl +++ b/templates/2k11/admin/serendipity_editor.js.tpl @@ -1297,6 +1297,9 @@ $(function() { } else { $($el.data('href')).toggleClass('additional_info'); } + if (mq_small.matches) { + $el.closest('.has_info').toggleClass('info_expanded'); + } $el.toggleClass('active'); e.preventDefault(); }); diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index 7ced0084..32386090 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -1840,7 +1840,11 @@ form > .button_link:first-of-type, .option_list .even, .configure_plugin .config_optiongroup .odd, .configure_plugin .config_optiongroup .even { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; padding-left: .4em; + padding-right: .4em; } .theme_options .odd, @@ -1881,7 +1885,7 @@ form > .button_link:first-of-type, .field_info { clear: both; display: block; - margin: .75em 0 0; + margin: .75em 0; } .installer .toggle_info { @@ -2868,7 +2872,6 @@ img.mfp-img { #hide_subcats_info { float: none; - margin: .85715em 0 0; width: 100%; } @@ -2897,7 +2900,7 @@ img.mfp-img { } .field_info { - margin: .85715em 2% 0 0; + margin: .75em 2% .75em 0; } .configuration_group .form_select select, @@ -2914,6 +2917,15 @@ img.mfp-img { max-width: 41.5%; } + .info_expanded select, + .info_expanded > input, + .info_expanded textarea, + .info_expanded .grouped, + .info_expanded .sequence_container { + position: relative; + top: -1.5em; + } + .media_choose .button_link { position: relative; top: 2px;