From 918bb927381ada0853c6a6ab959f879474dd21fa Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 15 Dec 2011 20:32:46 +0000 Subject: Give resizeable splitters to Larry --- skins/larry/mail.css | 8 +- skins/larry/settings.css | 16 +- skins/larry/styles.css | 29 ++++ skins/larry/templates/folders.html | 4 + skins/larry/templates/identities.html | 4 + skins/larry/templates/identityedit.html | 4 + skins/larry/templates/mail.html | 9 +- skins/larry/templates/settings.html | 4 + skins/larry/ui.js | 291 ++++++++++++++++++++++++++++++-- 9 files changed, 351 insertions(+), 18 deletions(-) diff --git a/skins/larry/mail.css b/skins/larry/mail.css index 04266bc49..323f31b6d 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -23,7 +23,7 @@ #mailview-right { position: absolute; top: 0; - left: 250px; + left: 252px; right: 0; bottom: 0; } @@ -44,6 +44,12 @@ height: 26px; } +#mailviewsplitter { + right: 30px; + width: 30px; + left: auto !important; +} + #mailboxcontainer, #messagelistcontainer { position: absolute; diff --git a/skins/larry/settings.css b/skins/larry/settings.css index 5f27ae7ac..05a587a8b 100644 --- a/skins/larry/settings.css +++ b/skins/larry/settings.css @@ -20,10 +20,18 @@ bottom: 0; } +#settings-right { + position: absolute; + top: 0; + left: 232px; + right: 0; + bottom: 0; +} + #sectionslist { position: absolute; top: 0; - left: 230px; + left: 0; width: 260px; bottom: 0; } @@ -31,7 +39,7 @@ #preferences-box { position: absolute; top: 0; - left: 500px; + left: 270px; right: 0; bottom: 0; } @@ -149,7 +157,7 @@ #identitieslist { position: absolute; top: 0; - left: 230px; + left: 0; width: 300px; bottom: 0; } @@ -158,7 +166,7 @@ #identity-details { position: absolute; top: 0; - left: 540px; + left: 310px; right: 0; bottom: 0; } diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 3746ee3c2..c1847f2f9 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -271,6 +271,11 @@ a.iconbutton { background: url(images/buttons.png) -1000px 0 no-repeat; } +a.iconbutton.disabled { + opacity: 0.4; + cursor: default; +} + a.iconbutton.searchoptions { background-position: -2px -337px; } @@ -540,6 +545,7 @@ a.iconbutton.reset { margin: 0; text-shadow: 1px 1px 1px #fff; border-bottom: 1px solid #bbd3da; + white-space: nowrap; } .uibox .boxtitle, @@ -1040,6 +1046,29 @@ ul.toolbarmenu li label { text-shadow: 1px 1px 1px #333; } +.splitter { + user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + position: absolute; + background: url(images/splitter.png) center no-repeat; +} + +.splitter-h { + height: 10px; + width: 100%; + cursor: n-resize; + cursor: row-resize; + background-position: center 0; +} + +.splitter-v { + width: 10px; + height: 100%; + cursor: e-resize; + cursor: col-resize; + background-position: 0 center; +} #rcmdraglayer { min-width: 260px; diff --git a/skins/larry/templates/folders.html b/skins/larry/templates/folders.html index 385d2686f..0b263e9fe 100644 --- a/skins/larry/templates/folders.html +++ b/skins/larry/templates/folders.html @@ -12,6 +12,8 @@ +
+

@@ -29,6 +31,8 @@
+
+
  • diff --git a/skins/larry/templates/identities.html b/skins/larry/templates/identities.html index 53d7539bc..905bc100a 100644 --- a/skins/larry/templates/identities.html +++ b/skins/larry/templates/identities.html @@ -12,6 +12,8 @@ +
    +

    @@ -28,6 +30,8 @@
    +
    + diff --git a/skins/larry/templates/identityedit.html b/skins/larry/templates/identityedit.html index 147098286..d31c4a6e7 100644 --- a/skins/larry/templates/identityedit.html +++ b/skins/larry/templates/identityedit.html @@ -12,6 +12,8 @@ +
    +

    @@ -39,6 +41,8 @@
    +
    + diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html index 88b7c5840..87e690b54 100644 --- a/skins/larry/templates/mail.html +++ b/skins/larry/templates/mail.html @@ -64,8 +64,13 @@
    - List - Threads + + List + Threads + + List + Threads +