Bug 1113173 - InContent Prefs - Fix invisible checkmark and black text on selected row. r=jaws

This commit is contained in:
Tim Nguyen 2014-12-23 13:55:00 -05:00
parent 732aabe4ac
commit 26d3811731
7 changed files with 19 additions and 25 deletions

View File

@ -170,8 +170,6 @@ browser.jar:
skin/classic/browser/preferences/in-content/icons.png (../shared/incontentprefs/icons.png)
skin/classic/browser/preferences/in-content/icons@2x.png (../shared/incontentprefs/icons@2x.png)
skin/classic/browser/preferences/in-content/search.css (../shared/incontentprefs/search.css)
skin/classic/browser/preferences/in-content/check.png (../shared/incontentprefs/check.png)
skin/classic/browser/preferences/in-content/check@2x.png (../shared/incontentprefs/check@2x.png)
skin/classic/browser/preferences/applications.css (preferences/applications.css)
skin/classic/browser/preferences/aboutPermissions.css (preferences/aboutPermissions.css)
skin/classic/browser/preferences/search.css (preferences/search.css)

View File

@ -275,8 +275,6 @@ browser.jar:
skin/classic/browser/preferences/in-content/icons.png (../shared/incontentprefs/icons.png)
skin/classic/browser/preferences/in-content/icons@2x.png (../shared/incontentprefs/icons@2x.png)
skin/classic/browser/preferences/in-content/search.css (../shared/incontentprefs/search.css)
skin/classic/browser/preferences/in-content/check.png (../shared/incontentprefs/check.png)
skin/classic/browser/preferences/in-content/check@2x.png (../shared/incontentprefs/check@2x.png)
skin/classic/browser/preferences/applications.css (preferences/applications.css)
skin/classic/browser/preferences/aboutPermissions.css (preferences/aboutPermissions.css)
skin/classic/browser/preferences/search.css (preferences/search.css)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

View File

@ -16,17 +16,13 @@
}
#engineList treechildren::-moz-tree-image(engineShown, checked) {
/* Unfortunately check.svg can't be used in XUL trees. */
list-style-image: url("check.png");
-moz-margin-start: 5px;
width: 12px;
height: 12px;
list-style-image: url("chrome://global/skin/in-content/check.svg#check");
width: 21px;
height: 21px;
}
@media (min-resolution: 2dppx) {
#engineList treechildren::-moz-tree-image(engineShown, checked) {
list-style-image: url("check@2x.png");
}
#engineList treechildren::-moz-tree-image(engineShown, checked, selected) {
list-style-image: url("chrome://global/skin/in-content/check.svg#check-inverted");
}
#engineList treechildren::-moz-tree-image(engineName) {
@ -40,11 +36,6 @@
min-height: 36px;
}
#engineList treechildren::-moz-tree-cell-text {
/* Override to avoid text in the selected row being white on light gray. */
color: -moz-FieldText;
}
#engineList treechildren::-moz-tree-drop-feedback {
background-color: Highlight;
width: 10000px; /* 100% doesn't work; 10k is hopefully larger than any window

View File

@ -198,8 +198,6 @@ browser.jar:
skin/classic/browser/preferences/in-content/icons.png (../shared/incontentprefs/icons.png)
skin/classic/browser/preferences/in-content/icons@2x.png (../shared/incontentprefs/icons@2x.png)
skin/classic/browser/preferences/in-content/search.css (../shared/incontentprefs/search.css)
skin/classic/browser/preferences/in-content/check.png (../shared/incontentprefs/check.png)
skin/classic/browser/preferences/in-content/check@2x.png (../shared/incontentprefs/check@2x.png)
skin/classic/browser/preferences/applications.css (preferences/applications.css)
skin/classic/browser/preferences/aboutPermissions.css (preferences/aboutPermissions.css)
skin/classic/browser/preferences/search.css (preferences/search.css)
@ -655,8 +653,6 @@ browser.jar:
skin/classic/aero/browser/preferences/in-content/icons.png (../shared/incontentprefs/icons.png)
skin/classic/aero/browser/preferences/in-content/icons@2x.png (../shared/incontentprefs/icons@2x.png)
skin/classic/aero/browser/preferences/in-content/search.css (../shared/incontentprefs/search.css)
skin/classic/aero/browser/preferences/in-content/check.png (../shared/incontentprefs/check.png)
skin/classic/aero/browser/preferences/in-content/check@2x.png (../shared/incontentprefs/check@2x.png)
skin/classic/aero/browser/preferences/applications.css (preferences/applications.css)
skin/classic/aero/browser/preferences/aboutPermissions.css (preferences/aboutPermissions.css)
skin/classic/aero/browser/preferences/search.css (preferences/search.css)

View File

@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 21 21" enable-background="new 0 0 21 21" xml:space="preserve">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
x="0"
y="0"
width="21"
height="21"
viewBox="0 0 21 21">
<style>
use:not(:target) {
display: none;
@ -8,6 +13,11 @@
use {
fill: #2292d0;
}
use[id$="-inverted"] {
fill: #fff;
stroke: #0095dd;
stroke-width: 0.5;
}
use[id$="-native"] {
fill: -moz-dialogText;
}
@ -16,5 +26,6 @@
<path id="check-shape" d="M 9.39,16.5 16.28,6 14.77,4.5 9.37,12.7 6.28,9.2 4.7,10.7 z"/>
</defs>
<use id="check" xlink:href="#check-shape"/>
<use id="check-inverted" xlink:href="#check-shape"/>
<use id="check-native" xlink:href="#check-shape"/>
</svg>

Before

Width:  |  Height:  |  Size: 642 B

After

Width:  |  Height:  |  Size: 770 B