summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/shared/mail/converterDialog.css
blob: 381ccf808d846d25036af1f0aa40e38199ae77e9 (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
/* 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/. */

html {
  background-color: -moz-Dialog;
}

body {
  color: -moz-DialogText;
  font: message-box;
  position: relative;
  min-width: 330px;
  max-width: 50em;
}

.convert-area {
  display: grid;
  grid-template: "icon text text" auto
                 "icon progress-bar progress-percent" auto
                 "buttons buttons buttons" 1fr / auto 70% 1fr;
  gap: 10px 15px;
}

.convert-area[hidden] {
  display: none;
}

.infoIcon {
  width: 48px;
  height: 48px;
  grid-area: icon;
  align-self: start;
}

p {
  margin: 0;
  /* Only one paragraph should be displayed at any given time. */
  grid-area: text;
  align-self: start;
}

.controls {
  grid-area: buttons;
  align-self: end;
  justify-self: end;
}

#progress {
  grid-area: progress-bar;
  align-self: center;
}

#progressPercent {
  grid-area: progress-percent;
  align-self: center;
}