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