Changeset c8dc07e in github


Ignore:
Timestamp:
Jul 5, 2012 1:20:52 PM (11 months ago)
Author:
Thomas Bruederli <thomas@…>
Children:
5a927c7
Parents:
14ee44e
Message:

Move splitter between the boxes of message list and message preview

Location:
skins/larry
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • skins/larry/mail.css

    r14ee44e rc8dc07e  
    4747        width: 100%; 
    4848        height: 26px; 
    49 } 
    50  
    51 #mailviewsplitter { 
    52         right: 30px; 
    53         width: 30px; 
    54         left: auto !important; 
    5549} 
    5650 
     
    326320        right: 256px; 
    327321        width: auto; 
    328         top: 8px; 
     322        top: 7px; 
    329323} 
    330324 
    331325#searchfilter select { 
    332         height: 24px; 
     326        height: 26px; 
    333327} 
    334328 
  • skins/larry/templates/mail.html

    r77fad16 rc8dc07e  
    66<style type="text/css"> 
    77<roundcube:if condition="config:preview_pane == true" /> 
    8         #mailview-top { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-45 : 300" />px; } 
    9         #mailview-bottom { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 320" />px; height: auto; } 
     8        #mailview-top { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-48 : 276" />px; } 
     9        #mailview-bottom { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+6 : 330" />px; height: auto; } 
    1010        #mailpreviewframe { display: block; } 
    1111<roundcube:endif /> 
  • skins/larry/ui.js

    r77fad16 rc8dc07e  
    109109 
    110110        mailviewsplit = new rcube_splitter({ id:'mailviewsplitter', p1:'#mailview-top', p2:'#mailview-bottom', 
    111           orientation:'h', relative:true, start:310, min:150, size:6, offset:-18 }); 
     111          orientation:'h', relative:true, start:310, min:150, size:12, offset:4 }); 
    112112        if (previewframe) 
    113113          mailviewsplit.init(); 
     
    172172 
    173173      var select = $(this), 
    174         height = Math.max(select.height(), 24) - 2, 
     174        height = Math.max(select.height(), 26) - 2, 
    175175        width = select.width() - 22, 
    176176        title = $('option', this).first().text(); 
     
    315315  function resize_leftcol(splitter) 
    316316  { 
    317     if (0&&splitter) 
    318       $('#quicksearchbar input').css('width', (splitter.pos - 70) + 'px'); 
     317    // STUB 
    319318  } 
    320319 
Note: See TracChangeset for help on using the changeset viewer.