Changeset 8362


Ignore:
Timestamp:
Dec 28, 2010, 7:56:09 PM (13 years ago)
Author:
rvelices
Message:
  • css sprites work for ie6
  • simplify/remove css
Location:
trunk/themes
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/Sylvia/theme.css

    r8306 r8362  
    136136        background:transparent url(images/menuId_sides.gif) repeat-y scroll left bottom;
    137137}
    138 #menubar #mbIdentification  .actions, #menubar #mbIdentification form  p {
     138#menubar #mbIdentification form  p {
    139139        background:transparent none repeat-y scroll left bottom;
    140140}
     
    302302        border:1px solid #ff3363;       /* thumbnails border color when mouse cursor is over it */
    303303}
    304 #comments .actions li, #comments .actions li:hover {
    305         background:transparent none;
    306         margin-right: 22px;
    307         clear:both;
    308         list-style-type:none;
    309 }
    310304.calItem {
    311305        border:1px solid #666;
  • trunk/themes/default/fix-ie5-ie6.css

    r8306 r8362  
    5151
    5252.pwg-icon {
    53         display: inline;
     53        display: block;
    5454}
  • trunk/themes/default/js/pngfix.js

    r5123 r8362  
    1111      {
    1212      var img = document.images[i]
    13       if (img.className == "button" || img.className == "icon")
     13      //if (img.className == "button" || img.className == "icon")
    1414          {
    1515          var imgName = img.src.toUpperCase()
  • trunk/themes/default/template/comment_list.tpl

    r7877 r8362  
    1313        <div class="description"{if isset($comment.IN_EDIT)} style="height:200px"{/if}>
    1414                {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
    15                 <ul class="actions" style="float:right">
     15                <div class="actions" style="float:right">
    1616                {if isset($comment.U_DELETE)}
    17                 <li>
    1817                        <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
    19                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]">
     18                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[delete]">
    2019                        </a>
    21                 </li>
    2220                {/if}
    2321                {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
    24                 <li>
    2522                        <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
    26                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]">
     23                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" alt="[edit]">
    2724                        </a>
    28                 </li>
    2925                {/if}
    3026                {if isset($comment.U_VALIDATE)}
    31                 <li>
    3227                        <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
    33                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]">
     28                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" alt="[validate]">
    3429                        </a>
    35                 </li>
    3630                {/if}
    37                 </ul>
     31                </div>
    3832                {/if}
    3933
  • trunk/themes/default/template/mainpage_categories.tpl

    r6951 r8362  
    1313                                        <a href="{$cat.URL}">{$cat.NAME}</a>
    1414                                        {if !empty($cat.icon_ts)}
    15                                         <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
     15                                        <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
    1616                                        {/if}
    1717                                </h3>
  • trunk/themes/default/template/thumbnails.tpl

    r5095 r8362  
    1313                {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
    1414                {if !empty($thumbnail.icon_ts)}
    15                 <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)">
     15                <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
    1616                {/if}
    1717                {if isset($thumbnail.NB_COMMENTS)}
  • trunk/themes/default/theme.css

    r8306 r8362  
    8080}
    8181
    82 #menubar #menuTagCloud {
     82#menuTagCloud {
    8383        text-align: center;
    8484        margin: 5px 0;
    8585}
    8686
    87 #menubar #menuTagCloud SPAN {
     87#menuTagCloud SPAN {
    8888        white-space: nowrap;
    8989        margin-right: 5px;
     
    373373}
    374374
    375 TABLE.infoTable .label {
     375.infoTable .label {
    376376        font-weight: bold;
    377377        text-align: right;
     
    379379}
    380380
    381 TABLE.infoTable TD.value UL {
    382         margin: 0;
    383         padding: 0 0 0 1.5em;
     381.infoTable UL {
     382        margin: 0;
     383        padding: 0 0 0 1em;
    384384        list-style-type: square;
    385385}
     
    586586
    587587/* button tools */
    588 .actions {
    589         text-indent: 0;
    590         list-style: none;
    591 }
    592 .actions LI {
    593         display: inline;
    594 }
    595588.actions A, .actions IMG {
    596589        border: none;
     
    723716}
    724717
    725 INPUT.text, INPUT.password, INPUT.button,
    726 INPUT.submit, INPUT.reset, INPUT.file,
    727718SELECT, TEXTAREA {
    728719        color: #000;
     
    730721}
    731722
    732 INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus {
     723INPUT:focus, SELECT:focus, TEXTAREA:focus {
    733724        background-color: #f5f5f5;      /* whitesmoke */
    734725}
     
    737728INPUT[type="radio"], INPUT[type="checkbox"] {
    738729        border: none;   /* <= Opera needs this */
    739 }
    740 
    741 INPUT.radio, INPUT.checkbox {
    742         border: none;   /* <= IE6 needs this */
    743730}
    744731
Note: See TracChangeset for help on using the changeset viewer.