|
3 | 3 | // @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o! |
4 | 4 | // @author KudoAI |
5 | 5 | // @namespace https://kudoai.com |
6 | | -// @version 2025.10.11.6 |
| 6 | +// @version 2025.10.12 |
7 | 7 | // @license MIT |
8 | 8 | // @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c |
9 | 9 | // @icon64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c |
|
1839 | 1839 | border: 1px solid ${ env.ui.app.scheme == 'dark' ? 'white' : 'black' }!important ; |
1840 | 1840 | ${ env.ui.app.scheme == 'dark' ? 'background: none ; color: white' : '' }} |
1841 | 1841 | .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 | + } |
1843 | 1847 | ${ env.ui.app.scheme == 'dark' ? // darkmode chatgpt.alert() styles |
1844 | 1848 | `.chatgpt-modal > div, .chatgpt-modal button:not(.primary-modal-btn) { |
1845 | 1849 | color: white !important } |
1846 | 1850 | .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 | + } |
1850 | 1853 | .${modals.class} { display: grid ; place-items: center } /* for centered icon/logo */ |
1851 | 1854 | [class*=modal-close-btn] { |
1852 | 1855 | 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 | + } |
1854 | 1858 | [class*=modal-close-btn] path {${ env.ui.app.scheme == 'dark' ? 'stroke: white ; fill: white' |
1855 | 1859 | : 'stroke: #9f9f9f ; fill: #9f9f9f' }} |
1856 | 1860 | ${ env.ui.app.scheme == 'dark' ? // invert dark mode hover paths |
|
0 commit comments