Skip to content

Commit 0b95d32

Browse files
committed
Maintained chatbar hover styles on button hovers (fixes adamlui/ai-web-extensions#274) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/bravegpt]
1 parent affbcd4 commit 0b95d32

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

chatgpt/bravegpt/bravegpt.user.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.11.5
151+
// @version 2025.11.16
152152
// @license MIT
153153
// @icon https://assets.bravegpt.com/images/icons/app/icon48.png?v=e8ca7c2
154154
// @icon64 https://assets.bravegpt.com/images/icons/app/icon64.png?v=e8ca7c2
@@ -686,8 +686,9 @@
686686
transition: box-shadow 0.15s ease ;
687687
-webkit-transition: box-shadow 0.15s ease ; -moz-transition: box-shadow 0.15s ease ;
688688
-o-transition: box-shadow 0.15s ease ; -ms-transition: box-shadow 0.15s ease }
689-
${ isParticlizedDS ? '' : // add inset shadow to chatbar on hover
690-
`#${app.slug}-chatbar:hover:not(:focus) {
689+
${ isParticlizedDS ? '' : ` /* chatbar hover styles */
690+
#${app.slug}-chatbar:hover:not(:focus),
691+
div:has(.${app.slug}-chatbar-btn:hover) #${app.slug}-chatbar:not(:focus) {
691692
outline: ${ appScheme == 'light' ? 'black' : 'white' } auto 5px ;
692693
--chatbar-hover-inset-shadow: 0 ${
693694
appScheme == 'dark' ? '3px 2px' : '1px 7px' } rgba(15,17,17,0.15) inset ;

0 commit comments

Comments
 (0)