Skip to content

Commit b8e77e5

Browse files
committed
1 parent ab4d28e commit b8e77e5

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

chatgpt/googlegpt/googlegpt.user.js

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
// @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!)
150150
// @author KudoAI
151151
// @namespace https://kudoai.com
152-
// @version 2025.5.26
152+
// @version 2025.5.26.1
153153
// @license MIT
154154
// @icon https://assets.googlegpt.io/images/icons/app/black/icon48.png?v=12a91c0
155155
// @icon64 https://assets.googlegpt.io/images/icons/app/black/icon64.png?v=12a91c0
@@ -634,10 +634,10 @@
634634
635635
/* General button styles */
636636
${selectors.btn.shared} {
637-
--content-color: ${ env.ui.app.scheme == 'light' ? '0,0,0' : '255,255,255' };
638-
--side-line-fill: linear-gradient(rgb(var(--content-color)), rgb(var(--content-color))) ;
639-
--skew: skew(-13deg) ; --counter-skew: skew(13deg) ; --btn-svg-zoom: scale(1.2) ;
640-
--btn-transition: 0.1s ease all ;
637+
--content-color: ${ env.ui.app.scheme == 'light' ? '0,0,0' : '255,255,255' };
638+
--side-line-fill: linear-gradient(rgb(var(--content-color)), rgb(var(--content-color))) ;
639+
--skew: skew(-13deg) ; --counter-skew: skew(13deg) ; --btn-svg-zoom: scale(1.2) ;
640+
--btn-transition: 0.1s ease all ;
641641
position: relative ; border-width: 1px ; cursor: crosshair ;
642642
border: 1px solid rgb(var(--content-color)) ;
643643
background: /* side lines */
@@ -674,9 +674,9 @@
674674
675675
/* Modal button styles */
676676
${selectors.btn.modal} {
677-
--modal-btn-y-offset: 2px ; --glow-color: #a0fdff ;
678-
--modal-btn-zoom: scale(1.075) ;
679-
--modal-btn-transition: transform 0.1s ease, background 0.2s ease, box-shadow 5s ease ;
677+
--modal-btn-y-offset: 2px ; --glow-color: #a0fdff ;
678+
--modal-btn-zoom: scale(1.075) ;
679+
--modal-btn-transition: transform 0.1s ease, background 0.2s ease, box-shadow 5s ease ;
680680
${ config.fgAnimationsDisabled ? /* override chatgpt.js transitions */
681681
`transition: none ;
682682
-webkit-transition: none ; -moz-transition: none ;
@@ -707,8 +707,8 @@
707707
708708
/* Standby button styles */
709709
${selectors.btn.standby} {
710-
--standby-btn-zoom: scale(1.055) ;
711-
--standby-btn-transition: transform 0.18s ease, background 0.2s ease ;
710+
--standby-btn-zoom: scale(1.055) ;
711+
--standby-btn-transition: transform 0.18s ease, background 0.2s ease ;
712712
font-size: 11px ; width: 80% ; height: 51px ; margin-bottom: 16px ; transform: var(--skew) }
713713
${selectors.btn.standby} > span { transform: var(--counter-skew) }
714714
${selectors.btn.standby}:nth-child(odd) { margin-right: 20% ; margin-left: 15px }
@@ -746,33 +746,33 @@
746746

747747
// Init vars
748748
`:root {
749-
--app-bg-color-light-scheme: white ; --app-bg-color-dark-scheme: #101218 ;
750-
--pre-bg-color-light-scheme: #b7b7b736 ; --pre-bg-color-dark-scheme: #3a3a3a ;
751-
--reply-header-bg-color-light-scheme: #d7d4d4 ;
752-
--reply-header-bg-color-dark-scheme: ${ !isParticlizedDS ? '#545454' : '#0e0e0e24' };
753-
--reply-header-fg-color-light-scheme: white ; --reply-header-fg-color-dark-scheme: white ;
754-
--chatbar-btn-hover-color-light-scheme: #638ed4 ; --chatbar-btn-hover-color-dark-scheme: white ;
755-
--font-color-light-scheme: #4e4e4e ; --font-color-dark-scheme: #e3e3e3 ;
756-
--app-border: ${ isParticlizedDS ? 'none'
749+
--app-bg-color-light-scheme: white ; --app-bg-color-dark-scheme: #101218 ;
750+
--pre-bg-color-light-scheme: #b7b7b736 ; --pre-bg-color-dark-scheme: #3a3a3a ;
751+
--reply-header-bg-color-light-scheme: #d7d4d4 ;
752+
--reply-header-bg-color-dark-scheme: ${ !isParticlizedDS ? '#545454' : '#0e0e0e24' };
753+
--reply-header-fg-color-light-scheme: white ; --reply-header-fg-color-dark-scheme: white ;
754+
--chatbar-btn-hover-color-light-scheme: #638ed4 ; --chatbar-btn-hover-color-dark-scheme: white ;
755+
--font-color-light-scheme: #4e4e4e ; --font-color-dark-scheme: #e3e3e3 ;
756+
--app-border: ${ isParticlizedDS ? 'none'
757757
: `1px solid #${ env.ui.app.scheme == 'light' ? 'dadce0' : '3b3b3b' }`};
758-
--app-gradient-bg: linear-gradient(180deg, ${
758+
--app-gradient-bg: linear-gradient(180deg, ${
759759
env.ui.app.scheme == 'dark' ? '#99a8a6 -245px, black 185px' : '#b6ebff -163px, white 65px' }) ;
760-
--app-shadow: 0 2px 3px rgb(0,0,0,0.06) ;
761-
--app-hover-shadow-light-scheme: 0 9px 28px rgba(0,0,0,0.09) ;
762-
--app-hover-shadow-dark-scheme: 0 9px 28px rgba(0,0,0,0.39) ;
763-
--app-anchored-shadow: 0 15px 52px rgb(0,0,${ env.ui.app.scheme == 'light' ? '7,0.06'
760+
--app-shadow: 0 2px 3px rgb(0,0,0,0.06) ;
761+
--app-hover-shadow-light-scheme: 0 9px 28px rgba(0,0,0,0.09) ;
762+
--app-hover-shadow-dark-scheme: 0 9px 28px rgba(0,0,0,0.39) ;
763+
--app-anchored-shadow: 0 15px 52px rgb(0,0,${ env.ui.app.scheme == 'light' ? '7,0.06'
764764
: '11,0.22' }) ;
765-
--app-transition: opacity 0.5s ease, transform 0.5s ease, /* for 1st fade-in */
765+
--app-transition: opacity 0.5s ease, transform 0.5s ease, /* for 1st fade-in */
766766
bottom 0.1s cubic-bezier(0,0,0.2,1), /* smoothen Anchor Y min/restore */
767767
width 0.167s cubic-bezier(0,0,0.2,1) ; /* smoothen Anchor X expand/shrink */
768-
--app-shadow-transition: box-shadow 0.15s ease ; /* for app:hover to not trigger on hover-off */
769-
--standby-btn-zoom: scale(1.055) ; --standby-btn-transition: all 0.25s ease ;
770-
--btn-transition: transform 0.15s ease, /* for hover-zoom */
768+
--app-shadow-transition: box-shadow 0.15s ease ; /* for app:hover to not trigger on hover-off */
769+
--standby-btn-zoom: scale(1.055) ; --standby-btn-transition: all 0.25s ease ;
770+
--btn-transition: transform 0.15s ease, /* for hover-zoom */
771771
opacity 0.25s ease-in-out ; /* + btn-zoom-fade-out + .app-hover-only shows */
772-
--font-size-slider-thumb-transition: transform 0.05s ease ; /* for hover-zoom */
773-
--reply-pre-transition: max-height 0.167s cubic-bezier(0, 0, 0.2, 1) ; /* for Anchor changes */
774-
--rq-transition: opacity 0.55s ease, transform 0.1s ease !important ; /* for fade-in + hover-zoom */
775-
--fade-in-less-transition: opacity 0.2s ease } /* used by Font Size slider + Pin menu */`
772+
--font-size-slider-thumb-transition: transform 0.05s ease ; /* for hover-zoom */
773+
--reply-pre-transition: max-height 0.167s cubic-bezier(0, 0, 0.2, 1) ; /* for Anchor changes */
774+
--rq-transition: opacity 0.55s ease, transform 0.1s ease !important ; /* for fade-in + hover-zoom */
775+
--fade-in-less-transition: opacity 0.2s ease } /* used by Font Size slider + Pin menu */`
776776

777777
// Animations
778778
+ `.fade-in { opacity: 0 ; transform: translateY(10px) }
@@ -855,7 +855,7 @@
855855
color: ${ env.ui.app.scheme == 'dark' ? 'white' : 'black' } !important }
856856
.byline { /* header byline */
857857
font-size: 12px ; margin-left: 7px ; color: #aaa ;
858-
--byline-transition: 0.15s ease-in-out ; transition: var(--byline-transition) ;
858+
--byline-transition: 0.15s ease-in-out ; transition: var(--byline-transition) ;
859859
-webkit-transition: var(--byline-transition) ; -moz-transition: var(--byline-transition) ;
860860
-o-transition: var(--byline-transition) ; -ms-transition: var(--byline-transition) }
861861
.byline a, .byline a:visited { color: #aaa ; text-decoration: none !important }
@@ -902,7 +902,7 @@
902902
z-index: 2 ; width: 7px ; height: 25px ; border-radius: 30% ; position: relative ;
903903
top: -7.5px ; cursor: ew-resize ;
904904
background-color: ${ env.ui.app.scheme == 'dark' ? 'white' : '#4a4a4a' };
905-
--shadow: rgba(0,0,0,0.21) 1px 1px 9px 0 ;
905+
--shadow: rgba(0,0,0,0.21) 1px 1px 9px 0 ;
906906
box-shadow: var(--shadow) ; -webkit-box-shadow: var(--shadow) ; -moz-box-shadow: var(--shadow) ;
907907
${ willNotZoom ? '' : `transition: var(--font-size-slider-thumb-transition)
908908
-webkit-transition: var(--font-size-slider-thumb-transition) ;
@@ -1012,7 +1012,7 @@
10121012
-o-transition: box-shadow 0.15s ease ; -ms-transition: box-shadow 0.15s ease }
10131013
${ isParticlizedDS ? '' : // add inset shadow to chatbar on hover
10141014
`#${app.slug}-chatbar:hover:not(:focus) {
1015-
--chatbar-hover-inset-shadow: 0 ${
1015+
--chatbar-hover-inset-shadow: 0 ${
10161016
env.ui.app.scheme == 'dark' ? '3px 2px' : '1px 7px' } rgba(15,17,17,0.15) inset ;
10171017
box-shadow: var(--chatbar-hover-inset-shadow) ;
10181018
-webkit-box-shadow: var(--chatbar-hover-inset-shadow) ;
@@ -1050,7 +1050,7 @@
10501050
border: 1px solid ${ env.ui.app.scheme == 'dark' ? (
10511051
config.bgAnimationsDisabled ? '#5f5f5f' : '#777' ) : '#e1e1e1' };
10521052
border-radius: 0 13px 12px 13px ; flex: 0 0 auto ;
1053-
--rq-shadow: 1px 4px 8px -6px rgba(169,169,169,0.75) ; box-shadow: var(--rq-shadow) ;
1053+
--rq-shadow: 1px 4px 8px -6px rgba(169,169,169,0.75) ; box-shadow: var(--rq-shadow) ;
10541054
-webkit-box-shadow: var(--rq-shadow) ; -moz-box-shadow: var(--rq-shadow) ;
10551055
${ willNotZoom ? '' : `transition: var(--rq-transition) ;
10561056
-webkit-transition: var(--rq-transition) ; -moz-transition: var(--rq-transition) ;
@@ -2794,11 +2794,11 @@
27942794

27952795
// Vars
27962796
`:root {
2797-
--modal-btn-zoom: scale(1.055) ; --modal-btn-transition: transform 0.15s ease ;
2798-
--settings-li-transition: transform 0.1s ease ; /* for Settings entry hover-zoom */
2799-
--fg-transition: opacity 0.65s cubic-bezier(0.165,0.84,0.44,1), /* fade-in */
2797+
--modal-btn-zoom: scale(1.055) ; --modal-btn-transition: transform 0.15s ease ;
2798+
--settings-li-transition: transform 0.1s ease ; /* for Settings entry hover-zoom */
2799+
--fg-transition: opacity 0.65s cubic-bezier(0.165,0.84,0.44,1), /* fade-in */
28002800
transform 0.55s cubic-bezier(0.165,0.84,0.44,1) !important ; /* move-in */
2801-
--bg-transition: background-color 0.25s ease !important } /* dim */`
2801+
--bg-transition: background-color 0.25s ease !important } /* dim */`
28022802

28032803
// Main modal styles
28042804
+ '@keyframes modal-zoom-fade-out {'
@@ -2875,7 +2875,7 @@
28752875
min-width: ${ env.browser.isPortrait ? 288 : 698 }px ; max-width: 75vw ; word-wrap: break-word ;
28762876
margin: 12px 23px ; border-radius: 15px ;
28772877
${ env.ui.app.scheme == 'dark' ? 'stroke: white ; fill: white' : 'stroke: black ; fill: black' };
2878-
--shadow: 0 30px 60px rgba(0,0,0,0.12) ;
2878+
--shadow: 0 30px 60px rgba(0,0,0,0.12) ;
28792879
box-shadow: var(--shadow) ; -webkit-box-shadow: var(--shadow) ; -moz-box-shadow: var(--shadow) }`
28802880
+ `#${app.slug}-settings-title {`
28812881
+ 'font-weight: bold ; line-height: 19px ; text-align: center ;'

0 commit comments

Comments
 (0)