diff --git a/README.md b/README.md index e225587..de28af9 100644 --- a/README.md +++ b/README.md @@ -6,18 +6,12 @@ ## 安装方法 -* 方法1:使用 [插件列表查看](https://github.com/ltxhhz/LL-plugin-list-viewer)
-搜索 Can Can Need 然后安装选择 `使用仓库代码包` - -* 方法2:下载release包,解压到插件目录
+### 方法1:下载release包,解压到插件目录 https://github.com/MapleRecall/LiteLoaderQQNT-CCND/releases -* 方法3: 插件目录下直接git clone 本项目
-`git clone https://github.com/MapleRecall/LiteLoaderQQNT-CCND.git` - -## 字体混淆工具 -[Font-Messer](https://github.com/MapleRecall/Font-Messer)(初期预览版)所有预设均可以在这里找到 +### 方法2: 插件目录下直接git clone 本项目 +`git clone https://github.com/MapleRecall/LiteLoaderQQNT-CCND.git` ## 纯CSS版本 https://github.com/MapleRecall/Transitio-user-css?#2-private-plus diff --git a/manifest.json b/manifest.json index ce96923..639f393 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "name": "CanCanNeed", "slug": "CanCanNeed", "description": "担心窥屏和社死?快来试试这个吧!还能方便界面演示和截图,美观实用,混沌有趣。", - "version": "0.3.0", + "version": "0.2.0", "thumb":"./static/images/icon.svg", "icon": "./static/images/icon.svg", "authors": [ @@ -28,7 +28,7 @@ "repo": "MapleRecall/LiteLoaderQQNT-CCND", "branch": "main", "release": { - "tag": "0.3.0" + "tag": "0.2.0" } } } diff --git a/src/scripts/renderer/initStyles.js b/src/scripts/renderer/initStyles.js index b48536b..4b83401 100644 --- a/src/scripts/renderer/initStyles.js +++ b/src/scripts/renderer/initStyles.js @@ -57,11 +57,7 @@ async function updateClass(e) { } if (hash.includes("/contact")) { waitForElement(".contact-layout__content-area").then((el) => el?.classList.toggle("ll-ccnd-peekable", config.peekOnContact)); - waitForElement(".contact-layout__right-area").then((el) => el?.classList.toggle("ll-ccnd-peekable", config.peekOnAIO)); + waitForElement(".contact-profile").then((el) => el?.classList.toggle("ll-ccnd-peekable", true)); } } - - if (hash.includes("#/forward") || hash.includes("#/record") ) { - waitForElement("#app").then((el) => el?.classList.toggle("ll-ccnd-peekable", config.peekOnAIO)); - } } diff --git a/src/settings.html b/src/settings.html index 1d731be..48fe8e4 100644 --- a/src/settings.html +++ b/src/settings.html @@ -41,14 +41,13 @@ 选择你的喜欢的混淆风格 - ✔️ 不混淆 + 不混淆 🌀 乱序映射 🍔 狂亂木曜日 - 🐞 锟斤拷烫囤 - 🐶 ♡喵呜~汪oωo - 🎏 君は日本_が本当に上手 - 💥 βios - 🍺 Сука блядь + 锟斤拷 + 战雷 + 異世界の伝説 + [数据删除] 🌐 ENGILHS @@ -58,7 +57,6 @@ 选择头像遮罩的样式 - 不遮罩 主色 - 清晰渐变 主色 - 平缓渐变 主色 - 清雅 @@ -66,6 +64,7 @@ 棋盘 - 亮 棋盘 - 暗 彩虹 - 🌈 + 无变化 @@ -89,21 +88,21 @@
- 快速概览主内容 - 鼠标在右侧主内容区时还原内容,方便聊天和查看通知等 + 概览聊天框 + 鼠标在聊天区内时还原全部消息,方便聊天
- 快速概览联系人 + 概览联系人 鼠标在最近联系列表中时还原全部列表,方便选取
- 快速概览窗口 + 概览窗口 鼠标在窗口内时还原整个窗口,会覆盖上面两个的设置
diff --git a/src/styles/base.css b/src/styles/base.css index a6ef128..9a5ed0f 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -8,7 +8,7 @@ body #app { --avatar-mix-blend-mode: hard-light; --image-opacity: 0.8; - --image-filter: blur(16px) saturate(1.25); + --image-filter: blur(10px) saturate(1.25); &.ll-ccnd-perfmode { --avatar-mask-opacity: 1; @@ -31,16 +31,7 @@ body #app { } } - :is( - .text-ellipsis:not(.secondary-info), - .text-normal, - .msg-content-container, - .group-notice .content, - .gray-tip-action, - .card-extra__postscript, - .title-bar__content, - .group-profile - ) { + :is(.text-ellipsis:not(.secondary-info), .text-normal, .msg-content-container, .group-notice .content, .gray-tip-action, .card-extra__postscript) { font-family: "Messed Sans Pro", sans-serif; animation: text-in-1 0.5s; @@ -54,39 +45,25 @@ body #app { .list-item, .group-user, .ml-item, - .recent-contact-item, - .sys-notify-card, - .record-msg-detail { + .sys-notify-card { &:hover { .text-ellipsis:not(.secondary-info), .text-normal, .msg-content-container, .group-notice .content, .gray-tip-action, - .card-extra__postscript, - .title-bar__content, - .group-profile { + .card-extra__postscript { font-family: inherit; animation: text-in-2 0.5s; } } } - --avatar-mask-bg: none; - - &[data-ccnd-avatar="0"] { - --avatar-mask-opacity: 0; - --avatar-filter: none; - --avatar-mix-blend-mode: normal; - } - - &[data-ccnd-avatar="1"] { - --avatar-mask-bg: linear-gradient( - 30deg, - hsl(from var(--brand_standard) h 40% 50% / var(--avatar-mask-opacity)) 48%, - hsl(from var(--brand_standard) h 30% 65% / var(--avatar-mask-opacity)) 52% - ); - } + --avatar-mask-bg: linear-gradient( + 30deg, + hsl(from var(--brand_standard) h 40% 50% / var(--avatar-mask-opacity)) 48%, + hsl(from var(--brand_standard) h 30% 65% / var(--avatar-mask-opacity)) 52% + ); &[data-ccnd-avatar="2"] { --avatar-mask-bg: linear-gradient( @@ -134,6 +111,14 @@ body #app { filter: blur(2px); } + &[data-ccnd-avatar="8"] .avatar::after { + --avatar-mask-bg: linear-gradient(30deg, + hsl(from var(--brand_standard) h 0% 0% / 0) 100%, + hsl(from var(--brand_standard) h 0% 0% / 0) 100%); + --avatar-mix-blend-mode: none; + --avatar-filter: blur(0px) saturate(1); + } + .avatar { overflow: hidden; @@ -150,7 +135,7 @@ body #app { transition: 0.2s; } - :is(.ll-ccnd-peekable, .list-item, .group-user, .ml-item, .recent-contact-item, .record-msg-detail):hover &, + :is(.ll-ccnd-peekable, .list-item, .group-user, .ml-item):hover &, &:hover { &::after { opacity: 0; @@ -158,7 +143,7 @@ body #app { } } - &:not([data-ccnd-avatar="0"]) :is(.list-item, .group-user, .ml-item, .recent-contact-item, .record-msg-detail) { + :is(.list-item, .group-user, .ml-item, .recent-contact-item) { &:nth-child(n) { .avatar { filter: hue-rotate(-30deg); diff --git a/static/fonts/Chaos.woff2 b/static/fonts/Chaos.woff2 index 3dd5420..97990f7 100644 Binary files a/static/fonts/Chaos.woff2 and b/static/fonts/Chaos.woff2 differ diff --git a/static/fonts/EN.woff2 b/static/fonts/EN.woff2 index 94e0f24..3635737 100644 Binary files a/static/fonts/EN.woff2 and b/static/fonts/EN.woff2 differ diff --git "a/static/fonts/Furry - \345\211\257\346\234\254.woff2" "b/static/fonts/Furry - \345\211\257\346\234\254.woff2" new file mode 100644 index 0000000..a8bac58 Binary files /dev/null and "b/static/fonts/Furry - \345\211\257\346\234\254.woff2" differ diff --git a/static/fonts/Furry.woff2 b/static/fonts/Furry.woff2 index a8bac58..026d7ab 100644 Binary files a/static/fonts/Furry.woff2 and b/static/fonts/Furry.woff2 differ diff --git "a/static/fonts/Geek - \345\211\257\346\234\254.woff2" "b/static/fonts/Geek - \345\211\257\346\234\254.woff2" new file mode 100644 index 0000000..f2471de Binary files /dev/null and "b/static/fonts/Geek - \345\211\257\346\234\254.woff2" differ diff --git a/static/fonts/Geek.woff2 b/static/fonts/Geek.woff2 index f2471de..f1b2900 100644 Binary files a/static/fonts/Geek.woff2 and b/static/fonts/Geek.woff2 differ diff --git a/static/fonts/JP.woff2 b/static/fonts/JP.woff2 index c0d1f63..b39926a 100644 Binary files a/static/fonts/JP.woff2 and b/static/fonts/JP.woff2 differ diff --git a/static/fonts/KFC.woff2 b/static/fonts/KFC.woff2 index 76932a9..bfe0431 100644 Binary files a/static/fonts/KFC.woff2 and b/static/fonts/KFC.woff2 differ diff --git a/static/fonts/KunJinKao.woff2 b/static/fonts/KunJinKao.woff2 index afc0a16..a559ed3 100644 Binary files a/static/fonts/KunJinKao.woff2 and b/static/fonts/KunJinKao.woff2 differ diff --git a/static/fonts/RUS.woff2 b/static/fonts/RUS.woff2 index c07caa8..c04f61d 100644 Binary files a/static/fonts/RUS.woff2 and b/static/fonts/RUS.woff2 differ diff --git a/static/fonts/ipag.ttf b/static/fonts/ipag.ttf new file mode 100644 index 0000000..1eff0cf Binary files /dev/null and b/static/fonts/ipag.ttf differ