dsh-bottom-info-bar 1.24.4 → 1.24.5
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/client.js +6 -0
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1528,6 +1528,12 @@ function bibSetInstallStyles() {
|
|
|
1528
1528
|
同特异性 + 插件样式后插入 = 反向覆盖宿主(与原生 Button / Switch 同一个坑)。 */
|
|
1529
1529
|
.bib-set-input { min-width: 0; }
|
|
1530
1530
|
.bib-set-input--block { display: flex; width: 100%; min-inline-size: 0; }
|
|
1531
|
+
/* placeholder 可读性修正(2026-11-13,浅色主题实测):宿主原生 Input 的 ::placeholder
|
|
1532
|
+
在浅色主题下渲染成近白(rgb(225,229,238)),插件页搜索框/凭据输入框在浅色卡片上
|
|
1533
|
+
几乎不可读——DSH 自己的会话搜索框用的是 tertiary(#81858c),两级明显不一致。
|
|
1534
|
+
这里把插件域内的原生 Input placeholder 统一取宿主自己的 --dsw-alias-label-tertiary,
|
|
1535
|
+
明暗两主题都不劣化;宿主将来修正 placeholder 色后这条可整体移除。 */
|
|
1536
|
+
.bib-set-input input::placeholder { color: var(--dsw-alias-label-tertiary); opacity: 1; }
|
|
1531
1537
|
/* 行内右栏的输入框:宽度收窄到一栏控件的量级(与下拉触发器同宽),不铺满整行。
|
|
1532
1538
|
只声明布局宽度,边框/底色/圆角/焦点态仍全部由宿主 Input 维护。 */
|
|
1533
1539
|
.bib-set-input--field { display: flex; flex: none; width: 260px; max-width: 100%; min-inline-size: 0; }
|