summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/shared/openpgp/confirmPubkeyImport.css
blob: 301ae19ad6bb1f7c19ee1a96e83309ac26c8be35 (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
/* 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/messenger.css");

#confirmPubkeyImportDialog {
  width: 55em;
}

@media not (-moz-platform: macos) {
  #confirmPubkeyImportDialog::part(content-box) {
    width: calc(55em - 18px); /* dialog width - padding. */
  }
}

@media (-moz-platform: macos) {
  #confirmPubkeyImportDialog::part(content-box) {
    width: calc(55em - 28px); /* dialog width - padding. */
  }
}

description {
  padding-inline: 2px;
}

.grid-size {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
}

.overlay {
  display: flex;
  position: fixed;
  flex-direction: column;
  justify-content: start;
  background-color: var(--in-content-page-background, -moz-dialog);
  inset: 0;
  z-index: 1;
}

.self-center {
  align-self: center;
}

#importKeyListContainer {
  height: 25em;
  overflow-y: scroll;
}

#importKeyList {
  display: grid;
  row-gap: 6px;
  margin: 18px 6px 9px;
}

.key-import-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-radius: 4px;
  padding: 3px 6px;
  border: 1px solid var(--in-content-border-color);
  background-color: rgba(215, 215, 219, 0.2);
  margin-bottom: 6px;
}

.openpgp-key-id {
  font-weight: bold;
}

.openpgp-key-name {
  font-size: 1em;
}

.openpgp-key-fpr {
  font-size: 0.9em;
}