From 338958ae12ecaebd38f5c8277c2483fc3fb6bc25 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Thu, 3 Jun 2021 14:56:42 +0800 Subject: [PATCH] update --- src/other/firefox/WhiteSur/parts/entries.css | 11 +++++++++-- src/other/firefox/WhiteSur/parts/findbar.css | 9 +++++++++ src/other/firefox/WhiteSur/parts/popups.css | 7 +++---- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/other/firefox/WhiteSur/parts/entries.css b/src/other/firefox/WhiteSur/parts/entries.css index 81573bd..00adf4b 100644 --- a/src/other/firefox/WhiteSur/parts/entries.css +++ b/src/other/firefox/WhiteSur/parts/entries.css @@ -26,8 +26,8 @@ #urlbar[breakout][breakout-extend], #searchbar:focus-within, #search-box[focused], -.findbar-textbox[focused], -.findbar-textbox:focus, +/*.findbar-textbox[focused],*/ +/*.findbar-textbox:focus,*/ #loginTextbox:focus, #password1Textbox:focus { outline: 2px solid var(--gnome-focused-urlbar-border-color) !important; @@ -36,6 +36,13 @@ transition: all 100ms; } +.findbar-textbox[focused], +.findbar-textbox:focus { + outline: none !important; + box-shadow: inset 0 0 0 1px var(--gnome-focused-urlbar-border-color) !important; + border: 1px solid var(--gnome-focused-urlbar-border-color) !important; +} + /* Inactive window entries */ #searchbar:-moz-window-inactive, #search-box:-moz-window-inactive, diff --git a/src/other/firefox/WhiteSur/parts/findbar.css b/src/other/firefox/WhiteSur/parts/findbar.css index b2f3335..3c46da7 100644 --- a/src/other/firefox/WhiteSur/parts/findbar.css +++ b/src/other/firefox/WhiteSur/parts/findbar.css @@ -31,6 +31,15 @@ hbox[anonid="findbar-textbox-wrapper"] { flex: 1; } +.findbar-textbox:focus + .findbar-find-previous { + border-left-color: var(--gnome-focused-urlbar-border-color) !important; +} + +.findbar-highlight, .findbar-case-sensitive, .findbar-match-diacritics, .findbar-entire-word, .findbar-label { + margin: 0 3px !important; + font-size: 0.9em !important; +} + .findbar-closebutton.close-icon { margin: 6px 6px 6px 0 !important; padding: 0 0 !important; diff --git a/src/other/firefox/WhiteSur/parts/popups.css b/src/other/firefox/WhiteSur/parts/popups.css index e13fd9e..3dcb30b 100644 --- a/src/other/firefox/WhiteSur/parts/popups.css +++ b/src/other/firefox/WhiteSur/parts/popups.css @@ -8,8 +8,8 @@ menupopup { -moz-appearance: none !important; background: var(--gnome-menu-background) !important; border: 1px solid var(--gnome-menu-border-color) !important; - border-radius: 8px !important; - padding: 4px 0 !important; + border-radius: 12px !important; + padding: 8px 0 !important; color: var(--gnome-toolbar-color) !important; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; } @@ -53,7 +53,7 @@ panelview { background: var(--gnome-popover-background) !important; border: 1px solid !important; border-color: var(--gnome-popover-border-color) !important; - border-radius: 8px !important; + border-radius: 12px 8px 12px 12px !important; padding: 12px !important; color: var(--gnome-toolbar-color) !important; } @@ -171,4 +171,3 @@ panel[type="autocomplete-richlistbox"] { .autocomplete-richlistitem:not([type="loginsFooter"]):hover .ac-site-icon { fill: #fff !important; } -