mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
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:
@@ -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} — {/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} — {/if} <a href="{$tag.URL}">{$tag.name}</a>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user