author | Jonathan Watt <jwatt@jwatt.org> |
Wed, 24 May 2017 11:45:17 +0100 | |
changeset 596203 | f94508e9aa9ac6dab93e453d7991c03d1a63e8d5 |
parent 596202 | f9aa78818068d99365697c7fe40b23ad75e040db |
child 596204 | 011f9395779df02f52b6b8f89aca362f1198f448 |
push id | 64540 |
push user | jwatt@jwatt.org |
push date | Mon, 19 Jun 2017 00:02:16 +0000 |
reviewers | johannh |
bugs | 1374099 |
milestone | 56.0a1 |
--- a/browser/themes/linux/browser.css +++ b/browser/themes/linux/browser.css @@ -711,22 +711,24 @@ html|span.ac-emphasize-text-url { .ac-type-icon[type=keyword][selected], .ac-site-icon[type=searchengine][selected] { fill: highlighttext; } .ac-type-icon[type=switchtab], .ac-type-icon[type=remotetab] { - list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab"); + list-style-image: url("chrome://browser/skin/urlbar-tab.svg"); + -moz-context-properties: fill; + fill: #b2b2b2; } .ac-type-icon[type=switchtab][selected], .ac-type-icon[type=remotetab][selected] { - list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted"); + fill: white; } .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { color: GrayText; } .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) {
--- a/browser/themes/osx/browser.css +++ b/browser/themes/osx/browser.css @@ -869,22 +869,24 @@ html|span.ac-emphasize-text-url { .ac-type-icon[type=keyword][selected], .ac-site-icon[type=searchengine][selected] { fill: highlighttext; } .ac-type-icon[type=switchtab], .ac-type-icon[type=remotetab] { - list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab"); + list-style-image: url("chrome://browser/skin/urlbar-tab.svg"); + -moz-context-properties: fill; + fill: #b2b2b2; } .ac-type-icon[type=switchtab][selected], .ac-type-icon[type=remotetab][selected] { - list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted"); + fill: white; } .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { color: GrayText; } .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
--- a/browser/themes/shared/urlbar-tab.svg +++ b/browser/themes/shared/urlbar-tab.svg @@ -1,21 +1,8 @@ -<?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> +<svg xmlns="http://www.w3.org/2000/svg" + width="16" height="16" viewBox="0 0 16 16"> + <path fill="context-fill" d="M14,9.5V6c0-1.7-1.3-3-3-3H5C3.3,3,2,4.3,2,6v3.5C2,10.3,1.3,11,0.5,11h0C0.2,11,0,11.2,0,11.5v1 C0,12.8,0.2,13,0.5,13h15c0.3,0,0.5-0.2,0.5-0.5v-1c0-0.3-0.2-0.5-0.5-0.5h0C14.7,11,14,10.3,14,9.5z"/> +</svg> - <path id="tab" d="M14,9.5V6c0-1.7-1.3-3-3-3H5C3.3,3,2,4.3,2,6v3.5C2,10.3,1.3,11,0.5,11h0C0.2,11,0,11.2,0,11.5v1 C0,12.8,0.2,13,0.5,13h15c0.3,0,0.5-0.2,0.5-0.5v-1c0-0.3-0.2-0.5-0.5-0.5h0C14.7,11,14,10.3,14,9.5z"/> - <path id="tab-inverted" d="M14,9.5V6c0-1.7-1.3-3-3-3H5C3.3,3,2,4.3,2,6v3.5C2,10.3,1.3,11,0.5,11h0C0.2,11,0,11.2,0,11.5v1 C0,12.8,0.2,13,0.5,13h15c0.3,0,0.5-0.2,0.5-0.5v-1c0-0.3-0.2-0.5-0.5-0.5h0C14.7,11,14,10.3,14,9.5z"/> - -</svg>
--- a/browser/themes/windows/browser.css +++ b/browser/themes/windows/browser.css @@ -1095,22 +1095,24 @@ treechildren.searchbar-treebody::-moz-tr .ac-type-icon[type=keyword][selected], .ac-site-icon[type=searchengine][selected] { fill: highlighttext; } .ac-type-icon[type=switchtab], .ac-type-icon[type=remotetab] { - list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab"); + list-style-image: url("chrome://browser/skin/urlbar-tab.svg"); + -moz-context-properties: fill; + fill: #b2b2b2; } .ac-type-icon[type=switchtab][selected], .ac-type-icon[type=remotetab][selected] { - list-style-image: url("chrome://browser/skin/urlbar-tab.svg#tab-inverted"); + fill: white; } .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { color: GrayText; } .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)