diff options
Diffstat (limited to 'comm/mail/themes/shared/openpgp')
33 files changed, 623 insertions, 0 deletions
diff --git a/comm/mail/themes/shared/openpgp/backupKeyPassword.css b/comm/mail/themes/shared/openpgp/backupKeyPassword.css new file mode 100644 index 0000000000..69c82b2501 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/backupKeyPassword.css @@ -0,0 +1,37 @@ +/* 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/. */ + +body { + width: 700px; + max-width: 700px; + min-width: 700px; +} + +dialog { + margin-block-start: 10px; + margin-inline: 5px; +} + +legend { + font-size: 1em; +} + +fieldset { + display: grid; + grid-template-columns: auto 400px; + grid-gap: 5px; + align-items: center; +} + +label { + grid-column: 1; +} + +input,progress { + grid-column: 2; +} + +progress { + height: 20px; +} diff --git a/comm/mail/themes/shared/openpgp/changeExpiryDlg.css b/comm/mail/themes/shared/openpgp/changeExpiryDlg.css new file mode 100644 index 0000000000..121ad74309 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/changeExpiryDlg.css @@ -0,0 +1,19 @@ +/* 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 { + width: 700px; + min-width: 700px; + max-width: 700px; +} + +fieldset { + margin-inline: 20px; + margin-block: 4px; +} + +fieldset > div { + display: flex; + align-items: center; +} 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; +} diff --git a/comm/mail/themes/shared/openpgp/enigEncActiveConflict.png b/comm/mail/themes/shared/openpgp/enigEncActiveConflict.png Binary files differnew file mode 100644 index 0000000000..ae175f67fd --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncActiveConflict.png diff --git a/comm/mail/themes/shared/openpgp/enigEncActiveMinus.png b/comm/mail/themes/shared/openpgp/enigEncActiveMinus.png Binary files differnew file mode 100644 index 0000000000..265eda8ebf --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncActiveMinus.png diff --git a/comm/mail/themes/shared/openpgp/enigEncActiveNone.png b/comm/mail/themes/shared/openpgp/enigEncActiveNone.png Binary files differnew file mode 100644 index 0000000000..b96f683eef --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncActiveNone.png diff --git a/comm/mail/themes/shared/openpgp/enigEncActivePlus.png b/comm/mail/themes/shared/openpgp/enigEncActivePlus.png Binary files differnew file mode 100644 index 0000000000..c8e868c2c5 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncActivePlus.png diff --git a/comm/mail/themes/shared/openpgp/enigEncForceNo.png b/comm/mail/themes/shared/openpgp/enigEncForceNo.png Binary files differnew file mode 100644 index 0000000000..322698b33f --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncForceNo.png diff --git a/comm/mail/themes/shared/openpgp/enigEncForceYes.png b/comm/mail/themes/shared/openpgp/enigEncForceYes.png Binary files differnew file mode 100644 index 0000000000..6485acab9b --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncForceYes.png diff --git a/comm/mail/themes/shared/openpgp/enigEncInactive.png b/comm/mail/themes/shared/openpgp/enigEncInactive.png Binary files differnew file mode 100644 index 0000000000..156d9846dd --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncInactive.png diff --git a/comm/mail/themes/shared/openpgp/enigEncInactiveConflict.png b/comm/mail/themes/shared/openpgp/enigEncInactiveConflict.png Binary files differnew file mode 100644 index 0000000000..b5e907a99f --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncInactiveConflict.png diff --git a/comm/mail/themes/shared/openpgp/enigEncInactiveMinus.png b/comm/mail/themes/shared/openpgp/enigEncInactiveMinus.png Binary files differnew file mode 100644 index 0000000000..1e432f57d1 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncInactiveMinus.png diff --git a/comm/mail/themes/shared/openpgp/enigEncInactiveNone.png b/comm/mail/themes/shared/openpgp/enigEncInactiveNone.png Binary files differnew file mode 100644 index 0000000000..8125f28c3e --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncInactiveNone.png diff --git a/comm/mail/themes/shared/openpgp/enigEncInactivePlus.png b/comm/mail/themes/shared/openpgp/enigEncInactivePlus.png Binary files differnew file mode 100644 index 0000000000..9c8de22de1 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncInactivePlus.png diff --git a/comm/mail/themes/shared/openpgp/enigEncNotOk.png b/comm/mail/themes/shared/openpgp/enigEncNotOk.png Binary files differnew file mode 100644 index 0000000000..95df0702ae --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigEncNotOk.png diff --git a/comm/mail/themes/shared/openpgp/enigSignActiveConflict.png b/comm/mail/themes/shared/openpgp/enigSignActiveConflict.png Binary files differnew file mode 100644 index 0000000000..bfb4f372c2 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignActiveConflict.png diff --git a/comm/mail/themes/shared/openpgp/enigSignActiveMinus.png b/comm/mail/themes/shared/openpgp/enigSignActiveMinus.png Binary files differnew file mode 100644 index 0000000000..7099d0039b --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignActiveMinus.png diff --git a/comm/mail/themes/shared/openpgp/enigSignActiveNone.png b/comm/mail/themes/shared/openpgp/enigSignActiveNone.png Binary files differnew file mode 100644 index 0000000000..c325b0fa27 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignActiveNone.png diff --git a/comm/mail/themes/shared/openpgp/enigSignActivePlus.png b/comm/mail/themes/shared/openpgp/enigSignActivePlus.png Binary files differnew file mode 100644 index 0000000000..a4084ea806 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignActivePlus.png diff --git a/comm/mail/themes/shared/openpgp/enigSignForceNo.png b/comm/mail/themes/shared/openpgp/enigSignForceNo.png Binary files differnew file mode 100644 index 0000000000..682a501758 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignForceNo.png diff --git a/comm/mail/themes/shared/openpgp/enigSignForceYes.png b/comm/mail/themes/shared/openpgp/enigSignForceYes.png Binary files differnew file mode 100644 index 0000000000..e6e3966707 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignForceYes.png diff --git a/comm/mail/themes/shared/openpgp/enigSignInactiveConflict.png b/comm/mail/themes/shared/openpgp/enigSignInactiveConflict.png Binary files differnew file mode 100644 index 0000000000..cdf915d5e4 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignInactiveConflict.png diff --git a/comm/mail/themes/shared/openpgp/enigSignInactiveMinus.png b/comm/mail/themes/shared/openpgp/enigSignInactiveMinus.png Binary files differnew file mode 100644 index 0000000000..2a70ddb6b0 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignInactiveMinus.png diff --git a/comm/mail/themes/shared/openpgp/enigSignInactiveNone.png b/comm/mail/themes/shared/openpgp/enigSignInactiveNone.png Binary files differnew file mode 100644 index 0000000000..a1c3a3528f --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignInactiveNone.png diff --git a/comm/mail/themes/shared/openpgp/enigSignInactivePlus.png b/comm/mail/themes/shared/openpgp/enigSignInactivePlus.png Binary files differnew file mode 100644 index 0000000000..b7a69a0d68 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignInactivePlus.png diff --git a/comm/mail/themes/shared/openpgp/enigSignNotOk.png b/comm/mail/themes/shared/openpgp/enigSignNotOk.png Binary files differnew file mode 100644 index 0000000000..bb7b212615 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignNotOk.png diff --git a/comm/mail/themes/shared/openpgp/enigSignUnkown.png b/comm/mail/themes/shared/openpgp/enigSignUnkown.png Binary files differnew file mode 100644 index 0000000000..4e51c94d1f --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigSignUnkown.png diff --git a/comm/mail/themes/shared/openpgp/enigmail-html.css b/comm/mail/themes/shared/openpgp/enigmail-html.css new file mode 100644 index 0000000000..690303335b --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigmail-html.css @@ -0,0 +1,101 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + */ + +/** + * Enigmail style for HTML pages, displayed in tabs + */ + + + + +body { + color: black; + padding: 0; + background-color: white; + border-style: none; + font-family: Arial, Helvetica, sans-serif; + font-size: 14px; +} + +h1 { + font-size: 2em; + color: #0077bb; +} + +h2 { + font-size: 1.4em; + margin-top: 1.3em; +} + +h3 { + font-size: 1.2em; + margin-top: 1.3em; +} + +ul { + list-style-image: none; +} + +a { + text-decoration: underline; +} + +a:link { + color: blue; +} + +a:visited { + color: #9900cc; +} + +a:hover { + color: red; +} + +.header-bar { + box-sizing: border-box; + font-size: 14px; + font-weight: 300; + line-height: 16.8px; + margin-left: 0px; + margin-right: 0px; + padding-left: 15px; + padding-right: 15px; + position: relative; + min-height: 80px; + background-color: #0077bb; +} + +.header-icon { + box-sizing: border-box; + float: left; + font-size: 14px; + line-height: 16.8px; + margin-left: 0px; + margin-right: 10px; +} + +.spacer { + padding-top: 40px; +} + +.body { + max-width: 800px; +} + +.logo-img { + max-height: 90px; +} + +button { + font-size: 1.2em; + margin-top: 1.3em; +} + +.hidden { + visibility: collapse; + max-height: 0px; +} diff --git a/comm/mail/themes/shared/openpgp/enigmail.css b/comm/mail/themes/shared/openpgp/enigmail.css new file mode 100644 index 0000000000..2edf293b0a --- /dev/null +++ b/comm/mail/themes/shared/openpgp/enigmail.css @@ -0,0 +1,80 @@ +/* + * 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 https://mozilla.org/MPL/2.0/. + */ + +.enigmailGroupbox { + border-radius: 4px; + border-style: groove; + border-width: thin; + padding: 3px; + margin: 3px; + border-color: lightgrey; +} + +.enigmailGroupboxMargin { + margin: 10px 3px; +} + +.enigmailDialogTitle { + font-size: 120%; + font-weight: bold; + padding-bottom: 6px; +} + +.enigmailDialogBody { + -moz-user-focus: normal; + user-select: text; + cursor: text !important; + white-space: pre-wrap; + unicode-bidi: plaintext; +} + +.enigmailKeyImportHeader { + font-weight: bold; + color: #888; +} + +.enigmailKeyImportUserId { + font-weight: bold; +} + +.enigmailKeyImportDetails { + color: blue; +} + +.enigmailKeyImportDetails:hover { + text-decoration: underline; +} + +treechildren::-moz-tree-cell-text(enigmailOwnKey) { + font-weight: bold; +} + +treechildren::-moz-tree-cell-text(enigKeyInactive) { + color: gray; + font-style: italic; +} + +/* + the following styles are available for the key trust + columnm in the key manager: + enigmail_keyValid_unknown + enigmail_keyValid_revoked + enigmail_keyValid_expired + enigmail_keyTrust_untrusted + enigmail_keyTrust_marginal + enigmail_keyTrust_full + enigmail_keyTrust_ultimate + enigmail_keyTrust_unknown + +They can be applied using: +treechildren::-moz-tree-cell(STYLE) {} +treechildren::-moz-tree-cell-text(STYLE) {} +*/ + +th { + font-weight: normal; + text-align: start; +} diff --git a/comm/mail/themes/shared/openpgp/inlineNotification.css b/comm/mail/themes/shared/openpgp/inlineNotification.css new file mode 100644 index 0000000000..528711be40 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/inlineNotification.css @@ -0,0 +1,59 @@ +/* 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/. */ + +.inline-notification-container:not([collapsed="true"],[hidden]) { + display: flex; + border-radius: 3px; + padding: 6px 8px; + margin: 10px 3px; +} + +.inline-notification-container { + color: inherit; +} + +.inline-notification-wrapper { + display: flex; + align-items: flex-start; +} + +.inline-notification-wrapper.align-center { + align-items: center; +} + +.inline-notification-wrapper description { + flex: 1; +} + +.notification-image { + -moz-context-properties: fill; + fill: currentColor; + margin-inline: 4px 8px; + margin-top: 4px; + width: 16px; +} + +.inline-notification-wrapper.align-center .notification-image { + margin-top: 0; +} + +/* Info variation */ + +.inline-notification-container.info-container { + background-color: rgba(69, 161, 255, 0.2); +} + +/* error variation */ + +.inline-notification-container.error-container { + background-color: #f7b6b6; + color: #410303; +} + +/* success variation */ + +.inline-notification-container.success-container { + background-color: #c1f7b6; + color: #043a08; +} diff --git a/comm/mail/themes/shared/openpgp/keyDetails.css b/comm/mail/themes/shared/openpgp/keyDetails.css new file mode 100644 index 0000000000..0decc6508f --- /dev/null +++ b/comm/mail/themes/shared/openpgp/keyDetails.css @@ -0,0 +1,72 @@ +/* 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 { + width: 840px; + height: 650px; + min-width: 840px; + min-height: 650px; +} + +body { + overflow: auto; +} + +body > dialog, +button { + font-size: 1rem; /* accountManage.css pulls in preferences.css that sets font-size ... */ +} + +.key-details-container { + display: grid; + grid-template-columns: auto max-content; + align-items: end; + padding-inline: 6px; +} + +.key-details-grid { + display: grid; + grid-template-columns: max-content 1fr; + grid-row-gap: 3px; + align-items: baseline; +} + +.key-detail-label { + font-weight: 600; + margin-inline-end: 6px; + line-height: unset; /* accountManage.css pulls in preferences.css that sets line-height ... */ +} + +.backup-container { + padding-inline: 9px; +} + +.input-padding { + margin: 2px 4px; +} + +#alsoknown { + margin-top: 9px; + margin-inline: 6px; +} + +.additional-key-identity { + border-radius: 0; + padding-inline: 8px; +} + +#addressesListContainer { + overflow-y: auto; +} + +.tail-with-learn-more { + margin-inline-end: 10px; + font-weight: bold; +} + +#key-detail-has-insecure { + max-width: 50em; + margin-inline: 2em; + margin-top: 1em; +} diff --git a/comm/mail/themes/shared/openpgp/keyWizard.css b/comm/mail/themes/shared/openpgp/keyWizard.css new file mode 100644 index 0000000000..7bb19ab347 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/keyWizard.css @@ -0,0 +1,152 @@ +/* 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"); + +description { + padding-inline: 2px; +} + +.identity-legend { + margin-block: 0; +} + +.dialogheader-title { + margin-block: 0 8px; + margin-inline-start: 0; + font-size: 1.46em; + font-weight: 300; + line-height: 1.3em; + color: var(--in-content-text-color); +} + +.wizard-section { + transition: transform 230ms ease, opacity 230ms ease; +} + +.wizard-section.hide { + transform: translateY(-100%); + opacity: 0; +} + +.wizard-section.hide-reverse { + transform: translateY(100%); + opacity: 0; +} + +.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; +} + +#keySize { + width: 7em; +} + +#importLoading { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + flex: 1; +} + +.self-center { + align-self: center; +} + +.loading-status { + width: 16px; + height: 16px; +} + +/* Import key list */ + +#keyListCount { + font-weight: bold; +} + +#importKeyList { + display: grid; + row-gap: 6px; + margin: 18px 6px 9px; +} + +.key-import-row { + display: grid; + grid-template-columns: 1fr max-content; + 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; +} + +.key-import-row.selected { + border: 1px solid #45A1FF; + background-color: rgba(69, 161, 255, 0.2); + margin-bottom: 0; +} + +.openpgp-key-id { + font-weight: bold; +} + +.openpgp-key-name { + font-size: 0.9em; +} + +.openpgp-image-btn .button-icon { + margin-inline-end: 4px; + -moz-context-properties: fill; + fill: currentColor; +} + +.openpgp-props-btn { + list-style-image: url("chrome://messenger/skin/icons/developer.svg"); +} + +.extra-information-label { + display: grid; + grid-template-columns: auto max-content; + row-gap: 5px; + align-items: center; + margin-inline-end: 10px; +} + +.extra-information-label-type { + font-weight: 600; + margin-inline-end: 4px; +} + +.tip-caption { + color: var(--in-content-deemphasized-text); + font-size: .9em; +} + +.description-centered { + text-align: center; + margin-inline: 20px; +} + +.input-container { + display: flex; + align-items: center; + flex-wrap: nowrap; +} + +.input-container input:not([type="number"],[type="color"]) { + flex: 1; +} diff --git a/comm/mail/themes/shared/openpgp/openPgpComposeStatus.css b/comm/mail/themes/shared/openpgp/openPgpComposeStatus.css new file mode 100644 index 0000000000..3acb9c1b02 --- /dev/null +++ b/comm/mail/themes/shared/openpgp/openPgpComposeStatus.css @@ -0,0 +1,25 @@ +/* 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"); + +treecolpicker { + display: none; +} + +#recipientKeyIdCol { + flex: 3; +} + +#recipientStatusCol { + flex: 4; +} + +#recipientComposeKeyCol { + flex: 3; +} + +#statusComposeKeyCol { + flex: 2; +} |