Guten Tag,
ich habe folgende frage könnte ich das obere Script und das untere Script zum in der userchrome einfügen wenn wie setze ich das korrekt zusammen. Könnte mir auch mal netter weise erklären was ich mt den Script machen kann?
Teil 1
CSS
/**
* PURPOSE: color task tree and unifinder tree based on certain properties
* You must use different tree pseudoclasses for different attributes.
* Try the following if your attribute is not working:
* -moz-tree-cell-text
* -moz-tree-cell
* -moz-tree-row
* Note that all properties are lowercase and any non-alphanumerical
* character is escaped by using the special string -ux27- where 27 is the
* charaitcter code. See calUtils.js, function formatStringForCSSRule().
*/
.calendar-task-tree > treechildren::-moz-tree-cell-text(calendar-home_calendar),
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(calendar-home_calendar) {
/* Color all items from the calendar called "Home Calendar" */
color: #0090FF !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(alarm),
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(alarm) {
/* Color all items that have an alarm */
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-in-process),
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(status-confirmed) {
/* Color all events that are confirmed and all tasks that are in process */
color: #AA0000 !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(category-birthday),
#unifinder-search-results-tree > treechildren::-moz-tree-cell-text(category-birthday) {
/* Color all items that are in the birthday category */
color: #00AA00 !important;
}
/**
* PURPOSE: color event boxes based on certain properties
* To control the looks of the event boxes, you can use the following
* selectors:
* .calendar-event-box-container
* .calendar-item
* calendar-event-box
* calendar-month-day-box-item
* If the box doesn't look like you want it to, try different selectors, maybe
* also incombination. Note again that certain fields are escaped (i.e
* category) with the same function as noted above.
*/
calendar-event-box[readonly],
calendar-month-day-box-item[readonly] {
/* Make events from readonly calendars half-transparent */
opacity: 0.5;
}
.calendar-event-box-container[alarm] {
/* Color all events that have an alarm */
background-color: #00DD00 !important;
}
.calendar-event-box-container[categories~="birthday"] {
/* Color all items that are in the Birthday category */
background-color: blue !important;
}
.calendar-event-box-container[priority="high"] {
/* Color all high priority items */
background-color: #DD0000 !important;
}
.calendar-event-box-container[progress="overdue"] {
/* Color all overdue tasks */
background-color: red !important;
}
.calendar-event-box-container[status="in-process"] {
/* Color all tasks that are in progress */
background-color: #0090FF !important;
}
.calendar-event-box-container[calendar="home calendar"] {
/* Color all items in the "Home Calendar" calendar */
background-color: yellow !important;
}
.calendar-event-box-container[allday] {
/* Color allday items specifically */
background-color: #0000DD !important;
}
Alles anzeigen
Teil 2
CSS
.calendar-month-day-box-date-label {
color: red !important;
}
.calendar-event-box-container
.calendar-item
calendar-event-box
calendar-month-day-box-item
.calendar-event-box-container[calendar="privat"] {
background-color: yellow !important;
}
.calendar-event-box-container[categories~="anrufe"] {
background-color: red !important;
}
.calendar-event-box-container[status="needs-action"] {
color: red !important;
}
.calendar-event-box-container[status="in-process"] {
color: red !important;
}
.calendar-event-box-container[status="cancelled"] {
color: red !important;
}
.calendar-event-box-container[priority="low"] {
background-color: red !important;
}
.calendar-event-box-container[priority="high"] {
background-color: red !important;
}
.calendar-event-box-container[alarm] {
background-color: yellow !important;
}
.calendar-event-box-container[readonly] {
background-color: yellow !important;
}
.calendar-event-box-container[progress="overdue"] {
background-color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(calendar-geburtstage) {
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(anrufe) {
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(alarm) {
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-needs-action) {
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-in-process) {
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-completed) {
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-cancelled) {
color: red !important;
}
.calendar-task-tree > treechildren::-moz-tree-cell-text(calendar-geburtstage, anrufe, alarm) {
color: red !important;
}
Alles anzeigen
Thunderbird-Version: 24.1.0
Lightning-Version: 2.6.2
Betriebssystem + Version: Windows 7 64Bit