Skip to content

Commit 69077a9

Browse files
committed
Changed sidebar toggle-on/hover transition to 0.15s ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-auto-refresh]
1 parent 1311a09 commit 69077a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

chatgpt/chatgpt-auto-refresh/chatgpt-auto-refresh.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
// @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
221221
// @author Adam Lui
222222
// @namespace https://github.com/adamlui
223-
// @version 2025.1.29
223+
// @version 2025.1.29.1
224224
// @license MIT
225225
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
226226
// @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
@@ -863,11 +863,11 @@
863863
+ '-o-transition: 0.4s ; -ms-transition: 0.4s }'
864864
+ `.${this.class} > span.enabled {` // switch on
865865
+ 'background-color: var(--switch-enabled-bg-color) ;'
866-
+ 'box-shadow: var(--switch-enabled-box-shadow) }'
866+
+ 'box-shadow: var(--switch-enabled-box-shadow) ;'
867+
+ 'transition: 0.15s ; -webkit-transition: 0.15s ; -moz-transition: 0.15s ;'
868+
+ '-o-transition: 0.15s ; -ms-transition: 0.15s }'
867869
+ `.${this.class}:hover > span.enabled {` // switch on when hover on parent div
868-
+ 'box-shadow: var(--switch-enabled-hover-box-shadow) ;'
869-
+ 'transition: none ; -webkit-transition: none ; -moz-transition: none ;'
870-
+ '-o-transition: none ; -ms-transition: none }'
870+
+ 'box-shadow: var(--switch-enabled-hover-box-shadow) }'
871871
+ `.${this.class} > span.disabled {` // switch off
872872
+ 'background-color: var(--switch-disabled-bg-color) ; box-shadow: none }'
873873
+ `.${this.class} > span > span {` // knob span

0 commit comments

Comments
 (0)