Ignore:
Timestamp:
Aug 25, 2009, 9:34:42 PM (15 years ago)
Author:
vdigital
Message:

CSS and .tpl review

Location:
extensions/akBookStyle/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/akBookStyle/trunk/css/ak_style.css

    r3793 r3795  
    11table.ak_display {
     2  margin-left:10%;
    23}
    34
     
    1011}
    1112
    12 tr.nline {
    13   max-height:90px;
    14   overflow:hidden;
    15 }
    16 
    17 td.ncol {
    18   max-height:90px;
    19   max-width:90px;
    20   overflow:hidden;
    21   text-align:center;
    22   padding:2px 8px;
    23 }
    24 
    2513td.ak_pic {
    2614  min-width:640px;
    2715  text-align:center;
    28 }
    29 
    30 a.load {
    31   height:90px;
    32   width:90px;
    33 }
    34 
    35 a.load img {
    36   /* height:90px; /* No longer needed */
    37   overflow:hidden;
    3816}
    3917
     
    5129}
    5230
    53 #reload {
     31.clipwrapper {
     32  position:relative;
    5433}
    5534
    56 table.picture {
     35.clip {
     36  position:absolute;
    5737}
    58 
    5938/******************/
    6039#menubar, .titrePage {
  • extensions/akBookStyle/trunk/template/ak_thumbnails.tpl

    r3792 r3795  
    3535          {/if}
    3636          <td class="ncol">
    37             <div style="position:relative;width:{$AK_THUMBNAIL_SIZE}px;height:{$AK_THUMBNAIL_SIZE}px">
    38               <div style="position:absolute;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">
     37            <div class="clipwrapper" style="width:{$AK_THUMBNAIL_SIZE}px;height:{$AK_THUMBNAIL_SIZE}px">
     38              <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">
    3939                <a href="{$thumbnail.AK_URL}" class="load">
    4040                  <img class="thumbnail" src="{$thumbnail.TN_SRC}"
Note: See TracChangeset for help on using the changeset viewer.