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.
- package/lib/index.js +4 -3
- 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:
|
|
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;
|
|
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>
|