Skip to content

Commit affbcd4

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/duckduckgpt]
1 parent c5854c6 commit affbcd4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

chatgpt/duckduckgpt/duckduckgpt.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-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.11.15
151+
// @version 2025.11.16
152152
// @license MIT
153153
// @icon https://assets.ddgpt.com/images/icons/app/icon48.png?v=533ce0f
154154
// @icon64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f
@@ -687,8 +687,9 @@
687687
transition: box-shadow 0.15s ease ;
688688
-webkit-transition: box-shadow 0.15s ease ; -moz-transition: box-shadow 0.15s ease ;
689689
-o-transition: box-shadow 0.15s ease ; -ms-transition: box-shadow 0.15s ease }
690-
${ isParticlizedDS ? '' : // add inset shadow to chatbar on hover
691-
`#${app.slug}-chatbar:hover:not(:focus) {
690+
${ isParticlizedDS ? '' : ` /* chatbar hover styles */
691+
#${app.slug}-chatbar:hover:not(:focus),
692+
div:has(.${app.slug}-chatbar-btn:hover) #${app.slug}-chatbar:not(:focus) {
692693
outline: ${ appScheme == 'light' ? 'black' : 'white' } auto 5px ;
693694
--chatbar-hover-inset-shadow: 0 ${
694695
appScheme == 'dark' ? '3px 2px' : '1px 7px' } rgba(15,17,17,0.15) inset ;

0 commit comments

Comments
 (0)