Monotone-Parent: 269157ada9f8016d29a05a36bd61e71ac035ae88

Monotone-Revision: 702a1b091244767d9453266731ab73a2070019b7

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-08-19T08:22:13
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-08-19 08:22:13 +00:00
parent a708bdf884
commit aa4c2ab572
4 changed files with 23 additions and 17 deletions
+5 -4
View File
@@ -1819,12 +1819,13 @@ function appendStyleElement(folderPath, color) {
var styleElement = document.createElement("style");
styleElement.type = "text/css";
var selectors = [
'.calendarFolder' + folderPath.substr(1),
'div.colorBox.calendarFolder' + folderPath.substr(1)
'DIV.calendarFolder' + folderPath.substr(1),
'LI.calendarFolder' + folderPath.substr(1),
'UL#calendarList DIV.calendarFolder' + folderPath.substr(1)
];
var rules = [
' { background-color: ' + color + ' !important;'
+ ' color: ' + fgColor + ' !important; }',
' { background-color: ' + color + ' !important;' + ' color: ' + fgColor + ' !important; }',
' { background-color: ' + color + ' !important;' + ' color: ' + fgColor + ' !important; }',
' { color: ' + color + ' !important; }'
];
for (var i = 0; i < rules.length; i++)