diff options
Diffstat (limited to 'comm/mail/themes/windows/mail/folderPane.css')
-rw-r--r-- | comm/mail/themes/windows/mail/folderPane.css | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/comm/mail/themes/windows/mail/folderPane.css b/comm/mail/themes/windows/mail/folderPane.css new file mode 100644 index 0000000000..2303ce2b5c --- /dev/null +++ b/comm/mail/themes/windows/mail/folderPane.css @@ -0,0 +1,52 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@import url("chrome://messenger/skin/shared/folderPane.css"); + +/* ::::: All Servers ::::: */ + +treechildren::-moz-tree-image(folderNameCol) { + margin-top: 2px; +} + +@media (-moz-windows-default-theme: 0) { + #folderTree treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) { + padding-inline-start: 23px !important; + } + + treechildren::-moz-tree-image(folderNameCol, newMessages-true) { + fill: color-mix(in srgb, SelectedItemText 20%, transparent) !important; + stroke: SelectedItemText !important; + } + + :root:not(:-moz-lwtheme) treechildren::-moz-tree-image(folderNameCol) { + --default: FieldText; + --primary: SelectedItem; + } +} + +@media (prefers-contrast) { + treechildren::-moz-tree-image(folderNameCol, newMessages-true, selected, focus) { + fill: color-mix(in srgb, SelectedItemText 20%, transparent) !important; + stroke: SelectedItemText !important; + } +} + +#folderTree treechildren::-moz-tree-indentation { + width: 8px; +} + +/* UI Density customization */ + +#folderTree > treechildren::-moz-tree-row { + min-height: 1.8rem; +} + +:root[uidensity="compact"] #folderTree > treechildren::-moz-tree-row { + min-height: 1.6rem; +} + +:root[uidensity="touch"] #folderTree > treechildren::-moz-tree-row { + min-height: 2.4rem; +} |