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/suite/themes/classic/linux | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.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/suite/themes/classic/linux')
6 files changed, 648 insertions, 0 deletions
diff --git a/comm/suite/themes/classic/linux/communicator/communicator.css b/comm/suite/themes/classic/linux/communicator/communicator.css new file mode 100644 index 0000000000..2f68d4fbba --- /dev/null +++ b/comm/suite/themes/classic/linux/communicator/communicator.css @@ -0,0 +1,331 @@ +/* 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/. */ + +/* ==== communicator.css ==================================================== + == Styles shared everywhere throughout the Communicator suite. + ========================================================================== */ + +@import url("chrome://global/skin/global.css"); +@import url("chrome://communicator/content/communicator.css"); +@import url("chrome://communicator/skin/brand.css"); +@import url("chrome://communicator/skin/button.css"); +@import url("chrome://communicator/skin/toolbar.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.wizard-box { + padding: 20px 44px 10px; +} + +/* ::::: toolbar-primary ::::: */ + +.toolbar-primary { + -moz-binding: url("chrome://communicator/content/bindings/toolbar-xpfe.xml#grippytoolbar-primary"); +} + +/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */ +textbox:not(.padded) { + cursor: default; + padding: 0; +} + +textbox[enablehistory="true"] { + -moz-appearance: none; + border: 0; + background-color: transparent; +} + +textbox[enablehistory="true"] > .autocomplete-textbox-container { + -moz-appearance: menulist-textfield; +} +/* ::::: autocomplete ::::: */ + +.autocomplete-history-popup { + max-height: 25em; +} + +textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) { + width: 16px; + height: 16px; + margin-left: 1px; +} + +textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, directory) { + list-style-image: url("chrome://communicator/skin/places/bookmark-folder-closed.png"); +} + +textbox[autocompletesearch="history file"] .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue, file) { + list-style-image: url("chrome://communicator/skin/places/bookmark-item.svg"); +} + +/* ::::: online/offline icons ::::: */ + +#offline-status[offline="true"] { + list-style-image: url("chrome://communicator/skin/icons/offline.png"); +} + +#offline-status { + list-style-image: url("chrome://communicator/skin/icons/online.png"); +} + +/* ::::: spell checker ::::: */ + +.spell-suggestion { + font-weight: bold; +} + +/* ::::: error messages ::::: */ + +description.error { + color: #FF0000; +} + +/* ::::: directional button icons ::::: */ + +.up { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.up[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); +} + +.down { + min-width: 0px; + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); +} + +.down[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); +} + +.sidebarTree { + border: none; + margin: 0px !important; +} + +/* ::::: iconic menus and menuitems ::::: */ + +menu.menu-iconic > .menu-iconic-left, +menuitem.menuitem-iconic > .menu-iconic-left { + display: -moz-box; +} + +/* Fix to show the menulist-dropmarker under newer GTK3 versions */ +menulist[editable="true"] > .menulist-dropmarker { + min-width: 2em; +} + +/* ::::: toolbar print button ::::: */ +#print-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); + -moz-image-region: rect(0 29px 29px 0); +} + +#print-button:hover { + -moz-image-region: rect(0 59px 29px 30px); +} + +#print-button:hover:active { + -moz-image-region: rect(0 89px 29px 60px); +} + +#print-button[disabled="true"] { + -moz-image-region: rect(0 119px 29px 90px) !important; +} + +toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, +toolbar[iconsize="small"] > #print-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); + -moz-image-region: rect(0 19px 19px 0); +} + +toolbar[iconsize="small"] > #print-button:hover { + -moz-image-region: rect(0 39px 19px 20px); +} + +toolbar[iconsize="small"] > #print-button:hover:active { + -moz-image-region: rect(0 59px 19px 40px); +} + +toolbar[iconsize="small"] > #print-button[disabled="true"] { + -moz-image-region: rect(0 79px 19px 60px) !important; +} + +/* ::::: lightweight themes ::::: */ + +toolbar button:-moz-lwtheme, +toolbar menulist:-moz-lwtheme:not([open="true"]), +toolbar textbox:-moz-lwtheme:not([focused="true"]) { + opacity: .8; +} + +treecols:-moz-lwtheme { + text-shadow: none; + color: -moz-dialogtext; + background-color: -moz-dialog; +} + +/* ::::: notification bars ::::: */ + +.messageImage[value="refresh-blocked"] { + list-style-image: url("chrome://communicator/skin/icons/application.png"); +} + +.messageImage[value="blocked-plugins"], +.messageImage[value="disabled-plugins"], +.messageImage[value="missing-plugins"], +.messageImage[value="outdated-plugins"], +.messageImage[value="click-to-play-plugins"], +.messageImage[value="plugin-crashed"] { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); +} + +.messageImage[value="geolocation"] { + list-style-image: url("chrome://communicator/skin/icons/geo.png"); +} + +.messageImage[value="webNotifications"] { + list-style-image: url("chrome://communicator/skin/icons/notification-16.png"); +} + +.messageImage[value="indexedDB-permissions-prompt"], +.messageImage[value="indexedDB-quota-prompt"] { + list-style-image: url("chrome://global/skin/icons/question-16.png"); +} + +.messageImage[value="addon-install-blocked"], +.messageImage[value="addon-install-cancelled"], +.messageImage[value="addon-install-complete"], +.messageImage[value="addon-install-disabled"], +.messageImage[value="addon-install-failed"], +.messageImage[value="addon-install-started"], +.messageImage[value="lwtheme-install-request"], +.messageImage[value="lwtheme-install-notification"] { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); +} + +.messageImage[value="popup-blocked"] { + list-style-image: url("chrome://navigator/skin/icons/popup-blocked.png"); +} + +.messageImage[value="blocked-badware-page"] { + list-style-image: url("chrome://global/skin/icons/blacklist_favicon.png"); +} + +.messageImage[value="EnterInsecureMessage"] { + list-style-image: url("chrome://communicator/skin/icons/lock-insecure-16.png"); +} + +.messageImage[value="EnterSecureMessage"], +.messageImage[value="BlockedActiveContentMessage"], +.messageImage[value="BlockedDisplayContentMessage"] { + list-style-image: url("chrome://communicator/skin/icons/lock-secure-16.png"); +} + +.messageImage[value="MixedContentMessage"], +.messageImage[value="MixedActiveContentMessage"], +.messageImage[value="MixedDisplayContentMessage"] { + list-style-image: url("chrome://communicator/skin/icons/lock-broken-16.png"); +} + +/* ::::: tree rows ::::: */ + +/* ::::: dialog header ::::: */ + +dialogheader { + margin: 0px 5px 5px 5px; + border: 1px solid; + border-top-color: ThreeDDarkShadow; + border-right-color: ThreeDDarkShadow; + border-bottom-color: ThreeDDarkShadow; + border-left-color: ThreeDDarkShadow; + padding: 5px 8px; + background-color: Highlight; + color: HighlightText; +} + +.dialogheader-title { + margin: 0px !important; + font-size: larger; + font-weight: bold; +} + +/* ::::: statusbar ::::: */ + +statusbar { + -moz-appearance: statusbar; + border-top: 1px solid ThreeDLightShadow; + border-left: 1px solid ThreeDShadow; + border-right: 1px solid ThreeDHighlight; + border-bottom: 1px solid ThreeDHighlight; + background-color: -moz-Dialog; + min-height: 22px; +} + +statusbar:-moz-lwtheme { + -moz-appearance: none; + background: none; + border-style: none; +} + +statusbarpanel { + -moz-appearance: statusbarpanel; + -moz-box-align: center; + -moz-box-pack: center; + border-left: 1px solid ThreeDHighlight; + border-top: 1px solid ThreeDHighlight; + border-right: 1px solid ThreeDShadow; + border-bottom: 1px solid ThreeDShadow; + padding: 0 4px; +} + +statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { + -moz-appearance: none; + border-top-style: none; + border-bottom-style: none; + border-inline-start-style: none; +} + +.statusbar-resizerpanel { + -moz-box-align: end; + -moz-box-pack: end; + -moz-appearance: resizerpanel; + padding: 0; + border: none; +} + +.statusbarpanel-iconic, +.statusbarpanel-iconic-text { + padding: 0 1px; +} + +.statusbarpanel-backgroundbox { + -moz-box-align: stretch; + padding: 0px; +} + +.statusbarpanel-backgroundbox > .statusbarpanel-contentbox { + padding: 0px 1px; + -moz-box-align: center; +} + +/* colorpicker button */ + +colorpicker[type="button"] { + -moz-appearance: button; + width: 56px; + height: 24px; +} + +/* filefield */ + +.fileFieldContentBox { + padding-inline-start: 3px; + margin-inline-start: -4px; + margin-inline-end: -4px; + margin-top: 4px; + margin-bottom: 4px; +} diff --git a/comm/suite/themes/classic/linux/communicator/feed-subscribe.css b/comm/suite/themes/classic/linux/communicator/feed-subscribe.css new file mode 100644 index 0000000000..55dfc55e26 --- /dev/null +++ b/comm/suite/themes/classic/linux/communicator/feed-subscribe.css @@ -0,0 +1,149 @@ +/* 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: -moz-Dialog; + font: message-box; +} + +#feedBody { + border: 1px solid ThreeDShadow; + padding: 3em; + padding-inline-start: 30px; + margin: 2em auto; + background: -moz-Field; +} + +#feedHeaderContainer { + border: 1px solid ThreeDShadow; + border-radius: 10px; + margin: -4em auto 0 auto; + background-color: InfoBackground; + -moz-appearance: -moz-gtk-info-bar; +} + +#feedHeader { + margin-top: 4.9em; + margin-bottom: 1em; + margin-inline-start: 1.4em; + margin-inline-end: 1em; + padding-inline-start: 2.9em; + font-size: 110%; + color: -moz-gtk-info-bar-text; +} + +.feedBackground { + background: url("chrome://communicator/skin/icons/feedIcon.png") 0% 10% no-repeat; +} + +.videoPodcastBackground { + background: url("chrome://communicator/skin/icons/videoFeedIcon.png") 0% 10% no-repeat; +} + +.audioPodcastBackground { + background: url("chrome://communicator/skin/icons/audioFeedIcon.png") 0% 10% no-repeat; +} + +#feedHeader[dir="rtl"] { + background-position: 100% 10%; +} + +#feedIntroText { + display: none; +} + +#feedHeader[firstrun="true"] #feedIntroText { + padding-top: 0.1em; + padding-inline-start: 0.6em; + display: block; +} + +#feedHeader[firstrun="true"] > #feedSubscribeLine { + padding-inline-start: 1.8em; +} + +#feedSubscribeLine { + padding-top: 0.2em; +} + +/* Don't print subscription UI */ +@media print { + #feedHeaderContainer { + display: none; + } +} + +body { + margin: 0; + padding: 0 3em; + color: -moz-fieldText; + font: message-box; +} + +h1 { + font-size: 160%; + border-bottom: 2px solid ThreeDLightShadow; + margin: 0 0 .2em 0; +} + +h2 { + font-size: 110%; + font-weight: normal; + margin: 0 0 .6em 0; +} + +#feedTitleLink { + float: right; + margin-inline-start: .6em; + margin-inline-end: 0; + margin-top: 0; + margin-bottom: 0; +} + +a[href] img { + border: none; +} + +#feedTitleContainer { + margin-inline-start: 0; + margin-inline-end: .6em; + margin-top: 0; + margin-bottom: 0; +} + +#feedTitleImage { + margin-inline-start: .6em; + margin-inline-end: 0; + margin-top: 0; + margin-bottom: 0; + max-width: 300px; + max-height: 150px; +} + +.feedEntryContent { + font-size: 110%; +} + +.lastUpdated { + font-size: 85%; + font-weight: normal; +} + +.type-icon { + vertical-align: bottom; + height: 16px; + width: 16px; +} + +.enclosures { + border: 1px solid ThreeDShadow; + padding: 1em; + margin: 1em auto; + background: -moz-Dialog; +} + +.enclosure { + vertical-align: middle; + margin-left: 2px; +} diff --git a/comm/suite/themes/classic/linux/communicator/numberbox.css b/comm/suite/themes/classic/linux/communicator/numberbox.css new file mode 100644 index 0000000000..ba38649a2b --- /dev/null +++ b/comm/suite/themes/classic/linux/communicator/numberbox.css @@ -0,0 +1,29 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +textbox[type="number"] { + -moz-appearance: none; + padding: 0 !important; + border: none; + cursor: default; + background-color: transparent; +} + +html|*.numberbox-input { + text-align: right; +} + +.numberbox-input-box { + -moz-box-align: center; + -moz-appearance: spinner-textfield; + margin-right: -1px; + padding: 3px; +} + +textbox[hidespinbuttons="true"] > .numberbox-input-box { + -moz-appearance: textfield; +} diff --git a/comm/suite/themes/classic/linux/communicator/preferences.css b/comm/suite/themes/classic/linux/communicator/preferences.css new file mode 100644 index 0000000000..8b7cf445d3 --- /dev/null +++ b/comm/suite/themes/classic/linux/communicator/preferences.css @@ -0,0 +1,66 @@ +/* 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/. */ + +/* Styles used by all preference windows and panes of SeaMonkey */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: Main Window ::::: */ + +prefwindow { + -moz-appearance: window; + background-color: -moz-Dialog; + color: -moz-DialogText; + font: message-box; + padding-top: 8px; + padding-bottom: 0px; + padding-inline-start: 8px; + padding-inline-end: 10px; +} + +prefpane { + padding: 8px; +} + +prefwindow[type="child"] { + padding: 8px; +} + +prefwindow[type="child"] > prefpane { + padding: 0px; +} + +.prefWindow-dlgbuttons { + padding-bottom: 8px; + padding-inline-start: 8px; + padding-inline-end: 8px; +} + +prefwindow[type="child"] .prefWindow-dlgbuttons { + padding: 0px; +} + +radio[pane] { + -moz-appearance: none; + min-width: 4.5em; + margin: 0; + padding: 3px; + color: -moz-FieldText; +} + +.paneSelector { + -moz-appearance: listbox; + margin: 8px 8px 0 8px; + padding: 0; +} + +.paneButtonIcon { + width: 32px; + height: 32px; +} + +radio[pane][selected="true"] { + background-color: Highlight; + color: HighlightText; +} diff --git a/comm/suite/themes/classic/linux/communicator/sanitizeDialog.css b/comm/suite/themes/classic/linux/communicator/sanitizeDialog.css new file mode 100644 index 0000000000..9d119134fd --- /dev/null +++ b/comm/suite/themes/classic/linux/communicator/sanitizeDialog.css @@ -0,0 +1,49 @@ +/* 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/. */ + +#sanitizeDurationChoice { + margin-inline-end: 0; +} + +/* Align the duration label with the warning box and item list */ +#sanitizeDurationLabel { + margin-inline-start: 3px; +} + + +/* Hide the duration dropdown suffix label if it's empty. Otherwise it + takes up a little space, causing the end of the dropdown to not be aligned + with the warning box. */ +#sanitizeDurationSuffixLabel[value=""] { + display: none; +} + + +/* Sanitize everything warning box */ +#sanitizeWarningBox { + background-color: Window; + border: 1px solid ThreeDDarkShadow; + border-radius: 5px; + padding: 16px; +} + +#sanitizeWarningIcon { + list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog"); + padding: 0; + margin: 0; +} + +#sanitizeWarningDescBox { + padding: 0 16px; + margin: 0; +} + + +/* Align the last dialog button with the end of the warning box */ +.dialog-button-box { + margin-inline-end: 0; +} +.dialog-button[dlgtype="accept"] { + margin-inline-end: 0; +} diff --git a/comm/suite/themes/classic/linux/communicator/spinbuttons.css b/comm/suite/themes/classic/linux/communicator/spinbuttons.css new file mode 100644 index 0000000000..3e333bb474 --- /dev/null +++ b/comm/suite/themes/classic/linux/communicator/spinbuttons.css @@ -0,0 +1,24 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +spinbuttons { + -moz-appearance: spinner; + cursor: default; +} + +.spinbuttons-button { + min-width: 13px; + min-height: 11px; + margin: 0 !important; +} + +.spinbuttons-up { + -moz-appearance: spinner-upbutton; +} + +.spinbuttons-down { + -moz-appearance: spinner-downbutton; +} |