summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-16 11:08:11 +0200
committerAleksander Machniak <alec@alec.pl>2014-07-16 11:08:11 +0200
commit3cb61e7528c2a8544083bf14e02ea4b9387671fb (patch)
treed162fc94ad941479a965603503c1b441673b4535 /skins
parente0492d213b4c087b7092fa6bdc3dfecbc14f9bcf (diff)
Collapsible (and iconized) folders tree in folder manager (#1489648)
Diffstat (limited to 'skins')
-rw-r--r--skins/classic/common.css154
-rw-r--r--skins/classic/mail.css146
-rw-r--r--skins/classic/settings.css30
-rw-r--r--skins/classic/templates/folders.html2
-rw-r--r--skins/classic/templates/mail.html2
-rw-r--r--skins/larry/mail.css218
-rw-r--r--skins/larry/settings.css13
-rw-r--r--skins/larry/styles.css218
-rw-r--r--skins/larry/templates/folders.html2
-rw-r--r--skins/larry/templates/mail.html2
10 files changed, 384 insertions, 403 deletions
diff --git a/skins/classic/common.css b/skins/classic/common.css
index 13f4e6483..c50d1c7af 100644
--- a/skins/classic/common.css
+++ b/skins/classic/common.css
@@ -290,9 +290,9 @@ body > #message div.loading,
body > #message div.voice
{
- position: absolute;
- top: -1000px;
- clip: rect(0 0 0 0);
+ position: absolute;
+ top: -1000px;
+ clip: rect(0 0 0 0);
}
body > #message a
@@ -766,6 +766,154 @@ ul.treelist li.droptarget
background-color: #FFFFA6;
}
+/***** folders list *****/
+
+.folderlist li ul li:last-child
+{
+ border-bottom: 0 none;
+}
+
+.folderlist li.inbox a
+{
+ background-position: 5px -18px;
+}
+
+.folderlist li.drafts a
+{
+ background-position: 5px -35px;
+}
+
+.folderlist li.sent a
+{
+ background-position: 5px -54px;
+}
+
+.folderlist li.junk a
+{
+ background-position: 5px -73px;
+}
+
+.folderlist li.trash a
+{
+ background-position: 5px -180px;
+}
+
+.folderlist li.trash.empty a
+{
+ background-position: 5px -90px;
+}
+
+.folderlist li a
+{
+ cursor: default;
+ display: block;
+ position: relative;
+ padding-left: 25px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ text-decoration: none;
+ height: 15px;
+ background: url(images/icons/folders.png) 5px 0 no-repeat;
+}
+
+.folderlist li.virtual > a
+{
+ color: #666;
+}
+
+.folderlist li.selected,
+.folderlist li.droptarget li.selected
+{
+ background-color: #929292;
+}
+
+.folderlist li.selected > a,
+.folderlist li.droptarget li.selected a
+{
+ color: #FFF;
+ font-weight: bold;
+}
+
+.folderlist li.droptarget
+{
+ background-color: #FFFFA6;
+}
+
+/* styles for nested folders */
+.folderlist ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ border-top: 1px solid #EBEBEB;
+ background-color: #FFF;
+ font-weight: normal;
+}
+
+.folderlist li.mailbox ul li a {
+ padding-left: 40px; /* 24 + 1 x 16 */
+ background-position: 20px 0; /* 4 + 1 x 16 */
+}
+.folderlist li.mailbox ul li div.treetoggle {
+ left: 23px !important;
+}
+
+.folderlist li.mailbox ul ul li.mailbox a {
+ padding-left: 56px; /* 2x */
+ background-position: 36px 0;
+}
+.folderlist li.mailbox ul ul li div.treetoggle {
+ left: 39px !important;
+}
+
+.folderlist li.mailbox ul ul ul li.mailbox a {
+ padding-left: 72px; /* 3x */
+ background-position: 52px 0;
+}
+.folderlist li.mailbox ul ul ul li div.treetoggle {
+ left: 55px !important;
+}
+
+.folderlist li.mailbox ul ul ul ul li.mailbox a {
+ padding-left: 88px; /* 4x */
+ background-position: 68px 0;
+}
+.folderlist li.mailbox ul ul ul ul li div.treetoggle {
+ left: 71px !important;
+}
+
+/* indent folders on levels > 4 */
+.folderlist li.mailbox ul ul ul ul ul li {
+ padding-left: 16px;
+}
+.folderlist li.mailbox ul ul ul ul ul li div.treetoggle {
+ left: 87px !important;
+}
+
+.folderlist li.mailbox ul li.drafts a
+{
+ background-position: 21px -37px;
+}
+
+.folderlist li.mailbox ul li.sent a
+{
+ background-position: 21px -54px;
+}
+
+.folderlist li.mailbox ul li.junk a
+{
+ background-position: 21px -73px;
+}
+
+.folderlist li.mailbox ul li.trash a
+{
+ background-position: 21px -180px;
+}
+
+.folderlist li.mailbox ul li.trash.empty a
+{
+ background-position: 21px -90px;
+}
+
/***** mac-style quicksearch field *****/
diff --git a/skins/classic/mail.css b/skins/classic/mail.css
index 58db795cb..1eeba491a 100644
--- a/skins/classic/mail.css
+++ b/skins/classic/mail.css
@@ -409,162 +409,16 @@
background-color: #FFF;
}
-#mailboxlist li ul li:last-child
-{
- border-bottom: 0 none;
-}
-
-#mailboxlist li.inbox a
-{
- background-position: 5px -18px;
-}
-
-#mailboxlist li.drafts a
-{
- background-position: 5px -37px;
-}
-
-#mailboxlist li.sent a
-{
- background-position: 5px -54px;
-}
-
-#mailboxlist li.junk a
-{
- background-position: 5px -73px;
-}
-
-#mailboxlist li.trash a
-{
- background-position: 5px -180px;
-}
-
-#mailboxlist li.trash.empty a
-{
- background-position: 5px -90px;
-}
-
-#mailboxlist li a
-{
- cursor: default;
- display: block;
- position: relative;
- padding-left: 25px;
- padding-top: 2px;
- padding-bottom: 2px;
- text-decoration: none;
- height: 15px;
- background: url(images/icons/folders.png) 5px 0 no-repeat;
-}
-
#mailboxlist li.unread
{
font-weight: bold;
}
-#mailboxlist li.virtual > a
-{
- color: #666;
-}
-
#mailboxlist li.recent > a
{
color: #0066FF;
}
-#mailboxlist li.selected,
-#mailboxlist li.droptarget li.selected
-{
- background-color: #929292;
-}
-
-#mailboxlist li.selected > a,
-#mailboxlist li.droptarget li.selected a
-{
- color: #FFF;
- font-weight: bold;
-}
-
-#mailboxlist li.droptarget
-{
- background-color: #FFFFA6;
-}
-
-/* styles for nested folders */
-#mailboxlist ul {
- list-style: none;
- padding: 0;
- margin: 0;
- border-top: 1px solid #EBEBEB;
- background-color: #FFF;
- font-weight: normal;
-}
-
-#mailboxlist li.mailbox ul li a {
- padding-left: 40px; /* 24 + 1 x 16 */
- background-position: 20px 0; /* 4 + 1 x 16 */
-}
-#mailboxlist li.mailbox ul li div.treetoggle {
- left: 23px !important;
-}
-
-#mailboxlist li.mailbox ul ul li.mailbox a {
- padding-left: 56px; /* 2x */
- background-position: 36px 0;
-}
-#mailboxlist li.mailbox ul ul li div.treetoggle {
- left: 39px !important;
-}
-
-#mailboxlist li.mailbox ul ul ul li.mailbox a {
- padding-left: 72px; /* 3x */
- background-position: 52px 0;
-}
-#mailboxlist li.mailbox ul ul ul li div.treetoggle {
- left: 55px !important;
-}
-
-#mailboxlist li.mailbox ul ul ul ul li.mailbox a {
- padding-left: 88px; /* 4x */
- background-position: 68px 0;
-}
-#mailboxlist li.mailbox ul ul ul ul li div.treetoggle {
- left: 71px !important;
-}
-
-/* indent folders on levels > 4 */
-#mailboxlist li.mailbox ul ul ul ul ul li {
- padding-left: 16px;
-}
-#mailboxlist li.mailbox ul ul ul ul ul li div.treetoggle {
- left: 87px !important;
-}
-
-#mailboxlist li.mailbox ul li.drafts a
-{
- background-position: 21px -37px;
-}
-
-#mailboxlist li.mailbox ul li.sent a
-{
- background-position: 21px -54px;
-}
-
-#mailboxlist li.mailbox ul li.junk a
-{
- background-position: 21px -73px;
-}
-
-#mailboxlist li.mailbox ul li.trash a
-{
- background-position: 21px -180px;
-}
-
-#mailboxlist li.mailbox ul li.trash.empty a
-{
- background-position: 21px -90px;
-}
-
#listcontrols
{
position: relative;
diff --git a/skins/classic/settings.css b/skins/classic/settings.css
index 3b084de87..fb4303f2b 100644
--- a/skins/classic/settings.css
+++ b/skins/classic/settings.css
@@ -23,12 +23,6 @@
font-style: italic;
}
-#subscription-table li.selected a
-{
- color: #FFF;
- background-color: #CC3333;
-}
-
#subscription-table li.root
{
font-size: 5%;
@@ -37,28 +31,16 @@
padding: 2px;
}
-#subscription-table li a.name
-{
- overflow: hidden;
- text-overflow: ellipsis;
- width: 100%;
- display: block;
- float: left;
- padding: 0 0 0 5px;
- height: 24px;
- line-height: 24px;
-}
-
-#subscription-table li input
-{
+#subscription-table li input {
position: absolute;
right: 0;
+ top: 2px;
}
-html.chrome #subscription-table li input,
-html.opera #subscription-table li input
-{
- margin-top: 6px;
+#subscription-table li a {
+ padding-right: 20px;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
#folder-box,
diff --git a/skins/classic/templates/folders.html b/skins/classic/templates/folders.html
index 66bec6243..7ca4ac49f 100644
--- a/skins/classic/templates/folders.html
+++ b/skins/classic/templates/folders.html
@@ -22,7 +22,7 @@
<div id="folderlist-title" class="boxtitle"><span class="rightalign"><roundcube:label name="subscribed" /></span><roundcube:label name="folders" /></div>
<div id="folderlist-content" class="boxlistcontent">
<roundcube:object name="foldersubscription" form="subscriptionform" id="subscription-table"
- summary="Folder subscription table" class="treelist" />
+ summary="Folder subscription table" class="treelist folderlist" />
</div>
<div id="folderlist-footer" class="boxfooter">
<roundcube:button command="create-folder" type="link" title="createfolder" class="buttonPas addgroup" classAct="button addgroup" content=" " />
diff --git a/skins/classic/templates/mail.html b/skins/classic/templates/mail.html
index b73398b95..7f1e1b8bd 100644
--- a/skins/classic/templates/mail.html
+++ b/skins/classic/templates/mail.html
@@ -24,7 +24,7 @@
<div id="mailboxlist-container">
<div id="mailboxlist-title" class="boxtitle"><roundcube:label name="mailboxlist" /></div>
<div id="mailboxlist-content" class="boxlistcontent">
-<roundcube:object name="mailboxlist" id="mailboxlist" class="treelist" folder_filter="mail" />
+ <roundcube:object name="mailboxlist" id="mailboxlist" class="treelist folderlist" folder_filter="mail" />
</div>
<div id="mailboxlist-footer" class="boxfooter">
<roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="button groupactions" onclick="rcmail_ui.show_popup('mailboxmenu');return false" content=" " />
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 2083cb9b0..05dd87749 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -137,240 +137,26 @@ a.iconbutton.threadmode.selected {
background-position: -26px -497px;
}
-#mailboxlist li.mailbox {
- position: relative;
- background-repeat: no-repeat;
- background-position: 6px 2px;
-}
-
#mailboxlist > li:first-child {
- border-radius: 4px 4px 0 0;
border-top: 0;
}
-#mailboxlist li.mailbox a {
- padding-left: 36px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- background-image: url(images/listicons.png);
- background-repeat: no-repeat;
- background-position: 6px 3px;
+html.mozilla #mailboxlist > li:first-child {
+ border-radius: 4px 4px 0 0;
}
#mailboxlist li.mailbox.unread > a {
padding-right: 36px;
}
-#mailboxlist li.mailbox > a:focus,
-#mailboxlist li.mailbox.selected > a {
- background-position: 6px -21px;
-}
-
-#mailboxlist li.mailbox.inbox > a {
- background-position: 6px -189px;
-}
-
-#mailboxlist li.mailbox.inbox > a:focus,
-#mailboxlist li.mailbox.inbox.selected > a {
- background-position: 6px -213px;
-}
-
-#mailboxlist li.mailbox.drafts > a {
- background-position: 6px -238px;
-}
-
-#mailboxlist li.mailbox.drafts > a:focus,
-#mailboxlist li.mailbox.drafts.selected > a {
- background-position: 6px -262px;
-}
-
-#mailboxlist li.mailbox.sent > a {
- background-position: 6px -286px;
-}
-
-#mailboxlist li.mailbox.sent > a:focus,
-#mailboxlist li.mailbox.sent.selected > a {
- background-position: 6px -310px;
-}
-
-#mailboxlist li.mailbox.junk > a {
- background-position: 6px -334px;
-}
-
-#mailboxlist li.mailbox.junk > a:focus,
-#mailboxlist li.mailbox.junk.selected > a {
- background-position: 6px -358px;
-}
-
-#mailboxlist li.mailbox.trash > a {
- background-position: 6px -382px;
-}
-
-#mailboxlist li.mailbox.trash > a:focus,
-#mailboxlist li.mailbox.trash.selected > a {
- background-position: 6px -406px;
-}
-
-#mailboxlist li.mailbox.trash.empty > a {
- background-position: 6px -1924px;
-}
-
-#mailboxlist li.mailbox.trash.empty > a:focus,
-#mailboxlist li.mailbox.trash.empty.selected > a {
- background-position: 6px -1948px;
-}
-
-#mailboxlist li.mailbox.archive > a {
- background-position: 6px -1699px;
-}
-
-#mailboxlist li.mailbox.archive > a:focus,
-#mailboxlist li.mailbox.archive.selected > a {
- background-position: 6px -1723px;
-}
-
-#mailboxlist li.mailbox ul li.drafts > a {
- background-position: 23px -238px;
-}
-
-#mailboxlist li.mailbox ul li.drafts > a:focus,
-#mailboxlist li.mailbox ul li.drafts.selected > a {
- background-position: 23px -262px;
-}
-
-#mailboxlist li.mailbox ul li.sent > a {
- background-position: 23px -286px;
-}
-
-#mailboxlist li.mailbox ul li.sent > a:focus,
-#mailboxlist li.mailbox ul li.sent.selected > a {
- background-position: 23px -310px;
-}
-
-#mailboxlist li.mailbox ul li.junk > a {
- background-position: 23px -334px;
-}
-
-#mailboxlist li.mailbox ul li.junk > a:focus,
-#mailboxlist li.mailbox ul li.junk.selected > a {
- background-position: 23px -358px;
-}
-
-#mailboxlist li.mailbox ul li.trash > a {
- background-position: 23px -382px;
-}
-
-#mailboxlist li.mailbox ul li.trash > a:focus,
-#mailboxlist li.mailbox ul li.trash.selected > a {
- background-position: 23px -406px;
-}
-
-#mailboxlist li.mailbox ul li.trash.empty > a {
- background-position: 23px -1924px;
-}
-
-#mailboxlist li.mailbox ul li.trash.empty > a:focus,
-#mailboxlist li.mailbox ul li.trash.empty.selected > a {
- background-position: 23px -1948px;
-}
-
-#mailboxlist li.mailbox ul li.archive > a {
- background-position: 23px -1699px;
-}
-
-#mailboxlist li.mailbox ul li.archive > a:focus,
-#mailboxlist li.mailbox ul li.archive.selected > a {
- background-position: 23px -1723px;
-}
-
#mailboxlist li.unread {
font-weight: bold;
}
-#mailboxlist li.virtual > a {
- color: #aaa;
-}
-
#mailboxlist li.recent > a {
color: #017cb4;
}
-#mailboxlist li.mailbox div.treetoggle {
- top: 13px;
- left: 19px;
-}
-
-#mailboxlist li.mailbox ul li:last-child {
- border-bottom: 0;
-}
-
-/* nested mailboxes */
-
-#mailboxlist li.mailbox ul {
- list-style: none;
- margin: 0;
- padding: 0;
- border-top: 1px solid #bbd3da;
-}
-
-#mailboxlist li.mailbox ul li a {
- padding-left: 52px; /* 36 + 1 x 16 */
- background-position: 22px -95px; /* 6 + 1 x 16 */
-}
-#mailboxlist li.mailbox ul li > a:focus,
-#mailboxlist li.mailbox ul li.selected > a {
- background-position: 22px -119px;
-}
-#mailboxlist li.mailbox ul li div.treetoggle {
- left: 33px;
- top: 14px;
-}
-
-#mailboxlist li.mailbox ul ul li.mailbox a {
- padding-left: 68px; /* 2x */
- background-position: 38px -95px;
-}
-#mailboxlist li.mailbox ul ul li > a:focus,
-#mailboxlist li.mailbox ul ul li.selected > a {
- background-position: 38px -119px;
-}
-#mailboxlist li.mailbox ul ul li div.treetoggle {
- left: 48px;
-}
-
-#mailboxlist li.mailbox ul ul ul li.mailbox a {
- padding-left: 84px; /* 3x */
- background-position: 54px -95px;
-}
-#mailboxlist li.mailbox ul ul ul li > a:focus,
-#mailboxlist li.mailbox ul ul ul li.selected > a {
- background-position: 54px -119px;
-}
-#mailboxlist li.mailbox ul ul ul li div.treetoggle {
- left: 64px;
-}
-
-#mailboxlist li.mailbox ul ul ul ul li.mailbox a {
- padding-left: 100px; /* 4x */
- background-position: 70px -95px;
-}
-#mailboxlist li.mailbox ul ul ul ul li > a:focus,
-#mailboxlist li.mailbox ul ul ul ul li.selected > a {
- background-position: 70px -119px;
-}
-#mailboxlist li.mailbox ul ul ul ul li div.treetoggle {
- left: 80px;
-}
-
-/* indent folders on levels > 4 */
-#mailboxlist li.mailbox ul ul ul ul ul li {
- padding-left: 16px;
-}
-#mailboxlist li.mailbox ul ul ul ul ul li div.treetoggle {
- left: 96px;
-}
-
#mailboxlist li.mailbox .unreadcount {
position: absolute;
top: 3px;
diff --git a/skins/larry/settings.css b/skins/larry/settings.css
index 0493e3018..03067ef70 100644
--- a/skins/larry/settings.css
+++ b/skins/larry/settings.css
@@ -251,21 +251,14 @@
padding: 2px;
}
-#subscription-table li a.name {
- overflow: hidden;
- text-overflow: ellipsis;
- width: 100%;
- float: left;
-}
-
#subscription-table li input {
position: absolute;
right: 0;
+ top: 4px;
}
-html.chrome #subscription-table li input,
-html.opera #subscription-table li input {
- margin-top: 6px;
+#subscription-table li a {
+ padding-right: 20px;
}
.skinselection {
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index b0ff04f31..5b76a4f1d 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -2606,6 +2606,224 @@ ul.toolbarmenu li span.copy {
background-position: 4px -2100px;
}
+/*** folders list ***/
+
+.folderlist li.mailbox a {
+ padding-left: 36px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ background-image: url(images/listicons.png);
+ background-repeat: no-repeat;
+ background-position: 6px 3px;
+}
+
+.folderlist li.mailbox.unread > a {
+ padding-right: 36px;
+}
+
+.folderlist li.mailbox > a:focus,
+.folderlist li.mailbox.selected > a {
+ background-position: 6px -21px;
+}
+
+.folderlist li.mailbox.inbox > a {
+ background-position: 6px -189px;
+}
+
+.folderlist li.mailbox.inbox > a:focus,
+.folderlist li.mailbox.inbox.selected > a {
+ background-position: 6px -213px;
+}
+
+.folderlist li.mailbox.drafts > a {
+ background-position: 6px -238px;
+}
+
+.folderlist li.mailbox.drafts > a:focus,
+.folderlist li.mailbox.drafts.selected > a {
+ background-position: 6px -262px;
+}
+
+.folderlist li.mailbox.sent > a {
+ background-position: 6px -286px;
+}
+
+.folderlist li.mailbox.sent > a:focus,
+.folderlist li.mailbox.sent.selected > a {
+ background-position: 6px -310px;
+}
+
+.folderlist li.mailbox.junk > a {
+ background-position: 6px -334px;
+}
+
+.folderlist li.mailbox.junk > a:focus,
+.folderlist li.mailbox.junk.selected > a {
+ background-position: 6px -358px;
+}
+
+.folderlist li.mailbox.trash > a {
+ background-position: 6px -382px;
+}
+
+.folderlist li.mailbox.trash > a:focus,
+.folderlist li.mailbox.trash.selected > a {
+ background-position: 6px -406px;
+}
+
+.folderlist li.mailbox.trash.empty > a {
+ background-position: 6px -1924px;
+}
+
+.folderlist li.mailbox.trash.empty > a:focus,
+.folderlist li.mailbox.trash.empty.selected > a {
+ background-position: 6px -1948px;
+}
+
+.folderlist li.mailbox.archive > a {
+ background-position: 6px -1699px;
+}
+
+.folderlist li.mailbox.archive > a:focus,
+.folderlist li.mailbox.archive.selected > a {
+ background-position: 6px -1723px;
+}
+
+.folderlist li.mailbox ul li.drafts > a {
+ background-position: 23px -238px;
+}
+
+.folderlist li.mailbox ul li.drafts > a:focus,
+.folderlist li.mailbox ul li.drafts.selected > a {
+ background-position: 23px -262px;
+}
+
+.folderlist li.mailbox ul li.sent > a {
+ background-position: 23px -286px;
+}
+
+.folderlist li.mailbox ul li.sent > a:focus,
+.folderlist li.mailbox ul li.sent.selected > a {
+ background-position: 23px -310px;
+}
+
+.folderlist li.mailbox ul li.junk > a {
+ background-position: 23px -334px;
+}
+
+.folderlist li.mailbox ul li.junk > a:focus,
+.folderlist li.mailbox ul li.junk.selected > a {
+ background-position: 23px -358px;
+}
+
+.folderlist li.mailbox ul li.trash > a {
+ background-position: 23px -382px;
+}
+
+.folderlist li.mailbox ul li.trash > a:focus,
+.folderlist li.mailbox ul li.trash.selected > a {
+ background-position: 23px -406px;
+}
+
+.folderlist li.mailbox ul li.trash.empty > a {
+ background-position: 23px -1924px;
+}
+
+.folderlist li.mailbox ul li.trash.empty > a:focus,
+.folderlist li.mailbox ul li.trash.empty.selected > a {
+ background-position: 23px -1948px;
+}
+
+.folderlist li.mailbox ul li.archive > a {
+ background-position: 23px -1699px;
+}
+
+.folderlist li.mailbox ul li.archive > a:focus,
+.folderlist li.mailbox ul li.archive.selected > a {
+ background-position: 23px -1723px;
+}
+
+.folderlist li.virtual > a {
+ color: #aaa;
+}
+
+.folderlist li.mailbox div.treetoggle {
+ top: 13px;
+ left: 19px;
+}
+
+.folderlist li.mailbox ul li:last-child {
+ border-bottom: 0;
+}
+
+/* nested mailboxes */
+
+.folderlist li.mailbox ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ border-top: 1px solid #bbd3da;
+}
+
+.folderlist li.mailbox ul li a {
+ padding-left: 52px; /* 36 + 1 x 16 */
+ background-position: 22px -95px; /* 6 + 1 x 16 */
+}
+.folderlist li.mailbox ul li > a:focus,
+.folderlist li.mailbox ul li.selected > a {
+ background-position: 22px -119px;
+}
+.folderlist li.mailbox ul li div.treetoggle {
+ left: 33px;
+ top: 14px;
+}
+
+.folderlist li.mailbox ul ul li.mailbox a {
+ padding-left: 68px; /* 2x */
+ background-position: 38px -95px;
+}
+.folderlist li.mailbox ul ul li > a:focus,
+.folderlist li.mailbox ul ul li.selected > a {
+ background-position: 38px -119px;
+}
+.folderlist li.mailbox ul ul li div.treetoggle {
+ left: 48px;
+}
+
+.folderlist li.mailbox ul ul ul li.mailbox a {
+ padding-left: 84px; /* 3x */
+ background-position: 54px -95px;
+}
+.folderlist li.mailbox ul ul ul li > a:focus,
+.folderlist li.mailbox ul ul ul li.selected > a {
+ background-position: 54px -119px;
+}
+.folderlist li.mailbox ul ul ul li div.treetoggle {
+ left: 64px;
+}
+
+.folderlist li.mailbox ul ul ul ul li.mailbox a {
+ padding-left: 100px; /* 4x */
+ background-position: 70px -95px;
+}
+.folderlist li.mailbox ul ul ul ul li > a:focus,
+.folderlist li.mailbox ul ul ul ul li.selected > a {
+ background-position: 70px -119px;
+}
+.folderlist li.mailbox ul ul ul ul li div.treetoggle {
+ left: 80px;
+}
+
+/* indent folders on levels > 4 */
+.folderlist li.mailbox ul ul ul ul ul li {
+ padding-left: 16px;
+}
+.folderlist li.mailbox ul ul ul ul ul li div.treetoggle {
+ left: 96px;
+}
+
+
/*** attachment list ***/
.attachmentslist {
diff --git a/skins/larry/templates/folders.html b/skins/larry/templates/folders.html
index f36479259..034f35ab3 100644
--- a/skins/larry/templates/folders.html
+++ b/skins/larry/templates/folders.html
@@ -19,7 +19,7 @@
<div id="folderslist" class="uibox listbox">
<h2 id="folderslist-header" class="boxtitle"><span style="float:right"><roundcube:label name="subscribed" /></span><roundcube:label name="folders" /></h2>
<div id="folderslist-content" class="scroller withfooter">
- <roundcube:object name="foldersubscription" form="subscriptionform" id="subscription-table" class="listing" />
+ <roundcube:object name="foldersubscription" form="subscriptionform" id="subscription-table" class="treelist listing folderlist" />
</div>
<div id="folderslist-footer" class="boxfooter">
<roundcube:button command="create-folder" type="link" title="createfolder" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" label="createfolder" /><roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="listbutton groupactions" onclick="return UI.toggle_popup('mailboxmenu',event)" innerClass="inner" content="&#9881;" aria-haspopup="true" aria-expanded="false" aria-owns="mailboxoptionsmenu" />
diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html
index f2dc6778f..6da2cf6f6 100644
--- a/skins/larry/templates/mail.html
+++ b/skins/larry/templates/mail.html
@@ -70,7 +70,7 @@
<div id="mailboxcontainer" class="uibox listbox" role="navigation" aria-labelledby="aria-label-folderlist">
<h2 id="aria-label-folderlist" class="voice"><roundcube:label name="arialabelfolderlist" /></h2>
<div id="folderlist-content" class="scroller withfooter">
-<roundcube:object name="mailboxlist" id="mailboxlist" class="treelist listing" folder_filter="mail" unreadwrap="%s" />
+ <roundcube:object name="mailboxlist" id="mailboxlist" class="treelist listing folderlist" folder_filter="mail" unreadwrap="%s" />
</div>
<div id="folderlist-footer" class="boxfooter">
<roundcube:button name="mailboxmenulink" id="mailboxmenulink" type="link" title="folderactions" class="listbutton groupactions" onclick="UI.toggle_popup('mailboxmenu',event);return false" innerClass="inner" content="&#9881;" aria-haspopup="true" aria-expanded="false" aria-owns="mailboxoptionsmenu" />