diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mail/themes/shared/mail/subscribe.css | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/mail/themes/shared/mail/subscribe.css')
-rw-r--r-- | comm/mail/themes/shared/mail/subscribe.css | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/comm/mail/themes/shared/mail/subscribe.css b/comm/mail/themes/shared/mail/subscribe.css new file mode 100644 index 0000000000..349fb552dd --- /dev/null +++ b/comm/mail/themes/shared/mail/subscribe.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 http://mozilla.org/MPL/2.0/. */ + +/* ===== subscribe.css ================================================== + == Styles for the Subscribe dialog. + ======================================================================= */ + +@import url("chrome://messenger/skin/messenger.css"); + +#subscribeWindow { + min-width: 40em; + min-height: 30em; +} + +#nameColumn, +#nameColumn2 { + flex: 10 10; +} + +/* ::::: Subscription Icons :::::: */ + +treechildren::-moz-tree-image(subscribedColumn), +treechildren::-moz-tree-image(subscribedColumn2) { + width: 14px; + height: 14px; + list-style-image: url("chrome://messenger/skin/icons/checkbox.svg"); + -moz-context-properties: fill, fill-opacity, stroke, stroke-opacity; + fill: currentColor; + stroke: currentColor; + fill-opacity: 0; + stroke-opacity: 0; +} + +treechildren::-moz-tree-image(subscribedColumn, subscribed-true), +treechildren::-moz-tree-image(subscribedColumn2, subscribed-true) { + fill-opacity: 1; +} + +treechildren::-moz-tree-image(subscribedColumn, selected, focus), +treechildren::-moz-tree-image(subscribedColumn2, selected, focus) { + fill: var(--select-focus-text-color); + stroke: var(--select-focus-text-color); +} + +treechildren::-moz-tree-image(subscribedColumn, subscribable-false) { + list-style-image: none; +} + +treechildren::-moz-tree-cell-text(nameColumn, subscribable-false) { + opacity: 0.6; + font-style: italic; +} + +/* ::::: Folders :::::: */ + +treechildren::-moz-tree-image(nameColumn) { + margin-inline-end: 2px; + list-style-image: url("chrome://messenger/skin/icons/folder.svg"); +} + +treechildren::-moz-tree-image(nameColumn, serverType-nntp), +treechildren::-moz-tree-image(nameColumn2, serverType-nntp) { + margin-inline-end: 2px; + list-style-image: url("chrome://messenger/skin/icons/globe.svg"); +} + +/* ::::: Servers :::::: */ + +.subscribeMenuItem { + list-style-image: url("chrome://messenger/skin/icons/message.svg"); +} + +.subscribeMenuItem[ServerType="imap"][IsSecure="true"] { + list-style-image: url("chrome://messenger/skin/icons/message-secure.svg"); +} + +.subscribeMenuItem[ServerType="nntp"] { + list-style-image: url("chrome://messenger/skin/icons/globe.svg"); +} |