MCPcopy
hub / github.com/xcanwin/KeepChatGPT / addStyle

Function addStyle

KeepChatGPT.user.js:1238–1954  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1236 };
1237
1238 const addStyle = function () {
1239 $("#kcg-style")?.remove();
1240 const kcgStyle = GM_addStyle(`
1241/*
1242:root {
1243 --keenobservation-user-image-url: '';
1244 --keenobservation-assistant-image-url: '';
1245}
1246*/
1247
1248/*日星月异*/
1249.ever-changing {
1250 /*左边栏*/
1251 ${symbol1_selector} {
1252 background: linear-gradient(to right top, #d0dcff, #f0f0ff, #fff3f3);
1253 }
1254 /*左边栏顶部选项*/
1255 ${symbol1_selector} .top-0 {
1256 background: linear-gradient(to top, #f0f0ff, #fff3f3);
1257 }
1258 /*左边栏顶部工具*/
1259 ${symbol1_selector} aside {
1260 background: linear-gradient(to top, #efebff, #f0f0ff);
1261 }
1262 ${symbol1_selector} #history>div {
1263 height: 3.5rem;
1264 background-color: rgba(255, 255, 255, 0.4);
1265 }
1266 ${symbol1_selector} #history>div>a {
1267 mask-image: unset !important;
1268 }
1269 ${symbol1_selector} #history>div .bg-gradient-to-l {
1270 background-image: unset;
1271 }
1272
1273 ${symbol1_selector} #history::after {
1274 content: "";
1275 display: block;
1276 height: 1px;
1277 background: linear-gradient(to right, transparent, #bfbfbf, transparent);
1278 }
1279
1280 /*左边栏选中条目*/
1281 ${symbol1_selector} #history>div.bg-token-sidebar-surface-tertiary {
1282 background-color: #bfcbfd;
1283 }
1284 /*左边栏鼠标滑动*/
1285 ${symbol1_selector} #history>div:hover {
1286 background-color: #d5ddff;
1287 }
1288
1289 /*左边栏一级功能*/
1290 @layer utilities {
1291 .bg-token-bg-elevated-secondary {
1292 background-color: unset !important;
1293 background: linear-gradient(to top, #f4f6ff, #f3f3ff, #f4f6ff);
1294 }
1295 }

Callers 1

loadKCGFunction · 0.85

Calls 1

$Function · 0.85

Tested by

no test coverage detected