|
149 | 149 | // @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!) |
150 | 150 | // @author KudoAI |
151 | 151 | // @namespace https://kudoai.com |
152 | | -// @version 2025.10.11.3 |
| 152 | +// @version 2025.10.11.4 |
153 | 153 | // @license MIT |
154 | 154 | // @icon data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22170.667%22%20height=%22170.667%22%3E%3Cstyle%3E:root%7B--fill:%23000%7D@media%20(prefers-color-scheme:dark)%7B:root%7B--fill:%23fff%7D%7D%3C/style%3E%3Cpath%20fill=%22var(--fill)%22%20d=%22M82.346%20159.79c-18.113-1.815-31.78-9.013-45.921-24.184C23.197%20121.416%2017.333%20106.18%2017.333%2086c0-21.982%205.984-36.245%2021.87-52.131C55.33%2017.74%2069.27%2011.867%2091.416%2011.867c17.574%200%2029.679%203.924%2044.309%2014.363l8.57%206.116-8.705%208.705-8.704%208.704-4.288-3.608c-13.91-11.704-35.932-14.167-53.085-5.939-3.4%201.631-9.833%206.601-14.297%2011.045C44.669%2061.753%2040.95%2070.811%2040.95%2086c0%2014.342%203.594%2023.555%2013.26%2033.995%2019.088%2020.618%2048.46%2022.539%2070.457%204.608l5.333-4.348%2011.333%203.844c6.234%202.114%2011.54%203.857%2011.791%203.873.252.015-2.037%203.008-5.087%206.65-6.343%207.577-20.148%2017.217-30.493%2021.295-8.764%203.454-23.358%205.06-35.198%203.873zM92%2086.333V74.667h60.648l-11.41%2011.41-11.411%2011.41-18.914.257L92%2098z%22/%3E%3C/svg%3E |
155 | 155 | // @icon64 data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22170.667%22%20height=%22170.667%22%3E%3Cstyle%3E:root%7B--fill:%23000%7D@media%20(prefers-color-scheme:dark)%7B:root%7B--fill:%23fff%7D%7D%3C/style%3E%3Cpath%20fill=%22var(--fill)%22%20d=%22M82.346%20159.79c-18.113-1.815-31.78-9.013-45.921-24.184C23.197%20121.416%2017.333%20106.18%2017.333%2086c0-21.982%205.984-36.245%2021.87-52.131C55.33%2017.74%2069.27%2011.867%2091.416%2011.867c17.574%200%2029.679%203.924%2044.309%2014.363l8.57%206.116-8.705%208.705-8.704%208.704-4.288-3.608c-13.91-11.704-35.932-14.167-53.085-5.939-3.4%201.631-9.833%206.601-14.297%2011.045C44.669%2061.753%2040.95%2070.811%2040.95%2086c0%2014.342%203.594%2023.555%2013.26%2033.995%2019.088%2020.618%2048.46%2022.539%2070.457%204.608l5.333-4.348%2011.333%203.844c6.234%202.114%2011.54%203.857%2011.791%203.873.252.015-2.037%203.008-5.087%206.65-6.343%207.577-20.148%2017.217-30.493%2021.295-8.764%203.454-23.358%205.06-35.198%203.873zM92%2086.333V74.667h60.648l-11.41%2011.41-11.411%2011.41-18.914.257L92%2098z%22/%3E%3C/svg%3E |
|
619 | 619 | appBottomPos() { app.div.style.bottom = `${ config.minimized ? 22 - app.div.offsetHeight : -33 }px` }, |
620 | 620 |
|
621 | 621 | appStyle() { // used in toggle.animations() + update.scheme() + main's app init |
622 | | - const isParticlizedDS = env.ui.app.scheme == 'dark' && !config.bgAnimationsDisabled, |
623 | | - willNotZoom = config.fgAnimationsDisabled || env.browser.isMobile |
| 622 | + const isParticlizedDS = env.ui.app.scheme == 'dark' && !config.bgAnimationsDisabled |
624 | 623 | modals.stylize() // update modal styles |
625 | 624 | if (!app.styles?.isConnected) document.head.append(app.styles ||= dom.create.style()) |
626 | 625 | app.styles.textContent = ( |
|
773 | 772 | background-color: ${ env.ui.app.scheme == 'dark' ? 'white' : '#4a4a4a' }; |
774 | 773 | --shadow: rgba(0,0,0,0.21) 1px 1px 9px 0 ; |
775 | 774 | box-shadow: var(--shadow) ; -webkit-box-shadow: var(--shadow) ; -moz-box-shadow: var(--shadow) ; |
776 | | - ${ willNotZoom ? '' : `transition: var(--font-size-slider-thumb-transition) |
| 775 | + ${ config.fgAnimationsDisabled ? '' : `transition: var(--font-size-slider-thumb-transition) |
777 | 776 | -webkit-transition: var(--font-size-slider-thumb-transition) ; |
778 | 777 | -moz-transition: var(--font-size-slider-thumb-transition) ; |
779 | 778 | -o-transition: var(--font-size-slider-thumb-transition) ; |
|
933 | 932 | border-radius: 0 13px 12px 13px ; flex: 0 0 auto ; |
934 | 933 | --rq-shadow: 1px 4px 8px -6px rgba(169,169,169,0.75) ; box-shadow: var(--rq-shadow) ; |
935 | 934 | -webkit-box-shadow: var(--rq-shadow) ; -moz-box-shadow: var(--rq-shadow) ; |
936 | | - ${ willNotZoom ? '' : `transition: var(--rq-transition) ; |
| 935 | + ${ config.fgAnimationsDisabled ? '' : `transition: var(--rq-transition) ; |
937 | 936 | -webkit-transition: var(--rq-transition) ; -moz-transition: var(--rq-transition) ; |
938 | 937 | -o-transition: var(--rq-transition) ; -ms-transition: var(--rq-transition)` }} |
939 | 938 | .${app.slug}-related-query:hover, .${app.slug}-related-query:focus { |
|
2685 | 2684 | --modal-btn-zoom: scale(1.055) ; --modal-btn-transition: transform 0.15s ease ; |
2686 | 2685 | --settings-li-transition: transform 0.1s ease ; /* for Settings entry hover-zoom */ |
2687 | 2686 | --fg-transition: opacity 0.65s cubic-bezier(0.165,0.84,0.44,1), /* fade-in */ |
2688 | | - transform 0.55s cubic-bezier(0.165,0.84,0.44,1) !important ; /* move-in */ |
| 2687 | + transform 0.55s cubic-bezier(0.165,0.84,0.44,1) !important ; /* move-in */ |
2689 | 2688 | --bg-transition: background-color 0.25s ease !important } /* dim */` |
2690 | 2689 |
|
2691 | 2690 | // Main modal styles |
|
0 commit comments