diff options
| author | bh <qn+git@excalibur.computer> | 2026-01-15 17:29:36 +0800 |
|---|---|---|
| committer | bh <qn+git@excalibur.computer> | 2026-01-15 17:29:36 +0800 |
| commit | 1e3d71b45809efe11905e91817de0950d685df42 (patch) | |
| tree | 55a5cf1631290c151fd4a5abe0a465b37825a707 /CSS/chatgpt.com.css | |
| parent | 2403af2dcf0a7091f92e937acc9d549c42e9b920 (diff) | |
Added some new stuff to userChrome and treeStyleTabs. Refactored CSS for chatgpt
Diffstat (limited to 'CSS/chatgpt.com.css')
| -rw-r--r-- | CSS/chatgpt.com.css | 122 |
1 files changed, 34 insertions, 88 deletions
diff --git a/CSS/chatgpt.com.css b/CSS/chatgpt.com.css index ae1a3f9..ab036ad 100644 --- a/CSS/chatgpt.com.css +++ b/CSS/chatgpt.com.css @@ -88,120 +88,66 @@ @-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") { - /* The actual sidebar container */ - aside { - background-color: #003636 !important; - background-image: none !important; - } - - /* EVERYTHING inside the sidebar */ - aside *, - aside *::before, - aside *::after { + /* ========== SIDEBAR BASE ========== */ + aside, + #stage-slideover-sidebar { background-color: #003636 !important; background-image: none !important; - } - - -} - -@-moz-document url-prefix("https://chatgpt.com/"), url-prefix("https://chat.openai.com/") { - - /* Chat history container itself */ - #history, - [data-testid="history"], - [role="list"] { - background-color: #003636 !important; + --sidebar-bg: #003636 !important; + --bg-elevated-secondary: #003636 !important; } - /* Individual chat items */ - #history > *, - [data-testid="history"] > *, - [role="list"] > * { - background-color: #003636 !important; + #stage-slideover-sidebar .shadow-sharp-edge-bottom { + box-shadow: none !important; } - /* Scroll container that wraps history */ - div:has(> #history) { - background-color: #003636 !important; - } - - /* Sidebar header (ChatGPT logo + collapse button) */ + /* ========== SIDEBAR HEADER ========== */ #sidebar-header { background-color: #003636 !important; - background-image: none !important; } - /* Anything inside the sidebar header */ - #sidebar-header *, - #sidebar-header *::before, - #sidebar-header *::after { - background-color: #003636 !important; - background-image: none !important; - } - - - /* Wrapper under sidebar header */ .touch\:px-1\.5.px-2 { background-color: #003636 !important; - background-image: none !important; } - /* Anything inside it */ - .touch\:px-1\.5.px-2 *, - .touch\:px-1\.5.px-2 *::before, - .touch\:px-1\.5.px-2 *::after { + /* ========== MENU ITEMS BASE ========== */ + .__menu-item[data-sidebar-item="true"] { background-color: #003636 !important; - background-image: none !important; + border-radius: 10px !important; } - - /* Apps / Projects wrapper */ - div[class^="pb-["] { - background-color: #003636 !important; + /* Hover (solid) */ + .__menu-item[data-sidebar-item="true"]:hover { + background-color: #004344 !important; } - /* Apps & Projects rows */ - .__menu-item[data-sidebar-item="true"] { - background-color: #003636 !important; - background-image: none !important; - } + /* ========== CHAT HISTORY ITEMS ========== */ - /* Apps button specifically */ - [data-testid="apps-button"] { - background-color: #003636 !important; + /* The REAL clickable paint layer */ + a[data-sidebar-item="true"] + > div.flex.min-w-0.grow.items-center.gap-2\.5 { + border-radius: 10px !important; } - /* Inner contents (icon + text) */ - .__menu-item *, - .__menu-item *::before, - .__menu-item *::after { - background-color: #003636 !important; - background-image: none !important; - } - - - /* Sidebar root */ - #stage-slideover-sidebar { - --sidebar-bg: #003636 !important; - background-color: #003636 !important; - } - - - /* Main sidebar */ - #stage-slideover-sidebar { - --sidebar-bg: #003636 !important; - background-color: #003636 !important; + /* Hover (non-active) */ + a[data-sidebar-item="true"]:hover:not([data-active]) + > div.flex.min-w-0.grow.items-center.gap-2\.5 { + background-color: #004344 !important; } - /* Sidebar elevated surfaces (account section, sticky footer) */ - #stage-slideover-sidebar { - --bg-elevated-secondary: #003636 !important; +/* ACTIVE / CURRENT CHAT — FULL BOX */ +.__menu-item[data-sidebar-item="true"][data-active] { + background-color: #008282 !important; + border-radius: 10px !important; +} + /* ========== ACCOUNT SECTION ========== */ + [data-testid="accounts-profile-button"] { + background-color: #003636 !important; + border-radius: 10px !important; } - /* Kill the shadow/fade edge */ - #stage-slideover-sidebar .shadow-sharp-edge-bottom { - box-shadow: none !important; + [data-testid="accounts-profile-button"]:hover { + background-color: #004344 !important; } |