diff options
Diffstat (limited to 'comm/mail/themes/shared/openpgp/confirmPubkeyImport.css')
-rw-r--r-- | comm/mail/themes/shared/openpgp/confirmPubkeyImport.css | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/comm/mail/themes/shared/openpgp/confirmPubkeyImport.css b/comm/mail/themes/shared/openpgp/confirmPubkeyImport.css new file mode 100644 index 0000000000..301ae19ad6 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/confirmPubkeyImport.css @@ -0,0 +1,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; +} |