Skip to content

Commit

Permalink
未勾选日新月异则默认侧边栏样式
Browse files Browse the repository at this point in the history
  • Loading branch information
xcanwin authored Mar 9, 2024
1 parent 3e18d2b commit f23700b
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions KeepChatGPT.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name KeepChatGPT
// @description 这是一款提高ChatGPT的数据安全能力和效率的插件。并且免费共享大量创新功能,如:自动刷新、保持活跃、数据安全、取消审计、克隆对话、言无不尽、净化页面、展示大屏、展示全屏、拦截跟踪、日新月异等。让我们的AI体验无比安全、顺畅、丝滑、高效、简洁。
// @version 24.1
// @version 24.2
// @author xcanwin
// @namespace https://github.com/xcanwin/KeepChatGPT/
// @supportURL https://github.com/xcanwin/KeepChatGPT/
Expand Down Expand Up @@ -722,42 +722,32 @@

const addStyle = function() {
GM_addStyle(`
/*左边栏*/
nav.flex {
background: linear-gradient(to right top, #d0dcff, #f0f0ff, #fff3f3);
}
nav.flex li>div .bg-gradient-to-l {
background-image: unset;
}
/*左边栏选中条目*/
nav.flex li>div.bg-token-sidebar-surface-tertiary {
background-color: #bfcbfd;
}
/*左边栏鼠标滑动*/
nav.flex li>div:hover {
background-color: #d5ddff;
}
/*官方暗色模式*/
.dark {
/*日星月异*/
.ever-changing {
/*左边栏*/
nav.flex {
background: linear-gradient(to right top, #020000, #0f0922, #000);
background: linear-gradient(to right top, #d0dcff, #f0f0ff, #fff3f3);
}
nav.flex li>div .bg-gradient-to-l {
background-image: unset;
}
/*左边栏选中条目*/
nav.flex li>div.bg-token-sidebar-surface-tertiary {
background-color: #444;
background-color: #bfcbfd;
}
/*左边栏鼠标滑动*/
nav.flex li>div:hover {
background-color: #2f2f2f;
background-color: #d5ddff;
}
}
/*日星月异*/
.ever-changing {
nav.flex div.overflow-y-auto h3 {
display: none;
}
nav.flex div.overflow-y-auto .relative.mt-5 {
margin-top: 0;
}
/*左边栏日期*/
.navdate {
font-size: 0.75rem;
Expand All @@ -767,6 +757,16 @@ nav.flex li>div:hover {
/*官方暗色模式*/
.dark {
.ever-changing {
nav.flex {
background: linear-gradient(to right top, #020000, #0f0922, #000);
}
nav.flex li>div.bg-token-sidebar-surface-tertiary {
background-color: #444;
}
nav.flex li>div:hover {
background-color: #2f2f2f;
}
nav.flex li a .navtitle {
color: #e1e1e1 !important;
}
Expand Down

0 comments on commit f23700b

Please sign in to comment.