1. Home
  2. News
  3. Download
    1. Thunderbird Release Version
    2. Thunderbird 153 ESR (2026)
    3. Thunderbird 140 ESR (2025)
    4. Thunderbird Beta Version
    5. Language Pack (User Interface)
    6. Dictionaries (Spell Check)
  4. Help & Lexicon
    1. Instructions for Thunderbird
    2. Questions & Answers (FAQ) about Thunderbird
    3. Help for this Website
    4. Last Changes
  5. Forums
    1. Unresolved Threads
    2. Latest Posts
    3. Threads of the last 24 hours
  • Login
  • Register
  • 
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Forum
  • Lexicon
  • Articles
  • Pages
  • More Options
  1. Thunderbird Mail DE
  2. Forum
  3. Hilfe zum Arbeiten mit Kontakten, Aufgaben und Kalendern
  4. Kalender, Termin- und Aufgabenverwaltung (ehemals Lightning)
  5. Tipps und Tricks für den Kalender

Userchrome Script könnte mir einer sagen was das macht?

  • Blauwonz
  • November 6, 2013 at 2:11 PM
  • Closed
  • Thread is Resolved
  • Blauwonz
    Member
    Posts
    106
    Member since
    18. Apr. 2009
    • November 6, 2013 at 2:11 PM
    • #1

    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;
    }
    Display More


    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;
    }
    Display More


    Thunderbird-Version: 24.1.0
    Lightning-Version: 2.6.2
    Betriebssystem + Version: Windows 7 64Bit

    Edited once, last by graba: Code-Tags gesetzt (November 6, 2013 at 5:25 PM).

  • edvoldi
    Moderator
    Reactions Received
    281
    Posts
    7,585
    Member since
    23. Dec. 2005
    Helpful answers
    32
    • November 6, 2013 at 3:08 PM
    • #2

    Hallo Blauwonz,
    ich weiß nicht was Du schon alles in der " userChrome.css " eingetragen hast.
    Wenn schon etwas drin steht mache darunter einen großen Trennstrich /* ------------------------- */
    Und kopiere darunter den gesamte Code, dann wirst Du schon sehen was der Code alles verändert.
    Dir das im einzelnen zu erläutern kann ich nicht und das dürfte auch zu lange werden.
    Das Beste ist immer testen und überraschen lassen.
    Ich kann Dir auch nur unsere Bastelecke empfehlen, hier steht auch so einiges drin.
    Und wichtig ist natürlich immer eine Datensicherung, zu empfehlen ist Thundersave.

    MfG
    EDV Oldi

    WIN11 Home Version 25H2 (Build 26200.8655)

    Thunderbird 153.0.2esr (64-Bit)
    Thunderbird - Beta 154.0b2 (64-Bit)
    Thunderbird - Daily 155.0a1 (64-Bit)

    Firefox 153.0.2(64-Bit)

    Thunderbird-Kalender: FAQ / Erweiterungen für den Kalender / Meine Erweiterungen

    Keine Forenhilfe per Konversation!

  • Community-Bot September 3, 2024 at 8:10 PM

    Closed the thread.

Current app version

  • Thunderbird 153.0.2 veröffentlicht

    Thunder August 4, 2026 at 10:28 PM

Current 153 ESR version

  • Thunderbird 153.0.2 ESR veröffentlicht

    Thunder August 4, 2026 at 10:34 PM

Current 140 ESR version

  • Thunderbird 140.13.0 ESR veröffentlicht

    Thunder July 22, 2026 at 7:16 PM

No Advertisements

There are no advertisements here. Maybe you give the website owner (Alexander Ihrig - aka "Thunder") instead something to be able to finance these sites in the long run. Many Thanks!

Thank you for the support!

Coffee to be spent?

Donate now via Paypal*

*Forwarding to PayPal.Me

Thunderbird Mail DE
  1. Imprint & Contact
  2. Privacy Policy
    1. Cookie Policy
  3. Terms of Use
  4. Donation Call for Thunderbird
Help for this website
  • All website support articles
  • How to use website search
  • How to create a forums user account
  • How to create and edit a forums thread
  • How to reset your forums password
Copyright © 2003-2026 Thunderbird Mail DE

You are NOT on an official page of the Mozilla Foundation. Mozilla®, mozilla.org®, Firefox®, Thunderbird™, Bugzilla™, Sunbird®, Seamonkey®, XUL™ and the Thunderbird logo are (among others) registered trademarks of the Mozilla Foundation.

Powered by WoltLab Suite™