/* ------------------------------ UI ------------------------------- */
#toolbar-menubar {order: -1 !important;} /* place menubar on top */
#spacesToolbar {background-color: #d2d2d2 !important}
#unifiedToolbar {
background: #F0F0F0 !important;
max-height: 28px !important;
margin: 0px !important;
padding-top: 0px !important;
padding-bottom: 0px !important; }
#threadPaneQuickFilterButton[aria-pressed="true"] {background-color:#0FF3!important}
button.check-button[aria-pressed="true"]::before {background-color:cyan!important; border-color:#007cff82!important}
.toolbarbutton-1:hover {background-color: #CEF!important}
/* menubar > * {background-color: yellow!important} */
/* toolbar > * {background-color: cyan!important} */
/* tabs bar */
/* scrollbox, .scrollbox-clip {background: #e2e2e2 !important;} */
/* ------------------------------ FOLDER PANE ------------------------------- */
#folderPane {background-color: #F0F0F0 !important}
/* hide folder pane unread count */
.unread > .container > .unread-count { display:none !important; }
/* don't bolden folders+subfolders with unread messages */
li[is="folder-tree-row"]:is(.unread),
li[is="folder-tree-row"]:is(.unread) > div > span.name {
font-weight: normal !important;
}
/* ------------------------------ THREAD PANE ------------------------------- */
/*underline subject lines of ALL collapsed threads */
/*(regardless of whether or not they contain unread messages) */
#threadTree tbody .children.collapsed :where(td, .subject-line) {text-decoration: underline !important}
/* message row height in Table view */
tr[is="thread-row"] {height: 24px !important}
/* ------------------------------ HEADER PANE ------------------------------- */
/* compact header pane */
.message-header-container {padding-top: 1px !important; padding-bottom: 2px !important;}
.message-header-container, .message-header-extra-container {row-gap: 1px !important;}
/* ----------------------------- CALENDAR ----------------------------- */
.calendar-month-day-box-day-off {background-color: #DFD!important}
.calendar-month-day-box-other-month {background-color:#DDD!important}
/* ------------------------------ TASKS ------------------------------- */
/* progress state of a task: future, inprogress, completed, duetoday, overdue */
#calendar-task-tree {min-height:60% !important}
toolbarbutton#calendar-delete-task-button {visibility:0!important; opacity:0!important; display:none!important}
#task-actions-toolbox {padding-right:10mm!important}
/* normal/standard/default tasks */
.calendar-task-tree > treechildren::-moz-tree-cell-text(),
.calendar-task-tree > treechildren::-moz-tree-cell-text(selected,focus)
{color:WindowText!important}
/* future: before start date, not due today */
/* status = "future" if no other status (inprogress, completed, duetoday, overday) applies */
/* affects all unstarted items, wether or not they have a due date. */
.calendar-task-tree > treechildren::-moz-tree-cell-text(future) {color:WindowText!important}
/* has due-date */
/* apparently cannot be styled according to https://forums.mozillazine.org/viewtopic.php?p=15000853#p15000853 */
/* .calendar-task-tree > treechildren::-moz-tree-cell-text[dueDate] {color:orange!important} */
/* started tasks: (has start date OR >0% completed OR status = "in process") */
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-in-process),
.calendar-task-tree > treechildren::-moz-tree-cell-text(inprogress)
{color: blue !important}
/* status = needs action */
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-needs-action) {
padding-bottom: 0px !important; /* if padding-bottom is ignored, you can try a negative margin instead: margin-bottom: -1px !important; */
background-image: repeating-linear-gradient(to right, transparent 0px, transparent 1px, red 1px, red 2px) !important; /* Dotted underline via tiny repeating gradient: */
background-repeat: repeat-x !important;
background-size: 100% 1px !important; /* height of the “line” is 1px, full width: */
background-position: 0 calc(100% - 1px) !important; /* Position it right under the glyphs-play with the vertical offset: */
}
/* due today, not overdue */
.calendar-task-tree > treechildren::-moz-tree-cell-text(duetoday) {background:magenta!important; color:white!important; font-weight:bolder!important}
/* [progress="overdue"] */
.calendar-task-tree > treechildren::-moz-tree-cell-text(overdue) {color:red!important; font-weight:bold}
/* completed */
.calendar-task-tree > treechildren::-moz-tree-cell-text(completed) {color:green!important; font-style:normal!important; text-decoration:none!important}
/* canceled */
#calendar-task-tree treechildren::-moz-tree-cell-text(status-cancelled) {color:gray!important; opacity:0.5!important; text-decoration:line-through!important}
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-completed, status-cancelled) {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='2' y='15' font-size='13' fill='darkgray'>✘</text></svg>") !important;
opacity:0.2;
}
/* repeating */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-completed, repeating) {
fill-opacity: 0.6;
}
/* categories: simply use the category name. All other syntaxes fail. */
/* .calendar-task-tree > treechildren::-moz-tree-cell-text(category-birthday),
.calendar-task-tree > treechildren::-moz-tree-cell-text[categories~="birthday"],
.calendar-task-tree > treechildren::-moz-tree-row(category-birthday),
.calendar-task-tree > treechildren::-moz-tree-row[categories~="birthday"], */
.calendar-task-tree > treechildren::-moz-tree-cell-text(birthday) {font-style:italic; background:#cbf0ff}
/* hover, focus, selected */
.calendar-task-tree > treechildren::-moz-tree-row(hover),
.calendar-task-tree > treechildren::-moz-tree-row(current),
.calendar-task-tree > treechildren::-moz-tree-row(hover,focus) {background:transparent!important; border:1px dotted black !important}
.calendar-task-tree > treechildren::-moz-tree-row(selected) {background:#eee!important; border:1px dotted black !important; outline:1px dotted black !important}
.calendar-task-tree > treechildren::-moz-tree-row(deselected,focus) {border:1px dotted magenta !important}
/* green checkmark in "completed" checkbox */
/* .calendar-task-tree-col-completed >.treecol-icon, /* in column header */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-completed) /* in all rows */
{
-moz-context-properties: fill, fill-opacity, stroke; /* when Thunderbird or Firefox draws an SVG icon in a tree-cell or button, it may ignore your CSS fill/stroke rules unless you explicitly opt in. Listing them in -moz-context-properties enables those properties to be taken from your CSS rather than the icon’s own hard-coded color */
fill: green !important;
stroke: black !important;
}
/* priority icons */
/* selected */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, selected) {stroke: var(--calendar-priority-icon-color)}
/*low priority symbol = blue */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, lowpriority) {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='1' y='13' font-size='13'>🐌</text></svg>") !important;
background-size: 1.5em 1.5em !important;
background-position: center !important;
background-repeat: no-repeat !important;
stroke: transparent !important;
}
/*high priority symbol = red */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, highpriority) {
border: 1px solid red !important;
border-radius: 1px;
background: yellow !important;
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' fill='Red' fill-opacity='context-fill-opacity'%3E%3Cpath d='M8 2a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1zm0 11.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") !important;
background-size: 1.5em 1.5em !important;
background-position: center !important;
background-repeat: no-repeat !important;
stroke: transparent !important;
}
/* alarm/reminder */
.calendar-task-tree > treechildren::-moz-tree-cell(calendar-task-tree-col-priority, alarm){
/* text-decoration:underline !important; */
display: inline-block !important;
vertical-align: text-bottom;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14' fill='red'>⏰</text></svg>") !important; /* !important required to over-ride the background-image used for "needs-action" */
background-size: contain !important;
background-repeat: no-repeat !important;
margin-inline-end: 0 !important;
padding-inline-start: 1.7em !important;
}