Skip to content

Commit 132adab

Browse files
committed
Made modal button hover styles more subtle
1 parent 1ecfe72 commit 132adab

File tree

13 files changed

+124
-72
lines changed

13 files changed

+124
-72
lines changed

amazongpt/greasemonkey/amazongpt.user.js

Lines changed: 10 additions & 6 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.10.11.6
6+
// @version 2025.10.12
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
@@ -1839,18 +1839,22 @@
18391839
border: 1px solid ${ env.ui.app.scheme == 'dark' ? 'white' : 'black' }!important ;
18401840
${ env.ui.app.scheme == 'dark' ? 'background: none ; color: white' : '' }}
18411841
.primary-modal-btn { background: black !important ; color: white !important }
1842-
.chatgpt-modal button:hover { background-color: #9cdaff !important ; color: black !important }
1842+
.chatgpt-modal button:hover {
1843+
${ env.ui.app.scheme == 'light' ? // reduce intensity of light scheme hover glow
1844+
'--btn-shadow: 2px 1px 43px #00cfff70 ;' : '' }
1845+
color: inherit !important ; background-color: inherit !important /* remove color hacks */
1846+
}
18431847
${ env.ui.app.scheme == 'dark' ? // darkmode chatgpt.alert() styles
18441848
`.chatgpt-modal > div, .chatgpt-modal button:not(.primary-modal-btn) {
18451849
color: white !important }
18461850
.primary-modal-btn { background: #00cfff !important ; color: black !important }
1847-
.chatgpt-modal a { color: #00cfff !important }
1848-
.chatgpt-modal button:hover {
1849-
background-color: #00cfff !important ; color: black !important }` : '' }
1851+
.chatgpt-modal a { color: #00cfff !important }` : ''
1852+
}
18501853
.${modals.class} { display: grid ; place-items: center } /* for centered icon/logo */
18511854
[class*=modal-close-btn] {
18521855
position: absolute !important ; float: right ; top: 14px !important ; right: 16px !important ;
1853-
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px }
1856+
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px
1857+
}
18541858
[class*=modal-close-btn] path {${ env.ui.app.scheme == 'dark' ? 'stroke: white ; fill: white'
18551859
: 'stroke: #9f9f9f ; fill: #9f9f9f' }}
18561860
${ env.ui.app.scheme == 'dark' ? // invert dark mode hover paths

autoclear-chatgpt-history/greasemonkey/autoclear-chatgpt-history.user.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.10.11
228+
// @version 2025.10.12
229229
// @license MIT
230230
// @icon data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%22180%22%20fill=%22none%22%3E%3Cstyle%3E:root%7B--primary-fill:%23000;--secondary-fill:%23fff;%7D@media%20(prefers-color-scheme:dark)%7B:root%7B--primary-fill:%23fff;--secondary-fill:%23000;%7D%7D%3C/style%3E%3Cg%20clip-path=%22url(%23a)%22%3E%3Crect%20width=%22180%22%20height=%22180%22%20fill=%22var(--primary-fill)%22%20rx=%2290%22/%3E%3Cg%20clip-path=%22url(%23b)%22%3E%3Cpath%20fill=%22var(--secondary-fill)%22%20d=%22M75.91%2073.628V62.232c0-.96.36-1.68%201.199-2.16l22.912-13.194c3.119-1.8%206.838-2.639%2010.676-2.639%2014.394%200%2023.511%2011.157%2023.511%2023.032%200%20.839%200%201.799-.12%202.758l-23.752-13.914c-1.439-.84-2.879-.84-4.318%200L75.91%2073.627Zm53.499%2044.383v-27.23c0-1.68-.72-2.88-2.159-3.719L97.142%2069.55l9.836-5.638c.839-.48%201.559-.48%202.399%200l22.912%2013.195c6.598%203.839%2011.035%2011.995%2011.035%2019.912%200%209.116-5.397%2017.513-13.915%2020.992v.001Zm-60.577-23.99-9.836-5.758c-.84-.48-1.2-1.2-1.2-2.16v-26.39c0-12.834%209.837-22.55%2023.152-22.55%205.039%200%209.716%201.679%2013.676%204.678L70.993%2055.516c-1.44.84-2.16%202.039-2.16%203.719v34.787-.002Zm21.173%2012.234L75.91%2098.339V81.546l14.095-7.917%2014.094%207.917v16.793l-14.094%207.916Zm9.056%2036.467c-5.038%200-9.716-1.68-13.675-4.678l23.631-13.676c1.439-.839%202.159-2.038%202.159-3.718V85.863l9.956%205.757c.84.48%201.2%201.2%201.2%202.16v26.389c0%2012.835-9.957%2022.552-23.27%2022.552v.001Zm-28.43-26.75L47.72%20102.778c-6.599-3.84-11.036-11.996-11.036-19.913%200-9.236%205.518-17.513%2014.034-20.992v27.35c0%201.68.72%202.879%202.16%203.718l29.989%2017.393-9.837%205.638c-.84.48-1.56.48-2.399%200Zm-1.318%2019.673c-13.555%200-23.512-10.196-23.512-22.792%200-.959.12-1.919.24-2.879l23.63%2013.675c1.44.84%202.88.84%204.32%200l30.108-17.392v11.395c0%20.96-.361%201.68-1.2%202.16l-22.912%2013.194c-3.119%201.8-6.837%202.639-10.675%202.639Zm29.748%2014.274c14.515%200%2026.63-10.316%2029.39-23.991%2013.434-3.479%2022.071-16.074%2022.071-28.91%200-8.396-3.598-16.553-10.076-22.43.6-2.52.96-5.039.96-7.557%200-17.153-13.915-29.99-29.989-29.99-3.239%200-6.358.48-9.477%201.56-5.398-5.278-12.835-8.637-20.992-8.637-14.515%200-26.63%2010.316-29.39%2023.991-13.434%203.48-22.07%2016.074-22.07%2028.91%200%208.396%203.598%2016.553%2010.075%2022.431-.6%202.519-.96%205.038-.96%207.556%200%2017.154%2013.915%2029.989%2029.99%2029.989%203.238%200%206.357-.479%209.476-1.559%205.397%205.278%2012.835%208.637%2020.992%208.637Z%22/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id=%22a%22%3E%3Cpath%20d=%22M0%200h180v180H0z%22/%3E%3C/clipPath%3E%3CclipPath%20id=%22b%22%3E%3Cpath%20d=%22M29.487%2029.964h121.035v119.954H29.487z%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E
231231
// @icon64 data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%22180%22%20fill=%22none%22%3E%3Cstyle%3E:root%7B--primary-fill:%23000;--secondary-fill:%23fff;%7D@media%20(prefers-color-scheme:dark)%7B:root%7B--primary-fill:%23fff;--secondary-fill:%23000;%7D%7D%3C/style%3E%3Cg%20clip-path=%22url(%23a)%22%3E%3Crect%20width=%22180%22%20height=%22180%22%20fill=%22var(--primary-fill)%22%20rx=%2290%22/%3E%3Cg%20clip-path=%22url(%23b)%22%3E%3Cpath%20fill=%22var(--secondary-fill)%22%20d=%22M75.91%2073.628V62.232c0-.96.36-1.68%201.199-2.16l22.912-13.194c3.119-1.8%206.838-2.639%2010.676-2.639%2014.394%200%2023.511%2011.157%2023.511%2023.032%200%20.839%200%201.799-.12%202.758l-23.752-13.914c-1.439-.84-2.879-.84-4.318%200L75.91%2073.627Zm53.499%2044.383v-27.23c0-1.68-.72-2.88-2.159-3.719L97.142%2069.55l9.836-5.638c.839-.48%201.559-.48%202.399%200l22.912%2013.195c6.598%203.839%2011.035%2011.995%2011.035%2019.912%200%209.116-5.397%2017.513-13.915%2020.992v.001Zm-60.577-23.99-9.836-5.758c-.84-.48-1.2-1.2-1.2-2.16v-26.39c0-12.834%209.837-22.55%2023.152-22.55%205.039%200%209.716%201.679%2013.676%204.678L70.993%2055.516c-1.44.84-2.16%202.039-2.16%203.719v34.787-.002Zm21.173%2012.234L75.91%2098.339V81.546l14.095-7.917%2014.094%207.917v16.793l-14.094%207.916Zm9.056%2036.467c-5.038%200-9.716-1.68-13.675-4.678l23.631-13.676c1.439-.839%202.159-2.038%202.159-3.718V85.863l9.956%205.757c.84.48%201.2%201.2%201.2%202.16v26.389c0%2012.835-9.957%2022.552-23.27%2022.552v.001Zm-28.43-26.75L47.72%20102.778c-6.599-3.84-11.036-11.996-11.036-19.913%200-9.236%205.518-17.513%2014.034-20.992v27.35c0%201.68.72%202.879%202.16%203.718l29.989%2017.393-9.837%205.638c-.84.48-1.56.48-2.399%200Zm-1.318%2019.673c-13.555%200-23.512-10.196-23.512-22.792%200-.959.12-1.919.24-2.879l23.63%2013.675c1.44.84%202.88.84%204.32%200l30.108-17.392v11.395c0%20.96-.361%201.68-1.2%202.16l-22.912%2013.194c-3.119%201.8-6.837%202.639-10.675%202.639Zm29.748%2014.274c14.515%200%2026.63-10.316%2029.39-23.991%2013.434-3.479%2022.071-16.074%2022.071-28.91%200-8.396-3.598-16.553-10.076-22.43.6-2.52.96-5.039.96-7.557%200-17.153-13.915-29.99-29.989-29.99-3.239%200-6.358.48-9.477%201.56-5.398-5.278-12.835-8.637-20.992-8.637-14.515%200-26.63%2010.316-29.39%2023.991-13.434%203.48-22.07%2016.074-22.07%2028.91%200%208.396%203.598%2016.553%2010.075%2022.431-.6%202.519-.96%205.038-.96%207.556%200%2017.154%2013.915%2029.989%2029.99%2029.989%203.238%200%206.357-.479%209.476-1.559%205.397%205.278%2012.835%208.637%2020.992%208.637Z%22/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3CclipPath%20id=%22a%22%3E%3Cpath%20d=%22M0%200h180v180H0z%22/%3E%3C/clipPath%3E%3CclipPath%20id=%22b%22%3E%3Cpath%20d=%22M29.487%2029.964h121.035v119.954H29.487z%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E
@@ -574,7 +574,8 @@
574574
env.ui.scheme == 'dark' ? '#99a8a6 -200px, black 200px' : '#b6ebff -296px, white 171px' }) }
575575
.${this.class} [class*=modal-close-btn] {
576576
position: absolute !important ; float: right ; top: 14px !important ; right: 16px !important ;
577-
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px }
577+
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px
578+
}
578579
.${this.class} [class*=modal-close-btn] svg { height: 10px }
579580
.${this.class} [class*=modal-close-btn] path {
580581
${ env.ui.scheme == 'dark' ? 'stroke: white ; fill: white'
@@ -594,10 +595,13 @@
594595
-o-transition: var(--btn-transition) ; -ms-transition: var(--btn-transition) ;
595596
cursor: pointer !important ; /* add finger cursor */
596597
border: 1px solid ${ env.ui.scheme == 'dark' ? 'white' : 'black' } !important ;
597-
padding: 8px !important ; min-width: 102px } /* resize */
598-
.${this.class} button:hover { /* add zoom, re-scheme */
599-
transform: scale(1.055) ; color: black !important ;
600-
background-color: #${ env.ui.scheme == 'dark' ? '00cfff' : '9cdaff' } !important }
598+
padding: 8px !important ; min-width: 102px /* resize */
599+
}
600+
.${this.class} button:hover {
601+
${ env.ui.scheme == 'light' ? // reduce intensity of light scheme hover glow
602+
'--btn-shadow: 2px 1px 43px #00cfff70 ;' : '' }
603+
color: inherit !important ; background-color: inherit !important /* remove color hacks */
604+
}
601605
${ env.browser.isMobile ? '' : `.${this.class} .modal-buttons { margin-left: -13px !important }` }
602606
.about-em { color: ${ env.ui.scheme == 'dark' ? 'white' : 'green' } !important }`
603607
},

bravegpt/greasemonkey/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' }}

chatgpt-auto-continue/chromium/extension/components/modals.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ window.modals = {
162162
}
163163
.${this.class} [class*=modal-close-btn] {
164164
position: absolute !important ; float: right ; top: 14px !important ; right: 16px !important ;
165-
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px }
165+
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px
166+
}
166167
.${this.class} [class*=modal-close-btn] svg { height: 10px }
167168
.${this.class} [class*=modal-close-btn] path {
168169
${ scheme == 'dark' ? 'stroke: white ; fill: white' : 'stroke: #9f9f9f ; fill: #9f9f9f' }}
@@ -181,10 +182,13 @@ window.modals = {
181182
-o-transition: var(--btn-transition) ; -ms-transition: var(--btn-transition) ;
182183
cursor: pointer !important ; /* add finger cursor */
183184
border: 1px solid ${ scheme == 'dark' ? 'white' : 'black' } !important ;
184-
padding: 8px !important ; min-width: 102px } /* resize */
185-
.${this.class} button:hover { /* add zoom, re-scheme */
186-
transform: scale(1.055) ; color: black !important ;
187-
background-color: #${ scheme == 'dark' ? '00cfff' : '9cdaff' } !important }
185+
padding: 8px !important ; min-width: 102px /* resize */
186+
}
187+
.${this.class} button:hover {
188+
${ scheme == 'light' ? // reduce intensity of light scheme hover glow
189+
'--btn-shadow: 2px 1px 43px #00cfff70 ;' : '' }
190+
color: inherit !important ; background-color: inherit !important /* remove color hacks */
191+
}
188192
${ !isMobile ? `.${this.class} .modal-buttons { margin-left: -13px !important }` : '' }
189193
.about-em { color: ${ scheme == 'dark' ? 'white' : 'green' } !important }`
190194
}

