Changeset 1263


Ignore:
Timestamp:
Apr 23, 2006, 12:31:10 PM (18 years ago)
Author:
chrisaga
Message:
  • improve : caddie display : now like the thumbails in category page. Valid HTML (still an Opera issue)
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/template-common/default-layout.css

    r1261 r1263  
    2525#content UL.thumbnails SPAN,
    2626#content UL.thumbnails SPAN.wrap2 A,
     27#content UL.thumbnails SPAN.wrap2 LABEL,
    2728#content DIV.thumbnailCategory DIV.illustration {
    2829  width: 140px;                 /* max thumbnail width + 2px */
  • trunk/template/yoga/admin/element_set_global.tpl

    r1207 r1263  
    3535
    3636  <legend>{lang:Display options}</legend>
    37 
     37<!--
    3838  <p>{lang:elements per line}:
    3939      <a href="{U_COLS}&amp;cols=4">4</a>
     
    4545    | <a href="{U_COLS}&amp;cols=10">10</a>
    4646  </p>
    47 
     47-->
    4848  <p>{lang:elements per page}:
    4949      <a href="{U_DISPLAY}&amp;display=20">20</a>
     
    158158
    159159  <!-- BEGIN thumbnails -->
    160   <!--table valign="top" align="center" class="thumbnail"-->
    161   <table class="thumbnail">
     160  <ul class="thumbnails">
    162161    <!-- BEGIN line -->
    163     <tr>
    164162      <!-- BEGIN thumbnail -->
    165       <td class="thumbnail">
     163      <li><span class="wrap1"><span class="wrap2">
    166164        <label>
    167165        <img src="{thumbnails.line.thumbnail.SRC}"
    168166             alt="{thumbnails.line.thumbnail.ALT}"
    169167             title="{thumbnails.line.thumbnail.TITLE}"
    170              class="thumbLink" />
     168             class="thumbnail" />
    171169        <input type="checkbox" name="selection[]" value="{thumbnails.line.thumbnail.ID}" />
    172170        </label>
    173       </td>
     171      </span></span></li>
    174172      <!-- END thumbnail -->
    175     </tr>
    176173    <!-- END line -->
    177   </table>
     174  </ul>
    178175  <!-- END thumbnails -->
    179176
  • trunk/template/yoga/content.css

    r1261 r1263  
    5757  vertical-align: middle;       /* Ok with Opera and Geko not IE6 */
    5858}
    59 #content UL.thumbnails SPAN.wrap2 A {
     59#content UL.thumbnails SPAN.wrap2 A,
     60#content UL.thumbnails SPAN.wrap2 LABEL {
    6061  display: block;
    6162  border-bottom: none;
     
    6364#content UL.thumbnails IMG {
    6465  margin-bottom: -4px;  /* why ??? something wrong with Geko and Opera ignored by IE6*/
     66}
     67
     68/* label and input used for caddie in admin section */
     69#content UL.thumbnails SPAN.wrap2 LABEL {
     70  position: relative;
     71}
     72:root #content UL.thumbnails SPAN.wrap2 INPUT { /* hide from Opera */
     73  position: absolute;
     74  left: 0;
     75  top: 0;
    6576}
    6677
     
    7182  text-align: left;
    7283}
    73 * html #content UL.thumbnails SPAN.wrap2 A {
     84* html #content UL.thumbnails SPAN.wrap2 A,
     85* html #content UL.thumbnails SPAN.wrap2 LABEL {
    7486  overflow: visible;
    7587  position: absolute;
     
    8395    margin-top: -40%;
    8496  /**/
     97}
     98* html #content UL.thumbnails SPAN.wrap2 input {
     99  position: absolute;
     100  left: 0;
     101  top: -50%;  /* same as other browsers but not so pretty */
    85102}
    86103
     
    189206}
    190207
    191 TD.thumbnail label {
    192   position: relative;
    193 }
    194 TD.thumbnail input {
    195   position: absolute;
    196   left: 0;
    197   top: 0;
    198   background: transparent;
    199   border: none;
    200 }
    201 
    202208/* begin chronology/calendar elements*/
    203209#content DIV.calendarViews {
  • trunk/template/yoga/fix-ie5-ie6.css

    r1261 r1263  
    1111
    1212/* to get less hugly checkboxes at least in tagSelection */
    13 UL.tagSelection LI INPUT {
     13UL.tagSelection LI INPUT,
     14#content UL.thumbnails SPAN.wrap2 input {
    1415  border: none;
    1516  background-color: transparent;
Note: See TracChangeset for help on using the changeset viewer.