|
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.20.3 |
| 152 | +// @version 2025.10.21 |
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 |
|
640 | 640 | : `1px solid #${ appScheme == 'light' ? 'dadce0' : '3b3b3b' }`}; |
641 | 641 | --app-gradient-bg: linear-gradient(180deg, ${ |
642 | 642 | appScheme == 'dark' ? '#99a8a6 -245px, black 185px' : '#b6ebff -163px, white 65px' }) ; |
643 | | - --app-hover-shadow-light-scheme: 0 9px 28px rgba(0,0,0,0.09) ; |
644 | | - --app-hover-shadow-dark-scheme: 0 9px 28px rgba(0,0,0,0.39) ; |
645 | 643 | --app-anchored-shadow: 0 15px 52px rgb(0,0,${ appScheme == 'light' ? '7,0.06' : '11,0.22' }) ; |
646 | 644 | --app-transition: opacity 0.5s ease, transform 0.5s ease, /* for 1st fade-in */ |
647 | 645 | bottom 0.1s cubic-bezier(0,0,0.2,1), /* smoothen Anchor Y min/restore */ |
648 | 646 | width 0.167s cubic-bezier(0,0,0.2,1) ; /* smoothen Anchor X expand/shrink */ |
649 | | - --app-shadow-transition: box-shadow 0.15s ease ; /* for app:hover to not trigger on hover-off */ |
650 | 647 | --standby-btn-zoom: scale(1.015) ; --standby-btn-transition: all 0.18s ease ; |
651 | 648 | --btn-transition: transform 0.15s ease, /* for hover-zoom */ |
652 | 649 | opacity 0.25s ease-in-out ; /* + btn-zoom-fade-out + .app-hover-only shows */ |
|
711 | 708 | -o-transition: var(--app-transition) ; -ms-transition: var(--app-transition) } |
712 | 709 | #${app.slug}:has(.${app.slug}-alert) { /* app alerts */ |
713 | 710 | border: var(--app-border) ; background-image: var(--app-gradient-bg) } |
714 | | - ${ env.browser.isPhone ? '' : appScheme != env.ui.site.scheme ? |
715 | | - // add hover shadow to bordered/un-anchored desktop app div |
716 | | - `#${app.slug}:hover, #${app.slug}:active { |
717 | | - box-shadow: var(--app-hover-shadow-${appScheme}-scheme) ; |
718 | | - transition: var(--app-shadow-transition) ; |
719 | | - -webkit-transition: var(--app-shadow-transition) ; |
720 | | - -moz-transition: var(--app-shadow-transition) ; |
721 | | - -o-transition: var(--app-shadow-transition) ; |
722 | | - -ms-transition: var(--app-shadow-transition) }` |
723 | | - : '' } |
724 | 711 | #${app.slug} .app-hover-only { /* hide app-hover-only elems */ |
725 | 712 | position: absolute ; left: -9999px ; opacity: 0 ; /* using position to support transitions */ |
726 | 713 | width: 0 } /* to support width calcs */ |
|
0 commit comments