Skip to content

Commit 36bcbb3

Browse files
committed
Made modal button hover styles more subtle ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/bravegpt]
1 parent 6c44f38 commit 36bcbb3

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

chatgpt/bravegpt/bravegpt.user.js

Lines changed: 10 additions & 6 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.12
151+
// @version 2025.10.12.1
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
@@ -2519,18 +2519,22 @@
25192519
cursor: pointer ; border-radius: 0 !important ; height: 39px ;
25202520
border: 1px solid ${ env.ui.app.scheme == 'dark' ? 'white' : 'black' }!important }
25212521
.primary-modal-btn { background: black !important ; color: white !important }
2522-
.chatgpt-modal button:hover { background-color: #9cdaff !important ; color: black !important }
2522+
.chatgpt-modal button:hover {
2523+
${ env.ui.app.scheme == 'light' ? // reduce intensity of light scheme hover glow
2524+
'--btn-shadow: 2px 1px 43px #00cfff70 ;' : '' }
2525+
color: inherit !important ; background-color: inherit !important /* remove color hacks */
2526+
}
25232527
${ env.ui.app.scheme == 'dark' ? // darkmode chatgpt.alert() styles
25242528
`.chatgpt-modal > div, .chatgpt-modal button:not(.primary-modal-btn) {
25252529
color: white !important }
25262530
.primary-modal-btn { background: #00cfff !important ; color: black !important }
2527-
.chatgpt-modal a { color: #00cfff !important }
2528-
.chatgpt-modal button:hover {
2529-
background-color: #00cfff !important ; color: black !important }` : '' }
2531+
.chatgpt-modal a { color: #00cfff !important }` : ''
2532+
}
25302533
.${modals.class} { display: grid ; place-items: center } /* for centered icon/logo */
25312534
[class*=modal-close-btn] {
25322535
position: absolute !important ; float: right ; top: 14px !important ; right: 16px !important ;
2533-
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px }
2536+
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px
2537+
}
25342538
[class*=modal-close-btn] path {${
25352539
env.ui.app.scheme == 'dark' ? 'stroke: white ; fill: white'
25362540
: 'stroke: #9f9f9f ; fill: #9f9f9f' }}

0 commit comments

Comments
 (0)