Bug 1387609 - Use --toolbarbutton-icon-fill-opacity for the tab close button. r=nhnt11

MozReview-Commit-ID: GGyh4KkPZYp

--HG--
extra : rebase_source : a0122c14d25d11601667bdd2b08cc34a6e25b29b
This commit is contained in:
Dão Gottwald 2017-09-21 15:16:05 +02:00
parent 04ccddce78
commit 266725f895
2 changed files with 3 additions and 1 deletions

View File

@ -304,6 +304,8 @@ tabbrowser {
.tab-close-button {
margin-inline-end: -2px;
padding: 0;
-moz-context-properties: fill, fill-opacity, stroke-opacity;
stroke-opacity: var(--toolbarbutton-icon-fill-opacity);
}
:root[uidensity=touch] .tab-close-button {

View File

@ -3,5 +3,5 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20">
<path fill="context-fill" fill-opacity="context-fill-opacity" d="M0 0h20v20H0z"/>
<path fill="context-fill" d="M11.06 10l3.47-3.47a.75.75 0 0 0-1.06-1.06L10 8.94 6.53 5.47a.75.75 0 1 0-1.06 1.06L8.94 10l-3.47 3.47a.75.75 0 1 0 1.06 1.06L10 11.06l3.47 3.47a.75.75 0 0 0 1.06-1.06z"/>
<path fill="context-fill" fill-opacity="context-stroke-opacity" d="M11.06 10l3.47-3.47a.75.75 0 0 0-1.06-1.06L10 8.94 6.53 5.47a.75.75 0 1 0-1.06 1.06L8.94 10l-3.47 3.47a.75.75 0 1 0 1.06 1.06L10 11.06l3.47 3.47a.75.75 0 0 0 1.06-1.06z"/>
</svg>

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 608 B