From 83b57fd4737597661b87cc80de712f755c5c7e3b Mon Sep 17 00:00:00 2001 From: Vince Date: Fri, 16 Jul 2021 10:59:25 +0800 Subject: [PATCH] Update --- lib-core.sh | 2 +- src/other/firefox/Monterey/parts/icons.css | 4 ++-- src/other/firefox/Monterey/parts/tabsbar.css | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lib-core.sh b/lib-core.sh index ff5877d..dd5bac3 100755 --- a/lib-core.sh +++ b/lib-core.sh @@ -4,7 +4,7 @@ # WARNING: Don't use "cd" in this shell, use it in a subshell instead, # for example ( cd blabla && do_blabla ) or $( cd .. && do_blabla ) -set -o pipefail +set -Eeo pipefail if [[ ! "${REPO_DIR}" ]]; then echo "Please define 'REPODIR' variable"; exit 1 diff --git a/src/other/firefox/Monterey/parts/icons.css b/src/other/firefox/Monterey/parts/icons.css index 56784c0..f765252 100644 --- a/src/other/firefox/Monterey/parts/icons.css +++ b/src/other/firefox/Monterey/parts/icons.css @@ -347,7 +347,7 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon { list-style-image: url("../icons/drm-symbolic.svg") !important; } -#reader-mode-button { +#reader-mode-button > .urlbar-icon { list-style-image: url("../icons/reader-mode.svg") !important; } @@ -524,7 +524,7 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon { #pageActionButton, #permissions-granted-icon, #tracking-protection-icon-animatable-image, - #reader-mode-button, + #reader-mode-button > .urlbar-icon, #star-button:not([starred]), #geo-sharing-icon[sharing], .geo-icon, .blocked-permission-icon.popup-icon, diff --git a/src/other/firefox/Monterey/parts/tabsbar.css b/src/other/firefox/Monterey/parts/tabsbar.css index 1bb42e2..07aa2e9 100644 --- a/src/other/firefox/Monterey/parts/tabsbar.css +++ b/src/other/firefox/Monterey/parts/tabsbar.css @@ -19,6 +19,14 @@ background-image: none !important; } +.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme { + color: var(--gnome-tabbar-tab-color) !important; +} + +.tabbrowser-tab .tab-background:not([selected=true]) { + color: var(--gnome-tabbar-tab-active-color) !important; +} + .tab-background { transition: background 200ms !important; }