From a292e4f5244a709f239d997dbe0d58493cfb01da Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 30 Jun 2014 03:19:08 -0400
Subject: [PATCH] Unify default width of resizable UI elements (#1488837)

---
 skins/larry/addressbook.css |    8 ++++----
 skins/larry/mail.css        |    8 ++++----
 skins/larry/ui.js           |    8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css
index 37b201f..08100fc 100644
--- a/skins/larry/addressbook.css
+++ b/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;
 }
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 9a70041..3c7ed77 100644
--- a/skins/larry/mail.css
+++ b/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;
 }
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index f67b422..f8c06f8 100644
--- a/skins/larry/ui.js
+++ b/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');

--
Gitblit v1.9.1