Bug 1374099, part 1 - Remove chrome://browser/skin/urlbar-star.svg in favor of the context-fill using chrome://browser/skin/bookmark.svg. r=johannh
MozReview-Commit-ID: BXywHLAxwm7
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -688,21 +688,23 @@ html|span.ac-tag {
html|span.ac-emphasize-text-title,
html|span.ac-emphasize-text-tag,
html|span.ac-emphasize-text-url {
font-weight: 600;
}
.ac-type-icon[type=bookmark] {
- list-style-image: url("chrome://browser/skin/urlbar-star.svg#star");
+ list-style-image: url("chrome://browser/skin/bookmark.svg");
+ -moz-context-properties: fill;
+ fill: #b2b2b2;
}
.ac-type-icon[type=bookmark][selected][current] {
- list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");
+ fill: white;
}
.ac-type-icon[type=keyword],
.ac-site-icon[type=searchengine] {
list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg);
-moz-context-properties: fill;
fill: GrayText;
}
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -846,21 +846,23 @@ html|span.ac-tag {
html|span.ac-emphasize-text-title,
html|span.ac-emphasize-text-tag,
html|span.ac-emphasize-text-url {
font-weight: 600;
}
.ac-type-icon[type=bookmark] {
- list-style-image: url("chrome://browser/skin/urlbar-star.svg#star");
+ list-style-image: url("chrome://browser/skin/bookmark.svg");
+ -moz-context-properties: fill;
+ fill: #b2b2b2;
}
.ac-type-icon[type=bookmark][selected][current] {
- list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");
+ fill: white;
}
.ac-type-icon[type=keyword],
.ac-site-icon[type=searchengine] {
list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg);
-moz-context-properties: fill;
fill: GrayText;
}
--- a/browser/themes/shared/jar.inc.mn
+++ b/browser/themes/shared/jar.inc.mn
@@ -213,10 +213,9 @@
skin/classic/browser/privatebrowsing/aboutPrivateBrowsing.css (../shared/privatebrowsing/aboutPrivateBrowsing.css)
skin/classic/browser/privatebrowsing/favicon.svg (../shared/privatebrowsing/favicon.svg)
skin/classic/browser/privatebrowsing/private-browsing.svg (../shared/privatebrowsing/private-browsing.svg)
skin/classic/browser/privatebrowsing/tracking-protection-off.svg (../shared/privatebrowsing/tracking-protection-off.svg)
skin/classic/browser/privatebrowsing/tracking-protection.svg (../shared/privatebrowsing/tracking-protection.svg)
skin/classic/browser/compacttheme/loading-inverted.png (../shared/compacttheme/loading-inverted.png)
skin/classic/browser/compacttheme/loading-inverted@2x.png (../shared/compacttheme/loading-inverted@2x.png)
skin/classic/browser/compacttheme/urlbar-history-dropmarker.svg (../shared/compacttheme/urlbar-history-dropmarker.svg)
- skin/classic/browser/urlbar-star.svg (../shared/urlbar-star.svg)
skin/classic/browser/urlbar-tab.svg (../shared/urlbar-tab.svg)
deleted file mode 100644
--- a/browser/themes/shared/urlbar-star.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
- <style>
- path:not(:target) {
- display: none;
- }
- path {
- fill: #b2b2b2;
- }
- path[id$="-inverted"] {
- fill: #fff;
- }
- </style>
-
- <path id="star" d="M8.7,0.5l2,4.3l4.6,0.7c0.6,0.1,0.9,0.9,0.4,1.4l-3.3,3.4l0.8,4.8c0.1,0.7-0.6,1.2-1.1,0.9L8,13.7l-4.1,2.3 c-0.6,0.3-1.2-0.2-1.1-0.9l0.8-4.8L0.2,6.9C-0.2,6.4,0,5.6,0.7,5.5l4.6-0.7l2-4.3C7.6-0.1,8.4-0.1,8.7,0.5z"/>
- <path id="star-inverted" d="M8.7,0.5l2,4.3l4.6,0.7c0.6,0.1,0.9,0.9,0.4,1.4l-3.3,3.4l0.8,4.8c0.1,0.7-0.6,1.2-1.1,0.9L8,13.7l-4.1,2.3 c-0.6,0.3-1.2-0.2-1.1-0.9l0.8-4.8L0.2,6.9C-0.2,6.4,0,5.6,0.7,5.5l4.6-0.7l2-4.3C7.6-0.1,8.4-0.1,8.7,0.5z"/>
-</svg>
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1072,21 +1072,23 @@ treechildren.searchbar-treebody::-moz-tr
.autocomplete-richlistitem[selected],
treechildren.searchbar-treebody::-moz-tree-row(selected) {
background-color: Highlight;
color: HighlightText;
}
.ac-type-icon[type=bookmark] {
- list-style-image: url("chrome://browser/skin/urlbar-star.svg#star");
+ list-style-image: url("chrome://browser/skin/bookmark.svg");
+ -moz-context-properties: fill;
+ fill: #b2b2b2;
}
.ac-type-icon[type=bookmark][selected][current] {
- list-style-image: url("chrome://browser/skin/urlbar-star.svg#star-inverted");
+ fill: white;
}
.ac-type-icon[type=keyword],
.ac-site-icon[type=searchengine] {
list-style-image: url(chrome://global/skin/icons/autocomplete-search.svg);
-moz-context-properties: fill;
fill: GrayText;
}