Changeset 5617 in subversion
- Timestamp:
- Dec 14, 2011 6:13:38 PM (18 months ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 4 added
- 7 edited
-
program/steps/settings/edit_identity.inc (modified) (1 diff)
-
skins/larry/images/splitter.png (added)
-
skins/larry/mail.css (modified) (9 diffs)
-
skins/larry/settings.css (modified) (3 diffs)
-
skins/larry/styles.css (modified) (10 diffs)
-
skins/larry/templates/folderedit.html (added)
-
skins/larry/templates/folders.html (added)
-
skins/larry/templates/identityedit.html (modified) (1 diff)
-
skins/larry/templates/mail.html (modified) (3 diffs)
-
skins/larry/templates/messagepreview.html (added)
-
skins/larry/ui.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/settings/edit_identity.inc
r5605 r5617 112 112 113 113 unset($plugin); 114 unset($attrib['form'] );114 unset($attrib['form'], $attrib['id']); 115 115 116 116 // return the complete edit form as table -
trunk/roundcubemail/skins/larry/mail.css
r5604 r5617 625 625 /**** message view ****/ 626 626 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 627 641 #messagecontent { 628 642 position: absolute; … … 637 651 #messageheader, 638 652 #partheader { 653 position: relative; 639 654 padding: 3px 0; 640 655 background: #fff; … … 655 670 } 656 671 672 h3.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 657 681 .headers-table td { 658 682 color: #666; … … 695 719 } 696 720 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, 697 736 #messageheader #countcontrols { 698 737 position: absolute; … … 710 749 } 711 750 712 #messagecontent .leftcol { 751 #messagecontent .leftcol, 752 #messagepreview .leftcol { 713 753 margin-right: 250px; 714 754 } 715 755 716 #messagecontent .rightcol { 756 #messagecontent .rightcol, 757 #messagepreview .rightcol { 717 758 float: right; 718 759 /* … … 729 770 } 730 771 731 732 772 #messagebody { 733 773 margin: 8px; … … 739 779 } 740 780 741 #message-objects div.notice { 781 #message-objects div.notice, 782 #message-buttons div.notice { 783 display: block; 742 784 color: #960; 743 785 border: 1px solid #ffdf0e; … … 761 803 div.message-htmlpart { 762 804 padding: 10px 2px; 763 border-top: 1px solid #ccc;805 border-top: 2px solid #f0f0f0; 764 806 } 765 807 766 808 #messagebody div:first-child { 767 809 border-top: 0; 768 }769 770 div.message-part a,771 div.message-htmlpart a {772 color: #0000CC;773 810 } 774 811 … … 813 850 background: #fff; 814 851 border: 0; 815 border-bottom: 2px dotted #ccc;852 border-bottom: 2px solid #f0f0f0; 816 853 } 817 854 -
trunk/roundcubemail/skins/larry/settings.css
r5605 r5617 146 146 } 147 147 148 #folderslist, 148 149 #identitieslist { 149 150 position: absolute; … … 154 155 } 155 156 157 #folder-details, 156 158 #identity-details { 157 159 position: absolute; … … 162 164 } 163 165 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 214 214 } 215 215 216 .pagenav a.button { 217 padding: 1px 3px; 218 } 219 216 220 .pagenav a.button span.inner { 217 221 display: inline-block; 218 width: 1 2px;219 height: 1 2px;222 width: 16px; 223 height: 13px; 220 224 text-indent: 1000px; 221 225 overflow: hidden; 222 background: url(images/buttons.png) - 8px -211px no-repeat;226 background: url(images/buttons.png) -6px -211px no-repeat; 223 227 } 224 228 225 229 .pagenav a.prevpage span.inner { 226 background-position: - 8px -226px;230 background-position: -7px -226px; 227 231 } 228 232 229 233 .pagenav a.nextpage span.inner { 230 background-position: - 30px -226px;234 background-position: -28px -226px; 231 235 } 232 236 233 237 .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; 235 255 } 236 256 … … 271 291 color: #555; 272 292 font-weight: bold; 273 padding: 6px 40px 6px 25px;293 padding: 6px 30px 6px 25px; 274 294 display: inline-block; 275 295 white-space: nowrap; … … 312 332 background: -ms-linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); 313 333 background: linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); 334 white-space: nowrap; 335 overflow: hidden; 336 text-overflow: ellipsis; 314 337 } 315 338 … … 531 554 .listing tbody td, 532 555 .listing li { 556 display: block; 533 557 font-size: 11px; 534 display: block;535 558 border-top: 1px solid #fff; 536 559 border-bottom: 1px solid #bbd3da; … … 552 575 } 553 576 577 .listing tbody td { 578 display: table-cell; 579 } 580 554 581 .listbox .listitem.selected, 555 582 .listbox .tablink.selected, … … 571 598 } 572 599 573 ul.listing li.droptarget { 600 ul.listing li.droptarget, 601 table.listing tr.droptarget td { 574 602 background-color: #c7e3ef; 575 603 } … … 612 640 613 641 .boxfooter .listbutton.add .inner { 614 background-position: 8px -1210px;642 background-position: 10px -1210px; 615 643 } 616 644 617 645 .boxfooter .listbutton.groupactions .inner { 618 background-position: 4px -1292px;646 background-position: 5px -1292px; 619 647 } 620 648 … … 640 668 background: #fff; 641 669 margin: 38px 0 20px 0; 670 } 671 672 body.iframe.fullheight { 673 margin: 0; 642 674 } 643 675 … … 688 720 font-size: 14px; 689 721 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; 691 729 } 692 730 … … 1005 1043 1006 1044 #rcmdraglayer { 1007 min-width: 300px;1045 min-width: 260px; 1008 1046 width: auto !important; 1009 width: 300px;1047 width: 260px; 1010 1048 padding: 6px 8px; 1011 1049 background: #444; -
trunk/roundcubemail/skins/larry/templates/identityedit.html
r5605 r5617 31 31 <p class="formbuttons"> 32 32 <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'" /> 34 34 </p> 35 35 </div> -
trunk/roundcubemail/skins/larry/templates/mail.html
r5605 r5617 4 4 <title><roundcube:object name="pagetitle" /></title> 5 5 <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 6 14 </head> 7 15 <body> … … 75 83 76 84 <div id="mailview-bottom" class="uibox"> 85 77 86 <div id="mailpreviewframe"> 78 87 <roundcube:object name="messagecontentframe" id="messagecontframe" style="width:100%; height:100%" src="/watermark.html" /> 79 88 </div> 80 89 … … 106 115 107 116 <div id="mailboxmenu" class="popupmenu"> 108 <ul class="toolbarmenu" >117 <ul class="toolbarmenu" id="mailboxoptionsmenu"> 109 118 <li><roundcube:button command="expunge" type="link" label="compact" classAct="active" /></li> 110 119 <li class="separator_below"><roundcube:button command="purge" type="link" label="empty" classAct="active" /></li> -
trunk/roundcubemail/skins/larry/ui.js
r5604 r5617 38 38 // rcmail.addEventListener('aftertoggle-editor', 'resize_compose_body_ev', rcmail_ui); 39 39 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 }); 41 41 $('#maillistmode').addClass(rcmail.env.threading ? '' : 'selected').click(function(e){ switch_view_mode('list'); return false }); 42 42 $('#mailthreadmode').addClass(rcmail.env.threading ? 'selected' : '').click(function(e){ switch_view_mode('thread'); return false }); … … 102 102 103 103 if (!$('#attachment-list li').length) { 104 $(' #messagecontentdiv.rightcol').hide();105 $(' #messagecontent.leftcol').css('margin-right', '0');104 $('div.rightcol').hide(); 105 $('div.leftcol').css('margin-right', '0'); 106 106 } 107 107 } … … 190 190 function toggle_preview_pane(e) 191 191 { 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(); 195 199 button.removeClass().addClass(visible ? 'enabled' : 'closed'); 196 200 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) }); 198 222 } 199 223
Note: See TracChangeset
for help on using the changeset viewer.
