From cf0d81c6b23a3e984b21f111b3cd04e0c2bac5bd Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Tue, 6 Dec 2016 22:36:45 +0100 Subject: [PATCH] sync both themes with suite classic theme changes in SeaMonkey 2.48 cycle --- EarlyBlue/communicator/aboutSupport.css | 139 ++++++++++++++++++ EarlyBlue/communicator/blockedSite.css | 3 +- EarlyBlue/communicator/common.css | 67 +++++++++ EarlyBlue/communicator/dataman/dataman.css | 1 - EarlyBlue/help/help.css | 1 - EarlyBlue/help/helpFileLayout.css | 116 --------------- .../messenger-newsblog/feed-subscriptions.css | 2 +- EarlyBlue/messenger/accountManage.css | 13 +- LCARStrek/communicator/aboutSupport.css | 139 ++++++++++++++++++ LCARStrek/communicator/blockedSite.css | 3 +- LCARStrek/communicator/common.css | 71 +++++++++ LCARStrek/communicator/dataman/dataman.css | 1 - LCARStrek/help/help.css | 1 - LCARStrek/help/helpFileLayout.css | 116 --------------- .../messenger-newsblog/feed-subscriptions.css | 2 +- LCARStrek/messenger/accountManage.css | 11 +- 16 files changed, 439 insertions(+), 247 deletions(-) create mode 100644 EarlyBlue/communicator/aboutSupport.css create mode 100644 EarlyBlue/communicator/common.css delete mode 100644 EarlyBlue/help/helpFileLayout.css create mode 100644 LCARStrek/communicator/aboutSupport.css create mode 100644 LCARStrek/communicator/common.css delete mode 100644 LCARStrek/help/helpFileLayout.css diff --git a/EarlyBlue/communicator/aboutSupport.css b/EarlyBlue/communicator/aboutSupport.css new file mode 100644 index 00000000..4843b1da --- /dev/null +++ b/EarlyBlue/communicator/aboutSupport.css @@ -0,0 +1,139 @@ +/* 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://communicator/skin/common.css"); + +html { + background-color: var(--in-content-page-background); + color: var(--in-content-text-color); + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +body { + width: 90%; + margin-left: 5%; + margin-right: 5%; +} + +.page-subtitle { + margin-bottom: 1.5em; +} + +.major-section { + margin-top: 2em; + margin-bottom: 1em; + font-size: large; + text-align: start; + font-weight: bold; +} + +button { + margin-inline-start: 0; + margin-inline-end: 8px; + border-radius: 3px; +} + +table { + background-color: var(--in-content-table-background); + color: var(--in-content-text-color); + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + text-align: start; + width: 100%; + border: 1px solid var(--in-content-border-color); + border-spacing: 0px; +} + +th, td { + border: var(--in-content-border-dotted-color); + padding: 3px; +} + +thead th { + text-align: center; +} + +th { + text-align: start; + background-color: var(--in-content-table-header-background); + color: var(--in-content-selected-text); +} + +th.title-column { + white-space: nowrap; + width: 0px; + font-size: medium; +} + +th.column { + white-space: nowrap; + width: 0px; +} + +td { + text-align: start; + border-top: var(--in-content-border-dotted-color); +} + +.prefs-table { + table-layout: fixed; +} + +.name { + width: 70%; +} + +.value { + width: 30%; +} + +.pref-name, +.pref-value { + white-space: nowrap; + overflow: hidden; +} + +#action-box { + background-color: var(--in-content-table-background); + border: 1px solid var(--in-content-border-color); + border-radius: 6px; + color: var(--in-content-text-color); + float: right; + margin-top: 2em; + margin-bottom: 20px; + margin-inline-start: 20px; + margin-inline-end: 0; + padding: 16px; + width: 30%; +} + +#action-box, +#reset-box, +#safe-mode-box { + display: none; +} + +#action-box:dir(rtl) { + float: left; +} + +#reset-box > h3 { + margin-top: 0; +} + +#action-box button { + display: block; +} + +#verify-place-result { + max-height: 200px; + overflow: auto; +} + +.block { + display: block; +} + +.hidden { + display: none; +} diff --git a/EarlyBlue/communicator/blockedSite.css b/EarlyBlue/communicator/blockedSite.css index 965f16cb..c695b3c9 100644 --- a/EarlyBlue/communicator/blockedSite.css +++ b/EarlyBlue/communicator/blockedSite.css @@ -15,7 +15,6 @@ #malware_sitename, #phishing_sitename, -#unwanted_sitename, -#forbidden_sitename { +#unwanted_sitename { word-wrap: break-word; } diff --git a/EarlyBlue/communicator/common.css b/EarlyBlue/communicator/common.css new file mode 100644 index 00000000..1760db3a --- /dev/null +++ b/EarlyBlue/communicator/common.css @@ -0,0 +1,67 @@ +/* - 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("resource://gre-resources/forms.css"); +@import url("resource://gre-resources/html.css"); +@import url("chrome://communicator/skin/communicator.css"); + +@namespace html "http://www.w3.org/1999/xhtml"; +@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; + +*|*:root { + --in-content-page-color: #000000; + --in-content-page-background: #CCD0DD; + --in-content-text-color: #000000; + --in-content-selected-text: #000000; + ---in-content-header-border-color: #c8c8c8; + --in-content-box-background: #CCD0DD; + ---in-content-box-background-odd: #f3f6fa; + ---in-content-box-background-hover: #ebebeb; + ---in-content-box-background-active: #dadada; + --in-content-box-border-color: #CCD0DD; + ---in-content-button-background-hover: -moz-buttonhoverface; + ---in-content-button-color-hover: -moz-buttonhovertext; + ---in-content-button-background-hover-active: ButtonFace; + ---in-content-button-color-hover-active: ButtonText; + ---in-content-item-hover: rgba(0,149,221,0.25); + ---in-content-item-selected: #0095dd; + --in-content-border-highlight: #33FF33; + ---in-content-border-focus: #0095dd; + --in-content-border-color: #9999CC; + --in-content-border-dotted-color: 1px dotted #9999CC; + --in-content-category-text: #000000; + --in-content-category-border-focus: 1px dotted #FFFFFF; + --in-content-category-text-selected: #FFFFFF; + --in-content-category-background: #666699; + --in-content-category-background-hover: #CCD0DD; + --in-content-category-background-active: #336699; + ---in-content-tab-color: #424f5a; + ---in-content-link-color: #0095dd; + ---in-content-link-color-hover: #178ce5; + ---in-content-link-color-active: #ff9500; + ---in-content-link-color-visited: #551a8b; + ---in-content-primary-button-background: #0095dd; + ---in-content-primary-button-background-hover: #008acb; + ---in-content-primary-button-background-active: #006b9d; + --in-content-table-background: #CCD0DD; + --in-content-table-border-dark-color: #9999CC; + --in-content-table-header-background: #666699; + --in-content-disabled-text: #999999; +} + +html|html, +xul|page, +xul|window { + font: message-box; + background-color: var(--in-content-page-background); + color: var(--in-content-page-color); +} + +html|body { + font-size: inherit; +} + +*|button { + min-height: 0px; +} diff --git a/EarlyBlue/communicator/dataman/dataman.css b/EarlyBlue/communicator/dataman/dataman.css index 024a49b8..7e12e52a 100644 --- a/EarlyBlue/communicator/dataman/dataman.css +++ b/EarlyBlue/communicator/dataman/dataman.css @@ -11,7 +11,6 @@ opacity: .5; } -.permissionpwd, .permission { padding-top: 6px; padding-bottom: 6px; diff --git a/EarlyBlue/help/help.css b/EarlyBlue/help/help.css index db5ed2f6..7d93bd4d 100644 --- a/EarlyBlue/help/help.css +++ b/EarlyBlue/help/help.css @@ -2,7 +2,6 @@ * 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://global/skin/"); @import url("chrome://communicator/skin/"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); diff --git a/EarlyBlue/help/helpFileLayout.css b/EarlyBlue/help/helpFileLayout.css deleted file mode 100644 index 3b4641a0..00000000 --- a/EarlyBlue/help/helpFileLayout.css +++ /dev/null @@ -1,116 +0,0 @@ -/* 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://help/content/platformClasses.css'); - -body, td, th, input { - font-family: verdana, sans-serif; - font-size: small; -} - -body { - margin: 2ex; - max-width: 120ex; -} - -:link:hover, -:visited:hover { - color: -moz-activehyperlinktext; -} - -hr { - height: 1px; - background-color: #000; - color: #000; - margin: 2em 0; -} - -a[href^="http://"]:after, -a[href^="https://"]:after { - content: url('chrome://help/skin/Weblink.png'); -} - -:link { color: #039; } -:visited { color: #636; } -:link:hover, :visited:hover { color: #333; } -:link:active, :link:active { color: #000; } - -h1 { font-size: 160%; font-weight: normal; } -h2 { font-size: 150%; font-weight: normal; } -h3 { font-size: 120%; } -h4 { font-size: 100%; } -h5 { font-size: 90%; } -h6 { font-size: 90%; border: 0; } - -h1, h2, h3, h4, h5, h6 { - margin: 1em 0 0.2em; - border-bottom: 1px solid #ccc; - font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; -} - -li h1, li h2, li h3, li h4, li h5, li h6 { - border: none; -} - - -dt { font-weight: bold; } - -sup { - font-size: 70%; -} - -:link img, -:visited img { - border: 0; -} - -.contentsBox, -.contentsBox > ul, -li { - text-indent: 0px; -} - -.contentsBox > ul, -.contentsBox ul > ul{ - margin: 0; - list-style-type: none; -} - -.contentsBox { - margin-top: 12px; - background-color: #eee; - border: 1px solid #ccc; - width: 300px; - padding: 1em; -} - -.menuPath { - background: #c4d0f4; /* bluish color */ - color: inherit; - padding-inline-start: 1px; /* else bgcolor ends at last char - no space */ - padding-inline-end: 1px; -} - -table { - border-collapse: collapse; -} - -td, th { - border: 1px solid #ddd; /* grey */ - padding: 6px; - vertical-align: top; -} - -th { - background-color: #eee; /* light grey */ - font-weight: bold; - text-align: startt; -} - -.noTableBorder, -.noTableBorder td, -.noTableBorder th { - background-color: transparent; - border: 0px solid transparent; -} diff --git a/EarlyBlue/messenger-newsblog/feed-subscriptions.css b/EarlyBlue/messenger-newsblog/feed-subscriptions.css index 648dfc76..b3108abb 100644 --- a/EarlyBlue/messenger-newsblog/feed-subscriptions.css +++ b/EarlyBlue/messenger-newsblog/feed-subscriptions.css @@ -26,5 +26,5 @@ } #autotagPrefix { - width: 300px; + width: 35ch; } diff --git a/EarlyBlue/messenger/accountManage.css b/EarlyBlue/messenger/accountManage.css index 3cd47364..99b3412d 100644 --- a/EarlyBlue/messenger/accountManage.css +++ b/EarlyBlue/messenger/accountManage.css @@ -34,11 +34,18 @@ } listitem[default="true"], -#identitiesList > listitem:first-child, -treechildren::-moz-tree-cell-text(isDefaultServer-true) { +#identitiesList > listitem:first-child { font-weight: bold; } +treechildren::-moz-tree-cell-text(isDefaultServer-true) { + text-decoration: underline; +} + +#accounttree treechildren::-moz-tree-indentation { + width: 1ch; +} + #contentFrame { margin-inline-start: 2px; } @@ -55,4 +62,4 @@ treechildren::-moz-tree-cell-text(isDefaultServer-true) { #smtpServerInfoBox textbox { background-color: transparent; -} \ No newline at end of file +} diff --git a/LCARStrek/communicator/aboutSupport.css b/LCARStrek/communicator/aboutSupport.css new file mode 100644 index 00000000..4843b1da --- /dev/null +++ b/LCARStrek/communicator/aboutSupport.css @@ -0,0 +1,139 @@ +/* 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://communicator/skin/common.css"); + +html { + background-color: var(--in-content-page-background); + color: var(--in-content-text-color); + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +body { + width: 90%; + margin-left: 5%; + margin-right: 5%; +} + +.page-subtitle { + margin-bottom: 1.5em; +} + +.major-section { + margin-top: 2em; + margin-bottom: 1em; + font-size: large; + text-align: start; + font-weight: bold; +} + +button { + margin-inline-start: 0; + margin-inline-end: 8px; + border-radius: 3px; +} + +table { + background-color: var(--in-content-table-background); + color: var(--in-content-text-color); + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + text-align: start; + width: 100%; + border: 1px solid var(--in-content-border-color); + border-spacing: 0px; +} + +th, td { + border: var(--in-content-border-dotted-color); + padding: 3px; +} + +thead th { + text-align: center; +} + +th { + text-align: start; + background-color: var(--in-content-table-header-background); + color: var(--in-content-selected-text); +} + +th.title-column { + white-space: nowrap; + width: 0px; + font-size: medium; +} + +th.column { + white-space: nowrap; + width: 0px; +} + +td { + text-align: start; + border-top: var(--in-content-border-dotted-color); +} + +.prefs-table { + table-layout: fixed; +} + +.name { + width: 70%; +} + +.value { + width: 30%; +} + +.pref-name, +.pref-value { + white-space: nowrap; + overflow: hidden; +} + +#action-box { + background-color: var(--in-content-table-background); + border: 1px solid var(--in-content-border-color); + border-radius: 6px; + color: var(--in-content-text-color); + float: right; + margin-top: 2em; + margin-bottom: 20px; + margin-inline-start: 20px; + margin-inline-end: 0; + padding: 16px; + width: 30%; +} + +#action-box, +#reset-box, +#safe-mode-box { + display: none; +} + +#action-box:dir(rtl) { + float: left; +} + +#reset-box > h3 { + margin-top: 0; +} + +#action-box button { + display: block; +} + +#verify-place-result { + max-height: 200px; + overflow: auto; +} + +.block { + display: block; +} + +.hidden { + display: none; +} diff --git a/LCARStrek/communicator/blockedSite.css b/LCARStrek/communicator/blockedSite.css index 965f16cb..c695b3c9 100644 --- a/LCARStrek/communicator/blockedSite.css +++ b/LCARStrek/communicator/blockedSite.css @@ -15,7 +15,6 @@ #malware_sitename, #phishing_sitename, -#unwanted_sitename, -#forbidden_sitename { +#unwanted_sitename { word-wrap: break-word; } diff --git a/LCARStrek/communicator/common.css b/LCARStrek/communicator/common.css new file mode 100644 index 00000000..4bb7f78b --- /dev/null +++ b/LCARStrek/communicator/common.css @@ -0,0 +1,71 @@ +/* - 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("resource://gre-resources/forms.css"); +@import url("resource://gre-resources/html.css"); +@import url("chrome://communicator/skin/communicator.css"); + +@namespace html "http://www.w3.org/1999/xhtml"; +@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; + +*|*:root { + --in-content-page-color: #FF9F00; + --in-content-page-background: #000000; + --in-content-text-color: #FF9F00; + --in-content-selected-text: #000000; + ---in-content-header-border-color: #c8c8c8; + --in-content-box-background: #000000; + ---in-content-box-background-odd: #f3f6fa; + --in-content-box-background-hover: #FFCF00; + --in-content-box-background-active: #FF9F00; + --in-content-box-background-disabled: #402858; + --in-content-box-border-color: #FF9F00; + --in-content-button-background: #C09070; + ---in-content-button-background-hover: -moz-buttonhoverface; + ---in-content-button-color-hover: -moz-buttonhovertext; + ---in-content-button-background-hover-active: ButtonFace; + ---in-content-button-color-hover-active: ButtonText; + ---in-content-item-hover: rgba(0,149,221,0.25); + ---in-content-item-selected: #0095dd; + ---in-content-border-highlight: #33FF33; + --in-content-border-focus: #FFCF00; + --in-content-border-color: #9C9CFF; + --in-content-border-disabled: #8050B0; + --in-content-border-dotted-color: 1px dotted #8050B0; + --in-content-category-text: #FFCF00; + --in-content-category-border-focus: 1px dotted #000000; + --in-content-category-text-selected: #000000; + --in-content-categorylist-background: #A09090; + --in-content-category-background: #000000; + --in-content-category-background-hover: #FFCF00; + --in-content-category-background-active: #008484; + ---in-content-tab-color: #424f5a; + --in-content-link-color: #3333FF; + --in-content-link-color-hover: #FFCF00; + --in-content-link-color-active: #FF9F00; + --in-content-link-color-visited: #6000CF; + --in-content-primary-button-background: #A06060; + --in-content-primary-button-background-hover: #FFCF00; + --in-content-primary-button-background-active: #FF9F00; + --in-content-table-background: #000000; + --in-content-table-border-dark-color: #9C9CFF; + --in-content-table-header-background: #A09090; + --in-content-disabled-text: #8050B0; +} + +html|html, +xul|page, +xul|window { + font: message-box; + background-color: var(--in-content-page-background); + color: var(--in-content-page-color); +} + +html|body { + font-size: inherit; +} + +*|button { + min-height: 0px; +} diff --git a/LCARStrek/communicator/dataman/dataman.css b/LCARStrek/communicator/dataman/dataman.css index 0ab72e3a..80d4ddba 100644 --- a/LCARStrek/communicator/dataman/dataman.css +++ b/LCARStrek/communicator/dataman/dataman.css @@ -11,7 +11,6 @@ opacity: .5; } -.permissionpwd, .permission { padding-top: 6px; padding-bottom: 6px; diff --git a/LCARStrek/help/help.css b/LCARStrek/help/help.css index 88add98a..060b43f1 100644 --- a/LCARStrek/help/help.css +++ b/LCARStrek/help/help.css @@ -2,7 +2,6 @@ * 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://global/skin/"); @import url("chrome://communicator/skin/"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); diff --git a/LCARStrek/help/helpFileLayout.css b/LCARStrek/help/helpFileLayout.css deleted file mode 100644 index d87cfef8..00000000 --- a/LCARStrek/help/helpFileLayout.css +++ /dev/null @@ -1,116 +0,0 @@ -/* 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://help/content/platformClasses.css'); - -body, td, th, input { - font-family: verdana, sans-serif; - font-size: small; -} - -body { - margin: 2ex; - max-width: 120ex; -} - -:link:hover, -:visited:hover { - color: -moz-activehyperlinktext; -} - -hr { - height: 1px; - background-color: #000; - color: #000; - margin: 2em 0; -} - -a[href^="http://"]:after, -a[href^="https://"]:after { - content: url('chrome://help/skin/Weblink.png'); -} - -:link { color: #039; } -:visited { color: #636; } -:link:hover, :visited:hover { color: #333; } -:link:active, :link:active { color: #000; } - -h1 { font-size: 160%; font-weight: normal; } -h2 { font-size: 150%; font-weight: normal; } -h3 { font-size: 120%; } -h4 { font-size: 100%; } -h5 { font-size: 90%; } -h6 { font-size: 90%; border: 0; } - -h1, h2, h3, h4, h5, h6 { - margin: 1em 0 0.2em; - border-bottom: 1px solid #ccc; - font-family: "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; -} - -li h1, li h2, li h3, li h4, li h5, li h6 { - border: none; -} - - -dt { font-weight: bold; } - -sup { - font-size: 70%; -} - -:link img, -:visited img { - border: 0; -} - -.contentsBox, -.contentsBox > ul, -li { - text-indent: 0px; -} - -.contentsBox > ul, -.contentsBox ul > ul{ - margin: 0; - list-style-type: none; -} - -.contentsBox { - margin-top: 12px; - background-color: #eee; - border: 1px solid #ccc; - width: 300px; - padding: 1em; -} - -.menuPath { - background: #c4d0f4; /* bluish color */ - color: inherit; - padding-inline-start: 1px; /* else bgcolor ends at last char - no space */ - padding-inline-end: 1px; -} - -table { - border-collapse: collapse; -} - -td, th { - border: 1px solid #ddd; /* grey */ - padding: 6px; - vertical-align: top; -} - -th { - background-color: #eee; /* light grey */ - font-weight: bold; - text-align: start; -} - -.noTableBorder, -.noTableBorder td, -.noTableBorder th { - background-color: transparent; - border: 0px solid transparent; -} diff --git a/LCARStrek/messenger-newsblog/feed-subscriptions.css b/LCARStrek/messenger-newsblog/feed-subscriptions.css index 33766dc7..bba78dfe 100644 --- a/LCARStrek/messenger-newsblog/feed-subscriptions.css +++ b/LCARStrek/messenger-newsblog/feed-subscriptions.css @@ -26,5 +26,5 @@ } #autotagPrefix { - width: 300px; + width: 35ch; } diff --git a/LCARStrek/messenger/accountManage.css b/LCARStrek/messenger/accountManage.css index 5ee49c57..ec00f115 100644 --- a/LCARStrek/messenger/accountManage.css +++ b/LCARStrek/messenger/accountManage.css @@ -38,11 +38,18 @@ page { } listitem[default="true"], -#identitiesList > listitem:first-child, -treechildren::-moz-tree-cell-text(isDefaultServer-true) { +#identitiesList > listitem:first-child { font-weight: bold; } +treechildren::-moz-tree-cell-text(isDefaultServer-true) { + text-decoration: underline; +} + +#accounttree treechildren::-moz-tree-indentation { + width: 1ch; +} + #contentFrame { margin-inline-start: 2px; } -- 2.35.3