Skip to content

Commit fda08ea

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/amazongpt]
1 parent f111da7 commit fda08ea

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o!
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2025.11.5
6+
// @version 2025.11.16
77
// @license MIT
88
// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
@@ -509,8 +509,9 @@
509509
transition: box-shadow 0.15s ease ;
510510
-webkit-transition: box-shadow 0.15s ease ; -moz-transition: box-shadow 0.15s ease ;
511511
-o-transition: box-shadow 0.15s ease ; -ms-transition: box-shadow 0.15s ease }
512-
${ isParticlizedDS ? '' : // add inset shadow to chatbar on hover
513-
`#${app.slug}-chatbar:hover:not(:focus) {
512+
${ isParticlizedDS ? '' : ` /* chatbar hover styles */
513+
#${app.slug}-chatbar:hover:not(:focus),
514+
div:has(.${app.slug}-chatbar-btn:hover) #${app.slug}-chatbar:not(:focus) {
514515
outline: ${ appScheme == 'light' ? 'black' : 'white' } auto 5px ;
515516
--chatbar-hover-inset-shadow: 0 ${
516517
appScheme == 'dark' ? '3px 2px' : '1px 7px' } rgba(15,17,17,0.15) inset ;

0 commit comments

Comments
 (0)