Changeset 5617 in subversion


Ignore:
Timestamp:
Dec 14, 2011 6:13:38 PM (18 months ago)
Author:
thomasb
Message:

Larry is growing up

Location:
trunk/roundcubemail
Files:
4 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/settings/edit_identity.inc

    r5605 r5617  
    112112 
    113113  unset($plugin); 
    114   unset($attrib['form']); 
     114  unset($attrib['form'], $attrib['id']); 
    115115 
    116116  // return the complete edit form as table 
  • trunk/roundcubemail/skins/larry/mail.css

    r5604 r5617  
    625625/**** message view ****/ 
    626626 
     627#mailpreviewframe { 
     628        display: none; 
     629        position: absolute; 
     630        top: 0; 
     631        left: 0; 
     632        width: 100%; 
     633        bottom: 28px; 
     634} 
     635 
     636#messagecontframe { 
     637        border: 0; 
     638        border-radius: 4px 4px 0 0; 
     639} 
     640 
    627641#messagecontent { 
    628642        position: absolute; 
     
    637651#messageheader, 
    638652#partheader { 
     653        position: relative; 
    639654        padding: 3px 0; 
    640655        background: #fff; 
     
    655670} 
    656671 
     672h3.subject { 
     673        font-size: 14px; 
     674        margin: 0 8em 0 0; 
     675        padding: 8px 8px 4px 8px; 
     676        white-space: nowrap; 
     677        overflow: hidden; 
     678        text-overflow: ellipsis; 
     679} 
     680 
    657681.headers-table td { 
    658682        color: #666; 
     
    695719} 
    696720 
     721#messagepreviewheader { 
     722        margin: 0 8px; 
     723        padding-bottom: 8px; 
     724        border-bottom: 2px solid #f0f0f0; 
     725} 
     726 
     727#messagepreviewheader .headers-table { 
     728        margin: 0 -8px; 
     729} 
     730 
     731#messagepreviewheader h3.subject { 
     732        padding-left: 0; 
     733} 
     734 
     735#messagepreviewheader #countcontrols, 
    697736#messageheader #countcontrols { 
    698737        position: absolute; 
     
    710749} 
    711750 
    712 #messagecontent .leftcol { 
     751#messagecontent .leftcol, 
     752#messagepreview .leftcol { 
    713753        margin-right: 250px; 
    714754} 
    715755 
    716 #messagecontent .rightcol { 
     756#messagecontent .rightcol, 
     757#messagepreview .rightcol { 
    717758        float: right; 
    718759/* 
     
    729770} 
    730771 
    731  
    732772#messagebody { 
    733773        margin: 8px; 
     
    739779} 
    740780 
    741 #message-objects div.notice { 
     781#message-objects div.notice, 
     782#message-buttons div.notice { 
     783        display: block; 
    742784        color: #960; 
    743785        border: 1px solid #ffdf0e; 
     
    761803div.message-htmlpart { 
    762804        padding: 10px 2px; 
    763         border-top: 1px solid #ccc; 
     805        border-top: 2px solid #f0f0f0; 
    764806} 
    765807 
    766808#messagebody div:first-child { 
    767809        border-top: 0; 
    768 } 
    769  
    770 div.message-part a, 
    771 div.message-htmlpart a { 
    772         color: #0000CC; 
    773810} 
    774811 
     
    813850        background: #fff; 
    814851        border: 0; 
    815         border-bottom: 2px dotted #ccc; 
     852        border-bottom: 2px solid #f0f0f0; 
    816853} 
    817854 
  • trunk/roundcubemail/skins/larry/settings.css

    r5605 r5617  
    146146} 
    147147 
     148#folderslist, 
    148149#identitieslist { 
    149150        position: absolute; 
     
    154155} 
    155156 
     157#folder-details, 
    156158#identity-details { 
    157159        position: absolute; 
     
    162164} 
    163165 
     166#subscription-table tr.root td { 
     167        font-size: 5%; 
     168        height: 5px; 
     169        padding: 2px; 
     170} 
     171 
     172#subscription-table td.subscribed { 
     173        padding: 3px 12px 3px 3px; 
     174        text-align: right; 
     175} 
     176 
  • trunk/roundcubemail/skins/larry/styles.css

    r5605 r5617  
    214214} 
    215215 
     216.pagenav a.button { 
     217        padding: 1px 3px; 
     218} 
     219 
    216220.pagenav a.button span.inner { 
    217221        display: inline-block; 
    218         width: 12px; 
    219         height: 12px; 
     222        width: 16px; 
     223        height: 13px; 
    220224        text-indent: 1000px; 
    221225        overflow: hidden; 
    222         background: url(images/buttons.png) -8px -211px no-repeat; 
     226        background: url(images/buttons.png) -6px -211px no-repeat; 
    223227} 
    224228 
    225229.pagenav a.prevpage span.inner { 
    226         background-position: -8px -226px; 
     230        background-position: -7px -226px; 
    227231} 
    228232 
    229233.pagenav a.nextpage span.inner { 
    230         background-position: -30px -226px; 
     234        background-position: -28px -226px; 
    231235} 
    232236 
    233237.pagenav a.lastpage span.inner { 
    234         background-position: -30px -211px; 
     238        background-position: -28px -211px; 
     239} 
     240 
     241.pagenav a.pageup span.inner { 
     242        background-position: -7px -256px; 
     243} 
     244 
     245.pagenav a.pagedown span.inner { 
     246        background-position: -29px -256px; 
     247} 
     248 
     249.pagenav a.viewsource span.inner { 
     250        background-position: -7px -271px; 
     251} 
     252 
     253.pagenav a.extwin span.inner { 
     254        background-position: -29px -271px; 
    235255} 
    236256 
     
    271291        color: #555; 
    272292        font-weight: bold; 
    273         padding: 6px 40px 6px 25px; 
     293        padding: 6px 30px 6px 25px; 
    274294        display: inline-block; 
    275295        white-space: nowrap; 
     
    312332        background: -ms-linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); 
    313333        background: linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); 
     334        white-space: nowrap; 
     335        overflow: hidden; 
     336        text-overflow: ellipsis; 
    314337} 
    315338 
     
    531554.listing tbody td, 
    532555.listing li { 
     556        display: block; 
    533557        font-size: 11px; 
    534         display: block; 
    535558        border-top: 1px solid #fff; 
    536559        border-bottom: 1px solid #bbd3da; 
     
    552575} 
    553576 
     577.listing tbody td { 
     578        display: table-cell; 
     579} 
     580 
    554581.listbox .listitem.selected, 
    555582.listbox .tablink.selected, 
     
    571598} 
    572599 
    573 ul.listing li.droptarget { 
     600ul.listing li.droptarget, 
     601table.listing tr.droptarget td { 
    574602        background-color: #c7e3ef; 
    575603} 
     
    612640 
    613641.boxfooter .listbutton.add .inner { 
    614         background-position: 8px -1210px; 
     642        background-position: 10px -1210px; 
    615643} 
    616644 
    617645.boxfooter .listbutton.groupactions .inner { 
    618         background-position: 4px -1292px; 
     646        background-position: 5px -1292px; 
    619647} 
    620648 
     
    640668        background: #fff; 
    641669        margin: 38px 0 20px 0; 
     670} 
     671 
     672body.iframe.fullheight { 
     673        margin: 0; 
    642674} 
    643675 
     
    688720        font-size: 14px; 
    689721        font-weight: bold; 
    690         margin-bottom: 10px; 
     722        padding-bottom: 10px; 
     723        margin-bottom: 0; 
     724} 
     725 
     726.propform fieldset fieldset legend { 
     727        color: #666; 
     728        font-size: 12px; 
    691729} 
    692730 
     
    10051043 
    10061044#rcmdraglayer { 
    1007         min-width: 300px; 
     1045        min-width: 260px; 
    10081046        width: auto !important; 
    1009         width: 300px; 
     1047        width: 260px; 
    10101048        padding: 6px 8px; 
    10111049        background: #444; 
  • trunk/roundcubemail/skins/larry/templates/identityedit.html

    r5605 r5617  
    3131<p class="formbuttons"> 
    3232        <roundcube:button command="save" type="input" class="button mainaction" label="save" /> 
    33         <roundcube:button command="delete" type="input" class="button" label="delete" condition="env:action=='edit-identity'" style="margin-left:0.5em" /> 
     33        <roundcube:button command="delete" type="input" class="button" label="delete" condition="env:action=='edit-identity'" /> 
    3434</p> 
    3535</div> 
  • trunk/roundcubemail/skins/larry/templates/mail.html

    r5605 r5617  
    44<title><roundcube:object name="pagetitle" /></title> 
    55<roundcube:include file="/includes/links.html" /> 
     6<style type="text/css"> 
     7<roundcube:if condition="config:preview_pane == true" /> 
     8        #mailview-top { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-38 : 300" />px; } 
     9        #mailview-bottom { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 320" />px; height: auto; } 
     10        #mailpreviewframe { display: block; } 
     11<roundcube:endif /> 
     12</style> 
     13 
    614</head> 
    715<body> 
     
    7583 
    7684<div id="mailview-bottom" class="uibox"> 
     85 
    7786<div id="mailpreviewframe"> 
    78  
     87<roundcube:object name="messagecontentframe" id="messagecontframe" style="width:100%; height:100%" src="/watermark.html" /> 
    7988</div> 
    8089 
     
    106115 
    107116<div id="mailboxmenu" class="popupmenu"> 
    108         <ul class="toolbarmenu"> 
     117        <ul class="toolbarmenu" id="mailboxoptionsmenu"> 
    109118                <li><roundcube:button command="expunge" type="link" label="compact" classAct="active" /></li> 
    110119                <li class="separator_below"><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> 
  • trunk/roundcubemail/skins/larry/ui.js

    r5604 r5617  
    3838//      rcmail.addEventListener('aftertoggle-editor', 'resize_compose_body_ev', rcmail_ui); 
    3939      rcmail.gui_object('message_dragmenu', 'dragmessagemenu'); 
    40       $('#mailpreviewtoggle').click(function(e){ toggle_preview_pane(e); return false }); 
     40      $('#mailpreviewtoggle').addClass($('#mailpreviewframe').is(':visible') ? 'enabled' : 'closed').click(function(e){ toggle_preview_pane(e); return false }); 
    4141      $('#maillistmode').addClass(rcmail.env.threading ? '' : 'selected').click(function(e){ switch_view_mode('list'); return false }); 
    4242      $('#mailthreadmode').addClass(rcmail.env.threading ? 'selected' : '').click(function(e){ switch_view_mode('thread'); return false }); 
     
    102102     
    103103    if (!$('#attachment-list li').length) { 
    104       $('#messagecontent div.rightcol').hide(); 
    105       $('#messagecontent .leftcol').css('margin-right', '0'); 
     104      $('div.rightcol').hide(); 
     105      $('div.leftcol').css('margin-right', '0'); 
    106106    } 
    107107  } 
     
    190190  function toggle_preview_pane(e) 
    191191  { 
    192     var button = $(e.target); 
    193     var visible = !button.hasClass('enabled'); 
    194      
     192    var button = $(e.target), 
     193      frame = $('#mailpreviewframe'), 
     194      visible = !frame.is(':visible'), 
     195      splitter = parseInt(bw.get_cookie('mailviewsplitter') || 320), 
     196      topstyles, bottomstyles, uid; 
     197 
     198    frame.toggle(); 
    195199    button.removeClass().addClass(visible ? 'enabled' : 'closed'); 
    196200 
    197 //    rcmail.command('save-pref', { name:'preview_pane', value:(visible?1:0) }); 
     201    if (visible) { 
     202      topstyles = { height:(splitter-38)+'px', bottom:'auto' }; 
     203      bottomstyles = { top:(splitter+5)+'px', height:'auto' }; 
     204      rcmail.env.contentframe = 'messagecontframe'; 
     205      if (uid = rcmail.message_list.get_single_selection()) 
     206        rcmail.show_message(uid, false, true); 
     207    } 
     208    else { 
     209      topstyles = { height:'auto', bottom:'28px' }; 
     210      bottomstyles = { top:'auto', height:'26px' }; 
     211      rcmail.env.contentframe = null; 
     212      rcmail.show_contentframe(false); 
     213    } 
     214 
     215    $('#mailview-top').css(topstyles); 
     216    $('#mailview-bottom').css(bottomstyles); 
     217 
     218    if (visible && uid && rcmail.message_list) 
     219      rcmail.message_list.scrollto(uid); 
     220 
     221    rcmail.command('save-pref', { name:'preview_pane', value:(visible?1:0) }); 
    198222  } 
    199223 
Note: See TracChangeset for help on using the changeset viewer.