Changeset 9864 for trunk/admin/themes


Ignore:
Timestamp:
Mar 26, 2011, 3:29:27 PM (14 years ago)
Author:
flop25
Message:

feature:2230
the size of the squared thumbnails depend of the sizes of all the thumbnails : the clipping is an average of the clipping of each of the thumbnails

Location:
trunk/admin/themes/default
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/fix-ie7.css

    r9348 r9864  
    33#menubar { margin: 0; }
    44#footer { left: 0; }
     5
     6UL.thumbnails li.rank-of-image {
     7        text-align:left;
     8}
  • trunk/admin/themes/default/template/element_set_ranks.tpl

    r9586 r9864  
    4444    <ul class="thumbnails">
    4545      {foreach from=$thumbnails item=thumbnail}
    46       <li class="rank-of-image">
    47         <div class="clipwrapper">
     46      <li class="rank-of-image" style="width:{$thumbnail.CLIPING_li}px; height:{$thumbnail.CLIPING_li}px; ">
     47        <div class="clipwrapper" style="width:{$thumbnail.CLIPING}px; height:{$thumbnail.CLIPING}px; ">
    4848          <div class="clip" style="clip:rect({$thumbnail.CLIP_TOP}px {$thumbnail.CLIP_RIGHT}px {$thumbnail.CLIP_BOTTOM}px {$thumbnail.CLIP_LEFT}px);top:-{$thumbnail.CLIP_TOP}px;left:-{$thumbnail.CLIP_LEFT}px">
    4949            <img src="{$thumbnail.TN_SRC}" class="thumbnail" alt="">
  • trunk/admin/themes/default/theme.css

    r9815 r9864  
    5555  width: 96px;
    5656  height: 96px;
     57  margin: 3px;
    5758}
    5859.clip {
Note: See TracChangeset for help on using the changeset viewer.