summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/windows/mail/folderPane.css
blob: 2303ce2b5c74b7a483c7ba5ca9eba2e52600ff8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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;
}