From d0f28e616d7c3b04647d549a4b7aa14753f029d8 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 28 Apr 2017 23:15:42 +0200 Subject: [PATCH] first part of syncing LCARStrek with Firefox 54 browser windows theme changes --- LCARStrek/browser/customizableui/panelUI.css | 24 ++-- .../preferences/in-content/preferences.css | 12 +- .../in-content/siteDataSettings.css | 38 +++++ LCARStrek/browser/preferences/preferences.css | 17 --- LCARStrek/browser/sync-notification-24.png | Bin 284 -> 0 bytes LCARStrek/browser/syncCommon.css | 45 ------ LCARStrek/browser/syncQuota.css | 22 --- LCARStrek/browser/syncSetup.css | 130 ------------------ 8 files changed, 59 insertions(+), 229 deletions(-) create mode 100644 LCARStrek/browser/preferences/in-content/siteDataSettings.css delete mode 100644 LCARStrek/browser/sync-notification-24.png delete mode 100644 LCARStrek/browser/syncCommon.css delete mode 100644 LCARStrek/browser/syncQuota.css delete mode 100644 LCARStrek/browser/syncSetup.css diff --git a/LCARStrek/browser/customizableui/panelUI.css b/LCARStrek/browser/customizableui/panelUI.css index 1afbe880..a770a2a1 100644 --- a/LCARStrek/browser/customizableui/panelUI.css +++ b/LCARStrek/browser/customizableui/panelUI.css @@ -153,7 +153,7 @@ #PanelUI-menu-button[badge-status="addon-alert"] > .toolbarbutton-badge-stack > .toolbarbutton-badge { height: 13px; - background: transparent url(chrome://browser/skin/addons/addon-badge.svg) no-repeat center; + background: #FF0000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center; } .panel-subviews { @@ -592,7 +592,7 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton { } #PanelUI-footer-addons > toolbarbutton { - background-color: #C7F5FF; + background-color: #A09090; display: flex; flex: 1 1 0%; width: calc(22.35em + 30px); @@ -600,13 +600,21 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton { border-inline-start-style: none; } +#PanelUI-footer-addons > toolbarbutton:hover { + background-color: #FFCF00; +} + +#PanelUI-footer-addons > toolbarbutton:active { + background-color: #FF9F00; +} + #PanelUI-footer-addons > toolbarbutton > .toolbarbutton-icon { width: 14px; height: 14px; } #PanelUI-footer-addons > toolbarbutton::after { - background-image: url(chrome://browser/skin/addons/addon-badge.svg); + background: #FF0000 url(chrome://browser/skin/update-badge-failed.svg) no-repeat center; } #PanelUI-fxa-status { @@ -680,6 +688,7 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton { #PanelUI-update-status > .toolbarbutton-text, #PanelUI-fxa-label > .toolbarbutton-text, +#PanelUI-footer-addons > toolbarbutton > .toolbarbutton-text, #PanelUI-customize > .toolbarbutton-text { margin: 0; padding: 0 6px; @@ -849,12 +858,6 @@ toolbarpaletteitem[place="palette"] > toolbaritem > toolbarbutton { list-style-image: url("chrome://browser/skin/syncFxProgress-horizontalbar.png"); } -#PanelUI-footer-fxa[fxastatus="migrate-signup"] > #PanelUI-fxa-status > #PanelUI-fxa-label, -#PanelUI-footer-fxa[fxastatus="migrate-verify"] > #PanelUI-fxa-status > #PanelUI-fxa-label { - list-style-image: url(chrome://browser/skin/warning.svg); - -moz-image-region: auto; -} - #PanelUI-customize { list-style-image: url("chrome://browser/skin/menuPanel-customize.png"); } @@ -1188,7 +1191,8 @@ menuitem.panel-subview-footer:not([disabled]):-moz-any([open],:hover:active), #BMB_bookmarksPopup menupopup[placespopup=true][singleitempopup=true] > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox, / These popups never have a footer / #BMB_bookmarksToolbarPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox, -#BMB_unsortedBookmarksPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox { +#BMB_unsortedBookmarksPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox, +#BMB_mobileBookmarksPopup > hbox > .popup-internal-box > .arrowscrollbox-scrollbox > .scrollbox-innerbox { / And so they need some bottom padding: / padding-bottom: 4px; } diff --git a/LCARStrek/browser/preferences/in-content/preferences.css b/LCARStrek/browser/preferences/in-content/preferences.css index b1137a9c..151b4995 100644 --- a/LCARStrek/browser/preferences/in-content/preferences.css +++ b/LCARStrek/browser/preferences/in-content/preferences.css @@ -63,7 +63,7 @@ treecol { } .learnMore { - margin-inline-start: 1.5em; + margin-inline-start: 10px; font-weight: normal; white-space: nowrap; } @@ -240,6 +240,11 @@ treecol { font-weight: bold; } +#browserHomePage:-moz-locale-dir(rtl) input { + unicode-bidi: plaintext; + direction: rtl; +} + /* Content pane */ #defaultFontSizeLabel { /* !important needed to override common !important rule */ @@ -303,10 +308,7 @@ treecol { active vbox needs */ #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane, #historyPane:not([selectedIndex="2"]) > #historyCustomPane, -#weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount, -#weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate, -#weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount, -#weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount, +#weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount, #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified, #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected { visibility: collapse; diff --git a/LCARStrek/browser/preferences/in-content/siteDataSettings.css b/LCARStrek/browser/preferences/in-content/siteDataSettings.css new file mode 100644 index 00000000..d5adbc62 --- /dev/null +++ b/LCARStrek/browser/preferences/in-content/siteDataSettings.css @@ -0,0 +1,38 @@ +/* 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/. */ + +/** + * Site Data - Settings dialog + */ +#sitesList { + min-height: 20em; +} + +.item-box { + padding: 5px 8px; +} + +/** + * Confirmation dialog of removing sites selected + */ +#SiteDataRemoveSelectedDialog { + padding: 16px; +} + +#contentContainer { + font-size: 1.2em; + margin-bottom: 10px; +} + +.question-icon { + margin: 6px; +} + +#removing-label { + font-weight: bold; +} + +#sitesTree { + height: 15em; +} diff --git a/LCARStrek/browser/preferences/preferences.css b/LCARStrek/browser/preferences/preferences.css index d8d7a95a..492f795a 100644 --- a/LCARStrek/browser/preferences/preferences.css +++ b/LCARStrek/browser/preferences/preferences.css @@ -67,23 +67,6 @@ /* Sync Pane */ -#syncDesc { - padding: 0 8em; -} - -.syncGroupBox { - padding: 10px; -} - -#accountCaptionImage { - list-style-image: url("chrome://mozapps/skin/profile/profileicon.png"); -} - -#syncAddDeviceLabel { - margin-top: 1em; - margin-bottom: 1em; -} - #noFxaAccount { line-height: 1.2em; } diff --git a/LCARStrek/browser/sync-notification-24.png b/LCARStrek/browser/sync-notification-24.png deleted file mode 100644 index fe7f918035340a11bbd66a244286f1f3fc57688f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 284 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaP3?%1DUd;wljKx9jP7LeL$-D$|cmjMvT>lmT zSq%T@GyFf#5Ym|U52UCh$S;_|;n|He5GTpo-G!lpRn`N@;VkfoEM{Qf76xHPhFNn! z7O{nJ6BXjP6qD;BVE=mLxT^@cUg+%7%U^SPnbQw R^c3h022WQ%mvv4FO#qx-SKa^s diff --git a/LCARStrek/browser/syncCommon.css b/LCARStrek/browser/syncCommon.css deleted file mode 100644 index 0e136b93..00000000 --- a/LCARStrek/browser/syncCommon.css +++ /dev/null @@ -1,45 +0,0 @@ -/* The following are used by both sync/setup.xul and sync/genericChange.xul */ -.status { - color: #FF9F00; -} - -.statusIcon { - margin-inline-start: 4px; - max-height: 16px; - max-width: 16px; -} - -.statusIcon[status="active"] { - list-style-image: url("chrome://global/skin/icons/loading.png"); -} - -.statusIcon[status="error"] { - list-style-image: url("chrome://global/skin/icons/error-16.png"); -} - -.statusIcon[status="success"] { - list-style-image: url("chrome://global/skin/icons/information-16.png"); -} - -/* .data is only used by sync/genericChange.xul, but it seems unnecessary to have - a separate stylesheet for it. */ -.data { - font-size: 90%; - font-weight: bold; -} - -dialog#change-dialog { - width: 40em; -} - -image#syncIcon { - list-style-image: url("chrome://browser/skin/sync-32.png"); -} - -#introText { - margin-top: 2px; -} - -#feedback { - height: 2em; -} diff --git a/LCARStrek/browser/syncQuota.css b/LCARStrek/browser/syncQuota.css deleted file mode 100644 index 891ead25..00000000 --- a/LCARStrek/browser/syncQuota.css +++ /dev/null @@ -1,22 +0,0 @@ -#quotaDialog { - width: 33em; - height: 25em; -} - -treechildren::-moz-tree-checkbox { - list-style-image: none; -} -treechildren::-moz-tree-checkbox(checked) { - list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); -} -treechildren::-moz-tree-checkbox(disabled) { - list-style-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif"); -} - -#treeCaption { - height: 4em; -} - -.captionWarning { - font-weight: bold; -} diff --git a/LCARStrek/browser/syncSetup.css b/LCARStrek/browser/syncSetup.css deleted file mode 100644 index 03307922..00000000 --- a/LCARStrek/browser/syncSetup.css +++ /dev/null @@ -1,130 +0,0 @@ -wizard { - width: 55em; - height: 45em; - padding: 0; - background-color: #000000; -} - -.wizard-page-box { - padding-left: 0; - padding-right: 0; - margin: 0; -} - -wizardpage { - -moz-box-pack: center; - -moz-box-align: center; - margin: 0; - padding: 0 6em; - background-color: #000000; -} - -.wizard-header { - border: none; - padding: 2em 0 1em 0; - text-align: center; -} - -.wizard-header-label { - font-size: 24pt; - font-weight: normal; -} - -.wizard-buttons { - border-top: 1px solid #9C9CFF; - padding: 1em; -} - -.wizard-buttons-separator { - visibility: collapse; -} - -.wizard-header-icon { - visibility: collapse; -} - -.accountChoiceButton { - /*font: menu;*/ -} - -.confirm { - border: 1px solid #9C9CFF; - padding: 1em; - border-radius: 5px; -} - -/* Override the text-link style from global.css */ -.text-link, -.text-link:focus { - margin: 0px; - padding: 0px; -} - -.success, -.error { - padding: 2px; - border-radius: 2px; -} - -.error { - background-color: #FF0000 !important; - color: #FFFFFF !important; -} - -.success { - background-color: #008484 !important; -} - -.warning { - font-weight: bold; - font-size: 100%; - color: red; -} - -.mainDesc { - font-weight: bold; - font-size: 100%; -} - -.normal { - font-size: 100%; -} - -.inputColumn { - margin-inline-end: 2px -} - -.pin { - font-size: 18pt; - width: 4em; - text-align: center; -} - -#passphraseHelpSpacer { - width: 0.5em; -} - -#pairDeviceThrobber, -#login-throbber { - -moz-box-align: center; -} - -#pairDeviceThrobber > image, -#login-throbber > image { - width: 16px; - list-style-image: url("chrome://global/skin/icons/loading.png"); -} - -#captchaFeedback { - visibility: hidden; -} - -#successPageIcon { - /* TODO replace this with a 128px version (bug 591122) */ - list-style-image: url("chrome://browser/skin/sync-32.png"); -} - -#tosDesc { - margin-left: -7px; - margin-bottom: 3px; -} -- 2.35.3