first (small) part of syncing LCARStrek with Firefox 51 browser windows theme changes
authorRobert Kaiser <kairo@kairo.at>
Fri, 9 Dec 2016 00:40:19 +0000 (01:40 +0100)
committerRobert Kaiser <kairo@kairo.at>
Fri, 9 Dec 2016 00:40:19 +0000 (01:40 +0100)
EarlyBlue/global/filters.svg [moved from EarlyBlue/global/icons/filters.svg with 82% similarity]
EarlyBlue/global/findBar.css
LCARStrek/browser/browser.css
LCARStrek/browser/controlcenter/panel.css
LCARStrek/browser/gear.svg [new file with mode: 0755]
LCARStrek/browser/searchbar.css
LCARStrek/global/filters.svg [moved from LCARStrek/global/icons/filters.svg with 82% similarity]
LCARStrek/global/findBar.css

similarity index 82%
rename from EarlyBlue/global/icons/filters.svg
rename to EarlyBlue/global/filters.svg
index 49163cff1e49ad634a71cc3712046e7cdab50e1f..b6f1617e0ded25e0e6f561f15d0612f558d0a2ee 100644 (file)
@@ -1,8 +1,11 @@
+<?xml version="1.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/. -->
-
-<svg height="0" xmlns="http://www.w3.org/2000/svg">
+<svg xmlns="http://www.w3.org/2000/svg">
+  <filter id="fill">
+    <feComposite in="FillPaint" in2="SourceGraphic" operator="in"/>
+  </filter>
   <filter id="active-icon-state"><!-- make every icon be fully black, but keep alpha channel -->
     <feColorMatrix in="SourceGraphic" type="matrix"
       values="0 0 0 0 0
index b4cfbdc363d0a923307cbdac215bdde11ad7f50a..d70f5953c0f8e014707e09925fb545b8e517e1af 100644 (file)
@@ -79,7 +79,7 @@ findbar[position="top"][hidden] {
 
 .findbar-find-previous[disabled="true"] > .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,
index c989978db3e61d1482687782f480b221399fd0cb..f71eacfad2ce63a1f7891b7ad4456d2a28d05162 100644 (file)
@@ -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;
 }
 
index a670c2c8bcf62bb0202f7edb1a3da949aaa70115..a52a1e28a124e0bed5d37e2d55d16766a085b1cb 100644 (file)
@@ -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 (executable)
index 0000000..b765f3d
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 32 32">
+  <path id="glyphShape-gear" d="M28,16c0-1.7,0.9-3.1,2-3.3c-0.4-1.5-0.9-2.9-1.7-4.2c-0.9,0.7-2.6,0.3-3.8-0.9c-1.2-1.2-1.6-2.8-0.9-3.8 c-1.3-0.8-2.7-1.4-4.2-1.7c-0.2,1.1-1.6,2-3.3,2S13,3.1,12.8,2c-1.5,0.4-2.9,0.9-4.2,1.7c0.7,0.9,0.3,2.6-0.9,3.8 c-1.4,1.1-3,1.5-4,0.9C2.9,9.7,2.4,11.2,2,12.7c1.1,0.2,2,1.6,2,3.3s-0.9,3.1-2,3.3c0.4,1.5,0.9,2.9,1.7,4.2 c0.9-0.7,2.6-0.3,3.8,0.9c1.2,1.2,1.6,2.8,0.9,3.8c1.3,0.8,2.7,1.4,4.2,1.7c0.2-1.1,1.6-2,3.3-2s3.1,0.9,3.3,2 c1.5-0.4,2.9-0.9,4.2-1.7c-0.7-0.9-0.3-2.6,0.9-3.8c1.3-1.2,2.8-1.6,3.8-0.9c0.8-1.3,1.4-2.7,1.7-4.2C28.9,19.1,28,17.7,28,16z M16,24c-4.4,0-8-3.6-8-8s3.6-8,8-8s8,3.6,8,8S20.4,24,16,24z"/>
+</svg>
index 92bc21c30b313f77a37f20186beac394f1502e11..bf3c96eb7c402871a1b260895e60ab351f52cc59 100644 (file)
   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;
 }
 
   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;
+}
similarity index 82%
rename from LCARStrek/global/icons/filters.svg
rename to LCARStrek/global/filters.svg
index 1b27db96bb1e687ad3e2c5190721cf0ff9b44b5d..2dbc45089ade5a3e4bec5c5823c67f820cafca1e 100644 (file)
@@ -1,8 +1,11 @@
+<?xml version="1.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/. -->
-
-<svg height="0" xmlns="http://www.w3.org/2000/svg">
+<svg xmlns="http://www.w3.org/2000/svg">
+  <filter id="fill">
+    <feComposite in="FillPaint" in2="SourceGraphic" operator="in"/>
+  </filter>
   <filter id="active-icon-state"><!-- make every icon be fully black, but keep alpha channel -->
     <feColorMatrix in="SourceGraphic" type="matrix"
       values="0 0 0 0 0
index e6ea45580396d3311dabac181f7287673b17e3b1..bc7e111b2d2dcbb88b70c96e6a76508b47c40a7c 100644 (file)
@@ -79,14 +79,14 @@ findbar[position="top"][hidden] {
 
 .findbar-find-previous[disabled="true"] > .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,