Skip to content

Commit

Permalink
Changed sidebar toggle-on/hover transition to 0.15s ↞ [auto-sync from h…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 29, 2025
1 parent 1311a09 commit 69077a9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chatgpt/chatgpt-auto-refresh/chatgpt-auto-refresh.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
// @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2025.1.29
// @version 2025.1.29.1
// @license MIT
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
// @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
Expand Down Expand Up @@ -863,11 +863,11 @@
+ '-o-transition: 0.4s ; -ms-transition: 0.4s }'
+ `.${this.class} > span.enabled {` // switch on
+ 'background-color: var(--switch-enabled-bg-color) ;'
+ 'box-shadow: var(--switch-enabled-box-shadow) }'
+ 'box-shadow: var(--switch-enabled-box-shadow) ;'
+ 'transition: 0.15s ; -webkit-transition: 0.15s ; -moz-transition: 0.15s ;'
+ '-o-transition: 0.15s ; -ms-transition: 0.15s }'
+ `.${this.class}:hover > span.enabled {` // switch on when hover on parent div
+ 'box-shadow: var(--switch-enabled-hover-box-shadow) ;'
+ 'transition: none ; -webkit-transition: none ; -moz-transition: none ;'
+ '-o-transition: none ; -ms-transition: none }'
+ 'box-shadow: var(--switch-enabled-hover-box-shadow) }'
+ `.${this.class} > span.disabled {` // switch off
+ 'background-color: var(--switch-disabled-bg-color) ; box-shadow: none }'
+ `.${this.class} > span > span {` // knob span
Expand Down

0 comments on commit 69077a9

Please sign in to comment.