/* * Label colors. Highlight background rather than change font color. */ /* Label1 Important */ treechildren::-moz-tree-row(T_24label1) { background-color: #FFCCCC !important; } treechildren::-moz-tree-cell-text(T_24label1) { color: #000 !important; } treechildren::-moz-tree-row(T_24label1, selected) { background-color: #DD0000 !important; } treechildren::-moz-tree-cell-text(T_24label1, selected) { color: #FFF !important; } /* Label2 Work */ treechildren::-moz-tree-row(T_24label2) { background-color: #FFFFCC !important; } treechildren::-moz-tree-cell-text(T_24label2) { color: #000 !important; } treechildren::-moz-tree-row(T_24label2, selected) { background-color: #DDDD00 !important; } treechildren::-moz-tree-cell-text(T_24label2, selected) { color: #FFF !important; } /* Label3 Personal */ treechildren::-moz-tree-row(T_24label3) { background-color: #99FF99 !important; } treechildren::-moz-tree-cell-text(T_24label3) { color: #000 !important; } treechildren::-moz-tree-row(T_24label3, selected) { background-color: #00CC00 !important; } treechildren::-moz-tree-cell-text(T_24label3, selected) { color: #FFF !important; } /* Label4 To Do */ treechildren::-moz-tree-row(T_24label4) { background-color: #CCCCFF !important; } treechildren::-moz-tree-cell-text(T_24label4) { color: #000 !important; } treechildren::-moz-tree-row(T_24label4, selected) { background-color: #0000DD !important; } treechildren::-moz-tree-cell-text(T_24label4, selected) { color: #FFF !important; } /* Label5 Later */ treechildren::-moz-tree-row(T_24label5) { background-color: #FFCCFF !important; } treechildren::-moz-tree-cell-text(T_24label5) { color: #000 !important; } treechildren::-moz-tree-row(T_24label5, selected) { background-color: #CC33CC !important; } treechildren::-moz-tree-cell-text(T_24label5, selected) { color: #FFF !important; } /* * Add vertical scrollbar for expanded header view */ /* #msgHeaderView { max-height: 15em !important; overflow: auto !important; } */ /* * Limit height of attachment window */ #attachmentView { -moz-appearance: none !important; height: 74px !important; overflow: auto !important; } /* * Highlight the drop folder when drag&drop mails to a folder * (Proposed patch as per Bug 668631) * https://bugzilla.mozilla.org/show_bug.cgi?id=668631 */ #folderTree treechildren::-moz-tree-cell(dropOn) { background-image: -moz-linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .45)); background-color: Highlight; border-radius: 3px; } /* * Replace priority text with icon as per * http://kb.mozillazine.org/UserChrome.js/Mail */ #priorityCol, treechildren::-moz-tree-image(priorityCol) {list-style-image: url("Priority-icons-tb.png");} treechildren::-moz-tree-image(priorityCol) {-moz-image-region: rect(0px 16px 16px 0px);} treechildren::-moz-tree-image(priorityCol, priorityNone) {-moz-image-region: rect(0px 32px 16px 16px);} treechildren::-moz-tree-image(priorityCol, priorityLowest) {-moz-image-region: rect(0px 48px 16px 32px);} treechildren::-moz-tree-image(priorityCol, priorityLow) {-moz-image-region: rect(0px 64px 16px 48px);} treechildren::-moz-tree-image(priorityCol, priorityNormal) {-moz-image-region: rect(0px 80px 16px 64px);} treechildren::-moz-tree-image(priorityCol, priorityHigh) {-moz-image-region: rect(0px 96px 16px 80px);} treechildren::-moz-tree-image(priorityCol, priorityHighest) {-moz-image-region: rect(0px 112px 16px 96px);} #priorityCol {-moz-image-region: rect(0px 128px 16px 112px); -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol-image"); padding-left: 0 !important; width: 23px; max-width: 23px;}