Unify default width of resizable UI elements (#1488837)
| | |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 220px; |
| | | width: 200px; |
| | | bottom: 0; |
| | | z-index: 2; |
| | | } |
| | |
| | | #addressview-right { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 232px; |
| | | left: 212px; |
| | | right: 0; |
| | | bottom: 0; |
| | | z-index: 3; |
| | |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 280px; |
| | | width: 260px; |
| | | bottom: 0; |
| | | } |
| | | |
| | | #contacts-box { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 292px; |
| | | left: 272px; |
| | | right: 0; |
| | | bottom: 0; |
| | | } |
| | |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 220px; |
| | | width: 200px; |
| | | bottom: 0; |
| | | z-index: 2; |
| | | } |
| | |
| | | #mailview-right { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 232px; |
| | | left: 212px; |
| | | right: 0; |
| | | bottom: 0; |
| | | z-index: 3; |
| | |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 250px; |
| | | width: 200px; |
| | | bottom: 0; |
| | | } |
| | | |
| | | #composeview-right { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 262px; |
| | | left: 212px; |
| | | right: 0; |
| | | bottom: 0; |
| | | } |
| | |
| | | $('#composeoptionstoggle').click(); |
| | | |
| | | new rcube_splitter({ id:'composesplitterv', p1:'#composeview-left', p2:'#composeview-right', |
| | | orientation:'v', relative:true, start:248, min:170, size:12, render:layout_composeview }).init(); |
| | | orientation:'v', relative:true, start:206, min:170, size:12, render:layout_composeview }).init(); |
| | | } |
| | | else if (rcmail.env.action == 'list' || !rcmail.env.action) { |
| | | var previewframe = $('#mailpreviewframe').is(':visible'); |
| | |
| | | |
| | | if ($('#mailview-left').length) { |
| | | new rcube_splitter({ id:'mailviewsplitterv', p1:'#mailview-left', p2:'#mailview-right', |
| | | orientation:'v', relative:true, start:226, min:150, size:12, callback:render_mailboxlist, render:resize_leftcol }).init(); |
| | | orientation:'v', relative:true, start:206, min:150, size:12, callback:render_mailboxlist, render:resize_leftcol }).init(); |
| | | } |
| | | } |
| | | /*** settings task ***/ |
| | |
| | | |
| | | if (rcmail.env.action == '') { |
| | | 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(); |
| | | orientation:'v', relative:true, start:206, min:150, size:12, render:resize_leftcol }).init(); |
| | | new rcube_splitter({ id:'addressviewsplitter', p1:'#addresslist', p2:'#contacts-box', |
| | | orientation:'v', relative:true, start:286, min:270, size:12 }).init(); |
| | | orientation:'v', relative:true, start:266, min:260, size:12 }).init(); |
| | | } |
| | | |
| | | var dragmenu = $('#dragcontactmenu'); |