Skip to content

Commit

Permalink
Added finger cursor to modal buttons ↞ [auto-sync from `adamlui/chatg…
Browse files Browse the repository at this point in the history
…pt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Oct 2, 2024
1 parent 7ca761a commit 7fbdac3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions greasemonkey/autoclear-chatgpt-history.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.10.2.1
// @version 2024.10.2.2
// @license MIT
// @icon https://media.autoclearchatgpt.com/images/icons/openai/black/icon48.png?a8868ef
// @icon64 https://media.autoclearchatgpt.com/images/icons/openai/black/icon64.png?a8868ef
Expand Down Expand Up @@ -711,7 +711,7 @@
const ui = { firstLink: chatgpt.getNewChatLink() }

// Add/update TWEAKS style
const tweaksStyleUpdated = 20240930 // datestamp of last edit for this file's `tweaksStyle`
const tweaksStyleUpdated = 20241002 // datestamp of last edit for this file's `tweaksStyle`
let tweaksStyle = document.getElementById('tweaks-style') // try to select existing style
if (!tweaksStyle || parseInt(tweaksStyle.getAttribute('last-updated'), 10) < tweaksStyleUpdated) { // if missing or outdated
if (!tweaksStyle) { // outright missing, create/id/attr/append it first
Expand All @@ -725,6 +725,7 @@
+ 'font-size: 0.77rem ; text-transform: uppercase ;' // shrink/uppercase labels
+ `border: 2px dashed ${ chatgpt.isDarkMode() ? 'white' : 'black' } !important ; border-radius: 0 !important ;` // thiccen/square/dash borders
+ 'transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out ;' // smoothen hover fx
+ 'cursor: pointer !important ;' // add finger cursor
+ 'padding: 5px !important ; min-width: 102px }' // resize
+ '.chatgpt-modal button:hover {' // add zoom, re-scheme
+ 'transform: scale(1.055) ;'
Expand Down

0 comments on commit 7fbdac3

Please sign in to comment.