chatgpt-auto-continue/firefox/extension/components/modals.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ window.modals = {
162162
}
163163
.${this.class} [class*=modal-close-btn] {
164164
position: absolute !important ; float: right ; top: 14px !important ; right: 16px !important ;
165-
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px }
165+
cursor: pointer ; width: 33px ; height: 33px ; border-radius: 20px
166+
}
166167
.${this.class} [class*=modal-close-btn] svg { height: 10px }
167168
.${this.class} [class*=modal-close-btn] path {
168169
${ scheme == 'dark' ? 'stroke: white ; fill: white' : 'stroke: #9f9f9f ; fill: #9f9f9f' }}
@@ -181,10 +182,13 @@ window.modals = {
181182
-o-transition: var(--btn-transition) ; -ms-transition: var(--btn-transition) ;
182183
cursor: pointer !important ; /* add finger cursor */
183184
border: 1px solid ${ scheme == 'dark' ? 'white' : 'black' } !important ;
184-
padding: 8px !important ; min-width: 102px } /* resize */
185-
.${this.class} button:hover { /* add zoom, re-scheme */
186-
transform: scale(1.055) ; color: black !important ;
187-
background-color: #${ scheme == 'dark' ? '00cfff' : '9cdaff' } !important }
185+
padding: 8px !important ; min-width: 102px /* resize */
186+
}
187+
.${this.class} button:hover {
188+
${ scheme == 'light' ? // reduce intensity of light scheme hover glow
189+
'--btn-shadow: 2px 1px 43px #00cfff70 ;' : '' }
190+
color: inherit !important ; background-color: inherit !important /* remove color hacks */
191+
}
188192
${ !isMobile ? `.${this.class} .modal-buttons { margin-left: -13px !important }` : '' }
189193
.about-em { color: ${ scheme == 'dark' ? 'white' : 'green' } !important }`
190194
}

0 commit comments

Comments
 (0)