From 2a1534f17d98efe745ee1adc07eb57d89cb9a88b Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 9 Dec 2016 01:40:19 +0100 Subject: [PATCH] first (small) part of syncing LCARStrek with Firefox 51 browser windows theme changes --- EarlyBlue/global/{icons => }/filters.svg | 7 +++++-- EarlyBlue/global/findBar.css | 2 +- LCARStrek/browser/browser.css | 13 ++++++------ LCARStrek/browser/controlcenter/panel.css | 2 +- LCARStrek/browser/gear.svg | 7 +++++++ LCARStrek/browser/searchbar.css | 25 ++++++++++++++++++++++- LCARStrek/global/{icons => }/filters.svg | 7 +++++-- LCARStrek/global/findBar.css | 4 ++-- 8 files changed, 52 insertions(+), 15 deletions(-) rename EarlyBlue/global/{icons => }/filters.svg (82%) create mode 100755 LCARStrek/browser/gear.svg rename LCARStrek/global/{icons => }/filters.svg (82%) diff --git a/EarlyBlue/global/icons/filters.svg b/EarlyBlue/global/filters.svg similarity index 82% rename from EarlyBlue/global/icons/filters.svg rename to EarlyBlue/global/filters.svg index 49163cff..b6f1617e 100644 --- a/EarlyBlue/global/icons/filters.svg +++ b/EarlyBlue/global/filters.svg @@ -1,8 +1,11 @@ + - - + + + + .toolbarbutton-icon, .findbar-find-next[disabled="true"] > .toolbarbutton-icon { - filter: url(icons/filters.svg#disabled-icon-state); + filter: url(filters.svg#disabled-icon-state); } .findbar-highlight, diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index c989978d..f71eacfa 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -2219,7 +2219,7 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box #identity-box:hover > image, #identity-box:hover:active > image, #identity-box[open=true] > image { - filter: url(chrome://global/skin/icons/filters.svg#active-icon-state); + filter: url(chrome://global/skin/filters.svg#active-icon-state); } /* autocomplete */ @@ -2826,7 +2826,7 @@ richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type- } .tab-sharing-icon-overlay[sharing] { - filter: url("chrome://browser/skin/filters.svg#fill"); + filter: url("chrome://global/skin/filters.svg#fill"); fill: #FFCF00; } @@ -3423,7 +3423,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { .popup-notification-icon[popupid="webRTC-sharingMicrophone"], .popup-notification-icon[popupid="webRTC-sharingScreen"], .popup-notification-icon[popupid="web-notifications"] { - filter: url(chrome://browser/skin/filters.svg#fill); + filter: url(chrome://global/skin/filters.svg#fill); fill: #A09090; } @@ -4837,7 +4837,7 @@ window > chatbox { .messageImage[value="plugin-hidden"] { list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin); - filter: url(chrome://browser/skin/filters.svg#fill); + filter: url(chrome://global/skin/filters.svg#fill); fill: #A09090; } @@ -4847,7 +4847,7 @@ notification.pluginVulnerable { notification.pluginVulnerable .messageImage { list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); - filter: url(chrome://browser/skin/filters.svg#fill); + filter: url(chrome://global/skin/filters.svg#fill); fill: #FF0000; } @@ -5581,7 +5581,8 @@ toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring { -moz-appearance: none; border: none; background-color: transparent; - /* This is a buffer to compensate for the movement in the "wobble" effect */ + /* This is a buffer to compensate for the movement in the "wobble" effect, + and for the box-shadow of #UITourHighlight. */ padding: 4px; } diff --git a/LCARStrek/browser/controlcenter/panel.css b/LCARStrek/browser/controlcenter/panel.css index a670c2c8..a52a1e28 100644 --- a/LCARStrek/browser/controlcenter/panel.css +++ b/LCARStrek/browser/controlcenter/panel.css @@ -405,7 +405,7 @@ description#identity-popup-content-verifier, width: 16px; height: 16px; list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel); - filter: url(chrome://browser/skin/filters.svg#fill); + filter: url(chrome://global/skin/filters.svg#fill); fill: #A09090; } diff --git a/LCARStrek/browser/gear.svg b/LCARStrek/browser/gear.svg new file mode 100755 index 00000000..b765f3df --- /dev/null +++ b/LCARStrek/browser/gear.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/LCARStrek/browser/searchbar.css b/LCARStrek/browser/searchbar.css index 92bc21c3..bf3c96eb 100644 --- a/LCARStrek/browser/searchbar.css +++ b/LCARStrek/browser/searchbar.css @@ -150,7 +150,15 @@ border-bottom: 1px solid #9C9CFF; } -.searchbar-engine-one-off-item.last-of-row { +.search-setting-button-compact { + border-bottom: none !important; +} + +.search-panel-one-offs:not([compact=true]) > .searchbar-engine-one-off-item.last-of-row, +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.last-of-row:not(.dummy), +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.dummy:not(.last-of-row), +.search-panel-one-offs[compact=true] > .searchbar-engine-one-off-item.last-engine, +.search-setting-button-compact { background-image: none; } @@ -253,3 +261,18 @@ background-color: #FFCF00; border-top-color: #000000; } + +.search-setting-button-compact { + color: #A09090; +} + +.search-setting-button-compact:hover { + background-color: #FFCF00; + color: #000000; +} + +.search-setting-button-compact > .button-box > .button-icon { + list-style-image: url("chrome://browser/skin/gear.svg"); + filter: url(chrome://global/skin/filters.svg#fill); + fill: currentColor; +} diff --git a/LCARStrek/global/icons/filters.svg b/LCARStrek/global/filters.svg similarity index 82% rename from LCARStrek/global/icons/filters.svg rename to LCARStrek/global/filters.svg index 1b27db96..2dbc4508 100644 --- a/LCARStrek/global/icons/filters.svg +++ b/LCARStrek/global/filters.svg @@ -1,8 +1,11 @@ + - - + + + + .toolbarbutton-icon, .findbar-find-next[disabled="true"] > .toolbarbutton-icon { - filter: url(icons/filters.svg#disabled-icon-state); + filter: url(filters.svg#disabled-icon-state); } .findbar-find-previous:not([disabled]):hover > .toolbarbutton-icon, .findbar-find-previous:not([disabled]):active > .toolbarbutton-icon, .findbar-find-next:not([disabled]):hover > .toolbarbutton-icon, .findbar-find-next:not([disabled]):active > .toolbarbutton-icon { - filter: url(icons/filters.svg#active-icon-state); + filter: url(filters.svg#active-icon-state); } .findbar-find-previous > .toolbarbutton-icon, -- 2.43.0