Aleksander Machniak
2014-06-30 a292e4f5244a709f239d997dbe0d58493cfb01da
Unify default width of resizable UI elements (#1488837)
3 files modified
24 ■■■■ changed files
skins/larry/addressbook.css 8 ●●●● patch | view | raw | blame | history
skins/larry/mail.css 8 ●●●● patch | view | raw | blame | history
skins/larry/ui.js 8 ●●●● patch | view | raw | blame | history
skins/larry/addressbook.css
@@ -14,7 +14,7 @@
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    width: 200px;
    bottom: 0;
    z-index: 2;
}
@@ -22,7 +22,7 @@
#addressview-right {
    position: absolute;
    top: 0;
    left: 232px;
    left: 212px;
    right: 0;
    bottom: 0;
    z-index: 3;
@@ -49,14 +49,14 @@
    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;
}
skins/larry/mail.css
@@ -14,7 +14,7 @@
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    width: 200px;
    bottom: 0;
    z-index: 2;
}
@@ -22,7 +22,7 @@
#mailview-right {
    position: absolute;
    top: 0;
    left: 232px;
    left: 212px;
    right: 0;
    bottom: 0;
    z-index: 3;
@@ -1297,14 +1297,14 @@
    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;
}
skins/larry/ui.js
@@ -214,7 +214,7 @@
          $('#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');
@@ -240,7 +240,7 @@
      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  ***/
@@ -298,9 +298,9 @@
      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');