koishi-plugin-ll-mc 3.1.6 → 3.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +4 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -2594,14 +2594,15 @@ ${targetUserRecord[0].username}
2594
2594
  .row { display: flex; align-items: center; gap: 12px; width: 100%; }
2595
2595
  .avatar { width: 40px; height: 40px; flex-shrink: 0; }
2596
2596
  .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,0.08); background: #fff; padding: 2px; }
2597
- .bar { position: relative; flex-grow: 1; height: 40px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; background: rgba(255,255,255,0.34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.45); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
2598
- .bar::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, transparent 99%, rgba(255,255,255,0.2) 100%); background-size: 10% 100%; pointer-events: none; }
2597
+ .bar { position: relative; flex-grow: 1; height: 40px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; background: transparent; }
2599
2598
  .fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 8px 0 0 8px; z-index: 0; }
2600
2599
  .bar-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: 100%; }
2601
2600
  .row-name { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 5px; max-width: 78%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2602
- .row-name.is-hero { color: #FFFFFF; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
2601
+ .row-name.is-hero { color: #FFFFFF; }
2603
2602
  .row-star { width: 16px; height: 16px; color: #FCD34D; flex-shrink: 0; }
2604
2603
  .row-count { font-size: 18px; font-weight: 700; }
2604
+ /* 名字/数字加白色描边光晕,保证在深浅/花哨背景上都看得清 */
2605
+ .row-name, .row-count { text-shadow: -1px -1px 0 rgba(255,255,255,0.9), 1px -1px 0 rgba(255,255,255,0.9), -1px 1px 0 rgba(255,255,255,0.9), 1px 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(0,0,0,0.12); }
2605
2606
  </style>
2606
2607
  ${backgroundCss ? `<style>${backgroundCss}</style>` : ""}
2607
2608
  </head>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ll-mc",
3
3
  "description": "消息数量统计插件(基于 koishi-plugin-message-counter 重做,官方QQ机器人兼容)",
4
- "version": "3.1.6",
4
+ "version": "3.1.8",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [