if (base.descendantOf('specialfolders')) {
opts.afterFinish = this._sizeFolderlist;
}
- base.firstDescendant().writeAttribute({ className: s.visible() ? 'exp' : 'col' });
+ base.firstDescendant().toggleClassName('exp').toggleClassName('col');
Effect.toggle(s, 'blind', opts);
}
},
submbox = $(submboxid),
ftype = ob.v ? (ob.co ? 'vcontainer' : 'virtual') : (ob.co ? 'container' : (ob.s ? 'special' : 'folder'));
- div = new Element('DIV', { className: ob.cl || 'base', id: fid + '_div' });
+ div = new Element('DIV', { className: 'iconDiv ' + (ob.ch ? 'exp' : (ob.cl || 'base')), id: fid + '_div' });
if (ob.i) {
div.setStyle({ backgroundImage: 'url("' + ob.i + '")' });
}
- if (ob.ch) {
- div.writeAttribute({ className: 'exp' });
- }
li = new Element('LI', { className: 'folder', id: fid, l: label, mbox: mbox, ftype: ftype }).insert(div).insert(new Element('A', { id: fid + '_label', title: label }).insert(label));
/* SplitPane styles. */
#msgSplitPane {
- background-color: #fff;
border-left: 1px silver solid;
border-right: 1px silver solid;
border-bottom: 1px silver solid;
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
cursor: n-resize;
height: 5px;
- clear: left;
+ clear: both;
z-index: 10;
}
}
#msglistHeader a {
cursor: pointer;
- display: block;
}
#msglistHeader div {
padding-top: 1px;
height: 15px;
text-indent: 1px;
}
-#msglistHeader div.sortup {
- padding-left: 0;
- background-position: 2px;
-}
-#msglistHeader div.sortup a {
- padding-left: 14px;
-}
-#msglistHeader div.sortdown {
+#msglistHeader div.sortup, #msglistHeader div.sortdown {
padding-left: 0;
background-position: 2px;
}
-#msglistHeader div.sortdown a {
+#msglistHeader div.sortup a, #msglistHeader div.sortdown a {
padding-left: 14px;
}
#msglistHeader a small {
border-left: 1px solid silver;
background: url("graphics/scroller.png") repeat-y;
}
-.sbup {
+.sbup, .sbdown {
width: 13px;
height: 16px;
border-left: 1px solid silver;
+}
+.sbup {
background-image: url("graphics/sbcursor_top.png");
}
.sbdown {
- width: 13px;
- height: 17px;
- border-left: 1px solid silver;
+ border-bottom: 1px solid silver;
background-image: url("graphics/sbcursor_bottom.png");
}
}
/* Sidebar */
-#sidebarPanel span {
- white-space: normal;
-}
#sidebarPanel a {
cursor: pointer;
- padding: 0;
-}
-#sidebarPanel a:hover {
- background: transparent;
-}
-#sidebarPanel p {
- margin: 0 0 5px;
-}
-#sidebarPanel p a {
- text-decoration: none;
- font-weight: bold;
-}
-#sidebarPanel p a img {
- padding-right: 3px;
}
#sidebarPanel .sepfull {
font-size: 1px !important;
width: 150px;
background: silver;
}
-#sidebarPanel .count, #sidebarPanel a:hover .count {
+#sidebarPanel .count {
color: silver;
}
#sidebarPanel li {
list-style: none;
width: 100%;
- height: 17px;
- line-height: 17px;
- margin: 1px 0 0;
+ height: 16px;
+ line-height: 16px;
+ padding-top: 1px;
white-space: nowrap;
}
#sidebarPanel li.folder, #sidebarPanel li.custom, #sidebarPanel li.servicelink {
- float: none;
width: 100%;
text-decoration: none;
- padding: 0;
-}
-#sidebarPanel li.custom, #sidebarPanel li.servicelink {
- display: block;
}
#sidebarPanel li a {
- padding-top: 1px;
width: 130px;
text-decoration: none;
}
-#sidebarPanel li.custom a, #sidebarPanel li.servicelink a {
- padding-top: 0;
-}
#sidebarPanel li.servicelink a {
font-weight: bold;
}
float: left;
padding: 1px 4px 0 0;
}
-#sidebarPanel li.folder a {
- display: inline;
+#sidebarPanel li.on {
+ background: #ffc;
+}
+#sidebarPanel li div {
+ cursor: pointer;
+}
+#sidebarPanel .folderlist li a {
+ width: auto;
+ overflow: hidden;
+ display: block;
+ float: none;
}
-#sidebarPanel .base, #sidebarPanel .col, #sidebarPanel .exp, #sidebarPanel .create, #sidebarPanel .drafts, #sidebarPanel .inbox, #sidebarPanel .sent, #sidebarPanel .spam, #sidebarPanel .trash, #sidebarPanel .customimg {
+#sidebarPanel li.subfolders {
+ height: auto;
+ margin: 0;
+}
+#sidebarPanel li.subfolders ul {
+ padding-left: 10px;
+}
+#sidebarPanel li a.drop {
+ border: 1px solid orange;
+ padding: 1px 1px 1px 19px;
+}
+#sidebarPanel div.iconDiv {
display: inline;
float: left;
width: 20px;
height: 100%;
background-repeat: no-repeat;
}
-#sidebarPanel .base {
+#sidebarPanel div.base {
background-image: url("graphics/folder.png");
}
-#sidebarPanel .col {
+#sidebarPanel div.col {
background-image: url("graphics/folder_minus.png");
}
-#sidebarPanel .exp {
+#sidebarPanel div.exp {
background-image: url("graphics/folder_plus.png");
}
-#sidebarPanel .create {
+#sidebarPanel div.create {
background-image: url("graphics/folder_create.png");
}
-#sidebarPanel .drafts {
+#sidebarPanel div.drafts {
background-image: url("graphics/folder_drafts.png");
}
-#sidebarPanel .inbox {
+#sidebarPanel div.inbox {
background-image: url("graphics/folder_inbox.png");
}
-#sidebarPanel .sent {
+#sidebarPanel div.sent {
background-image: url("graphics/folder_sent.png");
}
-#sidebarPanel .spam {
+#sidebarPanel div.spam {
background-image: url("graphics/folder_spam.png");
}
-#sidebarPanel .trash {
+#sidebarPanel div.trash {
background-image: url("graphics/folder_trash.png");
}
#sidebarPanel #normalfolders {
#sidebarPanel #myfolders {
display: none;
}
-#foldersSidebar {
- overflow: hidden;
-}
-#sidebarPanel .folderlist li a {
- width: auto;
- overflow: hidden;
- display: block;
- float: none;
-}
-#sidebarPanel li div {
- cursor: pointer;
-}
-#sidebarPanel li.subfolders {
- height: auto;
- margin: 0;
-}
-#sidebarPanel li.subfolders ul {
- padding-left: 10px;
-}
-#sidebarPanel li.subfolders li a {
- width: auto;
-}
-#sidebarPanel li.on {
- background: #ffc;
-}
#sidebarPanel .over a, #sidebarPanel li.folder:hover, #sidebarPanel li.custom:hover, #sidebarPanel li.servicelink:hover {
font-weight: bold;
text-decoration: underline;
}
-#sidebarPanel li a.drop {
- border: 1px solid orange;
- padding: 1px 1px 1px 19px;
+
+#foldersSidebar {
+ overflow: hidden;
}
/* Options */
}
.dimpOptions div {
cursor: pointer;
- line-height: 17px;
+ line-height: 16px;
+ padding-top: 1px;
}
.dimpOptions div a, .dimpOptions div a:visited {
text-decoration: none;
border-bottom: 1px solid #999;
}
+/* Preview pane styles. */
#previewPane {
overflow: auto;
height: 250px;
border-top: 1px silver solid;
background: #fff;
}
+#previewInfo {
+ background: transparent url(graphics/ico_message_off.png) no-repeat scroll 10px 15px;
+ line-height: 18px;
+ text-align: left;
+ padding: 15px 80px 10px 35px;
+ color: #a0a0a0;
+}
+/* Headers styles. */
.msgHeaders {
background: transparent url("graphics/backhead_r.png") repeat-x;
border-bottom: 1px #b9b9b3 solid;
.msgwrite .atcrow {
line-height: 130%;
}
-#to, #cc, #bcc, #subject {
+#to, #cc, #bcc {
width: 100%;
}
+#subject {
+ width: 40em;
+}
+
.msgwrite td.autocompleteImg {
width: 25px;
}
width: 100%;
}
-#previewInfo {
- background: transparent url(graphics/ico_message_off.png) no-repeat scroll 10px 15px;
- line-height: 18px;
- text-align: left;
- padding: 15px 80px 10px 35px;
- color: #a0a0a0;
-}
-
-.htmledit {
- display: none;
- padding: 4px;
-}
-
-#subject {
- width: 40em;
-}
-
#composeloading, #rteloading {
position: absolute;
z-index: 100;
-#sidebarPanel .base {
+#sidebarPanel div.base {
background-image: url("graphics/folder.png");
}
-#sidebarPanel .col {
+#sidebarPanel div.col {
background-image: url("graphics/folder_minus.png");
}
-#sidebarPanel .exp {
+#sidebarPanel div.exp {
background-image: url("graphics/folder_plus.png");
}
-#sidebarPanel .create {
+#sidebarPanel div.create {
background-image: url("graphics/folder_create.png");
}
-#sidebarPanel .drafts {
+#sidebarPanel div.drafts {
background-image: url("graphics/folder_drafts.png");
}
-#sidebarPanel .inbox {
+#sidebarPanel div.inbox {
background-image: url("graphics/folder_inbox.png");
}
-#sidebarPanel .sent {
+#sidebarPanel div.sent {
background-image: url("graphics/folder_sent.png");
}
-#sidebarPanel .spam {
+#sidebarPanel div.spam {
background-image: url("graphics/folder_spam.png");
}
-#sidebarPanel .trash {
+#sidebarPanel div.trash {
background-image: url("graphics/folder_trash.png");
}
+
#attach_list div, span.attachmentImg {
background-image: url("graphics/attachment.png");
}