Bug 1271680 - use scalable SVG icons for the findbar navigation arrows on Windows and Linux too. r=dao

--HG--
rename : toolkit/themes/osx/global/icons/find-arrows.svg => toolkit/themes/shared/icons/find-arrows.svg
This commit is contained in:
Mike de Boer 2016-05-17 23:27:35 +02:00
Родитель 75f63a4458
Коммит 360dec1b8b
6 изменённых файлов: 6 добавлений и 9 удалений

Просмотреть файл

@ -88,7 +88,6 @@ findbar[noanim] {
background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.2));
border: 1px solid ThreeDShadow;
box-shadow: 0 1px #fff inset;
list-style-image: url("chrome://global/skin/icons/find-arrows.png");
padding: 5px 9px;
line-height: 1em;
}
@ -107,12 +106,12 @@ findbar[noanim] {
}
.findbar-find-previous {
-moz-image-region: rect(0, 12px, 9px, 0);
list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-previous);
border-inline-end-width: 0;
}
.findbar-find-next {
-moz-image-region: rect(0, 24px, 9px, 12px);
list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-next);
}
.findbar-find-previous > .toolbarbutton-icon,

Просмотреть файл

@ -94,7 +94,6 @@ toolkit.jar:
skin/classic/global/icons/checkbox@2x.png (icons/checkbox@2x.png)
skin/classic/global/icons/close.png (icons/close.png)
skin/classic/global/icons/close@2x.png (icons/close@2x.png)
skin/classic/global/icons/find-arrows.svg (icons/find-arrows.svg)
skin/classic/global/icons/glyph-dropdown.png (icons/glyph-dropdown.png)
skin/classic/global/icons/glyph-dropdown@2x.png (icons/glyph-dropdown@2x.png)
skin/classic/global/icons/information-16.png (icons/information-16.png)

Просмотреть файл

@ -8,7 +8,7 @@
display: none;
}
path {
fill: #4c4c4c;
fill: -moz-dialogtext;
}
</style>
<path id="glyph-find-previous" d="M5.407,1.5l-5,4.599L1.65,7.283l3.757-3.387l3.705,3.385l1.296-1.158L5.407,1.5z"/>

До

Ширина:  |  Высота:  |  Размер: 688 B

После

Ширина:  |  Высота:  |  Размер: 696 B

Просмотреть файл

@ -21,6 +21,7 @@ toolkit.jar:
skin/classic/global/aboutSupport.css (../../shared/aboutSupport.css)
skin/classic/global/appPicker.css (../../shared/appPicker.css)
skin/classic/global/config.css (../../shared/config.css)
skin/classic/global/icons/find-arrows.svg (../../shared/icons/find-arrows.svg)
skin/classic/global/icons/info.svg (../../shared/incontent-icons/info.svg)
skin/classic/global/icons/loading-inverted.png (../../shared/icons/loading-inverted.png)
skin/classic/global/icons/loading-inverted@2x.png (../../shared/icons/loading-inverted@2x.png)

Просмотреть файл

@ -70,7 +70,6 @@
skin/classic/global/icons/error-16.png (../../windows/global/icons/error-16.png)
skin/classic/global/icons/error-64.png (../../windows/global/icons/error-64.png)
skin/classic/global/icons/expand.png (../../windows/global/icons/expand.png)
skin/classic/global/icons/find-arrows.png (../../windows/global/icons/find-arrows.png)
skin/classic/global/icons/folder-item.png (../../windows/global/icons/folder-item.png)
skin/classic/global/icons/information-16.png (../../windows/global/icons/information-16.png)
skin/classic/global/icons/information-24.png (../../windows/global/icons/information-24.png)

Просмотреть файл

@ -86,7 +86,6 @@ findbar[noanim] {
background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.2));
border: 1px solid ThreeDShadow;
box-shadow: 0 1px #fff inset;
list-style-image: url("chrome://global/skin/icons/find-arrows.png");
padding: 1px 5px;
line-height: 1em;
}
@ -98,11 +97,11 @@ findbar[noanim] {
}
.findbar-find-previous {
-moz-image-region: rect(0, 12px, 9px, 0);
list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-previous);
}
.findbar-find-next {
-moz-image-region: rect(0, 24px, 9px, 12px);
list-style-image: url(chrome://global/skin/icons/find-arrows.svg#glyph-find-next);
}
.findbar-find-previous,