|
148 | 148 | // @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!) |
149 | 149 | // @author KudoAI |
150 | 150 | // @namespace https://kudoai.com |
151 | | -// @version 2025.10.11.4 |
| 151 | +// @version 2025.10.11.5 |
152 | 152 | // @license MIT |
153 | 153 | // @icon https://assets.ddgpt.com/images/icons/app/icon48.png?v=533ce0f |
154 | 154 | // @icon64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f |
|
428 | 428 | appBottomPos() { app.div.style.bottom = `${ config.minimized ? 61 - app.div.offsetHeight : -7 }px` }, |
429 | 429 |
|
430 | 430 | appStyle() { // used in toggle.animations() + update.scheme() + main's app init |
431 | | - const isParticlizedDS = env.ui.app.scheme == 'dark' && !config.bgAnimationsDisabled, |
432 | | - willNotZoom = config.fgAnimationsDisabled || env.browser.isMobile |
| 431 | + const isParticlizedDS = env.ui.app.scheme == 'dark' && !config.bgAnimationsDisabled |
433 | 432 | modals.stylize() // update modal styles |
434 | 433 | if (!app.styles?.isConnected) document.head.append(app.styles ||= dom.create.style()) |
435 | 434 | app.styles.textContent = ( |
|
571 | 570 | background-color: ${ env.ui.app.scheme == 'dark' ? 'white' : '#4a4a4a' }; |
572 | 571 | --shadow: rgba(0,0,0,0.21) 1px 1px 9px 0 ; |
573 | 572 | box-shadow: var(--shadow) ; -webkit-box-shadow: var(--shadow) ; -moz-box-shadow: var(--shadow) ; |
574 | | - ${ willNotZoom ? '' : `transition: var(--font-size-slider-thumb-transition) |
| 573 | + ${ config.fgAnimationsDisabled ? '' : `transition: var(--font-size-slider-thumb-transition) |
575 | 574 | -webkit-transition: var(--font-size-slider-thumb-transition) ; |
576 | 575 | -moz-transition: var(--font-size-slider-thumb-transition) ; |
577 | 576 | -o-transition: var(--font-size-slider-thumb-transition) ; |
|
737 | 736 | border-radius: 0 13px 12px 13px ; flex: 0 0 auto ; |
738 | 737 | --rq-shadow: 1px 4px 8px -6px rgba(169,169,169,0.75) ; box-shadow: var(--rq-shadow) ; |
739 | 738 | -webkit-box-shadow: var(--rq-shadow) ; -moz-box-shadow: var(--rq-shadow) ; |
740 | | - ${ willNotZoom ? '' : `transition: var(--rq-transition) ; |
| 739 | + ${ config.fgAnimationsDisabled ? '' : `transition: var(--rq-transition) ; |
741 | 740 | -webkit-transition: var(--rq-transition) ; -moz-transition: var(--rq-transition) ; |
742 | 741 | -o-transition: var(--rq-transition) ; -ms-transition: var(--rq-transition)` }} |
743 | 742 | .${app.slug}-related-query:hover, .${app.slug}-related-query:focus { |
|
2500 | 2499 | --modal-btn-zoom: scale(1.055) ; --modal-btn-transition: transform 0.15s ease ; |
2501 | 2500 | --settings-li-transition: transform 0.1s ease ; /* for Settings entry hover-zoom */ |
2502 | 2501 | --fg-transition: opacity 0.65s cubic-bezier(0.165,0.84,0.44,1), /* fade-in */ |
2503 | | - transform 0.55s cubic-bezier(0.165,0.84,0.44,1) !important ; /* move-in */ |
| 2502 | + transform 0.55s cubic-bezier(0.165,0.84,0.44,1) !important ; /* move-in */ |
2504 | 2503 | --bg-transition: background-color 0.25s ease !important } /* dim */` |
2505 | 2504 |
|
2506 | 2505 | // Main modal styles |
|
0 commit comments