Skip to content

Commit 058350d

Browse files
committed
Deleted app hover styles ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/bravegpt]
1 parent 37de729 commit 058350d

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

chatgpt/bravegpt/bravegpt.user.js

Lines changed: 1 addition & 14 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.10.20.3
151+
// @version 2025.10.21
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
@@ -445,13 +445,10 @@
445445
--app-border: ${ isParticlizedDS ? 'none' : '1px solid var(--color-divider-subtle)' };
446446
--app-gradient-bg: linear-gradient(180deg, ${
447447
appScheme == 'dark' ? '#99a8a6 -245px, black 185px' : '#b6ebff -163px, white 65px' }) ;
448-
--app-hover-shadow-light-scheme: 0 9px 28px rgba(0,0,0,0.09) ;
449-
--app-hover-shadow-dark-scheme: 0 9px 28px rgba(0,0,0,0.39) ;
450448
--app-anchored-shadow: 0 15px 52px rgb(0,0,${ appScheme == 'light' ? '7,0.06' : '11,0.22' }) ;
451449
--app-transition: opacity 0.5s ease, transform 0.5s ease, /* for 1st fade-in */
452450
bottom 0.1s cubic-bezier(0,0,0.2,1), /* smoothen Anchor Y min/restore */
453451
width 0.167s cubic-bezier(0,0,0.2,1) ; /* smoothen Anchor X expand/shrink */
454-
--app-shadow-transition: box-shadow 0.15s ease ; /* for app:hover to not trigger on hover-off */
455452
--standby-btn-zoom: scale(1.015) ; --standby-btn-transition: all 0.18s ease ;
456453
--btn-transition: transform 0.15s ease, /* for hover-zoom */
457454
opacity 0.25s ease-in-out ; /* + btn-zoom-fade-out + .app-hover-only shows */
@@ -511,16 +508,6 @@
511508
-o-transition: var(--app-transition) ; -ms-transition: var(--app-transition) }
512509
#${app.slug}:has(.${app.slug}-alert) { /* app alerts */
513510
border: var(--app-border) ; background-image: var(--app-gradient-bg) }
514-
${ env.browser.isPhone ? '' : appScheme != env.ui.site.scheme ?
515-
// add hover shadow to bordered/un-anchored desktop app div
516-
`#${app.slug}:hover, #${app.slug}:active {
517-
box-shadow: var(--app-hover-shadow-${appScheme}-scheme) ;
518-
transition: var(--app-shadow-transition) ;
519-
-webkit-transition: var(--app-shadow-transition) ;
520-
-moz-transition: var(--app-shadow-transition) ;
521-
-o-transition: var(--app-shadow-transition) ;
522-
-ms-transition: var(--app-shadow-transition) }`
523-
: '' }
524511
#${app.slug} .app-hover-only { /* hide app-hover-only elems */
525512
position: absolute ; left: -9999px ; opacity: 0 ; /* using position to support transitions */
526513
width: 0 } /* to support width calcs */

0 commit comments

Comments
 (0)