- Unified width of some (similiar) UI elements
| | |
| | | position: absolute; |
| | | top: 42px; |
| | | left: 0; |
| | | width: 280px; |
| | | width: 260px; |
| | | bottom: 0; |
| | | } |
| | | |
| | | #contacts-box { |
| | | position: absolute; |
| | | top: 42px; |
| | | left: 292px; |
| | | left: 272px; |
| | | right: 0; |
| | | bottom: 0; |
| | | } |
| | |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 240px; |
| | | width: 220px; |
| | | bottom: 0; |
| | | } |
| | | |
| | | #mailview-right { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 252px; |
| | | left: 232px; |
| | | right: 0; |
| | | bottom: 0; |
| | | } |
| | |
| | | #preferences-box { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 270px; |
| | | left: 272px; |
| | | right: 0; |
| | | bottom: 0; |
| | | } |
| | |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 300px; |
| | | width: 260px; |
| | | bottom: 0; |
| | | } |
| | | |
| | |
| | | #identity-details { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 310px; |
| | | left: 272px; |
| | | right: 0; |
| | | bottom: 0; |
| | | } |
| | |
| | | |
| | | if ($('#mailview-left').length) { |
| | | new rcube_splitter({ id:'mailviewsplitterv', p1:'#mailview-left', p2:'#mailview-right', |
| | | orientation:'v', relative:true, start:248, min:150, size:12, callback:render_mailboxlist, render:resize_leftcol }).init(); |
| | | orientation:'v', relative:true, start:226, min:150, size:12, callback:render_mailboxlist, render:resize_leftcol }).init(); |
| | | } |
| | | } |
| | | /*** settings task ***/ |
| | |
| | | |
| | | if (rcmail.env.action == 'folders') { |
| | | new rcube_splitter({ id:'folderviewsplitter', p1:'#folderslist', p2:'#folder-details', |
| | | orientation:'v', relative:true, start:305, min:150, size:12 }).init(); |
| | | orientation:'v', relative:true, start:266, min:180, size:12 }).init(); |
| | | |
| | | new rcube_scroller('#folderslist-content', '#folderslist-header', '#folderslist-footer'); |
| | | |
| | |
| | | } |
| | | else if (rcmail.env.action == 'identities') { |
| | | new rcube_splitter({ id:'identviewsplitter', p1:'#identitieslist', p2:'#identity-details', |
| | | orientation:'v', relative:true, start:305, min:150, size:12 }).init(); |
| | | orientation:'v', relative:true, start:266, min:180, size:12 }).init(); |
| | | } |
| | | } |
| | | /*** addressbook task ***/ |
| | |
| | | new rcube_splitter({ id:'addressviewsplitterd', p1:'#addressview-left', p2:'#addressview-right', |
| | | orientation:'v', relative:true, start:226, min:150, size:12, render:resize_leftcol }).init(); |
| | | new rcube_splitter({ id:'addressviewsplitter', p1:'#addresslist', p2:'#contacts-box', |
| | | orientation:'v', relative:true, start:296, min:220, size:12 }).init(); |
| | | orientation:'v', relative:true, start:266, min:220, size:12 }).init(); |
| | | |
| | | new rcube_scroller('#directorylist-content', '#directorylist-header', '#directorylist-footer'); |
| | | } |