|
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.2 |
| 6 | +// @version 2025.10.11.3 |
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 |
|
279 | 279 | appBottomPos() { app.div.style.bottom = `${ config.minimized ? 55 - app.div.offsetHeight : -7 }px` }, |
280 | 280 |
|
281 | 281 | appStyle() { // used in toggle.animations() + update.scheme() + main's app init |
282 | | - const isParticlizedDS = env.ui.app.scheme == 'dark' && !config.bgAnimationsDisabled, |
283 | | - willNotZoom = config.fgAnimationsDisabled || env.browser.isMobile |
| 282 | + const isParticlizedDS = env.ui.app.scheme == 'dark' && !config.bgAnimationsDisabled |
284 | 283 | modals.stylize() // update modal styles |
285 | 284 | if (!app.styles?.isConnected) document.head.append(app.styles ||= dom.create.style()) |
286 | 285 | app.styles.textContent = ( |
|
407 | 406 | background-color: ${ env.ui.app.scheme == 'dark' ? 'white' : '#4a4a4a' }; |
408 | 407 | --shadow: rgba(0,0,0,0.21) 1px 1px 9px 0 ; |
409 | 408 | box-shadow: var(--shadow) ; -webkit-box-shadow: var(--shadow) ; -moz-box-shadow: var(--shadow) ; |
410 | | - ${ willNotZoom ? '' : `transition: var(--font-size-slider-thumb-transition) |
| 409 | + ${ config.fgAnimationsDisabled ? '' : `transition: var(--font-size-slider-thumb-transition) |
411 | 410 | -webkit-transition: var(--font-size-slider-thumb-transition) ; |
412 | 411 | -moz-transition: var(--font-size-slider-thumb-transition) ; |
413 | 412 | -o-transition: var(--font-size-slider-thumb-transition) ; |
|
1812 | 1811 | --modal-btn-zoom: scale(1.055) ; --modal-btn-transition: transform 0.15s ease ; |
1813 | 1812 | --settings-li-transition: transform 0.1s ease ; /* for Settings entry hover-zoom */ |
1814 | 1813 | --fg-transition: opacity 0.65s cubic-bezier(0.165,0.84,0.44,1), /* fade-in */ |
1815 | | - transform 0.55s cubic-bezier(0.165,0.84,0.44,1) !important ; /* move-in */ |
| 1814 | + transform 0.55s cubic-bezier(0.165,0.84,0.44,1) !important ; /* move-in */ |
1816 | 1815 | --bg-transition: background-color 0.25s ease !important } /* dim */` |
1817 | 1816 |
|
1818 | 1817 | // Main modal styles |
|
0 commit comments