зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1699586 - De-duplicate default down arrow icons, rename as arrow-down.svg. r=harry,desktop-theme-reviewers,Itiel,extension-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D117576
This commit is contained in:
Родитель
13ff596b35
Коммит
49c6f1e705
|
@ -141,7 +141,7 @@ add_task(function test_doorhanger_disable() {
|
|||
);
|
||||
ok(
|
||||
images.some(img =>
|
||||
getComputedStyle(img).backgroundImage.includes("arrow-dropdown-16.svg")
|
||||
getComputedStyle(img).backgroundImage.includes("arrow-down.svg")
|
||||
),
|
||||
"There's an icon for the all tabs menu"
|
||||
);
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
}
|
||||
|
||||
&.icon-arrowhead-down {
|
||||
background-image: url('chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg');
|
||||
background-image: url('chrome://global/skin/icons/arrow-down.svg');
|
||||
}
|
||||
|
||||
&.icon-arrowhead-down-small {
|
||||
|
@ -185,7 +185,7 @@
|
|||
}
|
||||
|
||||
&.icon-arrowhead-up {
|
||||
background-image: url('chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg');
|
||||
background-image: url('chrome://global/skin/icons/arrow-down.svg');
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
|
|
|
@ -331,7 +331,7 @@ body[lwt-newtab-brighttext] {
|
|||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-highlights-16.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-down {
|
||||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-down-small {
|
||||
background-image: url("chrome://global/skin/icons/arrow-down-12.svg");
|
||||
|
@ -349,7 +349,7 @@ body[lwt-newtab-brighttext] {
|
|||
background-image: url("chrome://global/skin/icons/arrow-left-12.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-up {
|
||||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.icon.icon-add {
|
||||
|
|
|
@ -335,7 +335,7 @@ body[lwt-newtab-brighttext] {
|
|||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-highlights-16.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-down {
|
||||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-down-small {
|
||||
background-image: url("chrome://global/skin/icons/arrow-down-12.svg");
|
||||
|
@ -353,7 +353,7 @@ body[lwt-newtab-brighttext] {
|
|||
background-image: url("chrome://global/skin/icons/arrow-left-12.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-up {
|
||||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.icon.icon-add {
|
||||
|
|
|
@ -331,7 +331,7 @@ body[lwt-newtab-brighttext] {
|
|||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-highlights-16.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-down {
|
||||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-down-small {
|
||||
background-image: url("chrome://global/skin/icons/arrow-down-12.svg");
|
||||
|
@ -349,7 +349,7 @@ body[lwt-newtab-brighttext] {
|
|||
background-image: url("chrome://global/skin/icons/arrow-left-12.svg");
|
||||
}
|
||||
.icon.icon-arrowhead-up {
|
||||
background-image: url("chrome://activity-stream/content/data/content/assets/glyph-arrowhead-down-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.icon.icon-add {
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
}
|
||||
|
||||
#bookmarkpropertiesdialog .expander-up {
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
transform: scaleY(-1);
|
||||
}
|
||||
|
||||
#bookmarkpropertiesdialog .expander-down {
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
}
|
||||
|
||||
#bookmarkpropertiesdialog #editBookmarkPanelRows > vbox > input,
|
||||
|
|
|
@ -102,8 +102,6 @@ browser/chrome/browser/content/activity-stream/data/content/tippytop/favicons/ya
|
|||
browser/chrome/browser/search-extensions/yandex/yandex-ru.ico
|
||||
|
||||
# Bug 1698146, bug 1699586 - Deduplicate chevrons/arrows in the tree
|
||||
chrome/toolkit/skin/classic/global/icons/arrow-dropdown-16.svg
|
||||
chrome/toolkit/skin/classic/global/icons/find-next-arrow.svg
|
||||
chrome/toolkit/skin/classic/global/icons/arrow-up-16.svg
|
||||
chrome/toolkit/skin/classic/global/icons/find-previous-arrow.svg
|
||||
|
||||
|
@ -119,7 +117,6 @@ browser/features/webcompat-reporter@mozilla.org/icons/lightbulb.svg
|
|||
chrome/toolkit/skin/classic/global/icons/lightbulb.svg
|
||||
|
||||
# Bug 1708502 - De-duplicate about:newtab icons
|
||||
browser/chrome/browser/content/activity-stream/data/content/assets/glyph-arrowhead-down-16.svg
|
||||
browser/chrome/browser/content/activity-stream/data/content/assets/glyph-dismiss-16.svg
|
||||
browser/chrome/browser/content/activity-stream/data/content/assets/glyph-delete-16.svg
|
||||
browser/chrome/browser/content/activity-stream/data/content/assets/glyph-help-24.svg
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
height: 100%;
|
||||
top: 0;
|
||||
inset-inline-start: 0;
|
||||
background-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 20px;
|
||||
background-position: right center;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
|
||||
.extension-controlled-icon.alltabs-icon {
|
||||
background: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
|
||||
background: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
/* This icon has a lot of extra space to the sides, reduce that a little. */
|
||||
margin: 0 -1px 1px;
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
.customizationmode-button > .box-inherit > .button-menu-dropmarker {
|
||||
margin-inline-end: 0;
|
||||
padding-inline-end: 0;
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-dropdown-16.svg);
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-down.svg);
|
||||
}
|
||||
|
||||
.customizationmode-button:is(:active,:hover):not([disabled]),
|
||||
|
|
|
@ -1597,7 +1597,7 @@ panelview .toolbarbutton-1,
|
|||
} /* END not Proton */
|
||||
|
||||
.PanelUI-subView .subviewbutton-nav-down::after {
|
||||
content: url(chrome://global/skin/icons/arrow-dropdown-16.svg);
|
||||
content: url(chrome://global/skin/icons/arrow-down.svg);
|
||||
}
|
||||
|
||||
.subviewbutton[shortcut]::after,
|
||||
|
|
|
@ -244,12 +244,12 @@ html|img#editBookmarkPanelFavicon[src] {
|
|||
}
|
||||
|
||||
#editBookmarkPanel .expander-up {
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
transform: scaleY(-1);
|
||||
}
|
||||
|
||||
#editBookmarkPanel .expander-down {
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
|
||||
list-style-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
}
|
||||
|
||||
#editBMPanel_folderMenuList {
|
||||
|
|
|
@ -696,7 +696,7 @@
|
|||
/* All tabs button and menupopup */
|
||||
|
||||
#alltabs-button {
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-dropdown-16.svg);
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-down.svg);
|
||||
}
|
||||
|
||||
#tabbrowser-tabs[hiddensoundplaying] ~ #alltabs-button > .toolbarbutton-badge-stack > .toolbarbutton-badge {
|
||||
|
|
|
@ -306,7 +306,7 @@ input[type="number"].photon-number::-moz-number-spin-down {
|
|||
border: 0;
|
||||
border-radius: 0;
|
||||
background-color: var(--in-content-button-background);
|
||||
background-image: url("chrome://global/skin/icons/arrow-dropdown-16.svg");
|
||||
background-image: url("chrome://global/skin/icons/arrow-down.svg");
|
||||
background-size: 8px;
|
||||
background-position: center;
|
||||
-moz-context-properties: fill;
|
||||
|
|
|
@ -90,7 +90,7 @@ body {
|
|||
}
|
||||
|
||||
.dropdown {
|
||||
background-image: url(chrome://global/skin/icons/arrow-dropdown-16.svg);
|
||||
background-image: url(chrome://global/skin/icons/arrow-down.svg);
|
||||
background-position: right 8px center;
|
||||
background-repeat: no-repeat;
|
||||
-moz-context-properties: fill;
|
||||
|
|
|
@ -136,7 +136,7 @@ button.month-year::after {
|
|||
content: "";
|
||||
width: 2.6rem;
|
||||
height: 1.6rem;
|
||||
background: url("chrome://global/skin/icons/arrow-dropdown-16.svg") no-repeat 50% 50%;
|
||||
background: url("chrome://global/skin/icons/arrow-down.svg") no-repeat 50% 50%;
|
||||
-moz-context-properties: fill, fill-opacity;
|
||||
fill: FieldText;
|
||||
fill-opacity: .5;
|
||||
|
@ -304,7 +304,7 @@ button.month-year.active::after {
|
|||
}
|
||||
|
||||
.spinner-container > button.down {
|
||||
background: url("chrome://global/skin/icons/arrow-dropdown-16.svg") no-repeat 50% 50%;
|
||||
background: url("chrome://global/skin/icons/arrow-down.svg") no-repeat 50% 50%;
|
||||
}
|
||||
|
||||
.spinner-container.hide-buttons > button {
|
||||
|
|
|
@ -115,7 +115,7 @@ html|input.findbar-textbox[flash="true"] {
|
|||
|
||||
.findbar-find-next {
|
||||
margin-inline-end: 8px;
|
||||
list-style-image: url(chrome://global/skin/icons/find-next-arrow.svg);
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-down.svg);
|
||||
}
|
||||
|
||||
.findbar-find-previous > .toolbarbutton-icon,
|
||||
|
|
До Ширина: | Высота: | Размер: 513 B После Ширина: | Высота: | Размер: 513 B |
|
@ -1,6 +0,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" viewBox="0 0 16 16" width="16" height="16" fill="context-fill" fill-opacity="context-fill-opacity">
|
||||
<path d="m8.352 10.999 5.466-5.465a.623.623 0 0 0-.001-.884.628.628 0 0 0-.885 0L7.998 9.585l-4.93-4.934a.626.626 0 0 0-.885.885L7.648 11l.704-.001z"/>
|
||||
</svg>
|
До Ширина: | Высота: | Размер: 513 B |
|
@ -1,6 +0,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" viewBox="0 0 16 16" width="16" height="16" fill="context-fill" fill-opacity="context-fill-opacity">
|
||||
<path d="m8.352 10.999 5.466-5.465a.623.623 0 0 0-.001-.884.628.628 0 0 0-.885 0L7.998 9.585l-4.93-4.934a.626.626 0 0 0-.885.885L7.648 11l.704-.001z"/>
|
||||
</svg>
|
До Ширина: | Высота: | Размер: 513 B |
|
@ -46,7 +46,6 @@ toolkit.jar:
|
|||
skin/classic/global/icons/edit.svg (../../shared/icons/edit.svg)
|
||||
skin/classic/global/icons/error.svg (../../shared/icons/error.svg)
|
||||
skin/classic/global/icons/find-previous-arrow.svg (../../shared/icons/find-previous-arrow.svg)
|
||||
skin/classic/global/icons/find-next-arrow.svg (../../shared/icons/find-next-arrow.svg)
|
||||
skin/classic/global/icons/folder.svg (../../shared/icons/folder.svg)
|
||||
skin/classic/global/icons/heart.svg (../../shared/icons/heart.svg)
|
||||
skin/classic/global/icons/help.svg (../../shared/icons/help.svg)
|
||||
|
@ -79,8 +78,8 @@ toolkit.jar:
|
|||
skin/classic/global/icons/icon-refresh.svg (../../shared/icons/icon-refresh.svg)
|
||||
#endif
|
||||
skin/classic/global/icons/update-icon.svg (../../shared/icons/update-icon.svg)
|
||||
skin/classic/global/icons/arrow-down-12.svg (../../shared/icons/arrow-down-12.svg)
|
||||
skin/classic/global/icons/arrow-dropdown-16.svg (../../shared/icons/arrow-dropdown-16.svg)
|
||||
skin/classic/global/icons/arrow-down-12.svg (../../shared/icons/arrow-down-12.svg)
|
||||
skin/classic/global/icons/arrow-down.svg (../../shared/icons/arrow-down.svg)
|
||||
skin/classic/global/icons/arrow-left-12.svg (../../shared/icons/arrow-left-12.svg)
|
||||
skin/classic/global/icons/arrow-right-12.svg (../../shared/icons/arrow-right-12.svg)
|
||||
skin/classic/global/icons/arrow-up-12.svg (../../shared/icons/arrow-up-12.svg)
|
||||
|
|
|
@ -52,7 +52,7 @@ dropmarker:not([native]) {
|
|||
}
|
||||
|
||||
dropmarker:not([native])::part(icon) {
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-dropdown-16.svg);
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-down.svg);
|
||||
-moz-context-properties: fill;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
.popup-notification-dropmarker > .button-box > .button-menu-dropmarker::part(icon) {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-dropdown-16.svg);
|
||||
list-style-image: url(chrome://global/skin/icons/arrow-down.svg);
|
||||
-moz-context-properties: fill;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче