Changeset e1eb70b in github


Ignore:
Timestamp:
Aug 29, 2008 9:20:12 AM (5 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
835a0cab
Parents:
940fc13
Message:

Fix position of collapse/expand icons (#1485302)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/include/main.inc

    rf5aa165 re1eb70b  
    10541054        'class' => join(' ', $classes), 
    10551055        'noclose' => true), 
    1056       html::div(array( 
    1057         'class' => empty($folder['folders']) ? 'nocollapse' : ($collapsed ? 'collapsed' : 'expanded'), 
    1058         'onclick' => sprintf("%s.command('collapse-folder', '%s')", JS_OBJECT_NAME, $js_name) 
    1059       ), '&nbsp;') . 
    10601056      html::a(array( 
    10611057        'href' => rcmail_url('', array('_mbox' => $folder['id'])), 
     
    10651061        'onmouseup' => sprintf("return %s.folder_mouse_up('%s')", JS_OBJECT_NAME, $js_name), 
    10661062        'title' => $title, 
    1067       ), Q($foldername))); 
     1063      ), Q($foldername)) . 
     1064      (!empty($folder['folders']) ? html::div(array( 
     1065        'class' => ($collapsed ? 'collapsed' : 'expanded'), 
     1066        'style' => "position:absolute", 
     1067        'onclick' => sprintf("%s.command('collapse-folder', '%s')", JS_OBJECT_NAME, $js_name) 
     1068      ), '&nbsp;') : '')); 
    10681069     
    10691070    if (!empty($folder['folders'])) 
  • skins/default/mail.css

    r1996d8f re1eb70b  
    267267#mailboxlist 
    268268{ 
     269  position:relative; 
    269270  width: 100%; 
    270271  height: auto; 
     
    279280#mailboxlist li 
    280281{ 
     282  display: block; 
     283  position: relative; 
    281284  font-size: 11px; 
    282285  background: url(images/icons/folder-closed.png) no-repeat; 
     
    288291{ 
    289292  position: absolute; 
    290   padding-left: 10px; 
    291   padding-top: 2px; 
    292   padding-bottom: 2px; 
    293   margin-right: 2px; 
    294   width: 12px; 
     293  left: 8px !important; 
     294  left: -16px; 
     295  top: 2px; 
     296  width: 14px; 
     297  height: 16px; 
    295298} 
    296299 
     
    340343  cursor: default; 
    341344  display: block; 
     345  position: relative; 
    342346  padding-left: 25px; 
    343347  padding-top: 2px; 
    344348  padding-bottom: 2px; 
    345349  text-decoration: none; 
    346   /* css hack for IE */ 
    347   margin-top: expression('-12px'); 
    348350} 
    349351 
Note: See TracChangeset for help on using the changeset viewer.