dsh-remote-plugin 0.6.18 → 0.6.19
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/apk/dsh-remote.apk +0 -0
- package/package.json +1 -1
- package/public/admin.html +16 -17
- package/public/admin.js +6 -5
- package/public/app.js +52 -14
- package/public/desktop/desktop.css +48 -7
- package/public/desktop/desktop.html +23 -20
- package/public/desktop/desktop.js +72 -16
- package/public/index.html +31 -29
- package/public/motion.js +105 -17
- package/public/plugin.html +6 -5
- package/public/styles.css +56 -24
- package/public/theme-vars.css +244 -167
- package/public/theme.js +2 -2
- package/public/update.json +8 -8
- package/public/version.json +1 -1
package/public/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* DSH Remote · 移动优先 ·
|
|
1
|
+
/* DSH Remote · 移动优先 · 五皮肤(默认深空/深色落日/亮色易北爱乐厅/中性草原孤塔/黑曜白)
|
|
2
2
|
* 规则样式表; 变量定义已抽取到 theme-vars.css(桌面端共享), 保持单一来源。 */
|
|
3
3
|
|
|
4
4
|
@import 'theme-vars.css';
|
|
@@ -429,7 +429,30 @@ body.in-session .view {
|
|
|
429
429
|
.md-table-wrap th, .md-table-wrap td { padding: 6px 9px; border: 1px solid var(--dsr-line); text-align: left; white-space: nowrap; }
|
|
430
430
|
.md-table-wrap th { background: var(--dsr-bg-2); font-weight: 700; }
|
|
431
431
|
.md-table-wrap tbody tr:nth-child(even) { background: color-mix(in srgb, var(--dsr-bg-2) 45%, transparent); }
|
|
432
|
-
.goal-
|
|
432
|
+
.goal-disclosure { width: 100%; min-width: 0; display: flex; justify-content: flex-end; }
|
|
433
|
+
.goal-disclosure .goal-card { width: 100%; min-width: 0; }
|
|
434
|
+
.goal-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
|
|
435
|
+
.goal-card-head .card-title { min-width: 0; margin-bottom: 0; }
|
|
436
|
+
.goal-collapse-btn,
|
|
437
|
+
.goal-side-tab {
|
|
438
|
+
touch-action: manipulation; border: 1px solid var(--dsr-line); background: var(--dsr-bg-2); color: var(--dsr-muted);
|
|
439
|
+
font: inherit; cursor: pointer;
|
|
440
|
+
}
|
|
441
|
+
.goal-collapse-btn { min-height: 34px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 9px; font-size: 12px; }
|
|
442
|
+
.goal-collapse-btn > span { color: var(--dsr-accent-strong); font-size: 18px; line-height: 1; }
|
|
443
|
+
.goal-side-tab {
|
|
444
|
+
min-height: 46px; max-width: min(100%, 210px); display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px;
|
|
445
|
+
border-right: 0; border-radius: 12px 0 0 12px; box-shadow: -5px 6px 18px var(--dsr-shadow); color: var(--dsr-text); font-size: 13px; font-weight: 700;
|
|
446
|
+
}
|
|
447
|
+
.goal-side-tab > span:first-child { color: var(--dsr-accent-strong); font-size: 20px; line-height: 1; }
|
|
448
|
+
.goal-side-tab small { min-width: 0; color: var(--dsr-muted); font-size: 11px; font-weight: 500; white-space: nowrap; }
|
|
449
|
+
.goal-collapse-btn:hover,
|
|
450
|
+
.goal-side-tab:hover { background: var(--dsr-panel-2); color: var(--dsr-text); }
|
|
451
|
+
.goal-collapse-btn:active,
|
|
452
|
+
.goal-side-tab:active { transform: translateY(1px); }
|
|
453
|
+
.goal-collapse-btn:focus-visible,
|
|
454
|
+
.goal-side-tab:focus-visible { outline: 2px solid var(--dsr-accent-strong); outline-offset: 2px; }
|
|
455
|
+
.goal-obj { font-size: 13px; line-height: 1.55; color: var(--dsr-text); overflow-wrap: anywhere; }
|
|
433
456
|
.goal-phase { font-size: 12px; color: var(--dsr-info); margin-top: 3px; }
|
|
434
457
|
.goal-actions { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
|
|
435
458
|
.goal-actions .mini-btn { flex: 1; text-align: center; min-width: 64px; }
|
|
@@ -868,6 +891,16 @@ button.overview-attention-item, button.overview-session-item { cursor:pointer; }
|
|
|
868
891
|
}
|
|
869
892
|
.setting-row > div:first-child { flex: 1; min-width: 0; }
|
|
870
893
|
.setting-row + .setting-row { border-top: 1px solid var(--dsr-line); }
|
|
894
|
+
.setting-link {
|
|
895
|
+
width: 100%; color: var(--dsr-text); text-align: left;
|
|
896
|
+
transition: background-color .18s ease, color .18s ease;
|
|
897
|
+
}
|
|
898
|
+
.setting-link::after {
|
|
899
|
+
content: '›'; flex: 0 0 auto; color: var(--dsr-muted); font-size: 20px; font-weight: 400;
|
|
900
|
+
transform: translateX(0); transition: transform .18s ease, color .18s ease;
|
|
901
|
+
}
|
|
902
|
+
.setting-link:hover, .setting-link:focus-visible { background: var(--dsr-bg-2); }
|
|
903
|
+
.setting-link:hover::after, .setting-link:focus-visible::after { color: var(--dsr-accent-strong); transform: translateX(2px); }
|
|
871
904
|
.setting-name { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
872
905
|
.dsh-experimental-badge { display: inline-block; margin-left: 6px; padding: 2px 6px; border: 1px solid var(--dsr-warning-line); border-radius: 999px; color: var(--dsr-warning); background: var(--dsr-warning-soft); font-size: 10px; font-weight: 700; vertical-align: 2px; }
|
|
873
906
|
.setting-desc { font-size: 12px; color: var(--dsr-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
@@ -942,11 +975,11 @@ button.overview-attention-item, button.overview-session-item { cursor:pointer; }
|
|
|
942
975
|
.switch input { opacity: 0; width: 0; height: 0; }
|
|
943
976
|
.slider {
|
|
944
977
|
position: absolute; inset: 0; border-radius: 999px; background: var(--dsr-panel-2);
|
|
945
|
-
border: 1px solid var(--dsr-line); transition: .2s;
|
|
978
|
+
border: 1px solid var(--dsr-line); transition: background-color .2s ease, border-color .2s ease;
|
|
946
979
|
}
|
|
947
980
|
.slider::before {
|
|
948
981
|
content: ''; position: absolute; width: 19px; height: 19px; border-radius: 50%;
|
|
949
|
-
left: 3px; top: 3px; background: var(--dsr-muted); transition: .2s;
|
|
982
|
+
left: 3px; top: 3px; background: var(--dsr-muted); transition: transform .2s ease, background-color .2s ease;
|
|
950
983
|
}
|
|
951
984
|
.switch input:checked + .slider { background: var(--dsr-accent-soft); border-color: var(--dsr-accent); }
|
|
952
985
|
.switch input:checked + .slider::before { transform: translateX(19px); background: var(--dsr-accent); }
|
|
@@ -970,21 +1003,17 @@ button.overview-attention-item, button.overview-session-item { cursor:pointer; }
|
|
|
970
1003
|
}
|
|
971
1004
|
.nav-btn .nav-ico { width: 22px; height: 22px; display: grid; place-items: center; line-height: 1; transition: transform .18s ease, color .18s ease; }
|
|
972
1005
|
.nav-btn .nav-ico svg { width: 21px; height: 21px; display: block; }
|
|
973
|
-
.nav-btn:
|
|
974
|
-
.nav-btn:nth-of-type(2) { --nav-tint: var(--dsr-success); }
|
|
975
|
-
.nav-btn:nth-of-type(4) { --nav-tint: var(--dsr-warning); }
|
|
976
|
-
.nav-btn:nth-of-type(5) { --nav-tint: var(--dsr-accent-2); }
|
|
977
|
-
.nav-btn:not(.nav-home) .nav-ico { color: var(--nav-tint, var(--dsr-nav-muted)); opacity: .82; }
|
|
1006
|
+
.nav-btn:not(.nav-home) .nav-ico { color: var(--dsr-nav-muted); opacity: .84; }
|
|
978
1007
|
.nav-btn:not(.nav-home) > span:last-of-type { color: var(--dsr-nav-muted); }
|
|
979
1008
|
.nav-btn.active:not(.nav-home) { color: var(--dsr-nav-active); }
|
|
980
|
-
.nav-btn.active:not(.nav-home) .nav-ico { transform: translateY(-1px); opacity: 1; }
|
|
1009
|
+
.nav-btn.active:not(.nav-home) .nav-ico { color: var(--dsr-nav-active); transform: translateY(-1px); opacity: 1; }
|
|
981
1010
|
.nav-btn.active:not(.nav-home)::after { content: ''; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--dsr-nav-active); box-shadow: 0 0 10px var(--dsr-glow); }
|
|
982
1011
|
.nav-home { z-index: 2; transform: translateY(-13px); color: var(--dsr-nav-muted); }
|
|
983
1012
|
.nav-home-orb { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--dsr-bg-2); border: 1px solid var(--dsr-accent-line); box-shadow: 0 5px 18px var(--dsr-shadow); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
|
|
984
1013
|
.nav-home .nav-ico { width: 30px; height: 30px; color: var(--dsr-accent-strong); }
|
|
985
1014
|
.nav-home .nav-ico svg { width: 29px; height: 29px; }
|
|
986
1015
|
.nav-home.active { color: var(--dsr-nav-active); }
|
|
987
|
-
.nav-home.active .nav-home-orb { background:
|
|
1016
|
+
.nav-home.active .nav-home-orb { background: linear-gradient(145deg, var(--dsr-accent-2), var(--dsr-accent) 64%); border-color: var(--dsr-accent); color: var(--dsr-on-accent); box-shadow: 0 7px 24px var(--dsr-glow), inset 0 0 0 1px rgba(255,255,255,.28); }
|
|
988
1017
|
.nav-home.active .nav-ico { color: var(--dsr-on-accent); transform: none; }
|
|
989
1018
|
.nav-home:active .nav-home-orb { transform: scale(.96); }
|
|
990
1019
|
.nav-badge {
|
|
@@ -997,7 +1026,6 @@ button.overview-attention-item, button.overview-session-item { cursor:pointer; }
|
|
|
997
1026
|
.sheet-backdrop {
|
|
998
1027
|
position: fixed; inset: 0; z-index: 45;
|
|
999
1028
|
background: var(--dsr-overlay);
|
|
1000
|
-
animation: sheet-fade .18s ease;
|
|
1001
1029
|
}
|
|
1002
1030
|
.sheet {
|
|
1003
1031
|
position: fixed; left: 0; right: 0; bottom: 0; z-index: 46;
|
|
@@ -1025,7 +1053,6 @@ button.overview-attention-item, button.overview-session-item { cursor:pointer; }
|
|
|
1025
1053
|
.sheet-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
1026
1054
|
.sheet-item-name { font-size: 14px; font-weight: 600; }
|
|
1027
1055
|
.sheet-item-desc { font-size: 12px; color: var(--dsr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
1028
|
-
@keyframes sheet-fade { from { opacity: 0 } to { opacity: 1 } }
|
|
1029
1056
|
|
|
1030
1057
|
/* ---------- 应用内选择抽屉 ---------- */
|
|
1031
1058
|
.custom-select-native {
|
|
@@ -1116,7 +1143,7 @@ button.overview-attention-item, button.overview-session-item { cursor:pointer; }
|
|
|
1116
1143
|
.modal-card {
|
|
1117
1144
|
width: 100%; max-width: 460px; max-height: 82vh; overflow-y: auto;
|
|
1118
1145
|
background: var(--dsr-bg-2); border: 1px solid var(--dsr-line); border-radius: 18px;
|
|
1119
|
-
padding: 16px;
|
|
1146
|
+
padding: 16px; box-shadow: 0 22px 60px var(--dsr-shadow); overscroll-behavior: contain;
|
|
1120
1147
|
}
|
|
1121
1148
|
.modal-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
|
|
1122
1149
|
.modal-body { font-size: 14px; }
|
|
@@ -1191,25 +1218,30 @@ button.overview-attention-item, button.overview-session-item { cursor:pointer; }
|
|
|
1191
1218
|
.fs-workspace-nav { grid-template-columns: 1fr; }
|
|
1192
1219
|
.file-preview-card { height: 88vh; padding: 13px; }
|
|
1193
1220
|
}
|
|
1194
|
-
.theme-panel-list { display:
|
|
1221
|
+
.theme-panel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
|
|
1195
1222
|
.theme-option {
|
|
1196
|
-
display: flex; align-items:
|
|
1197
|
-
padding:
|
|
1223
|
+
position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 9px; min-width: 0; width: 100%;
|
|
1224
|
+
min-height: 86px; padding: 10px; border-radius: 13px; text-align: left;
|
|
1198
1225
|
background: var(--dsr-panel); border: 1px solid var(--dsr-line);
|
|
1199
|
-
white-space: nowrap;
|
|
1226
|
+
white-space: nowrap; overflow: hidden;
|
|
1227
|
+
transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
|
|
1200
1228
|
}
|
|
1201
|
-
.theme-option:
|
|
1229
|
+
.theme-option:hover, .theme-option:focus-visible { background: var(--dsr-panel-2); border-color: var(--dsr-accent-line); transform: translateY(-1px); }
|
|
1230
|
+
.theme-option:active { background: var(--dsr-panel-2); transform: scale(.985); }
|
|
1202
1231
|
.theme-option.current { border-color: var(--dsr-accent-line); box-shadow: 0 0 0 1px var(--dsr-accent-soft); }
|
|
1203
|
-
.theme-swatches {
|
|
1232
|
+
.theme-swatches {
|
|
1233
|
+
display: grid; grid-template-columns: 1.35fr 1fr .72fr; height: 30px; flex-shrink: 0;
|
|
1234
|
+
overflow: hidden; border: 1px solid rgba(127, 127, 127, .28); border-radius: 8px;
|
|
1235
|
+
}
|
|
1204
1236
|
.theme-swatches i {
|
|
1205
|
-
width:
|
|
1206
|
-
border: 1px solid rgba(127, 127, 127, .35);
|
|
1237
|
+
width: auto; height: 100%; display: block;
|
|
1207
1238
|
}
|
|
1208
1239
|
.theme-option .theme-name {
|
|
1209
|
-
|
|
1240
|
+
min-width: 0; padding-right: 22px; font-size: 13px; font-weight: 650;
|
|
1210
1241
|
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
1211
1242
|
}
|
|
1212
|
-
.theme-option .theme-check {
|
|
1243
|
+
.theme-option .theme-check { position: absolute; right: 11px; bottom: 9px; color: var(--dsr-accent-strong); font-size: 14px; font-weight: 700; }
|
|
1244
|
+
@media (max-width: 350px) { .theme-panel-list { grid-template-columns: 1fr; } }
|
|
1213
1245
|
|
|
1214
1246
|
/* ---------- toast ---------- */
|
|
1215
1247
|
.toast {
|