mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-30 23:55:34 +00:00
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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user