Skip to content

Commit

Permalink
Fixed corner button hover zooms no longer smooth ↞ [auto-sync from `a…
Browse files Browse the repository at this point in the history
…damlui/chatgpt-apps/bravegpt`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Sep 20, 2024
1 parent fd59fd9 commit 62a965c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions chatgpt/bravegpt/bravegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.9.19.6
// @version 2024.9.19.7
// @license MIT
// @icon https://media.bravegpt.com/images/icons/bravegpt/icon48.png?0a9e287
// @icon64 https://media.bravegpt.com/images/icons/bravegpt/icon64.png?0a9e287
Expand Down Expand Up @@ -1949,9 +1949,10 @@
+ `.kudoai a:hover { color: ${ ui.app.scheme == 'dark' ? 'white' : 'black' }}`
+ '#corner-btns { float: right }'
+ '.corner-btn {'
+ 'float: right ; cursor: pointer ; position: relative ; top: 4px ; transition: transform 0.15s ease ;'
+ 'float: right ; cursor: pointer ; position: relative ; top: 4px ;'
+ `${ ui.app.scheme == 'dark' ? 'fill: white ; stroke: white' : 'fill: #adadad ; stroke: #adadad' };` // color
+ 'transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out }' // for re-appearances from btn-zoom-fade-out ends
+ 'transition: transform 0.15s ease ;' // for hover zooms
+ 'opacity 0.3s ease-in-out, visibility 0.3s ease-in-out }' // for re-appearances from btn-zoom-fade-out ends
+ '.corner-btn:hover'
+ `{ ${ ui.app.scheme == 'dark' ? 'fill: #d9d9d9 ; stroke: #d9d9d9' : 'fill: black ; stroke: black' } ;`
+ `${ config.fgAnimationsDisabled || env.browser.isMobile ? '' : 'transform: scale(1.285)' }}`
Expand Down

0 comments on commit 62a965c

Please sign in to comment.