/* 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;
}
/*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}
/* menubar on top */
#toolbar-menubar {order: -1 !important;}
/* hide folder pane unread count */
.unread > .container > .unread-count { display:none !important; }
/* message row height in Table view */
tr[is="thread-row"] {height: 24px !important}
/* 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;}
#spacesToolbar {background-color: #d2d2d2 !important}
#folderPane {background-color: #F0F0F0 !important}
#unifiedToolbar {
background: #F0F0F0 !important;
max-height: 28px !important;
margin: 0px !important;
padding-top: 0px !important;
padding-bottom: 0px !important; }
/* menubar > * {background-color: yellow!important} */
/* toolbar > * {background-color: cyan!important} */
/* tabs bar */
/* scrollbox, .scrollbox-clip {background: #e2e2e2 !important;} */
/* quickfilter background*/
/* #quickFilterBarContainer {background: #ffe3f5 !important;} */
/* ----------------------------- CALENDAR ----------------------------- */
.calendar-month-day-box-day-off {background-color: #DFD!important}
.calendar-month-day-box-other-month {background-color:#DDD!important}
/* ------------------------------ TASKS ------------------------------- */
toolbarbutton#calendar-delete-task-button {visibility:0!important;opacity:0!important;display:none!important}
#task-actions-toolbox {padding-right:10mm!important}
.calendar-task-tree > treechildren::-moz-tree-cell-text(),
.calendar-task-tree > treechildren::-moz-tree-cell-text(selected,focus)
{color:black !important}
/* future: before start date, not due today */
.calendar-task-tree > treechildren::-moz-tree-cell-text(future) {color:WindowText!important}
/* started tasks */
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-in-process),
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-in-process,selected,focus),
.calendar-task-tree > treechildren::-moz-tree-cell-text(inprogress),
.calendar-task-tree > treechildren::-moz-tree-cell-text(inprogress,selected,focus)
{color: blue !important}
.calendar-task-tree > treechildren::-moz-tree-cell-text(status-needs-action) {
color: blue !important;
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}
/* overdue */
.calendar-task-tree > treechildren::-moz-tree-cell-text(overdue),
.calendar-task-tree > treechildren::-moz-tree-cell-text(overdue,selected,focus)
{color: red !important; font-weight:bold}
/* completed */
.calendar-task-tree > treechildren::-moz-tree-cell-text(completed),
.calendar-task-tree > treechildren::-moz-tree-cell-text(completed,selected,focus)
{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;}
/* Color all items that have an alarm */
.calendar-task-tree > treechildren::-moz-tree-cell-text(alarm) {font-style:italic}
/* hover, focus, selected */
.calendar-task-tree > treechildren::-moz-tree-row(hover),
.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),
.calendar-task-tree > treechildren::-moz-tree-row(selected,focus),
.calendar-task-tree > treechildren::-moz-tree-row(inprogress,selected,focus),
.calendar-task-tree > treechildren::-moz-tree-row(completed,selected,focus),
.calendar-task-tree > treechildren::-moz-tree-row(overdue,selected,focus)
{background:#eee!important; border:1px dotted black !important; outline:1px dotted black !important}
/* green checkmark in "completed" checkbox */
.calendar-task-tree-col-completed >.treecol-icon,
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-completed) {
-moz-context-properties: fill, fill-opacity, stroke, stroke-opacity;
fill: green !important;
stroke: black !important;
stroke-opacity: 0;
}
/* low priority symbol = blue / high priority symbol = red */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, selected) {stroke: var(--calendar-priority-icon-color) !important}
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, lowpriority) {list-style-image: var(--icon-priority-low); stroke:blue!important}
:root[lwt-tree-brighttext] .calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, lowpriority) {stroke:blue!important}
:root[lwt-tree-brighttext] .calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, highpriority),
:root[lwt-tree-brighttext] .calendar-task-tree > treechildren::-moz-tree-cell-text(calendar-task-tree-col-priority, highpriority),
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, highpriority),
.calendar-task-tree > treechildren::-moz-tree-cell-text(calendar-task-tree-col-priority, highpriority) {
list-style-type: "'!'" !important;
color: red !important;
font-weight: bolder !important;
font-style: italic !important;
stroke: red !important;
background: yellow !important;
border: 1px solid red !important;
}
/* High priority task icon */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, highpriority) {
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;
}
/* Low priority task icon */
.calendar-task-tree > treechildren::-moz-tree-image(calendar-task-tree-col-priority, lowpriority) {
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' fill='Blue' fill-opacity='context-fill-opacity'%3E%3Cpath d='M8 2a1 1 0 00-1 1v8.1L5.86 9.97c-.94-.8-2.21.47-1.41 1.41l2.82 2.82h.01c.4.39 1.1.38 1.48 0l2.78-2.79a.98.98 0 000-1.41 1 1 0 00-1.41 0L9 11.07V3a1 1 0 00-1-1z'/%3E%3C/svg%3E") !important;
background-size: 1.5em 1.5em !important;
background-position: center !important;
background-repeat: no-repeat !important;
stroke: transparent !important;
}