From 96adf8941a857bb81ee01e684b0e99afa668f530 Mon Sep 17 00:00:00 2001 From: Adam Kostarelas <6800453+AdamXweb@users.noreply.github.com> Date: Wed, 1 Nov 2023 17:00:59 +1100 Subject: [PATCH] fix: #109 and sizing of search arrow --- chrome/WhiteSur/colors/dark.css | 4 ++++ chrome/WhiteSur/colors/light.css | 4 ++++ chrome/WhiteSur/parts/headerbar-urlbar.css | 7 +++++++ 3 files changed, 15 insertions(+) diff --git a/chrome/WhiteSur/colors/dark.css b/chrome/WhiteSur/colors/dark.css index 30782c1..83de2c9 100644 --- a/chrome/WhiteSur/colors/dark.css +++ b/chrome/WhiteSur/colors/dark.css @@ -148,5 +148,9 @@ --safari-safe-color: rgb(1,203,67) !important; --toolbar-field-focus-color: transparent !important; --focus-outline-color: transparent !important; + /* fix new styles added in v119 - */ + --toolbar-field-focus-color: var(--gnome-urlbar-color) !important; + --toolbar-field-focus-background-color: transparent !important; + --arrowpanel-border-color: transparent !important; } } \ No newline at end of file diff --git a/chrome/WhiteSur/colors/light.css b/chrome/WhiteSur/colors/light.css index ec572bc..1f204f1 100644 --- a/chrome/WhiteSur/colors/light.css +++ b/chrome/WhiteSur/colors/light.css @@ -144,4 +144,8 @@ --new-tab-background: rgb(233,233,233) !important; --toolbar-field-focus-color: transparent !important; --focus-outline-color: transparent !important; + /* fix new styles added in v119 - */ + --toolbar-field-focus-color: var(--gnome-urlbar-color) !important; + --toolbar-field-focus-background-color: transparent !important; + --arrowpanel-border-color: transparent !important; } \ No newline at end of file diff --git a/chrome/WhiteSur/parts/headerbar-urlbar.css b/chrome/WhiteSur/parts/headerbar-urlbar.css index 4bce5dd..58a3bf8 100644 --- a/chrome/WhiteSur/parts/headerbar-urlbar.css +++ b/chrome/WhiteSur/parts/headerbar-urlbar.css @@ -176,6 +176,13 @@ toolbarspring { width: 16px !important; margin:auto !important; } +.search-go-button:hover, #urlbar-go-button.urlbar-icon:hover{ + background-color: var(--urlbar-box-hover-bgcolor) !important; +} +/* fix size of search arrow */ +.urlbar-page-action, #urlbar-go-button, .search-go-button { + padding: 1px !important; + } /* Fix for firefox v92 onwards that changed icon size on MacOS*/ .urlbar-page-action { padding: inherit !important;