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
This commit is contained in:
plegall
2012-12-06 11:31:12 +00:00
parent ec9072c302
commit b70a6d7709
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -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)}
<div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
<div class="category_search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
<em><strong>
{foreach from=$category_search_results item=res name=res_loop}
{if !$smarty.foreach.res_loop.first} &mdash; {/if}
@@ -146,7 +146,7 @@ jQuery("#derivativeSwitchBox").on("mouseleave", function() {
{/if}
{if !empty($tag_search_results)}
<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
<div class="tag_search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
<em><strong>
{foreach from=$tag_search_results item=tag name=res_loop}
{if !$smarty.foreach.res_loop.first} &mdash; {/if} <a href="{$tag.URL}">{$tag.name}</a>
+6
View File
@@ -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;