tmux-weblink 2.2.37 → 2.2.38
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/dist/lib/pages/shell.js +19 -6
- package/package.json +1 -1
package/dist/lib/pages/shell.js
CHANGED
|
@@ -575,16 +575,29 @@ import{cssVarsStyle as d}from"../theme.js";import{newSessionModalCSS as c,newSes
|
|
|
575
575
|
touch-action: manipulation; user-select: none;
|
|
576
576
|
}
|
|
577
577
|
.mobile-keys button:active { opacity: 0.55; }
|
|
578
|
-
/*
|
|
578
|
+
/* Full-width tappable bar in the space under the input: tap anywhere on it to
|
|
579
|
+
expand or collapse the extra keys. flex-basis 100% keeps it on its own row
|
|
580
|
+
(the toolbar itself is a wrapping flex row). */
|
|
579
581
|
.mobile-keys .mk-handle {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
582
|
+
flex: 1 1 100%;
|
|
583
|
+
display: flex; align-items: center; justify-content: center; gap: 6px;
|
|
584
|
+
height: 26px; margin: 2px 0 0; border-radius: 7px;
|
|
585
|
+
background: color-mix(in srgb, var(--page-bg), var(--panel-bg) 55%);
|
|
586
|
+
border: 1px solid var(--panel-border);
|
|
587
|
+
color: var(--panel-muted);
|
|
588
|
+
font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.04em;
|
|
583
589
|
cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
|
|
590
|
+
user-select: none;
|
|
591
|
+
}
|
|
592
|
+
.mobile-keys .mk-handle:active {
|
|
593
|
+
color: var(--page-fg);
|
|
594
|
+
border-color: var(--panel-accent);
|
|
584
595
|
}
|
|
585
|
-
.mobile-keys .mk-handle:active { opacity: 1; }
|
|
586
596
|
.mobile-keys .mk-handle svg { transition: transform 0.15s; }
|
|
587
597
|
.mobile-keys.mk-open .mk-handle svg { transform: rotate(180deg); }
|
|
598
|
+
.mobile-keys .mk-handle .mk-when-open { display: none; }
|
|
599
|
+
.mobile-keys.mk-open .mk-handle .mk-when-closed { display: none; }
|
|
600
|
+
.mobile-keys.mk-open .mk-handle .mk-when-open { display: inline; }
|
|
588
601
|
.mobile-keys .mk-input {
|
|
589
602
|
display: flex; gap: 4px; flex: 1 1 100%;
|
|
590
603
|
}
|
|
@@ -751,7 +764,7 @@ import{cssVarsStyle as d}from"../theme.js";import{newSessionModalCSS as c,newSes
|
|
|
751
764
|
<textarea id="mk-input" placeholder="Type or voice input\u2026" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" rows="1"></textarea>
|
|
752
765
|
<button id="mk-send" type="button" title="Send (Enter)"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 19V5M5 12l7-7 7 7"/></svg></button>
|
|
753
766
|
</div>
|
|
754
|
-
<div class="mk-handle" id="mk-handle" role="button" tabindex="0" aria-pressed="false" title="Show/hide extra keys" aria-label="Show or hide extra keys"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 15l6-6 6 6"/></svg></div>
|
|
767
|
+
<div class="mk-handle" id="mk-handle" role="button" tabindex="0" aria-pressed="false" title="Show/hide extra keys" aria-label="Show or hide extra keys"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 15l6-6 6 6"/></svg><span class="mk-when-closed">\u5C55\u5F00\u6309\u952E</span><span class="mk-when-open">\u6536\u8D77\u6309\u952E</span></div>
|
|
755
768
|
<div class="mk-buttons" id="mk-buttons">
|
|
756
769
|
<button data-key="esc">ESC</button>
|
|
757
770
|
<button data-key="tab">Tab</button>
|