From 382a28971b376eeac185bf2b04c01f3be26645e0 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 7 Nov 2023 01:19:56 +0900 Subject: [PATCH] Fix: Icons - Multiple tabbar mode #802 --- css/leptonChrome.css | 8 ++++++++ css/leptonChromeESR.css | 3 +++ src/icons/_index.scss | 3 +++ 3 files changed, 14 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 61661fb4..bfb9df2a 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -10520,6 +10520,9 @@ --uc-sidebar-icon-reverse: url("chrome://browser/skin/sidebars.svg"); } } + #TabsToolbar #new-tab-button { + --uc-new-tab-icon: url(chrome://global/skin/icons/plus.svg); + } .urlbarView-row[source="tabs"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon, #urlbar-engine-one-off-item-tabs { list-style-image: var(--uc-tab-icon) !important; @@ -24756,6 +24759,11 @@ } } } +@media not (-moz-bool-pref: "userChrome.icon.disabled") { + #TabsToolbar #new-tab-button { + --uc-new-tab-icon: url(chrome://global/skin/icons/plus.svg); + } +} @media not (-moz-bool-pref: "userChrome.icon.disabled") { .urlbarView-row[source="tabs"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon, #urlbar-engine-one-off-item-tabs { diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 8c5b83c4..87f9328c 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -10937,6 +10937,9 @@ --uc-sidebar-icon-reverse: url("chrome://browser/skin/sidebars.svg"); } } + #TabsToolbar #new-tab-button { + --uc-new-tab-icon: url(chrome://global/skin/icons/plus.svg); + } .urlbarView-row[source="tabs"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon, #urlbar-engine-one-off-item-tabs { list-style-image: var(--uc-tab-icon) !important; diff --git a/src/icons/_index.scss b/src/icons/_index.scss index 15b11806..cdbf0237 100644 --- a/src/icons/_index.scss +++ b/src/icons/_index.scss @@ -31,6 +31,9 @@ } } +#TabsToolbar #new-tab-button { + --uc-new-tab-icon: url(chrome://global/skin/icons/plus.svg); +} .urlbarView-row[source="tabs"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon, #urlbar-engine-one-off-item-tabs {