diff --git a/browser/themes/shared/controlcenter/panel.inc.css b/browser/themes/shared/controlcenter/panel.inc.css index ecbc36aeb84d..f8b2a8f363ea 100644 --- a/browser/themes/shared/controlcenter/panel.inc.css +++ b/browser/themes/shared/controlcenter/panel.inc.css @@ -428,8 +428,8 @@ description#identity-popup-content-verifier, margin: 0; width: 16px; height: 16px; - list-style-image: url(chrome://browser/skin/panel-icon-cancel.svg); - -moz-context-properties: fill; + list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel); + filter: url(chrome://global/skin/filters.svg#fill); fill: graytext; } diff --git a/browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css b/browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css index 5e1899a5ee03..f827f6ea640a 100644 --- a/browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css +++ b/browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css @@ -93,7 +93,7 @@ width: 16px; height: 16px; margin: 0; - -moz-context-properties: fill; + filter: url("chrome://global/skin/filters.svg#fill"); fill: currentColor; } @@ -123,19 +123,19 @@ /*** Button icons ***/ .downloadIconCancel > .button-box > .button-icon { - list-style-image: url("chrome://browser/skin/panel-icon-cancel.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#cancel"); } .downloadIconShow > .button-box > .button-icon { %ifdef XP_MACOSX - list-style-image: url("chrome://browser/skin/panel-icon-magnifier.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#magnifier"); %else - list-style-image: url("chrome://browser/skin/panel-icon-folder.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#folder"); %endif } .downloadIconRetry > .button-box > .button-icon { - list-style-image: url("chrome://browser/skin/panel-icons-retry.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#retry"); } /*** Progressmeter ***/ diff --git a/browser/themes/shared/downloads/downloads.inc.css b/browser/themes/shared/downloads/downloads.inc.css index ab6ee07d147d..d2a3277564db 100644 --- a/browser/themes/shared/downloads/downloads.inc.css +++ b/browser/themes/shared/downloads/downloads.inc.css @@ -249,7 +249,7 @@ richlistitem[type="download"]:last-child { width: 16px; height: 16px; margin: 1px; - -moz-context-properties: fill; + filter: url("chrome://global/skin/filters.svg#fill"); fill: currentColor; } @@ -287,27 +287,27 @@ richlistitem[type="download"]:last-child { /*** Button icons ***/ .downloadIconCancel > .button-box > .button-icon { - list-style-image: url("chrome://browser/skin/panel-icon-cancel.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#cancel"); } .downloadIconShow > .button-box > .button-icon { %ifdef XP_MACOSX - list-style-image: url("chrome://browser/skin/panel-icon-magnifier.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#magnifier"); %else - list-style-image: url("chrome://browser/skin/panel-icon-folder.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#folder"); %endif } .downloadIconRetry > .button-box > .button-icon { - list-style-image: url("chrome://browser/skin/panel-icon-retry.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#retry"); } .downloadShowBlockedInfo > .button-box > .button-icon { - list-style-image: url("chrome://browser/skin/panel-icon-arrow-right.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#arrow-right"); } .downloadShowBlockedInfo > .button-box > .button-icon:-moz-locale-dir(rtl) { - list-style-image: url("chrome://browser/skin/panel-icon-arrow-left.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#arrow-left"); } /*** Blocked subview ***/ @@ -325,11 +325,11 @@ richlistitem[type="download"]:last-child { } #downloadsPanel-multiView > .panel-viewcontainer > .panel-viewstack[viewtype="subview"] .download-state[showingsubview] .downloadButton > .button-box > .button-icon { - list-style-image: url("chrome://browser/skin/panel-icon-arrow-left.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#arrow-left"); } #downloadsPanel-multiView > .panel-viewcontainer > .panel-viewstack[viewtype="subview"] .download-state[showingsubview] .downloadButton > .button-box > .button-icon:-moz-locale-dir(rtl) { - list-style-image: url("chrome://browser/skin/panel-icon-arrow-right.svg"); + list-style-image: url("chrome://browser/skin/panel-icons.svg#arrow-right"); } #downloadsPanel-blockedSubview { diff --git a/browser/themes/shared/jar.inc.mn b/browser/themes/shared/jar.inc.mn index 77645d2387f4..7d9230cb37e5 100644 --- a/browser/themes/shared/jar.inc.mn +++ b/browser/themes/shared/jar.inc.mn @@ -70,12 +70,7 @@ skin/classic/browser/tracking-protection-16.svg (../shared/identity-block/tracking-protection-16.svg) skin/classic/browser/newtab/close.png (../shared/newtab/close.png) skin/classic/browser/newtab/controls.svg (../shared/newtab/controls.svg) - skin/classic/browser/panel-icon-arrow-left.svg (../shared/panel-icon-arrow-left.svg) - skin/classic/browser/panel-icon-arrow-right.svg (../shared/panel-icon-arrow-right.svg) - skin/classic/browser/panel-icon-cancel.svg (../shared/panel-icon-cancel.svg) - skin/classic/browser/panel-icon-folder.svg (../shared/panel-icon-folder.svg) - skin/classic/browser/panel-icon-magnifier.svg (../shared/panel-icon-magnifier.svg) - skin/classic/browser/panel-icon-retry.svg (../shared/panel-icon-retry.svg) + skin/classic/browser/panel-icons.svg (../shared/panel-icons.svg) skin/classic/browser/preferences/in-content-new/favicon.ico (../shared/incontentprefs/favicon.ico) skin/classic/browser/preferences/in-content-new/icons.svg (../shared/incontentprefs/icons.svg) skin/classic/browser/preferences/in-content-new/search.css (../shared/incontentprefs/search.css) diff --git a/browser/themes/shared/panel-icon-arrow-left.svg b/browser/themes/shared/panel-icon-arrow-left.svg deleted file mode 100644 index c28c689e3ac4..000000000000 --- a/browser/themes/shared/panel-icon-arrow-left.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/browser/themes/shared/panel-icon-arrow-right.svg b/browser/themes/shared/panel-icon-arrow-right.svg deleted file mode 100644 index 62042a271517..000000000000 --- a/browser/themes/shared/panel-icon-arrow-right.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/browser/themes/shared/panel-icon-cancel.svg b/browser/themes/shared/panel-icon-cancel.svg deleted file mode 100644 index 32ee55faeecc..000000000000 --- a/browser/themes/shared/panel-icon-cancel.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/browser/themes/shared/panel-icon-folder.svg b/browser/themes/shared/panel-icon-folder.svg deleted file mode 100644 index dfed3af8b484..000000000000 --- a/browser/themes/shared/panel-icon-folder.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/browser/themes/shared/panel-icon-magnifier.svg b/browser/themes/shared/panel-icon-magnifier.svg deleted file mode 100644 index 068a686d2398..000000000000 --- a/browser/themes/shared/panel-icon-magnifier.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/browser/themes/shared/panel-icon-retry.svg b/browser/themes/shared/panel-icon-retry.svg deleted file mode 100644 index 00287da4a903..000000000000 --- a/browser/themes/shared/panel-icon-retry.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/browser/themes/shared/panel-icons.svg b/browser/themes/shared/panel-icons.svg new file mode 100644 index 000000000000..2092e0f64ca9 --- /dev/null +++ b/browser/themes/shared/panel-icons.svg @@ -0,0 +1,18 @@ + + + + + + + + + + +