@lemoncat7/dsh-ssh 1.11.6 → 1.11.7
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/docs/releases/1.11.7.md +13 -0
- package/lib/client.js +21 -1
- package/lib/client.js.map +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# SSH 1.11.7
|
|
2
|
+
|
|
3
|
+
支持 **DeepSeek Harness 0.2.1-rc.2**,兼容声明与依赖保持不变。
|
|
4
|
+
|
|
5
|
+
- 修复主题为 SSH 弹窗外层添加背景、边框及不同圆角,导致内部圆角后露出近似直角底板的问题。
|
|
6
|
+
- 普通弹窗保持外层透明,由内部面板绘制背景;文件预览和新建会话弹窗保留自身材质,并沿统一圆角裁剪内容。
|
|
7
|
+
- 手机宽度下同步内外层圆角,不修改其他插件或宿主弹窗的主题样式。
|
|
8
|
+
|
|
9
|
+
验证:浏览器样式对照覆盖 Rift、小黑、Realm 三套主题的桌面与手机宽度;修复样式已在线上加载验证。
|
|
10
|
+
|
|
11
|
+
无需迁移配置。安装后重启对应 Profile,并刷新浏览器。
|
|
12
|
+
|
|
13
|
+
安装:`dsh plugin --profile web add @lemoncat7/dsh-ssh@1.11.7`。
|
package/lib/client.js
CHANGED
|
@@ -4650,6 +4650,26 @@ body[data-ds-dark-theme] :is(
|
|
|
4650
4650
|
border-radius: var(--ssh-dialog-radius);
|
|
4651
4651
|
font-family: var(--ssh-font-sans);
|
|
4652
4652
|
}
|
|
4653
|
+
/* Headless modals provide positioning; SSH owns their painted surface. Theme
|
|
4654
|
+
dialog rules must not add a second, differently rounded plate behind it. */
|
|
4655
|
+
:is(#root, body) [role='dialog']:is(.dsh-ssh-dialog-modal, .dsh-ssh-preview-modal, .dsh-ssh-session-create-modal) {
|
|
4656
|
+
border-radius: var(--ssh-dialog-radius) !important;
|
|
4657
|
+
}
|
|
4658
|
+
:is(#root, body) [role='dialog'].dsh-ssh-dialog-modal {
|
|
4659
|
+
border: 0 !important;
|
|
4660
|
+
background: transparent !important;
|
|
4661
|
+
box-shadow: none !important;
|
|
4662
|
+
-webkit-backdrop-filter: none !important;
|
|
4663
|
+
backdrop-filter: none !important;
|
|
4664
|
+
}
|
|
4665
|
+
:is(#root, body) [role='dialog']:is(.dsh-ssh-preview-modal, .dsh-ssh-session-create-modal) {
|
|
4666
|
+
background: var(--ssh-modal-surface) !important;
|
|
4667
|
+
border: 1px solid var(--ssh-glass-border) !important;
|
|
4668
|
+
box-shadow: var(--ssh-glass-shadow), var(--ssh-shadow-lg) !important;
|
|
4669
|
+
-webkit-backdrop-filter: var(--ssh-glass-filter) !important;
|
|
4670
|
+
backdrop-filter: var(--ssh-glass-filter) !important;
|
|
4671
|
+
overflow: hidden;
|
|
4672
|
+
}
|
|
4653
4673
|
:is(.dsh-ssh-dialog, .dsh-ssh-session-create-shell, .dsh-ssh-preview-modal-shell) {
|
|
4654
4674
|
border-radius: var(--ssh-dialog-radius);
|
|
4655
4675
|
color: var(--ssh-text);
|
|
@@ -4823,7 +4843,7 @@ body[data-ds-dark-theme] :is(
|
|
|
4823
4843
|
.dsh-ssh-preview-modal-shell > header { border-radius: 24px 24px 0 0; }
|
|
4824
4844
|
@keyframes ssh-menu-enter { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
|
|
4825
4845
|
@media (max-width: 680px) {
|
|
4826
|
-
.dsh-ssh-dialog-modal, .dsh-ssh-dialog-modal.dsh-ssh-confirmation-modal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius:
|
|
4846
|
+
.dsh-ssh-dialog-modal, .dsh-ssh-dialog-modal.dsh-ssh-confirmation-modal { --ssh-dialog-radius: 22px; width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: var(--ssh-dialog-radius); }
|
|
4827
4847
|
.dsh-ssh-dialog, .dsh-ssh-dialog.dsh-ssh-confirmation { max-height: calc(100dvh - 16px); border-radius: 22px; padding: 6px; }
|
|
4828
4848
|
.dsh-ssh-dialog > header, .dsh-ssh-dialog.dsh-ssh-confirmation > header { padding: 12px; }
|
|
4829
4849
|
.dsh-ssh-dialog > :is(.dsh-ssh-form, form) { padding: 16px; }
|