Changeset 1303

Show
Ignore:
Timestamp:
01/29/07 15:55:56 (2 years ago)
Author:
james
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • peasantonline/app/views/catalog/_product_list.rhtml

    r1291 r1303  
    77                <%= link_to '<img src="/images/interface/spacer.png" height="143" width="170" border="0"/>', :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
    88                <div class="product-holder-text"> 
    9                         <% if product.tag_names.include?("new_items") %><b class="special-tag">New Arrival!</b><br/><% end %> 
    10                         <% if product.tag_names.include?("sale") %><b class="special-tag">Now On Sale!</b><br/><% end %> 
     9                        <% if product.tag_names.include?("new_items") %><b class="new-tag">New Arrival!</b><br/><% end %> 
     10                        <% if product.tag_names.include?("sale") %><b class="sale-tag">Now On Sale!</b><br/><% end %> 
    1111                                <%= link_to product.name, :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
    1212                        <%= product.short_description %> 
  • peasantonline/public/stylesheets/catalog.css

    r1291 r1303  
    229229} 
    230230 
    231 .special-tag { 
     231.sale-tag { 
    232232        padding: 0px 2px; 
    233233        background-color: #660000; 
     
    236236        color: #FFFFFF;  
    237237} 
     238 
     239.new-tag { 
     240        padding: 0px 2px; 
     241        background-color: #000066; 
     242        letter-spacing: 1px; 
     243        font-size: 12px; 
     244        color: #FFFFFF;  
     245} 
     246 
    238247.req { 
    239248border: 2px solid #EEEE66;