summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/shared/mail/aboutDownloads.css
blob: 5fd6b119c6e6f3d9781e40560eccd1efda380dd8 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* 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/. */

@namespace html url("http://www.w3.org/1999/xhtml");

@media not (prefers-contrast) {
  :root {
    --in-content-button-background: var(--grey-90-a10);
    --in-content-button-background-hover: var(--grey-90-a20);
    --in-content-button-background-active: var(--grey-90-a30);
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --in-content-button-background: rgba(249, 249, 250, 0.1);
      --in-content-button-background-hover: rgba(249, 249, 250, 0.15);
      --in-content-button-background-active: rgba(249, 249, 250, 0.2);
      --in-content-primary-button-background: #45a1ff;
      --in-content-focus-outline-color: #45a1ff;
    }
  }
}

body {
  color: var(--in-content-page-color);
  background: var(--in-content-page-background);
  text-shadow: none;
}

#downloadTopBox {
  background-color: var(--toolbar-bgcolor);
  padding: 10px 18px;
  border-bottom: 1px solid var(--chrome-content-separator-color);
}

#downloadBottomBox {
  padding: 15px 18px;
}

#downloadBottomBox:-moz-lwtheme {
  text-shadow: none;
}

#msgDownloadsRichListBox {
  margin-block: 0;
}

#msgDownloadsRichListBox > .download {
  min-height: 5em;
  border-bottom: 1px solid hsla(0, 0%, 50%, .3);
  border-radius: 3px;
}

#msgDownloadsRichListBox > .download > vbox {
  display: flex;
  flex-direction: column;
}

#clearDownloads {
  margin-inline-start: 0;
  padding: 0 12px;
  border-radius: 3px;
  font-weight: 400;
}

#searchBox {
  width: 22em;
  margin-inline-end: 0;
}

.fileTypeIcon {
  margin-inline: 8px;
  /* explicitly size the icon, so size doesn't vary on hidpi systems */
  height: 32px;
  width: 32px;
}

.sender,
.fileName {
  margin-block: 3px;
  font-weight: 600;
}

.sender[value=""] {
  display: none;
}

.size,
.startDate {
  opacity: 0.7;
  margin-block: 3px;
}

.downloadButton {
  align-items: center;
  background: transparent !important;
  min-width: 0;
  height: unset;
  margin: 0;
  border: none !important;
  outline: none !important;
  color: inherit;
  padding: 0 12px;
}

.downloadButton > .button-box {
  appearance: none;
  padding: 8px;
}

.downloadButton > .button-box > .button-icon {
  width: 16px;
  height: 16px;
  margin: 0;
  -moz-context-properties: fill;
  fill: currentColor;
}

.downloadButton > .button-box > .button-text {
  display: none;
}

.downloadButton:hover > .button-box {
  background-color: var(--in-content-button-background-hover);
  border-radius: 50%;
}

.downloadButton:hover:active > .button-box {
  background-color: var(--in-content-button-background-active);
}