From b70a6d7709a9b4a222764b8b14145e5f657b5666 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 6 Dec 2012 11:31:12 +0000 Subject: improved template/css: create .tag_search_results and .category_search_results CSS class to avoid inline CSS and make customization easier (ability to hide these blocks with LocalFiles Editor) git-svn-id: http://piwigo.org/svn/trunk@19302 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/index.tpl | 4 ++-- themes/default/theme.css | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'themes') diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl index bd46a829e..aa92a215f 100644 --- a/themes/default/template/index.tpl +++ b/themes/default/template/index.tpl @@ -135,7 +135,7 @@ jQuery("#derivativeSwitchBox").on("mouseleave", function() { {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} {if !empty($category_search_results)} -
{'Album results for'|@translate} {$QUERY_SEARCH} : +
{'Album results for'|@translate} {$QUERY_SEARCH} : {foreach from=$category_search_results item=res name=res_loop} {if !$smarty.foreach.res_loop.first} — {/if} @@ -146,7 +146,7 @@ jQuery("#derivativeSwitchBox").on("mouseleave", function() { {/if} {if !empty($tag_search_results)} -
{'Tag results for'|@translate} {$QUERY_SEARCH} : +
{'Tag results for'|@translate} {$QUERY_SEARCH} : {foreach from=$tag_search_results item=tag name=res_loop} {if !$smarty.foreach.res_loop.first} — {/if} {$tag.name} diff --git a/themes/default/theme.css b/themes/default/theme.css index e05fb1a8c..b3ae0f1b5 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -115,6 +115,12 @@ padding:0 25px; } +/* category and tag results paragraphs on a quick search */ +.content .category_search_results, .content .tag_search_results { + font-size: 16px; + margin: 10px 16px; +} + /* actions */ .categoryActions { margin: 0 2px; -- cgit v1.2.3