Changeset 2648

Show
Ignore:
Timestamp:
10/04/08 01:48:03 (5 years ago)
Author:
rvelices
Message:

- fix tag cloud display with IE6/IE7 (without additionnal css hacks)
- collapsed several identical selectors into one

Location:
trunk/template/yoga
Files:
8 modified

Legend:

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

    r2630 r2648  
    213213} 
    214214 
    215 #fullTagCloud LI { 
    216         display: inline; 
     215#fullTagCloud SPAN { 
    217216        white-space: nowrap; 
    218217        margin: 0 2px; 
  • trunk/template/yoga/fix-ie5-ie6.css

    r2456 r2648  
    11/* $Id$ */ 
    2 /* Issues in IE from 5 to 6 only not to be used with IE7                      */ 
     2/* Issues in IE from 5 to 6 only not to be used with IE7 */ 
    33 
    44/* fix IE with another layout for thumbnails */ 
     
    2323  /**/ 
    2424} 
    25 .content UL.thumbnails INPUT { 
    26   position: absolute; 
    27   left: 2px; 
    28   top: 2px;  /* same as other browsers but not so pretty */ 
    29 } 
    30  
    3125 
    3226/* to avoid vanishing objects in IE6 */ 
  • trunk/template/yoga/fix-khtml.css

    r2356 r2648  
    1212} 
    1313 
    14 #menubar #menuTagCloud LI 
     14#menubar #menuTagCloud SPAN 
    1515{ 
    1616  display: inline-block;/* required for Safari 3.1 - otherwise overflows on the right */ 
    1717} 
    1818 
    19 /* end Safari/Konqueror */ 
    20  
  • trunk/template/yoga/menubar.css

    r2481 r2648  
    8383} 
    8484 
    85 #menubar #menuTagCloud LI 
     85#menubar #menuTagCloud SPAN 
    8686{ 
    87         display: inline; 
    88         white-space: nowrap;    /* No line break in the LI but Opera set nowrap to */ 
     87        white-space: nowrap; 
    8988} 
  • trunk/template/yoga/menubar_tags.tpl

    r2636 r2648  
    11<dt>{'Related tags'|@translate}</dt> 
    22<dd> 
    3         <ul id="menuTagCloud"> 
     3        <div id="menuTagCloud"> 
    44                {foreach from=$block->data item=tag} 
    5                 <li> 
     5                <span> 
    66                        {if !empty($tag.U_ADD) } 
    7                                 <a href="{$tag.U_ADD}" 
    8                                         title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" 
    9                                         rel="nofollow"> 
    10                                         <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> 
    11                                 </a> 
     7                        <a href="{$tag.U_ADD}" 
     8                                title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}" 
     9                                rel="nofollow"> 
     10                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" /> 
     11                        </a> 
    1212                        {/if} 
    1313                        <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a> 
    14                         </li> 
     14                </span> 
    1515                {/foreach} 
    16         </ul> 
     16        </div> 
    1717</dd> 
    1818 
  • trunk/template/yoga/picture.css

    r2630 r2648  
    3030        margin-bottom: 4px; 
    3131        padding: 0; 
     32        height: 28px; 
    3233} 
    3334 
    34 #imageToolBar { 
    35         height: 28px; 
    36 } 
    3735#imageToolBar A, #imageToolBar IMG { 
    3836        display: block; 
  • trunk/template/yoga/tags.tpl

    r2409 r2648  
    22<div id="content" class="content"> 
    33 
    4   <div class="titrePage"> 
    5     <ul class="categoryActions"> 
    6 {if $display_mode == 'letters'} 
    7       <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"/></a></li> 
    8 {/if} 
     4        <div class="titrePage"> 
     5                <ul class="categoryActions"> 
     6                {if $display_mode == 'letters'} 
     7                        <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"/></a></li> 
     8                {/if} 
    99 
    10 {if $display_mode == 'cloud'} 
    11       <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"/></a></li> 
    12 {/if} 
     10                {if $display_mode == 'cloud'} 
     11                        <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"/></a></li> 
     12                {/if} 
    1313 
    14       <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 
    15     </ul> 
    16     <h2>{'Tags'|@translate}</h2> 
     14                        <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 
     15                </ul> 
     16                <h2>{'Tags'|@translate}</h2> 
    1717  </div> 
    1818 
    1919{if isset($tags)} 
    20   {if $display_mode == 'cloud'} 
    21   <ul id="fullTagCloud"> 
    22     {foreach from=$tags item=tag} 
    23     <li><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></li> 
    24     {/foreach} 
    25   </ul> 
    26   {/if} 
     20        {if $display_mode == 'cloud'} 
     21        <div id="fullTagCloud"> 
     22                {foreach from=$tags item=tag} 
     23                <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></span> 
     24                {/foreach} 
     25        </div> 
     26        {/if} 
    2727 
    2828  {if $display_mode == 'letters'} 
  • trunk/template/yoga/theme/dark/theme.css

    r2581 r2648  
    3636        background-repeat: repeat-x; 
    3737        background-position: center; 
     38        border-top: 1px solid #000; 
    3839} 
    3940 
    4041/* borders */ 
    4142#menubar DL, .content{ 
    42         border: 1px solid #000000; 
     43        border: 1px solid #000; 
    4344} 
    4445 
    45 #imageHeaderBar { 
    46         border-top: 1px solid #000000; 
    47 } 
    4846H2, #menubar DT, #imageToolBar { 
    49         border-bottom: 1px solid #000000; 
     47        border-bottom: 1px solid #000; 
    5048} 
    5149 
     
    7169/* links */ 
    7270A, INPUT.rateButton { 
    73         color: #FFFFFF; 
     71        color: #fff; 
    7472        border: none; 
    7573}