Changeset 19302 for trunk/themes/default


Ignore:
Timestamp:
Dec 6, 2012, 12:31:12 PM (12 years ago)
Author:
plg
Message:

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)

Location:
trunk/themes/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/index.tpl

    r19007 r19302  
    136136
    137137{if !empty($category_search_results)}
    138 <div style="font-size:16px;margin:10px 16px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     138<div class="category_search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    139139        <em><strong>
    140140        {foreach from=$category_search_results item=res name=res_loop}
     
    147147
    148148{if !empty($tag_search_results)}
    149 <div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     149<div class="tag_search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    150150        <em><strong>
    151151        {foreach from=$tag_search_results item=tag name=res_loop}
  • trunk/themes/default/theme.css

    r19013 r19302  
    114114.content .notification {
    115115  padding:0 25px;
     116}
     117
     118/* category and tag results paragraphs on a quick search */
     119.content .category_search_results, .content .tag_search_results {
     120  font-size: 16px;
     121  margin: 10px 16px;
    116122}
    117123
Note: See TracChangeset for help on using the changeset viewer.