From 857a29bc8d8486cf7c576b56df26903a6865079d Mon Sep 17 00:00:00 2001 From: "mnyromyr%tprac.de" Date: Sat, 7 Oct 2006 01:18:45 +0000 Subject: [PATCH] Bug 342576: UI Work for Adding Tags to Messages; r=IanN, sr=Neil --- .../resources/content/mailWindowOverlay.js | 30 +- mailnews/base/resources/content/messenger.css | 4 + .../resources/content/msgHdrViewOverlay.js | 82 ++++- .../resources/content/msgHdrViewOverlay.xul | 1 + .../locale/en-US/msgHdrViewOverlay.dtd | 1 + themes/classic/messenger/messageHeader.css | 5 + themes/classic/messenger/threadPaneLabels.css | 283 +++++++++--------- themes/modern/messenger/messageHeader.css | 5 + themes/modern/messenger/threadPaneLabels.css | 281 ++++++++--------- 9 files changed, 385 insertions(+), 307 deletions(-) diff --git a/mailnews/base/resources/content/mailWindowOverlay.js b/mailnews/base/resources/content/mailWindowOverlay.js index 74bd78fe3082..c8724b3eb441 100644 --- a/mailnews/base/resources/content/mailWindowOverlay.js +++ b/mailnews/base/resources/content/mailWindowOverlay.js @@ -541,6 +541,7 @@ function RemoveAllMessageTags() msgHdr.folder.getMsgDatabase(msgWindow) .setStringProperty(msgHdr.messageKey, "keywords", ""); } + OnTagsChange(); } function ToggleMessageTagKey(index) @@ -613,31 +614,7 @@ function ToggleMessageTag(key, addKey) } if (prevHdrFolder) prevHdrFolder[toggler](messages, key); -} - -function AddTag() -{ - var args = {result: "", okCallback: AddTagCallback}; - var dialog = window.openDialog("chrome://messenger/content/newTagDialog.xul", - "", - "chrome,titlebar,modal", - args); -} - -function AddTagCallback(name, color) -{ - var tagService = Components.classes["@mozilla.org/messenger/tagservice;1"] - .getService(Components.interfaces.nsIMsgTagService); - tagService.addTag(name, color, ''); - try - { - ToggleMessageTag(tagService.getKeyForTag(name), true); - } - catch(ex) - { - return false; - } - return true; + OnTagsChange(); } function SetMessageTagLabel(menuitem, index, name) @@ -688,6 +665,9 @@ function InitMessageTags(menuPopup) var removeKey = (" " + curKeys + " ").indexOf(" " + taginfo.key + " ") > -1; newMenuItem.setAttribute('checked', removeKey); newMenuItem.setAttribute('oncommand', 'ToggleMessageTagMenu(event.target);'); + var color = taginfo.color; + if (color) + newMenuItem.setAttribute("class", "lc-" + color.substr(1)); menuPopup.insertBefore(newMenuItem, menuseparator); } } diff --git a/mailnews/base/resources/content/messenger.css b/mailnews/base/resources/content/messenger.css index adf11b8423bb..19a4fb8f5e81 100644 --- a/mailnews/base/resources/content/messenger.css +++ b/mailnews/base/resources/content/messenger.css @@ -75,6 +75,10 @@ mail-headerfield { -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-headerfield"); } +mail-tagfield { + -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-headerfield-tags"); +} + searchattribute { -moz-binding: url("chrome://messenger/content/mailWidgets.xml#searchattribute"); } diff --git a/mailnews/base/resources/content/msgHdrViewOverlay.js b/mailnews/base/resources/content/msgHdrViewOverlay.js index 3c34fe8cc8eb..65ce5e182e0e 100644 --- a/mailnews/base/resources/content/msgHdrViewOverlay.js +++ b/mailnews/base/resources/content/msgHdrViewOverlay.js @@ -21,6 +21,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): + * Karsten Düsterloh * * Alternatively, the contents of this file may be used under the terms of * either of the GNU General Public License Version 2 or later (the "GPL"), @@ -121,7 +122,8 @@ var gExpandedHeaderList = [ {name:"subject"}, {name:"cc", useToggle:true, outputFunction:OutputEmailAddresses}, {name:"bcc", useToggle:true, outputFunction:OutputEmailAddresses}, {name:"newsgroups", outputFunction:OutputNewsgroups}, - {name:"followup-to", outputFunction:OutputNewsgroups} ]; + {name:"followup-to", outputFunction:OutputNewsgroups}, + {name:"tags"}]; // Now, for each view the message pane can generate, we need a global table of headerEntries. These // header entry objects are generated dynamically based on the static date in the header lists (see above) @@ -404,6 +406,9 @@ var messageHeaderSink = { } // if lowerCaseHeaderName == "from" } // while we have more headers to parse + // process message tags as if they were headers in the message + SetTagHeader(); + if (("from" in currentHeaderData) && ("sender" in currentHeaderData) && msgHeaderParser) { var senderMailbox = kMailboxSeparator + msgHeaderParser.extractHeaderAddressMailboxes(null, @@ -524,6 +529,56 @@ var messageHeaderSink = { } }; +// Private method which generates a space delimited list of tag keys for the +// current message. This list is then stored in currentHeaderData["tags"]. +function SetTagHeader() +{ + // it would be nice if we passed in the msgHdr from the back end + var msgHdr; + try + { + msgHdr = gDBView.hdrForFirstSelectedMessage; + } + catch (ex) + { + return; // no msgHdr to add our tags to + } + + // get the list of known tags + var tagService = Components.classes["@mozilla.org/messenger/tagservice;1"] + .getService(Components.interfaces.nsIMsgTagService); + var tagArray = tagService.getAllTags({}); + var tagKeys = {}; + for each (var tagInfo in tagArray) + if (tagInfo.tag) + tagKeys[tagInfo.key] = true; + + // extract the tag keys from the msgHdr + var msgKeyArray = msgHdr.getStringProperty("keywords").split(" "); + + // attach legacy label to the front if not already there + var label = msgHdr.label; + if (label) + { + var labelKey = "$label" + label; + if (msgKeyArray.indexOf(labelKey) < 0) + msgKeyArray.unshift(labelKey); + } + + // Rebuild the keywords string with just the keys that are actual tags or + // legacy labels and not other keywords like Junk and NonJunk. + // Retain their order, though, with the label as oldest element. + for (var i = msgKeyArray.length - 1; i >= 0; --i) + if (!(msgKeyArray[i] in tagKeys)) + msgKeyArray.splice(i, 1); // remove non-tag key + var msgKeys = msgKeyArray.join(" "); + + if (msgKeys) + currentHeaderData.tags = {headerName: "tags", headerValue: msgKeys}; + else // no more tags, so clear out the header field + delete currentHeaderData.tags; +} + function EnsureSubjectValue() { if (!('subject' in currentHeaderData)) @@ -541,6 +596,31 @@ function CheckNotify() NotifyClearAddresses(); } +// Public method called by the tag front end code when the tags for the selected +// message has changed. +function OnTagsChange() +{ + // rebuild the tag headers + SetTagHeader(); + + // now update the expanded header view to rebuild the tags, + // and then show or hide the tag header box. + if (gBuiltExpandedView) + { + var headerEntry = gExpandedHeaderView.tags; + if (headerEntry) + { + headerEntry.valid = ("tags" in currentHeaderData); + if (headerEntry.valid) + headerEntry.outputFunction(headerEntry, currentHeaderData.tags.headerValue); + + // if we are showing the expanded header view then we may need to collapse or + // show the tag header box... + if (!gCollapsedHeaderViewMode) + headerEntry.enclosingBox.collapsed = !headerEntry.valid; + } + } +} // flush out any local state being held by a header entry for a given // table diff --git a/mailnews/base/resources/content/msgHdrViewOverlay.xul b/mailnews/base/resources/content/msgHdrViewOverlay.xul index 1cb5542c9155..b0bbacacea98 100644 --- a/mailnews/base/resources/content/msgHdrViewOverlay.xul +++ b/mailnews/base/resources/content/msgHdrViewOverlay.xul @@ -175,6 +175,7 @@ + diff --git a/mailnews/base/resources/locale/en-US/msgHdrViewOverlay.dtd b/mailnews/base/resources/locale/en-US/msgHdrViewOverlay.dtd index 21681e7b3470..b88fcb2aec95 100644 --- a/mailnews/base/resources/locale/en-US/msgHdrViewOverlay.dtd +++ b/mailnews/base/resources/locale/en-US/msgHdrViewOverlay.dtd @@ -48,6 +48,7 @@ + diff --git a/themes/classic/messenger/messageHeader.css b/themes/classic/messenger/messageHeader.css index 8d1246605c19..ae28d1d8efc0 100644 --- a/themes/classic/messenger/messageHeader.css +++ b/themes/classic/messenger/messageHeader.css @@ -108,6 +108,11 @@ font-weight: bold; } +.tagvalue { + margin-top: 0; + margin-left: 0; +} + /* ::::: msg header email addresses ::::: */ .emailDisplayButton { diff --git a/themes/classic/messenger/threadPaneLabels.css b/themes/classic/messenger/threadPaneLabels.css index 248922183a16..6d665278963b 100644 --- a/themes/classic/messenger/threadPaneLabels.css +++ b/themes/classic/messenger/threadPaneLabels.css @@ -22,6 +22,7 @@ * Scott MacGregor (mscott@netscape.com) * Joe Hewitt (hewitt@netscape.com) * Sean Su + * Karsten Düsterloh * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -51,504 +52,504 @@ The color definitions can be in the following formats: color: red; color: #FF0000; - color: rgb(128, 0, 0); + color: rgb(128, 0, 0); */ -treechildren::-moz-tree-cell-text(lc-FFFFFF) { +treechildren::-moz-tree-cell-text(lc-FFFFFF), .lc-FFFFFF:not([_moz-menuactive]) { color: #FFFFFF } -treechildren::-moz-tree-row(lc-FFFFFF, selected, focus) { +treechildren::-moz-tree-row(lc-FFFFFF, selected, focus), .lc-FFFFFF[_moz-menuactive] { background-color: #FFFFFF; } -treechildren::-moz-tree-cell-text(lc-CCCCCC) { +treechildren::-moz-tree-cell-text(lc-CCCCCC), .lc-CCCCCC:not([_moz-menuactive]) { color: #CCCCCC } -treechildren::-moz-tree-row(lc-CCCCCC, selected, focus) { +treechildren::-moz-tree-row(lc-CCCCCC, selected, focus), .lc-CCCCCC[_moz-menuactive] { background-color: #CCCCCC; } -treechildren::-moz-tree-cell-text(lc-C0C0C0) { +treechildren::-moz-tree-cell-text(lc-C0C0C0), .lc-C0C0C0:not([_moz-menuactive]) { color: #C0C0C0 } -treechildren::-moz-tree-row(lc-C0C0C0, selected, focus) { +treechildren::-moz-tree-row(lc-C0C0C0, selected, focus), .lc-C0C0C0[_moz-menuactive] { background-color: #C0C0C0; } -treechildren::-moz-tree-cell-text(lc-999999) { +treechildren::-moz-tree-cell-text(lc-999999), .lc-999999:not([_moz-menuactive]) { color: #999999 } -treechildren::-moz-tree-row(lc-999999, selected, focus) { +treechildren::-moz-tree-row(lc-999999, selected, focus), .lc-999999[_moz-menuactive] { background-color: #999999; } -treechildren::-moz-tree-cell-text(lc-666666) { +treechildren::-moz-tree-cell-text(lc-666666), .lc-666666:not([_moz-menuactive]) { color: #666666 } -treechildren::-moz-tree-row(lc-666666, selected, focus) { +treechildren::-moz-tree-row(lc-666666, selected, focus), .lc-666666[_moz-menuactive] { background-color: #666666; } -treechildren::-moz-tree-cell-text(lc-333333) { +treechildren::-moz-tree-cell-text(lc-333333), .lc-333333:not([_moz-menuactive]) { color: #333333 } -treechildren::-moz-tree-row(lc-333333, selected, focus) { +treechildren::-moz-tree-row(lc-333333, selected, focus), .lc-333333[_moz-menuactive] { background-color: #333333; } -treechildren::-moz-tree-cell-text(lc-000000) { +treechildren::-moz-tree-cell-text(lc-000000), .lc-000000:not([_moz-menuactive]) { color: #000000 } -treechildren::-moz-tree-row(lc-000000, selected, focus) { +treechildren::-moz-tree-row(lc-000000, selected, focus), .lc-000000[_moz-menuactive] { background-color: #000000; } -treechildren::-moz-tree-cell-text(lc-FFCCCC) { +treechildren::-moz-tree-cell-text(lc-FFCCCC), .lc-FFCCCC:not([_moz-menuactive]) { color: #FFCCCC } -treechildren::-moz-tree-row(lc-FFCCCC, selected, focus) { +treechildren::-moz-tree-row(lc-FFCCCC, selected, focus), .lc-FFCCCC[_moz-menuactive] { background-color: #FFCCCC; } -treechildren::-moz-tree-cell-text(lc-FF6666) { +treechildren::-moz-tree-cell-text(lc-FF6666), .lc-FF6666:not([_moz-menuactive]) { color: #FF6666 } -treechildren::-moz-tree-row(lc-FF6666, selected, focus) { +treechildren::-moz-tree-row(lc-FF6666, selected, focus), .lc-FF6666[_moz-menuactive] { background-color: #FF6666; } -treechildren::-moz-tree-cell-text(lc-FF0000) { +treechildren::-moz-tree-cell-text(lc-FF0000), .lc-FF0000:not([_moz-menuactive]) { color: #FF0000 } -treechildren::-moz-tree-row(lc-FF0000, selected, focus) { +treechildren::-moz-tree-row(lc-FF0000, selected, focus), .lc-FF0000[_moz-menuactive] { background-color: #FF0000; } -treechildren::-moz-tree-cell-text(lc-CC0000) { +treechildren::-moz-tree-cell-text(lc-CC0000), .lc-CC0000:not([_moz-menuactive]) { color: #CC0000 } -treechildren::-moz-tree-row(lc-CC0000, selected, focus) { +treechildren::-moz-tree-row(lc-CC0000, selected, focus), .lc-CC0000[_moz-menuactive] { background-color: #CC0000; } -treechildren::-moz-tree-cell-text(lc-990000) { +treechildren::-moz-tree-cell-text(lc-990000), .lc-990000:not([_moz-menuactive]) { color: #990000 } -treechildren::-moz-tree-row(lc-990000, selected, focus) { +treechildren::-moz-tree-row(lc-990000, selected, focus), .lc-990000[_moz-menuactive] { background-color: #990000; } -treechildren::-moz-tree-cell-text(lc-660000) { +treechildren::-moz-tree-cell-text(lc-660000), .lc-660000:not([_moz-menuactive]) { color: #660000 } -treechildren::-moz-tree-row(lc-660000, selected, focus) { +treechildren::-moz-tree-row(lc-660000, selected, focus), .lc-660000[_moz-menuactive] { background-color: #660000; } -treechildren::-moz-tree-cell-text(lc-330000) { +treechildren::-moz-tree-cell-text(lc-330000), .lc-330000:not([_moz-menuactive]) { color: #330000 } -treechildren::-moz-tree-row(lc-330000, selected, focus) { +treechildren::-moz-tree-row(lc-330000, selected, focus), .lc-330000[_moz-menuactive] { background-color: #330000; } -treechildren::-moz-tree-cell-text(lc-FFCC99) { +treechildren::-moz-tree-cell-text(lc-FFCC99), .lc-FFCC99:not([_moz-menuactive]) { color: #FFCC99 } -treechildren::-moz-tree-row(lc-FFCC99, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC99, selected, focus), .lc-FFCC99[_moz-menuactive] { background-color: #FFCC99; } -treechildren::-moz-tree-cell-text(lc-FF9966) { +treechildren::-moz-tree-cell-text(lc-FF9966), .lc-FF9966:not([_moz-menuactive]) { color: #FF9966 } -treechildren::-moz-tree-row(lc-FF9966, selected, focus) { +treechildren::-moz-tree-row(lc-FF9966, selected, focus), .lc-FF9966[_moz-menuactive] { background-color: #FF9966; } -treechildren::-moz-tree-cell-text(lc-FF9900) { +treechildren::-moz-tree-cell-text(lc-FF9900), .lc-FF9900:not([_moz-menuactive]) { color: #FF9900 } -treechildren::-moz-tree-row(lc-FF9900, selected, focus) { +treechildren::-moz-tree-row(lc-FF9900, selected, focus), .lc-FF9900[_moz-menuactive] { background-color: #FF9900; } -treechildren::-moz-tree-cell-text(lc-FF6600) { +treechildren::-moz-tree-cell-text(lc-FF6600), .lc-FF6600:not([_moz-menuactive]) { color: #FF6600 } -treechildren::-moz-tree-row(lc-FF6600, selected, focus) { +treechildren::-moz-tree-row(lc-FF6600, selected, focus), .lc-FF6600[_moz-menuactive] { background-color: #FF6600; } -treechildren::-moz-tree-cell-text(lc-CC6600) { +treechildren::-moz-tree-cell-text(lc-CC6600), .lc-CC6600:not([_moz-menuactive]) { color: #CC6600 } -treechildren::-moz-tree-row(lc-CC6600, selected, focus) { +treechildren::-moz-tree-row(lc-CC6600, selected, focus), .lc-CC6600[_moz-menuactive] { background-color: #CC6600; } -treechildren::-moz-tree-cell-text(lc-993300) { +treechildren::-moz-tree-cell-text(lc-993300), .lc-993300:not([_moz-menuactive]) { color: #993300 } -treechildren::-moz-tree-row(lc-993300, selected, focus) { +treechildren::-moz-tree-row(lc-993300, selected, focus), .lc-993300[_moz-menuactive] { background-color: #993300; } -treechildren::-moz-tree-cell-text(lc-663300) { +treechildren::-moz-tree-cell-text(lc-663300), .lc-663300:not([_moz-menuactive]) { color: #663300 } -treechildren::-moz-tree-row(lc-663300, selected, focus) { +treechildren::-moz-tree-row(lc-663300, selected, focus), .lc-663300[_moz-menuactive] { background-color: #663300; } -treechildren::-moz-tree-cell-text(lc-FFFF99) { +treechildren::-moz-tree-cell-text(lc-FFFF99), .lc-FFFF99:not([_moz-menuactive]) { color: #FFFF99 } -treechildren::-moz-tree-row(lc-FFFF99, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF99, selected, focus), .lc-FFFF99[_moz-menuactive] { background-color: #FFFF99; } -treechildren::-moz-tree-cell-text(lc-FFFF66) { +treechildren::-moz-tree-cell-text(lc-FFFF66), .lc-FFFF66:not([_moz-menuactive]) { color: #FFFF66 } -treechildren::-moz-tree-row(lc-FFFF66, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF66, selected, focus), .lc-FFFF66[_moz-menuactive] { background-color: #FFFF66; } -treechildren::-moz-tree-cell-text(lc-FFCC66) { +treechildren::-moz-tree-cell-text(lc-FFCC66), .lc-FFCC66:not([_moz-menuactive]) { color: #FFCC66 } -treechildren::-moz-tree-row(lc-FFCC66, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC66, selected, focus), .lc-FFCC66[_moz-menuactive] { background-color: #FFCC66; } -treechildren::-moz-tree-cell-text(lc-FFCC33) { +treechildren::-moz-tree-cell-text(lc-FFCC33), .lc-FFCC33:not([_moz-menuactive]) { color: #FFCC33 } -treechildren::-moz-tree-row(lc-FFCC33, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC33, selected, focus), .lc-FFCC33[_moz-menuactive] { background-color: #FFCC33; } -treechildren::-moz-tree-cell-text(lc-CC9933) { +treechildren::-moz-tree-cell-text(lc-CC9933), .lc-CC9933:not([_moz-menuactive]) { color: #CC9933 } -treechildren::-moz-tree-row(lc-CC9933, selected, focus) { +treechildren::-moz-tree-row(lc-CC9933, selected, focus), .lc-CC9933[_moz-menuactive] { background-color: #CC9933; } -treechildren::-moz-tree-cell-text(lc-996633) { +treechildren::-moz-tree-cell-text(lc-996633), .lc-996633:not([_moz-menuactive]) { color: #996633 } -treechildren::-moz-tree-row(lc-996633, selected, focus) { +treechildren::-moz-tree-row(lc-996633, selected, focus), .lc-996633[_moz-menuactive] { background-color: #996633; } -treechildren::-moz-tree-cell-text(lc-663333) { +treechildren::-moz-tree-cell-text(lc-663333), .lc-663333:not([_moz-menuactive]) { color: #663333 } -treechildren::-moz-tree-row(lc-663333, selected, focus) { +treechildren::-moz-tree-row(lc-663333, selected, focus), .lc-663333[_moz-menuactive] { background-color: #663333; } -treechildren::-moz-tree-cell-text(lc-FFFFCC) { +treechildren::-moz-tree-cell-text(lc-FFFFCC), .lc-FFFFCC:not([_moz-menuactive]) { color: #FFFFCC } -treechildren::-moz-tree-row(lc-FFFFCC, selected, focus) { +treechildren::-moz-tree-row(lc-FFFFCC, selected, focus), .lc-FFFFCC[_moz-menuactive] { background-color: #FFFFCC; } -treechildren::-moz-tree-cell-text(lc-FFFF33) { +treechildren::-moz-tree-cell-text(lc-FFFF33), .lc-FFFF33:not([_moz-menuactive]) { color: #FFFF33 } -treechildren::-moz-tree-row(lc-FFFF33, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF33, selected, focus), .lc-FFFF33[_moz-menuactive] { background-color: #FFFF33; } -treechildren::-moz-tree-cell-text(lc-FFFF00) { +treechildren::-moz-tree-cell-text(lc-FFFF00), .lc-FFFF00:not([_moz-menuactive]) { color: #FFFF00 } -treechildren::-moz-tree-row(lc-FFFF00, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF00, selected, focus), .lc-FFFF00[_moz-menuactive] { background-color: #FFFF00; } -treechildren::-moz-tree-cell-text(lc-FFCC00) { +treechildren::-moz-tree-cell-text(lc-FFCC00), .lc-FFCC00:not([_moz-menuactive]) { color: #FFCC00 } -treechildren::-moz-tree-row(lc-FFCC00, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC00, selected, focus), .lc-FFCC00[_moz-menuactive] { background-color: #FFCC00; } -treechildren::-moz-tree-cell-text(lc-999900) { +treechildren::-moz-tree-cell-text(lc-999900), .lc-999900:not([_moz-menuactive]) { color: #999900 } -treechildren::-moz-tree-row(lc-999900, selected, focus) { +treechildren::-moz-tree-row(lc-999900, selected, focus), .lc-999900[_moz-menuactive] { background-color: #999900; } -treechildren::-moz-tree-cell-text(lc-666600) { +treechildren::-moz-tree-cell-text(lc-666600), .lc-666600:not([_moz-menuactive]) { color: #666600 } -treechildren::-moz-tree-row(lc-666600, selected, focus) { +treechildren::-moz-tree-row(lc-666600, selected, focus), .lc-666600[_moz-menuactive] { background-color: #666600; } -treechildren::-moz-tree-cell-text(lc-333300) { +treechildren::-moz-tree-cell-text(lc-333300), .lc-333300:not([_moz-menuactive]) { color: #333300 } -treechildren::-moz-tree-row(lc-333300, selected, focus) { +treechildren::-moz-tree-row(lc-333300, selected, focus), .lc-333300[_moz-menuactive] { background-color: #333300; } -treechildren::-moz-tree-cell-text(lc-99FF99) { +treechildren::-moz-tree-cell-text(lc-99FF99), .lc-99FF99:not([_moz-menuactive]) { color: #99FF99 } -treechildren::-moz-tree-row(lc-99FF99, selected, focus) { +treechildren::-moz-tree-row(lc-99FF99, selected, focus), .lc-99FF99[_moz-menuactive] { background-color: #99FF99; } -treechildren::-moz-tree-cell-text(lc-66FF99) { +treechildren::-moz-tree-cell-text(lc-66FF99), .lc-66FF99:not([_moz-menuactive]) { color: #66FF99 } -treechildren::-moz-tree-row(lc-66FF99, selected, focus) { +treechildren::-moz-tree-row(lc-66FF99, selected, focus), .lc-66FF99[_moz-menuactive] { background-color: #66FF99; } -treechildren::-moz-tree-cell-text(lc-33FF33) { +treechildren::-moz-tree-cell-text(lc-33FF33), .lc-33FF33:not([_moz-menuactive]) { color: #33FF33 } -treechildren::-moz-tree-row(lc-33FF33, selected, focus) { +treechildren::-moz-tree-row(lc-33FF33, selected, focus), .lc-33FF33[_moz-menuactive] { background-color: #33FF33; } -treechildren::-moz-tree-cell-text(lc-33CC00) { +treechildren::-moz-tree-cell-text(lc-33CC00), .lc-33CC00:not([_moz-menuactive]) { color: #33CC00 } -treechildren::-moz-tree-row(lc-33CC00, selected, focus) { +treechildren::-moz-tree-row(lc-33CC00, selected, focus), .lc-33CC00[_moz-menuactive] { background-color: #33CC00; } -treechildren::-moz-tree-cell-text(lc-009900) { +treechildren::-moz-tree-cell-text(lc-009900), .lc-009900:not([_moz-menuactive]) { color: #009900 } -treechildren::-moz-tree-row(lc-009900, selected, focus) { +treechildren::-moz-tree-row(lc-009900, selected, focus), .lc-009900[_moz-menuactive] { background-color: #009900; } -treechildren::-moz-tree-cell-text(lc-006600) { +treechildren::-moz-tree-cell-text(lc-006600), .lc-006600:not([_moz-menuactive]) { color: #006600 } -treechildren::-moz-tree-row(lc-006600, selected, focus) { +treechildren::-moz-tree-row(lc-006600, selected, focus), .lc-006600[_moz-menuactive] { background-color: #006600; } -treechildren::-moz-tree-cell-text(lc-003300) { +treechildren::-moz-tree-cell-text(lc-003300), .lc-003300:not([_moz-menuactive]) { color: #003300 } -treechildren::-moz-tree-row(lc-003300, selected, focus) { +treechildren::-moz-tree-row(lc-003300, selected, focus), .lc-003300[_moz-menuactive] { background-color: #003300; } -treechildren::-moz-tree-cell-text(lc-99FFFF) { +treechildren::-moz-tree-cell-text(lc-99FFFF), .lc-99FFFF:not([_moz-menuactive]) { color: #99FFFF } -treechildren::-moz-tree-row(lc-99FFFF, selected, focus) { +treechildren::-moz-tree-row(lc-99FFFF, selected, focus), .lc-99FFFF[_moz-menuactive] { background-color: #99FFFF; } -treechildren::-moz-tree-cell-text(lc-33FFFF) { +treechildren::-moz-tree-cell-text(lc-33FFFF), .lc-33FFFF:not([_moz-menuactive]) { color: #33FFFF } -treechildren::-moz-tree-row(lc-33FFFF, selected, focus) { +treechildren::-moz-tree-row(lc-33FFFF, selected, focus), .lc-33FFFF[_moz-menuactive] { background-color: #33FFFF; } -treechildren::-moz-tree-cell-text(lc-66CCCC) { +treechildren::-moz-tree-cell-text(lc-66CCCC), .lc-66CCCC:not([_moz-menuactive]) { color: #66CCCC } -treechildren::-moz-tree-row(lc-66CCCC, selected, focus) { +treechildren::-moz-tree-row(lc-66CCCC, selected, focus), .lc-66CCCC[_moz-menuactive] { background-color: #66CCCC; } -treechildren::-moz-tree-cell-text(lc-00CCCC) { +treechildren::-moz-tree-cell-text(lc-00CCCC), .lc-00CCCC:not([_moz-menuactive]) { color: #00CCCC } -treechildren::-moz-tree-row(lc-00CCCC, selected, focus) { +treechildren::-moz-tree-row(lc-00CCCC, selected, focus), .lc-00CCCC[_moz-menuactive] { background-color: #00CCCC; } -treechildren::-moz-tree-cell-text(lc-339999) { +treechildren::-moz-tree-cell-text(lc-339999), .lc-339999:not([_moz-menuactive]) { color: #339999 } -treechildren::-moz-tree-row(lc-339999, selected, focus) { +treechildren::-moz-tree-row(lc-339999, selected, focus), .lc-339999[_moz-menuactive] { background-color: #339999; } -treechildren::-moz-tree-cell-text(lc-336666) { +treechildren::-moz-tree-cell-text(lc-336666), .lc-336666:not([_moz-menuactive]) { color: #336666 } -treechildren::-moz-tree-row(lc-336666, selected, focus) { +treechildren::-moz-tree-row(lc-336666, selected, focus), .lc-336666[_moz-menuactive] { background-color: #336666; } -treechildren::-moz-tree-cell-text(lc-003333) { +treechildren::-moz-tree-cell-text(lc-003333), .lc-003333:not([_moz-menuactive]) { color: #003333 } -treechildren::-moz-tree-row(lc-003333, selected, focus) { +treechildren::-moz-tree-row(lc-003333, selected, focus), .lc-003333[_moz-menuactive] { background-color: #003333; } -treechildren::-moz-tree-cell-text(lc-CCFFFF) { +treechildren::-moz-tree-cell-text(lc-CCFFFF), .lc-CCFFFF:not([_moz-menuactive]) { color: #CCFFFF } -treechildren::-moz-tree-row(lc-CCFFFF, selected, focus) { +treechildren::-moz-tree-row(lc-CCFFFF, selected, focus), .lc-CCFFFF[_moz-menuactive] { background-color: #CCFFFF; } -treechildren::-moz-tree-cell-text(lc-66FFFF) { +treechildren::-moz-tree-cell-text(lc-66FFFF), .lc-66FFFF:not([_moz-menuactive]) { color: #66FFFF } -treechildren::-moz-tree-row(lc-66FFFF, selected, focus) { +treechildren::-moz-tree-row(lc-66FFFF, selected, focus), .lc-66FFFF[_moz-menuactive] { background-color: #66FFFF; } -treechildren::-moz-tree-cell-text(lc-33CCFF) { +treechildren::-moz-tree-cell-text(lc-33CCFF), .lc-33CCFF:not([_moz-menuactive]) { color: #33CCFF } -treechildren::-moz-tree-row(lc-33CCFF, selected, focus) { +treechildren::-moz-tree-row(lc-33CCFF, selected, focus), .lc-33CCFF[_moz-menuactive] { background-color: #33CCFF; } -treechildren::-moz-tree-cell-text(lc-3366FF) { +treechildren::-moz-tree-cell-text(lc-3366FF), .lc-3366FF:not([_moz-menuactive]) { color: #3366FF } -treechildren::-moz-tree-row(lc-3366FF, selected, focus) { +treechildren::-moz-tree-row(lc-3366FF, selected, focus), .lc-3366FF[_moz-menuactive] { background-color: #3366FF; } -treechildren::-moz-tree-cell-text(lc-3333FF) { +treechildren::-moz-tree-cell-text(lc-3333FF), .lc-3333FF:not([_moz-menuactive]) { color: #3333FF } -treechildren::-moz-tree-row(lc-3333FF, selected, focus) { +treechildren::-moz-tree-row(lc-3333FF, selected, focus), .lc-3333FF[_moz-menuactive] { background-color: #3333FF; } -treechildren::-moz-tree-cell-text(lc-000099) { +treechildren::-moz-tree-cell-text(lc-000099), .lc-000099:not([_moz-menuactive]) { color: #000099 } -treechildren::-moz-tree-row(lc-000099, selected, focus) { +treechildren::-moz-tree-row(lc-000099, selected, focus), .lc-000099[_moz-menuactive] { background-color: #000099; } -treechildren::-moz-tree-cell-text(lc-000066) { +treechildren::-moz-tree-cell-text(lc-000066), .lc-000066:not([_moz-menuactive]) { color: #000066 } -treechildren::-moz-tree-row(lc-000066, selected, focus) { +treechildren::-moz-tree-row(lc-000066, selected, focus), .lc-000066[_moz-menuactive] { background-color: #000066; } -treechildren::-moz-tree-cell-text(lc-CCCCFF) { +treechildren::-moz-tree-cell-text(lc-CCCCFF), .lc-CCCCFF:not([_moz-menuactive]) { color: #CCCCFF } -treechildren::-moz-tree-row(lc-CCCCFF, selected, focus) { +treechildren::-moz-tree-row(lc-CCCCFF, selected, focus), .lc-CCCCFF[_moz-menuactive] { background-color: #CCCCFF; } -treechildren::-moz-tree-cell-text(lc-9999FF) { +treechildren::-moz-tree-cell-text(lc-9999FF), .lc-9999FF:not([_moz-menuactive]) { color: #9999FF } -treechildren::-moz-tree-row(lc-9999FF, selected, focus) { +treechildren::-moz-tree-row(lc-9999FF, selected, focus), .lc-9999FF[_moz-menuactive] { background-color: #9999FF; } -treechildren::-moz-tree-cell-text(lc-6666CC) { +treechildren::-moz-tree-cell-text(lc-6666CC), .lc-6666CC:not([_moz-menuactive]) { color: #6666CC } -treechildren::-moz-tree-row(lc-6666CC, selected, focus) { +treechildren::-moz-tree-row(lc-6666CC, selected, focus), .lc-6666CC[_moz-menuactive] { background-color: #6666CC; } -treechildren::-moz-tree-cell-text(lc-6633FF) { +treechildren::-moz-tree-cell-text(lc-6633FF), .lc-6633FF:not([_moz-menuactive]) { color: #6633FF } -treechildren::-moz-tree-row(lc-6633FF, selected, focus) { +treechildren::-moz-tree-row(lc-6633FF, selected, focus), .lc-6633FF[_moz-menuactive] { background-color: #6633FF; } -treechildren::-moz-tree-cell-text(lc-6600CC) { +treechildren::-moz-tree-cell-text(lc-6600CC), .lc-6600CC:not([_moz-menuactive]) { color: #6600CC } -treechildren::-moz-tree-row(lc-6600CC, selected, focus) { +treechildren::-moz-tree-row(lc-6600CC, selected, focus), .lc-6600CC[_moz-menuactive] { background-color: #6600CC; } -treechildren::-moz-tree-cell-text(lc-333399) { +treechildren::-moz-tree-cell-text(lc-333399), .lc-333399:not([_moz-menuactive]) { color: #333399 } -treechildren::-moz-tree-row(lc-333399, selected, focus) { +treechildren::-moz-tree-row(lc-333399, selected, focus), .lc-333399[_moz-menuactive] { background-color: #333399; } -treechildren::-moz-tree-cell-text(lc-330099) { +treechildren::-moz-tree-cell-text(lc-330099), .lc-330099:not([_moz-menuactive]) { color: #330099 } -treechildren::-moz-tree-row(lc-330099, selected, focus) { +treechildren::-moz-tree-row(lc-330099, selected, focus), .lc-330099[_moz-menuactive] { background-color: #330099; } -treechildren::-moz-tree-cell-text(lc-FFCCFF) { +treechildren::-moz-tree-cell-text(lc-FFCCFF), .lc-FFCCFF:not([_moz-menuactive]) { color: #FFCCFF } -treechildren::-moz-tree-row(lc-FFCCFF, selected, focus) { +treechildren::-moz-tree-row(lc-FFCCFF, selected, focus), .lc-FFCCFF[_moz-menuactive] { background-color: #FFCCFF; } -treechildren::-moz-tree-cell-text(lc-FF99FF) { +treechildren::-moz-tree-cell-text(lc-FF99FF), .lc-FF99FF:not([_moz-menuactive]) { color: #FF99FF } -treechildren::-moz-tree-row(lc-FF99FF, selected, focus) { +treechildren::-moz-tree-row(lc-FF99FF, selected, focus), .lc-FF99FF[_moz-menuactive] { background-color: #FF99FF; } -treechildren::-moz-tree-cell-text(lc-CC66CC) { +treechildren::-moz-tree-cell-text(lc-CC66CC), .lc-CC66CC:not([_moz-menuactive]) { color: #CC66CC } -treechildren::-moz-tree-row(lc-CC66CC, selected, focus) { +treechildren::-moz-tree-row(lc-CC66CC, selected, focus), .lc-CC66CC[_moz-menuactive] { background-color: #CC66CC; } -treechildren::-moz-tree-cell-text(lc-CC33CC) { +treechildren::-moz-tree-cell-text(lc-CC33CC), .lc-CC33CC:not([_moz-menuactive]) { color: #CC33CC } -treechildren::-moz-tree-row(lc-CC33CC, selected, focus) { +treechildren::-moz-tree-row(lc-CC33CC, selected, focus), .lc-CC33CC[_moz-menuactive] { background-color: #CC33CC; } -treechildren::-moz-tree-cell-text(lc-993399) { +treechildren::-moz-tree-cell-text(lc-993399), .lc-993399:not([_moz-menuactive]) { color: #993399 } -treechildren::-moz-tree-row(lc-993399, selected, focus) { +treechildren::-moz-tree-row(lc-993399, selected, focus), .lc-993399[_moz-menuactive] { background-color: #993399; } -treechildren::-moz-tree-cell-text(lc-663366) { +treechildren::-moz-tree-cell-text(lc-663366), .lc-663366:not([_moz-menuactive]) { color: #663366 } -treechildren::-moz-tree-row(lc-663366, selected, focus) { +treechildren::-moz-tree-row(lc-663366, selected, focus), .lc-663366[_moz-menuactive] { background-color: #663366; } -treechildren::-moz-tree-cell-text(lc-330033) { +treechildren::-moz-tree-cell-text(lc-330033), .lc-330033:not([_moz-menuactive]) { color: #330033 } -treechildren::-moz-tree-row(lc-330033, selected, focus) { +treechildren::-moz-tree-row(lc-330033, selected, focus), .lc-330033[_moz-menuactive] { background-color: #330033; } diff --git a/themes/modern/messenger/messageHeader.css b/themes/modern/messenger/messageHeader.css index 1554222dcbaf..bcba35b617f1 100644 --- a/themes/modern/messenger/messageHeader.css +++ b/themes/modern/messenger/messageHeader.css @@ -112,6 +112,11 @@ font-weight: bold; } +.tagvalue { + margin-top: 0; + margin-left: 0; +} + /* ::::: msg header email addresses ::::: */ .emailDisplayButton { diff --git a/themes/modern/messenger/threadPaneLabels.css b/themes/modern/messenger/threadPaneLabels.css index 248922183a16..312fe7fa0939 100644 --- a/themes/modern/messenger/threadPaneLabels.css +++ b/themes/modern/messenger/threadPaneLabels.css @@ -22,6 +22,7 @@ * Scott MacGregor (mscott@netscape.com) * Joe Hewitt (hewitt@netscape.com) * Sean Su + * Karsten Düsterloh * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -53,502 +54,502 @@ color: #FF0000; color: rgb(128, 0, 0); */ -treechildren::-moz-tree-cell-text(lc-FFFFFF) { +treechildren::-moz-tree-cell-text(lc-FFFFFF), .lc-FFFFFF:not([_moz-menuactive]) { color: #FFFFFF } -treechildren::-moz-tree-row(lc-FFFFFF, selected, focus) { +treechildren::-moz-tree-row(lc-FFFFFF, selected, focus), .lc-FFFFFF[_moz-menuactive] { background-color: #FFFFFF; } -treechildren::-moz-tree-cell-text(lc-CCCCCC) { +treechildren::-moz-tree-cell-text(lc-CCCCCC), .lc-CCCCCC:not([_moz-menuactive]) { color: #CCCCCC } -treechildren::-moz-tree-row(lc-CCCCCC, selected, focus) { +treechildren::-moz-tree-row(lc-CCCCCC, selected, focus), .lc-CCCCCC[_moz-menuactive] { background-color: #CCCCCC; } -treechildren::-moz-tree-cell-text(lc-C0C0C0) { +treechildren::-moz-tree-cell-text(lc-C0C0C0), .lc-C0C0C0:not([_moz-menuactive]) { color: #C0C0C0 } -treechildren::-moz-tree-row(lc-C0C0C0, selected, focus) { +treechildren::-moz-tree-row(lc-C0C0C0, selected, focus), .lc-C0C0C0[_moz-menuactive] { background-color: #C0C0C0; } -treechildren::-moz-tree-cell-text(lc-999999) { +treechildren::-moz-tree-cell-text(lc-999999), .lc-999999:not([_moz-menuactive]) { color: #999999 } -treechildren::-moz-tree-row(lc-999999, selected, focus) { +treechildren::-moz-tree-row(lc-999999, selected, focus), .lc-999999[_moz-menuactive] { background-color: #999999; } -treechildren::-moz-tree-cell-text(lc-666666) { +treechildren::-moz-tree-cell-text(lc-666666), .lc-666666:not([_moz-menuactive]) { color: #666666 } -treechildren::-moz-tree-row(lc-666666, selected, focus) { +treechildren::-moz-tree-row(lc-666666, selected, focus), .lc-666666[_moz-menuactive] { background-color: #666666; } -treechildren::-moz-tree-cell-text(lc-333333) { +treechildren::-moz-tree-cell-text(lc-333333), .lc-333333:not([_moz-menuactive]) { color: #333333 } -treechildren::-moz-tree-row(lc-333333, selected, focus) { +treechildren::-moz-tree-row(lc-333333, selected, focus), .lc-333333[_moz-menuactive] { background-color: #333333; } -treechildren::-moz-tree-cell-text(lc-000000) { +treechildren::-moz-tree-cell-text(lc-000000), .lc-000000:not([_moz-menuactive]) { color: #000000 } -treechildren::-moz-tree-row(lc-000000, selected, focus) { +treechildren::-moz-tree-row(lc-000000, selected, focus), .lc-000000[_moz-menuactive] { background-color: #000000; } -treechildren::-moz-tree-cell-text(lc-FFCCCC) { +treechildren::-moz-tree-cell-text(lc-FFCCCC), .lc-FFCCCC:not([_moz-menuactive]) { color: #FFCCCC } -treechildren::-moz-tree-row(lc-FFCCCC, selected, focus) { +treechildren::-moz-tree-row(lc-FFCCCC, selected, focus), .lc-FFCCCC[_moz-menuactive] { background-color: #FFCCCC; } -treechildren::-moz-tree-cell-text(lc-FF6666) { +treechildren::-moz-tree-cell-text(lc-FF6666), .lc-FF6666:not([_moz-menuactive]) { color: #FF6666 } -treechildren::-moz-tree-row(lc-FF6666, selected, focus) { +treechildren::-moz-tree-row(lc-FF6666, selected, focus), .lc-FF6666[_moz-menuactive] { background-color: #FF6666; } -treechildren::-moz-tree-cell-text(lc-FF0000) { +treechildren::-moz-tree-cell-text(lc-FF0000), .lc-FF0000:not([_moz-menuactive]) { color: #FF0000 } -treechildren::-moz-tree-row(lc-FF0000, selected, focus) { +treechildren::-moz-tree-row(lc-FF0000, selected, focus), .lc-FF0000[_moz-menuactive] { background-color: #FF0000; } -treechildren::-moz-tree-cell-text(lc-CC0000) { +treechildren::-moz-tree-cell-text(lc-CC0000), .lc-CC0000:not([_moz-menuactive]) { color: #CC0000 } -treechildren::-moz-tree-row(lc-CC0000, selected, focus) { +treechildren::-moz-tree-row(lc-CC0000, selected, focus), .lc-CC0000[_moz-menuactive] { background-color: #CC0000; } -treechildren::-moz-tree-cell-text(lc-990000) { +treechildren::-moz-tree-cell-text(lc-990000), .lc-990000:not([_moz-menuactive]) { color: #990000 } -treechildren::-moz-tree-row(lc-990000, selected, focus) { +treechildren::-moz-tree-row(lc-990000, selected, focus), .lc-990000[_moz-menuactive] { background-color: #990000; } -treechildren::-moz-tree-cell-text(lc-660000) { +treechildren::-moz-tree-cell-text(lc-660000), .lc-660000:not([_moz-menuactive]) { color: #660000 } -treechildren::-moz-tree-row(lc-660000, selected, focus) { +treechildren::-moz-tree-row(lc-660000, selected, focus), .lc-660000[_moz-menuactive] { background-color: #660000; } -treechildren::-moz-tree-cell-text(lc-330000) { +treechildren::-moz-tree-cell-text(lc-330000), .lc-330000:not([_moz-menuactive]) { color: #330000 } -treechildren::-moz-tree-row(lc-330000, selected, focus) { +treechildren::-moz-tree-row(lc-330000, selected, focus), .lc-330000[_moz-menuactive] { background-color: #330000; } -treechildren::-moz-tree-cell-text(lc-FFCC99) { +treechildren::-moz-tree-cell-text(lc-FFCC99), .lc-FFCC99:not([_moz-menuactive]) { color: #FFCC99 } -treechildren::-moz-tree-row(lc-FFCC99, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC99, selected, focus), .lc-FFCC99[_moz-menuactive] { background-color: #FFCC99; } -treechildren::-moz-tree-cell-text(lc-FF9966) { +treechildren::-moz-tree-cell-text(lc-FF9966), .lc-FF9966:not([_moz-menuactive]) { color: #FF9966 } -treechildren::-moz-tree-row(lc-FF9966, selected, focus) { +treechildren::-moz-tree-row(lc-FF9966, selected, focus), .lc-FF9966[_moz-menuactive] { background-color: #FF9966; } -treechildren::-moz-tree-cell-text(lc-FF9900) { +treechildren::-moz-tree-cell-text(lc-FF9900), .lc-FF9900:not([_moz-menuactive]) { color: #FF9900 } -treechildren::-moz-tree-row(lc-FF9900, selected, focus) { +treechildren::-moz-tree-row(lc-FF9900, selected, focus), .lc-FF9900[_moz-menuactive] { background-color: #FF9900; } -treechildren::-moz-tree-cell-text(lc-FF6600) { +treechildren::-moz-tree-cell-text(lc-FF6600), .lc-FF6600:not([_moz-menuactive]) { color: #FF6600 } -treechildren::-moz-tree-row(lc-FF6600, selected, focus) { +treechildren::-moz-tree-row(lc-FF6600, selected, focus), .lc-FF6600[_moz-menuactive] { background-color: #FF6600; } -treechildren::-moz-tree-cell-text(lc-CC6600) { +treechildren::-moz-tree-cell-text(lc-CC6600), .lc-CC6600:not([_moz-menuactive]) { color: #CC6600 } -treechildren::-moz-tree-row(lc-CC6600, selected, focus) { +treechildren::-moz-tree-row(lc-CC6600, selected, focus), .lc-CC6600[_moz-menuactive] { background-color: #CC6600; } -treechildren::-moz-tree-cell-text(lc-993300) { +treechildren::-moz-tree-cell-text(lc-993300), .lc-993300:not([_moz-menuactive]) { color: #993300 } -treechildren::-moz-tree-row(lc-993300, selected, focus) { +treechildren::-moz-tree-row(lc-993300, selected, focus), .lc-993300[_moz-menuactive] { background-color: #993300; } -treechildren::-moz-tree-cell-text(lc-663300) { +treechildren::-moz-tree-cell-text(lc-663300), .lc-663300:not([_moz-menuactive]) { color: #663300 } -treechildren::-moz-tree-row(lc-663300, selected, focus) { +treechildren::-moz-tree-row(lc-663300, selected, focus), .lc-663300[_moz-menuactive] { background-color: #663300; } -treechildren::-moz-tree-cell-text(lc-FFFF99) { +treechildren::-moz-tree-cell-text(lc-FFFF99), .lc-FFFF99:not([_moz-menuactive]) { color: #FFFF99 } -treechildren::-moz-tree-row(lc-FFFF99, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF99, selected, focus), .lc-FFFF99[_moz-menuactive] { background-color: #FFFF99; } -treechildren::-moz-tree-cell-text(lc-FFFF66) { +treechildren::-moz-tree-cell-text(lc-FFFF66), .lc-FFFF66:not([_moz-menuactive]) { color: #FFFF66 } -treechildren::-moz-tree-row(lc-FFFF66, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF66, selected, focus), .lc-FFFF66[_moz-menuactive] { background-color: #FFFF66; } -treechildren::-moz-tree-cell-text(lc-FFCC66) { +treechildren::-moz-tree-cell-text(lc-FFCC66), .lc-FFCC66:not([_moz-menuactive]) { color: #FFCC66 } -treechildren::-moz-tree-row(lc-FFCC66, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC66, selected, focus), .lc-FFCC66[_moz-menuactive] { background-color: #FFCC66; } -treechildren::-moz-tree-cell-text(lc-FFCC33) { +treechildren::-moz-tree-cell-text(lc-FFCC33), .lc-FFCC33:not([_moz-menuactive]) { color: #FFCC33 } -treechildren::-moz-tree-row(lc-FFCC33, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC33, selected, focus), .lc-FFCC33[_moz-menuactive] { background-color: #FFCC33; } -treechildren::-moz-tree-cell-text(lc-CC9933) { +treechildren::-moz-tree-cell-text(lc-CC9933), .lc-CC9933:not([_moz-menuactive]) { color: #CC9933 } -treechildren::-moz-tree-row(lc-CC9933, selected, focus) { +treechildren::-moz-tree-row(lc-CC9933, selected, focus), .lc-CC9933[_moz-menuactive] { background-color: #CC9933; } -treechildren::-moz-tree-cell-text(lc-996633) { +treechildren::-moz-tree-cell-text(lc-996633), .lc-996633:not([_moz-menuactive]) { color: #996633 } -treechildren::-moz-tree-row(lc-996633, selected, focus) { +treechildren::-moz-tree-row(lc-996633, selected, focus), .lc-996633[_moz-menuactive] { background-color: #996633; } -treechildren::-moz-tree-cell-text(lc-663333) { +treechildren::-moz-tree-cell-text(lc-663333), .lc-663333:not([_moz-menuactive]) { color: #663333 } -treechildren::-moz-tree-row(lc-663333, selected, focus) { +treechildren::-moz-tree-row(lc-663333, selected, focus), .lc-663333[_moz-menuactive] { background-color: #663333; } -treechildren::-moz-tree-cell-text(lc-FFFFCC) { +treechildren::-moz-tree-cell-text(lc-FFFFCC), .lc-FFFFCC:not([_moz-menuactive]) { color: #FFFFCC } -treechildren::-moz-tree-row(lc-FFFFCC, selected, focus) { +treechildren::-moz-tree-row(lc-FFFFCC, selected, focus), .lc-FFFFCC[_moz-menuactive] { background-color: #FFFFCC; } -treechildren::-moz-tree-cell-text(lc-FFFF33) { +treechildren::-moz-tree-cell-text(lc-FFFF33), .lc-FFFF33:not([_moz-menuactive]) { color: #FFFF33 } -treechildren::-moz-tree-row(lc-FFFF33, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF33, selected, focus), .lc-FFFF33[_moz-menuactive] { background-color: #FFFF33; } -treechildren::-moz-tree-cell-text(lc-FFFF00) { +treechildren::-moz-tree-cell-text(lc-FFFF00), .lc-FFFF00:not([_moz-menuactive]) { color: #FFFF00 } -treechildren::-moz-tree-row(lc-FFFF00, selected, focus) { +treechildren::-moz-tree-row(lc-FFFF00, selected, focus), .lc-FFFF00[_moz-menuactive] { background-color: #FFFF00; } -treechildren::-moz-tree-cell-text(lc-FFCC00) { +treechildren::-moz-tree-cell-text(lc-FFCC00), .lc-FFCC00:not([_moz-menuactive]) { color: #FFCC00 } -treechildren::-moz-tree-row(lc-FFCC00, selected, focus) { +treechildren::-moz-tree-row(lc-FFCC00, selected, focus), .lc-FFCC00[_moz-menuactive] { background-color: #FFCC00; } -treechildren::-moz-tree-cell-text(lc-999900) { +treechildren::-moz-tree-cell-text(lc-999900), .lc-999900:not([_moz-menuactive]) { color: #999900 } -treechildren::-moz-tree-row(lc-999900, selected, focus) { +treechildren::-moz-tree-row(lc-999900, selected, focus), .lc-999900[_moz-menuactive] { background-color: #999900; } -treechildren::-moz-tree-cell-text(lc-666600) { +treechildren::-moz-tree-cell-text(lc-666600), .lc-666600:not([_moz-menuactive]) { color: #666600 } -treechildren::-moz-tree-row(lc-666600, selected, focus) { +treechildren::-moz-tree-row(lc-666600, selected, focus), .lc-666600[_moz-menuactive] { background-color: #666600; } -treechildren::-moz-tree-cell-text(lc-333300) { +treechildren::-moz-tree-cell-text(lc-333300), .lc-333300:not([_moz-menuactive]) { color: #333300 } -treechildren::-moz-tree-row(lc-333300, selected, focus) { +treechildren::-moz-tree-row(lc-333300, selected, focus), .lc-333300[_moz-menuactive] { background-color: #333300; } -treechildren::-moz-tree-cell-text(lc-99FF99) { +treechildren::-moz-tree-cell-text(lc-99FF99), .lc-99FF99:not([_moz-menuactive]) { color: #99FF99 } -treechildren::-moz-tree-row(lc-99FF99, selected, focus) { +treechildren::-moz-tree-row(lc-99FF99, selected, focus), .lc-99FF99[_moz-menuactive] { background-color: #99FF99; } -treechildren::-moz-tree-cell-text(lc-66FF99) { +treechildren::-moz-tree-cell-text(lc-66FF99), .lc-66FF99:not([_moz-menuactive]) { color: #66FF99 } -treechildren::-moz-tree-row(lc-66FF99, selected, focus) { +treechildren::-moz-tree-row(lc-66FF99, selected, focus), .lc-66FF99[_moz-menuactive] { background-color: #66FF99; } -treechildren::-moz-tree-cell-text(lc-33FF33) { +treechildren::-moz-tree-cell-text(lc-33FF33), .lc-33FF33:not([_moz-menuactive]) { color: #33FF33 } -treechildren::-moz-tree-row(lc-33FF33, selected, focus) { +treechildren::-moz-tree-row(lc-33FF33, selected, focus), .lc-33FF33[_moz-menuactive] { background-color: #33FF33; } -treechildren::-moz-tree-cell-text(lc-33CC00) { +treechildren::-moz-tree-cell-text(lc-33CC00), .lc-33CC00:not([_moz-menuactive]) { color: #33CC00 } -treechildren::-moz-tree-row(lc-33CC00, selected, focus) { +treechildren::-moz-tree-row(lc-33CC00, selected, focus), .lc-33CC00[_moz-menuactive] { background-color: #33CC00; } -treechildren::-moz-tree-cell-text(lc-009900) { +treechildren::-moz-tree-cell-text(lc-009900), .lc-009900:not([_moz-menuactive]) { color: #009900 } -treechildren::-moz-tree-row(lc-009900, selected, focus) { +treechildren::-moz-tree-row(lc-009900, selected, focus), .lc-009900[_moz-menuactive] { background-color: #009900; } -treechildren::-moz-tree-cell-text(lc-006600) { +treechildren::-moz-tree-cell-text(lc-006600), .lc-006600:not([_moz-menuactive]) { color: #006600 } -treechildren::-moz-tree-row(lc-006600, selected, focus) { +treechildren::-moz-tree-row(lc-006600, selected, focus), .lc-006600[_moz-menuactive] { background-color: #006600; } -treechildren::-moz-tree-cell-text(lc-003300) { +treechildren::-moz-tree-cell-text(lc-003300), .lc-003300:not([_moz-menuactive]) { color: #003300 } -treechildren::-moz-tree-row(lc-003300, selected, focus) { +treechildren::-moz-tree-row(lc-003300, selected, focus), .lc-003300[_moz-menuactive] { background-color: #003300; } -treechildren::-moz-tree-cell-text(lc-99FFFF) { +treechildren::-moz-tree-cell-text(lc-99FFFF), .lc-99FFFF:not([_moz-menuactive]) { color: #99FFFF } -treechildren::-moz-tree-row(lc-99FFFF, selected, focus) { +treechildren::-moz-tree-row(lc-99FFFF, selected, focus), .lc-99FFFF[_moz-menuactive] { background-color: #99FFFF; } -treechildren::-moz-tree-cell-text(lc-33FFFF) { +treechildren::-moz-tree-cell-text(lc-33FFFF), .lc-33FFFF:not([_moz-menuactive]) { color: #33FFFF } -treechildren::-moz-tree-row(lc-33FFFF, selected, focus) { +treechildren::-moz-tree-row(lc-33FFFF, selected, focus), .lc-33FFFF[_moz-menuactive] { background-color: #33FFFF; } -treechildren::-moz-tree-cell-text(lc-66CCCC) { +treechildren::-moz-tree-cell-text(lc-66CCCC), .lc-66CCCC:not([_moz-menuactive]) { color: #66CCCC } -treechildren::-moz-tree-row(lc-66CCCC, selected, focus) { +treechildren::-moz-tree-row(lc-66CCCC, selected, focus), .lc-66CCCC[_moz-menuactive] { background-color: #66CCCC; } -treechildren::-moz-tree-cell-text(lc-00CCCC) { +treechildren::-moz-tree-cell-text(lc-00CCCC), .lc-00CCCC:not([_moz-menuactive]) { color: #00CCCC } -treechildren::-moz-tree-row(lc-00CCCC, selected, focus) { +treechildren::-moz-tree-row(lc-00CCCC, selected, focus), .lc-00CCCC[_moz-menuactive] { background-color: #00CCCC; } -treechildren::-moz-tree-cell-text(lc-339999) { +treechildren::-moz-tree-cell-text(lc-339999), .lc-339999:not([_moz-menuactive]) { color: #339999 } -treechildren::-moz-tree-row(lc-339999, selected, focus) { +treechildren::-moz-tree-row(lc-339999, selected, focus), .lc-339999[_moz-menuactive] { background-color: #339999; } -treechildren::-moz-tree-cell-text(lc-336666) { +treechildren::-moz-tree-cell-text(lc-336666), .lc-336666:not([_moz-menuactive]) { color: #336666 } -treechildren::-moz-tree-row(lc-336666, selected, focus) { +treechildren::-moz-tree-row(lc-336666, selected, focus), .lc-336666[_moz-menuactive] { background-color: #336666; } -treechildren::-moz-tree-cell-text(lc-003333) { +treechildren::-moz-tree-cell-text(lc-003333), .lc-003333:not([_moz-menuactive]) { color: #003333 } -treechildren::-moz-tree-row(lc-003333, selected, focus) { +treechildren::-moz-tree-row(lc-003333, selected, focus), .lc-003333[_moz-menuactive] { background-color: #003333; } -treechildren::-moz-tree-cell-text(lc-CCFFFF) { +treechildren::-moz-tree-cell-text(lc-CCFFFF), .lc-CCFFFF:not([_moz-menuactive]) { color: #CCFFFF } -treechildren::-moz-tree-row(lc-CCFFFF, selected, focus) { +treechildren::-moz-tree-row(lc-CCFFFF, selected, focus), .lc-CCFFFF[_moz-menuactive] { background-color: #CCFFFF; } -treechildren::-moz-tree-cell-text(lc-66FFFF) { +treechildren::-moz-tree-cell-text(lc-66FFFF), .lc-66FFFF:not([_moz-menuactive]) { color: #66FFFF } -treechildren::-moz-tree-row(lc-66FFFF, selected, focus) { +treechildren::-moz-tree-row(lc-66FFFF, selected, focus), .lc-66FFFF[_moz-menuactive] { background-color: #66FFFF; } -treechildren::-moz-tree-cell-text(lc-33CCFF) { +treechildren::-moz-tree-cell-text(lc-33CCFF), .lc-33CCFF:not([_moz-menuactive]) { color: #33CCFF } -treechildren::-moz-tree-row(lc-33CCFF, selected, focus) { +treechildren::-moz-tree-row(lc-33CCFF, selected, focus), .lc-33CCFF[_moz-menuactive] { background-color: #33CCFF; } -treechildren::-moz-tree-cell-text(lc-3366FF) { +treechildren::-moz-tree-cell-text(lc-3366FF), .lc-3366FF:not([_moz-menuactive]) { color: #3366FF } -treechildren::-moz-tree-row(lc-3366FF, selected, focus) { +treechildren::-moz-tree-row(lc-3366FF, selected, focus), .lc-3366FF[_moz-menuactive] { background-color: #3366FF; } -treechildren::-moz-tree-cell-text(lc-3333FF) { +treechildren::-moz-tree-cell-text(lc-3333FF), .lc-3333FF:not([_moz-menuactive]) { color: #3333FF } -treechildren::-moz-tree-row(lc-3333FF, selected, focus) { +treechildren::-moz-tree-row(lc-3333FF, selected, focus), .lc-3333FF[_moz-menuactive] { background-color: #3333FF; } -treechildren::-moz-tree-cell-text(lc-000099) { +treechildren::-moz-tree-cell-text(lc-000099), .lc-000099:not([_moz-menuactive]) { color: #000099 } -treechildren::-moz-tree-row(lc-000099, selected, focus) { +treechildren::-moz-tree-row(lc-000099, selected, focus), .lc-000099[_moz-menuactive] { background-color: #000099; } -treechildren::-moz-tree-cell-text(lc-000066) { +treechildren::-moz-tree-cell-text(lc-000066), .lc-000066:not([_moz-menuactive]) { color: #000066 } -treechildren::-moz-tree-row(lc-000066, selected, focus) { +treechildren::-moz-tree-row(lc-000066, selected, focus), .lc-000066[_moz-menuactive] { background-color: #000066; } -treechildren::-moz-tree-cell-text(lc-CCCCFF) { +treechildren::-moz-tree-cell-text(lc-CCCCFF), .lc-CCCCFF:not([_moz-menuactive]) { color: #CCCCFF } -treechildren::-moz-tree-row(lc-CCCCFF, selected, focus) { +treechildren::-moz-tree-row(lc-CCCCFF, selected, focus), .lc-CCCCFF[_moz-menuactive] { background-color: #CCCCFF; } -treechildren::-moz-tree-cell-text(lc-9999FF) { +treechildren::-moz-tree-cell-text(lc-9999FF), .lc-9999FF:not([_moz-menuactive]) { color: #9999FF } -treechildren::-moz-tree-row(lc-9999FF, selected, focus) { +treechildren::-moz-tree-row(lc-9999FF, selected, focus), .lc-9999FF[_moz-menuactive] { background-color: #9999FF; } -treechildren::-moz-tree-cell-text(lc-6666CC) { +treechildren::-moz-tree-cell-text(lc-6666CC), .lc-6666CC:not([_moz-menuactive]) { color: #6666CC } -treechildren::-moz-tree-row(lc-6666CC, selected, focus) { +treechildren::-moz-tree-row(lc-6666CC, selected, focus), .lc-6666CC[_moz-menuactive] { background-color: #6666CC; } -treechildren::-moz-tree-cell-text(lc-6633FF) { +treechildren::-moz-tree-cell-text(lc-6633FF), .lc-6633FF:not([_moz-menuactive]) { color: #6633FF } -treechildren::-moz-tree-row(lc-6633FF, selected, focus) { +treechildren::-moz-tree-row(lc-6633FF, selected, focus), .lc-6633FF[_moz-menuactive] { background-color: #6633FF; } -treechildren::-moz-tree-cell-text(lc-6600CC) { +treechildren::-moz-tree-cell-text(lc-6600CC), .lc-6600CC:not([_moz-menuactive]) { color: #6600CC } -treechildren::-moz-tree-row(lc-6600CC, selected, focus) { +treechildren::-moz-tree-row(lc-6600CC, selected, focus), .lc-6600CC[_moz-menuactive] { background-color: #6600CC; } -treechildren::-moz-tree-cell-text(lc-333399) { +treechildren::-moz-tree-cell-text(lc-333399), .lc-333399:not([_moz-menuactive]) { color: #333399 } -treechildren::-moz-tree-row(lc-333399, selected, focus) { +treechildren::-moz-tree-row(lc-333399, selected, focus), .lc-333399[_moz-menuactive] { background-color: #333399; } -treechildren::-moz-tree-cell-text(lc-330099) { +treechildren::-moz-tree-cell-text(lc-330099), .lc-330099:not([_moz-menuactive]) { color: #330099 } -treechildren::-moz-tree-row(lc-330099, selected, focus) { +treechildren::-moz-tree-row(lc-330099, selected, focus), .lc-330099[_moz-menuactive] { background-color: #330099; } -treechildren::-moz-tree-cell-text(lc-FFCCFF) { +treechildren::-moz-tree-cell-text(lc-FFCCFF), .lc-FFCCFF:not([_moz-menuactive]) { color: #FFCCFF } -treechildren::-moz-tree-row(lc-FFCCFF, selected, focus) { +treechildren::-moz-tree-row(lc-FFCCFF, selected, focus), .lc-FFCCFF[_moz-menuactive] { background-color: #FFCCFF; } -treechildren::-moz-tree-cell-text(lc-FF99FF) { +treechildren::-moz-tree-cell-text(lc-FF99FF), .lc-FF99FF:not([_moz-menuactive]) { color: #FF99FF } -treechildren::-moz-tree-row(lc-FF99FF, selected, focus) { +treechildren::-moz-tree-row(lc-FF99FF, selected, focus), .lc-FF99FF[_moz-menuactive] { background-color: #FF99FF; } -treechildren::-moz-tree-cell-text(lc-CC66CC) { +treechildren::-moz-tree-cell-text(lc-CC66CC), .lc-CC66CC:not([_moz-menuactive]) { color: #CC66CC } -treechildren::-moz-tree-row(lc-CC66CC, selected, focus) { +treechildren::-moz-tree-row(lc-CC66CC, selected, focus), .lc-CC66CC[_moz-menuactive] { background-color: #CC66CC; } -treechildren::-moz-tree-cell-text(lc-CC33CC) { +treechildren::-moz-tree-cell-text(lc-CC33CC), .lc-CC33CC:not([_moz-menuactive]) { color: #CC33CC } -treechildren::-moz-tree-row(lc-CC33CC, selected, focus) { +treechildren::-moz-tree-row(lc-CC33CC, selected, focus), .lc-CC33CC[_moz-menuactive] { background-color: #CC33CC; } -treechildren::-moz-tree-cell-text(lc-993399) { +treechildren::-moz-tree-cell-text(lc-993399), .lc-993399:not([_moz-menuactive]) { color: #993399 } -treechildren::-moz-tree-row(lc-993399, selected, focus) { +treechildren::-moz-tree-row(lc-993399, selected, focus), .lc-993399[_moz-menuactive] { background-color: #993399; } -treechildren::-moz-tree-cell-text(lc-663366) { +treechildren::-moz-tree-cell-text(lc-663366), .lc-663366:not([_moz-menuactive]) { color: #663366 } -treechildren::-moz-tree-row(lc-663366, selected, focus) { +treechildren::-moz-tree-row(lc-663366, selected, focus), .lc-663366[_moz-menuactive] { background-color: #663366; } -treechildren::-moz-tree-cell-text(lc-330033) { +treechildren::-moz-tree-cell-text(lc-330033), .lc-330033:not([_moz-menuactive]) { color: #330033 } -treechildren::-moz-tree-row(lc-330033, selected, focus) { +treechildren::-moz-tree-row(lc-330033, selected, focus), .lc-330033[_moz-menuactive] { background-color: #330033; }