fablecut 1.22.0 → 1.23.0
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/CLAUDE.md +29 -0
- package/README.md +2 -1
- package/app.js +232 -111
- package/compact.css +702 -0
- package/compact.js +785 -0
- package/doc-guard.js +97 -0
- package/index.html +28 -10
- package/layout.js +72 -0
- package/manifest.json +1 -1
- package/mcp-server.js +1 -1
- package/package.json +2 -1
- package/style.css +7 -0
- package/touch.js +815 -0
package/compact.css
ADDED
|
@@ -0,0 +1,702 @@
|
|
|
1
|
+
/* The compact layouts (phone, tablet). layout.js writes <html data-layout>;
|
|
2
|
+
every rule here sits under it, so the desktop editor never sees this file.
|
|
3
|
+
compact.js makes the .m-* parts; everything else is the desktop markup. */
|
|
4
|
+
.m-btn, .m-name, .m-acts, .m-head, .m-list, .m-tools, .m-rail, .transport-btns .btn.m-play-more { display: none; }
|
|
5
|
+
|
|
6
|
+
/* ══ Both ══ */
|
|
7
|
+
:root:is([data-layout~="phone"], [data-layout~="tablet"]) {
|
|
8
|
+
--safe-t: env(safe-area-inset-top, 0px);
|
|
9
|
+
--safe-b: env(safe-area-inset-bottom, 0px);
|
|
10
|
+
--safe-l: env(safe-area-inset-left, 0px);
|
|
11
|
+
--safe-r: env(safe-area-inset-right, 0px);
|
|
12
|
+
--m-top: 48px;
|
|
13
|
+
--m-tools-h: 62px;
|
|
14
|
+
overscroll-behavior: none;
|
|
15
|
+
}
|
|
16
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) body {
|
|
17
|
+
overscroll-behavior: none;
|
|
18
|
+
-webkit-tap-highlight-color: transparent;
|
|
19
|
+
-webkit-touch-callout: none;
|
|
20
|
+
}
|
|
21
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .app {
|
|
22
|
+
height: 100dvh;
|
|
23
|
+
gap: 0;
|
|
24
|
+
padding: var(--safe-t) var(--safe-r) 0 var(--safe-l);
|
|
25
|
+
touch-action: pan-x pan-y;
|
|
26
|
+
}
|
|
27
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .panel { border-radius: 0; border-width: 0; }
|
|
28
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .m-btn {
|
|
29
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
30
|
+
width: 44px; height: 44px; flex: none;
|
|
31
|
+
border: 0; border-radius: 10px; background: none; color: var(--text);
|
|
32
|
+
}
|
|
33
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .m-btn:active { background: var(--panel-2); }
|
|
34
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .m-btn:disabled { color: #55555f; }
|
|
35
|
+
.m-ico { width: 22px; height: 22px; display: block; flex: none; }
|
|
36
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .m-acts { display: flex; align-items: center; gap: 2px; }
|
|
37
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .topbar {
|
|
38
|
+
flex: 0 0 var(--m-top); border: 0; border-radius: 0; padding: 0 6px 0 2px; gap: 2px;
|
|
39
|
+
}
|
|
40
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(.timeline-scroll, .ruler, #preview) { touch-action: none; }
|
|
41
|
+
/* what hover reveals on desktop is simply there */
|
|
42
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(.bin-del, .bin-fav, .bin-folder-add) { opacity: 1; }
|
|
43
|
+
|
|
44
|
+
.m-tool {
|
|
45
|
+
display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
|
|
46
|
+
flex: none; min-width: 64px; height: 56px; padding: 0 6px;
|
|
47
|
+
border: 0; border-radius: 10px; background: none; color: #c5c5cd;
|
|
48
|
+
font: 500 11px/1 "Segoe UI", system-ui, -apple-system, sans-serif; white-space: nowrap;
|
|
49
|
+
}
|
|
50
|
+
.m-tool:active { background: var(--panel-2); color: #fff; }
|
|
51
|
+
.m-tool.on { color: #cfc8ff; background: #7b6cff22; }
|
|
52
|
+
|
|
53
|
+
/* ══ Phone ══ */
|
|
54
|
+
/* (ids apart: inside one :is() an id would outrank the rules that show a panel again) */
|
|
55
|
+
[data-layout~="phone"] #projectName, :is([data-layout~="phone"], [data-layout~="tablet"]) .topbar > button:not(.m-btn) { display: none !important; }
|
|
56
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .m-btn[hidden] { display: none; }
|
|
57
|
+
[data-layout~="phone"] :is(.logo, .v-split, .playhead-cap), [data-layout~="phone"] .app:not(.m-meter) .vu-meter { display: none; }
|
|
58
|
+
[data-layout~="phone"] .monitor .panel-head { display: none; }
|
|
59
|
+
/* kept in the page (search lists them, the More sheet presses them), out of sight */
|
|
60
|
+
[data-layout~="phone"] .topbar-right,
|
|
61
|
+
[data-layout~="phone"] .app:not([data-sheet="tools"]) .timeline-toolbar {
|
|
62
|
+
position: absolute; width: 0; height: 0; padding: 0; border: 0; overflow: hidden; visibility: hidden;
|
|
63
|
+
}
|
|
64
|
+
[data-layout~="phone"] .m-name {
|
|
65
|
+
display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
66
|
+
font-size: 14px; font-weight: 600; color: var(--text);
|
|
67
|
+
}
|
|
68
|
+
[data-layout~="phone"] .m-export::before { content: ""; position: absolute; inset: -6px 0; }
|
|
69
|
+
[data-layout~="phone"] .m-export { position: relative; margin-left: 4px; height: 34px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
|
|
70
|
+
|
|
71
|
+
[data-layout~="phone"] .upper { display: contents; }
|
|
72
|
+
[data-layout~="phone"] .panel.monitor { flex: 1 1 0; min-height: 0; background: #000; }
|
|
73
|
+
[data-layout~="phone"] .monitor-stage { margin: 0; border-radius: 0; }
|
|
74
|
+
|
|
75
|
+
/* transport: timecode · five buttons · speed and the rest */
|
|
76
|
+
[data-layout~="phone"] .transport {
|
|
77
|
+
grid-template-columns: 70px 1fr; gap: 0; min-height: 50px; padding: 0 2px 0 10px; background: var(--panel);
|
|
78
|
+
}
|
|
79
|
+
/* the narrowest phones: speed is in the row's ⋯, the rest keep their 44 px */
|
|
80
|
+
@media (max-width: 379px) { [data-layout~="phone"][data-layout~="portrait"] .transport-btns #btnSpeed { display: none; } }
|
|
81
|
+
[data-layout~="phone"] .tc-playhead { flex-direction: column; align-items: flex-start; gap: 3px; }
|
|
82
|
+
[data-layout~="phone"] .tc-slash, [data-layout~="phone"] .transport-end { display: none; }
|
|
83
|
+
[data-layout~="phone"] .timecode { font-size: 14px; color: #fff; }
|
|
84
|
+
[data-layout~="phone"] .timecode.dim { font-size: 11px; color: var(--dim); }
|
|
85
|
+
[data-layout~="phone"] .transport-btns { justify-content: space-between; gap: 0; }
|
|
86
|
+
[data-layout~="phone"] :is(#btnMarkIn, #btnMarkOut) { display: none; }
|
|
87
|
+
[data-layout~="phone"][data-layout~="portrait"] .transport-btns { min-width: 0; }
|
|
88
|
+
[data-layout~="phone"][data-layout~="portrait"] .transport-btns .btn.icon { flex: 1 1 0; min-width: 0; max-width: 52px; }
|
|
89
|
+
[data-layout~="phone"] .transport-btns .btn.icon {
|
|
90
|
+
width: 40px; height: 44px; border: 0; background: none; color: #d7d7dc; font-size: 14px;
|
|
91
|
+
}
|
|
92
|
+
[data-layout~="phone"] .transport-btns .btn.icon.big { width: 48px; font-size: 22px; color: #fff; }
|
|
93
|
+
[data-layout~="phone"] .transport-btns #btnPlay.on { background: none; font-size: 24px; color: #fff; }
|
|
94
|
+
[data-layout~="phone"] .transport-btns #btnSpeed { font-size: 12px; font-weight: 600; width: 38px; }
|
|
95
|
+
[data-layout~="phone"] .transport-btns .m-play-more { display: inline-flex; width: 36px; }
|
|
96
|
+
[data-layout~="phone"] .m-play-more .m-ico { width: 18px; height: 18px; }
|
|
97
|
+
|
|
98
|
+
/* timeline: the playhead stays in the middle, the track letters float over the clips' left edge */
|
|
99
|
+
[data-layout~="phone"] .timeline-panel { flex: 0 0 var(--m-tl, 37dvh); min-height: 0; border-top: 1px solid var(--border); background: #0c0c0f; }
|
|
100
|
+
[data-layout~="phone"] .timeline { position: relative; }
|
|
101
|
+
[data-layout~="phone"] .track-headers { position: absolute; left: 0; top: 26px; bottom: 0; width: 30px; z-index: 6; background: none; border: 0; pointer-events: none; }
|
|
102
|
+
[data-layout~="phone"] .track-head-tools { display: none; }
|
|
103
|
+
[data-layout~="phone"] .track-head { padding: 0; border-color: transparent; background: none; }
|
|
104
|
+
[data-layout~="phone"] .track-head > :not(.track-id) { display: none; }
|
|
105
|
+
[data-layout~="phone"] .track-head .track-id {
|
|
106
|
+
pointer-events: auto; position: relative; flex: none; width: 26px; max-width: none; height: 100%; max-height: 30px; padding: 0; text-align: center;
|
|
107
|
+
border: 0; border-radius: 0 7px 7px 0; background: #17171ddd; color: var(--dim); font-size: 10.5px;
|
|
108
|
+
}
|
|
109
|
+
[data-layout~="phone"] .track-head .track-id[aria-pressed="true"] { background: #2a2550e6; color: #cfc8ff; }
|
|
110
|
+
[data-layout~="phone"] .track-head.thin .track-id { width: 14px; height: 6px; font-size: 0; }
|
|
111
|
+
[data-layout~="phone"] .timeline-scroll { overflow: hidden; }
|
|
112
|
+
[data-layout~="phone"] .ruler { background: #111115; }
|
|
113
|
+
[data-layout~="phone"] .tracks-content { background: none; }
|
|
114
|
+
[data-layout~="phone"] .track { background: #0f0f13; border-color: #1d1d23; }
|
|
115
|
+
[data-layout~="phone"] .clip { top: 2px; bottom: 2px; border-radius: 7px; box-shadow: none; }
|
|
116
|
+
[data-layout~="phone"] .playhead { z-index: 8; }
|
|
117
|
+
|
|
118
|
+
/* trim grips stand outside the selected clip, so a short clip still has a middle to hold */
|
|
119
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .handle {
|
|
120
|
+
width: 22px; border: 0; background: #fff; z-index: 7;
|
|
121
|
+
}
|
|
122
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .handle::before { content: ""; position: absolute; inset: -6px -11px; }
|
|
123
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .handle::after {
|
|
124
|
+
content: ""; position: absolute; left: 9.5px; top: 50%; width: 3px; height: 16px; margin-top: -8px; border-radius: 2px; background: #6a6a76;
|
|
125
|
+
}
|
|
126
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .handle.l { left: -20px; border-radius: 7px 0 0 7px; }
|
|
127
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .handle.r { right: -20px; border-radius: 0 7px 7px 0; }
|
|
128
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected { outline: 2px solid #fff; outline-offset: -1px; box-shadow: none; z-index: 5; border-radius: 0; }
|
|
129
|
+
|
|
130
|
+
/* the tool bar */
|
|
131
|
+
[data-layout~="phone"] .m-tools {
|
|
132
|
+
display: flex; flex: none; align-items: center; gap: 0;
|
|
133
|
+
height: calc(var(--m-tools-h) + var(--safe-b)); padding: 0 4px var(--safe-b);
|
|
134
|
+
overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-x;
|
|
135
|
+
background: var(--panel); border-top: 1px solid var(--border);
|
|
136
|
+
}
|
|
137
|
+
.m-tools::-webkit-scrollbar, .m-chips::-webkit-scrollbar { display: none; }
|
|
138
|
+
[data-layout~="phone"][data-layout~="portrait"] .m-tool:not(.m-desel) { min-width: max(58px, calc((100vw - 8px) / 5.6)); padding: 0 2px; }
|
|
139
|
+
[data-layout~="phone"] .m-desel {
|
|
140
|
+
position: sticky; left: -4px; z-index: 2; min-width: 46px; margin-right: 4px; border-radius: 0;
|
|
141
|
+
background: var(--panel); box-shadow: 1px 0 0 var(--border);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* ── Sheets (phone, upright): they take the place of the tracks and the tool bar; preview, transport and ruler stay ── */
|
|
145
|
+
[data-layout~="phone"] .m-head {
|
|
146
|
+
position: fixed; left: 0; right: 0; bottom: calc(var(--m-sheet-h, 50dvh) - var(--m-head-h)); z-index: 41;
|
|
147
|
+
flex-direction: column; background: var(--panel); border-radius: 14px 14px 0 0; border-top: 1px solid #3a3a46; touch-action: none;
|
|
148
|
+
}
|
|
149
|
+
[data-layout~="phone"] .app { --m-head-h: 48px; }
|
|
150
|
+
[data-layout~="phone"] .app:has(.m-head.has-chips) { --m-head-h: 92px; }
|
|
151
|
+
[data-layout~="phone"] .app[data-sheet] .m-head { display: flex; height: var(--m-head-h); animation: m-up .2s cubic-bezier(.2, .8, .2, 1); }
|
|
152
|
+
.m-grip { align-self: center; width: 38px; height: 4px; margin-top: 6px; border-radius: 2px; background: #4a4a56; flex: none; }
|
|
153
|
+
.m-head-row { display: flex; align-items: center; flex: none; height: 38px; padding: 0 4px 0 16px; }
|
|
154
|
+
.m-title { flex: 1; font-size: 15px; font-weight: 600; color: #f2f2f5; }
|
|
155
|
+
.m-keys { display: flex; }
|
|
156
|
+
.m-keys[hidden] { display: none; }
|
|
157
|
+
.m-chips { display: none; gap: 6px; padding: 2px 12px 8px; overflow-x: auto; scrollbar-width: none; touch-action: pan-x; }
|
|
158
|
+
.has-chips .m-chips { display: flex; }
|
|
159
|
+
.m-chip {
|
|
160
|
+
flex: none; height: 34px; padding: 0 13px; border: 1px solid var(--border); border-radius: 17px;
|
|
161
|
+
background: var(--panel-sub); color: #b9b9c2; font: 500 13px/1 "Segoe UI", system-ui, sans-serif; white-space: nowrap;
|
|
162
|
+
}
|
|
163
|
+
.m-chip.on { background: #7b6cff33; border-color: #7b6cff; color: #fff; }
|
|
164
|
+
@keyframes m-up { from { transform: translateY(60px); opacity: 0; } }
|
|
165
|
+
|
|
166
|
+
/* the panels are always in the page; only the one whose sheet is open is on screen */
|
|
167
|
+
[data-layout~="phone"] :is(.panel.bin, .panel.inspector, .panel.scopes, .m-list) {
|
|
168
|
+
display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
|
|
169
|
+
height: calc(var(--m-sheet-h, 50dvh) - var(--m-head-h)); padding-bottom: var(--safe-b);
|
|
170
|
+
visibility: hidden; transform: translateY(24px); opacity: 0;
|
|
171
|
+
background: var(--panel); overscroll-behavior: contain;
|
|
172
|
+
}
|
|
173
|
+
[data-layout~="phone"] .app[data-sheet="media"] .panel.bin,
|
|
174
|
+
[data-layout~="phone"] .app:is([data-sheet="inspector"], [data-sheet="mixer"], [data-sheet="color"], [data-sheet="transcript"]) .panel.inspector,
|
|
175
|
+
[data-layout~="phone"] .app[data-sheet].m-has-list .m-list {
|
|
176
|
+
visibility: visible; transform: none; opacity: 1; transition: transform .2s cubic-bezier(.2, .8, .2, 1), opacity .12s;
|
|
177
|
+
}
|
|
178
|
+
[data-layout~="phone"] .side-tabs { display: none; }
|
|
179
|
+
[data-layout~="phone"] .app[data-sheet] .m-tools { display: none; }
|
|
180
|
+
[data-layout~="phone"][data-layout~="portrait"] .app[data-sheet] { padding-bottom: var(--m-sheet-h, 50dvh); }
|
|
181
|
+
[data-layout~="phone"][data-layout~="portrait"] .app[data-sheet] .timeline-panel { flex-basis: 27px; }
|
|
182
|
+
|
|
183
|
+
/* canvas and "all tools" sheets: the desktop rows themselves, as a grid of big buttons */
|
|
184
|
+
[data-layout~="phone"] .app[data-sheet="canvas"] .monitor .panel-head,
|
|
185
|
+
[data-layout~="phone"] .app[data-sheet="tools"] .timeline-toolbar {
|
|
186
|
+
display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; justify-content: flex-start;
|
|
187
|
+
position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; overflow-y: auto;
|
|
188
|
+
height: calc(var(--m-sheet-h, 50dvh) - var(--m-head-h)); padding: 8px 14px calc(14px + var(--safe-b)); border: 0; background: var(--panel);
|
|
189
|
+
}
|
|
190
|
+
[data-layout~="phone"] .app[data-sheet="canvas"] .monitor .panel-head { text-transform: none; }
|
|
191
|
+
[data-layout~="phone"] .app[data-sheet="canvas"] .panel-head-actions { justify-content: flex-start; gap: 8px; }
|
|
192
|
+
[data-layout~="phone"] .app:is([data-sheet="canvas"], [data-sheet="tools"]) :is(.panel-head, .timeline-toolbar) :is(.btn, select, .fc-select) { min-height: 44px; padding: 0 14px; font-size: 14px; }
|
|
193
|
+
[data-layout~="phone"] .timeline-toolbar #zoomSlider { flex: 1; min-width: 180px; height: 44px; }
|
|
194
|
+
|
|
195
|
+
/* rows of the list sheets */
|
|
196
|
+
/* mixer strips wide enough to read and to grab */
|
|
197
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-strip { flex: 0 0 88px; width: 88px; gap: 5px; }
|
|
198
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mixer input:is(.mix-db, .mix-rename) { font-size: 13px !important; min-height: 34px; }
|
|
199
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mixer select { font-size: 13px !important; min-height: 34px; }
|
|
200
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mixer { overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px calc(8px + var(--safe-b)); }
|
|
201
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mixer-strips { min-height: 380px; }
|
|
202
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-name { font-size: 13px; line-height: 20px; flex: none; }
|
|
203
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-pan-row { height: 46px; gap: 0; flex: none; }
|
|
204
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-pan-row .mix-pan { height: 32px; }
|
|
205
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) input[type=range].mix-pan:not(.mix-fader)::-webkit-slider-runnable-track { background: #565663; }
|
|
206
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-body { gap: 10px; }
|
|
207
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-body .mix-fader { width: 40px; height: auto; touch-action: pan-x; }
|
|
208
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-fx { min-height: 36px; font-size: 12px; flex: none; }
|
|
209
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-btns { flex: none; }
|
|
210
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-btns button { min-height: 40px; font-size: 13px; }
|
|
211
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mix-add { min-height: 44px; min-width: 56px; font-size: 13px; }
|
|
212
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .mixer-fx-body { overscroll-behavior: contain; }
|
|
213
|
+
[data-layout~="phone"] .m-list { flex-direction: column; overflow-y: auto; padding: 0 8px calc(10px + var(--safe-b)); }
|
|
214
|
+
.m-item {
|
|
215
|
+
display: flex; align-items: center; gap: 14px; flex: none; min-height: 48px; padding: 0 12px;
|
|
216
|
+
border: 0; border-radius: 10px; background: none; color: var(--text); font: 400 15px/1.25 "Segoe UI", system-ui, sans-serif; text-align: left;
|
|
217
|
+
}
|
|
218
|
+
.m-item > span { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 10px; }
|
|
219
|
+
.m-item small { color: var(--dim); font-size: 13px; }
|
|
220
|
+
.m-item .m-ico { color: #a9a9b4; }
|
|
221
|
+
.m-item:active { background: var(--panel-2); }
|
|
222
|
+
.m-item.on { color: #cfc8ff; }
|
|
223
|
+
.m-item.on .m-ico { color: var(--accent); }
|
|
224
|
+
.m-item:disabled { opacity: .4; }
|
|
225
|
+
|
|
226
|
+
/* panel contents, finger-sized */
|
|
227
|
+
[data-layout~="phone"] :is(.panel.bin, .panel.inspector) :is(.btn.tiny, .bin-tabs button, .bin-subtabs button) { min-height: 40px; font-size: 13px; }
|
|
228
|
+
[data-layout~="phone"] .panel.bin .btn.tiny { display: inline-flex; align-items: center; justify-content: center; }
|
|
229
|
+
[data-layout~="phone"] .panel.bin .panel-head { border: 0; padding: 4px 12px; }
|
|
230
|
+
[data-layout~="phone"] .bin-item { min-height: 56px; }
|
|
231
|
+
[data-layout~="phone"] .bin-name { font-size: 14px; }
|
|
232
|
+
[data-layout~="phone"] .bin-del, [data-layout~="phone"] .bin-fav { min-width: 34px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
|
|
233
|
+
[data-layout~="phone"] :is(.inspector-body, .color-page, .tr-page) { padding: 8px 14px 24px; overscroll-behavior: contain; }
|
|
234
|
+
[data-layout~="phone"] .insp-section { margin-bottom: 22px; }
|
|
235
|
+
[data-layout~="phone"] .insp-section h3 { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text); padding-bottom: 6px; }
|
|
236
|
+
[data-layout~="phone"] .insp-row { min-height: 44px; margin-bottom: 2px; gap: 10px; }
|
|
237
|
+
[data-layout~="phone"] .insp-row label { flex-basis: 88px; font-size: 14px; }
|
|
238
|
+
[data-layout~="phone"] .insp-row .val { font-size: 13px; width: 46px; }
|
|
239
|
+
[data-layout~="phone"] .insp-row .kf-btn { min-width: 36px; height: 36px; font-size: 13px; }
|
|
240
|
+
/* 16 px: iOS zooms the whole page into smaller fields */
|
|
241
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(input:not([type=range], [type=checkbox], [type=radio], [type=color]), textarea, select) { font-size: 16px !important; min-height: 40px; }
|
|
242
|
+
[data-layout~="phone"] input[type=range] { height: 40px; touch-action: pan-y; }
|
|
243
|
+
|
|
244
|
+
/* menus become a sheet at the bottom, wherever they were asked for */
|
|
245
|
+
[data-layout~="phone"] :is(.ctx-menu, .style-menu) {
|
|
246
|
+
left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-width: none; max-height: 62dvh; overflow-y: auto;
|
|
247
|
+
padding: 10px 8px calc(12px + var(--safe-b)); border-radius: 14px 14px 0 0; border-width: 1px 0 0; overscroll-behavior: contain;
|
|
248
|
+
box-shadow: 0 0 0 100vmax #0007;
|
|
249
|
+
}
|
|
250
|
+
[data-layout~="phone"] .ctx-menu :is(.ctx-item, .ctx-opt) { min-height: 48px; padding: 0 14px; font-size: 15px; align-items: center; }
|
|
251
|
+
[data-layout~="phone"] .ctx-menu .ctx-opt { display: flex; }
|
|
252
|
+
[data-layout~="phone"] .ctx-menu kbd { display: none; }
|
|
253
|
+
[data-layout~="phone"] .ctx-menu .ctx-item { justify-content: flex-start; }
|
|
254
|
+
[data-layout~="phone"] #toast { bottom: calc(var(--m-tools-h) + var(--safe-b) + 14px); max-width: 92vw; width: max-content; font-size: 13px; }
|
|
255
|
+
/* over an open sheet it would cover what is being used: then it hangs from the top bar */
|
|
256
|
+
[data-layout~="phone"] :is(.app[data-sheet], .overlay:not(.hidden)) ~ #toast { bottom: auto; top: calc(var(--m-top) + var(--safe-t) + 8px); }
|
|
257
|
+
/* title styles, and the tags under the music search: rows a finger can hit */
|
|
258
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .style-menu > .style-opt { min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
|
|
259
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) button.bin-tag.chip { min-height: 36px; padding: 0 14px; font-size: 13px; }
|
|
260
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .panel.bin :is(.lib-add, .lib-play) { min-width: 44px; min-height: 44px; }
|
|
261
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(#binSortDir, #binViewBtn) { min-width: 40px; }
|
|
262
|
+
/* how often a file is used: on its picture, so the row keeps room for the name */
|
|
263
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-item { position: relative; }
|
|
264
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-item:not(.bin-row) .bin-uses { position: absolute; left: 4px; bottom: 4px; min-width: 28px; min-height: 26px; background: #111118d9; color: #fff; }
|
|
265
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-item:not(.bin-row) .bin-uses.none { display: none; }
|
|
266
|
+
/* list view: every column is there, the table scrolls sideways, a row's menu button stays at the edge */
|
|
267
|
+
[data-layout~="phone"] .bin-list.list-view { overflow-x: auto; }
|
|
268
|
+
[data-layout~="phone"] .bin-list.list-view :is(.bin-row, .bin-colhead) { --bin-cols: 170px 62px 80px 48px 56px 96px 60px 52px 40px 40px; width: max-content; min-width: 100%; }
|
|
269
|
+
[data-layout~="phone"] .bin-list.list-view .bin-row :is(.c-codec, .c-audio, .c-fps, .c-size, .c-proxy, .c-resolution) { display: block; }
|
|
270
|
+
[data-layout~="phone"] .bin-list.list-view .bin-colhead button { min-height: 40px; }
|
|
271
|
+
[data-layout~="phone"] .bin-list.list-view .bin-item.bin-row .bin-del { position: sticky; right: 0; background: var(--panel-2); }
|
|
272
|
+
[data-layout~="phone"] .bin-row .bin-uses { min-width: 36px; min-height: 36px; }
|
|
273
|
+
/* a row's cross stands for its menu on a finger (Remove is in it): three dots, upright */
|
|
274
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(.bin-item[data-media-id], .bin-folder) .bin-del { font-size: 0; opacity: 1; color: #c9c9d2; min-width: 40px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
|
|
275
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(.bin-item[data-media-id], .bin-folder) .bin-del::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 -7px, 0 7px; }
|
|
276
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(.bin-folder-twist, .bin-folder-add) { min-width: 40px; min-height: 44px; opacity: 1; }
|
|
277
|
+
|
|
278
|
+
/* ── Phone on its side: bars move to the sides, height goes to picture and clips ── */
|
|
279
|
+
[data-layout~="phone"][data-layout~="landscape"] .app {
|
|
280
|
+
display: grid; grid-template-columns: 48px minmax(0, 1fr) 66px; grid-template-rows: minmax(0, 1fr) minmax(0, 44%);
|
|
281
|
+
}
|
|
282
|
+
[data-layout~="phone"][data-layout~="landscape"] .topbar {
|
|
283
|
+
grid-area: 1 / 1 / 3 / 2; flex-direction: column; padding: 4px 0; gap: 0; border-right: 1px solid var(--border);
|
|
284
|
+
}
|
|
285
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-name { display: none; }
|
|
286
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-acts { flex: 1; flex-direction: column; gap: 0; min-height: 0; }
|
|
287
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-export {
|
|
288
|
+
margin: auto 0 4px; width: 40px; height: 58px; padding: 0; writing-mode: vertical-rl; font-size: 13px;
|
|
289
|
+
}
|
|
290
|
+
[data-layout~="phone"][data-layout~="landscape"] .panel.monitor { grid-area: 1 / 2; flex-direction: row; }
|
|
291
|
+
[data-layout~="phone"][data-layout~="landscape"] .transport {
|
|
292
|
+
order: -1; display: flex; flex-direction: column; justify-content: center; width: 136px; padding: 4px 6px; gap: 10px; background: none;
|
|
293
|
+
}
|
|
294
|
+
[data-layout~="phone"][data-layout~="landscape"] .tc-playhead { align-items: center; align-self: center; }
|
|
295
|
+
[data-layout~="phone"][data-layout~="landscape"] .transport-btns { display: grid; grid-template-columns: repeat(3, 40px); justify-content: center; }
|
|
296
|
+
[data-layout~="phone"][data-layout~="landscape"] .transport-btns .btn.icon { width: 40px; height: 42px; }
|
|
297
|
+
[data-layout~="phone"][data-layout~="landscape"] .transport-btns #btnHome { order: 1; }
|
|
298
|
+
[data-layout~="phone"][data-layout~="landscape"] .transport-btns #btnSpeed { order: 2; }
|
|
299
|
+
[data-layout~="phone"][data-layout~="landscape"] .transport-btns #btnEnd { order: 3; }
|
|
300
|
+
[data-layout~="phone"][data-layout~="landscape"] .transport-btns .m-play-more { order: 4; display: none; }
|
|
301
|
+
[data-layout~="phone"][data-layout~="landscape"] .timeline-panel { grid-area: 2 / 2; }
|
|
302
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-tools {
|
|
303
|
+
grid-area: 1 / 3 / 3 / 4; flex-direction: column; height: auto; padding: 4px 0 var(--safe-b); overflow-x: hidden; overflow-y: auto; touch-action: pan-y;
|
|
304
|
+
border: 0; border-left: 1px solid var(--border);
|
|
305
|
+
}
|
|
306
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-tool { min-width: 0; width: 64px; height: 50px; padding: 0; font-size: 10px; }
|
|
307
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-desel { position: static; height: 40px; margin: 0; box-shadow: none; }
|
|
308
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet] { grid-template-columns: 48px minmax(0, 1fr) var(--m-side, min(350px, 44vw)); }
|
|
309
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-head { left: auto; width: var(--m-side, min(350px, 44vw)); top: 0; bottom: auto; right: var(--safe-r); border-radius: 0; border: 0; border-left: 1px solid var(--border); }
|
|
310
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-grip { display: none; }
|
|
311
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-head-row { height: 46px; }
|
|
312
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet] :is(.panel.bin, .panel.inspector, .panel.scopes, .m-list, .timeline-toolbar),
|
|
313
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet="canvas"] .monitor .panel-head {
|
|
314
|
+
left: auto; right: var(--safe-r); top: var(--m-head-h); height: auto; width: var(--m-side, min(350px, 44vw)); border-left: 1px solid var(--border);
|
|
315
|
+
}
|
|
316
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet] .transport { width: 48px; }
|
|
317
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet] .transport-btns { grid-template-columns: 40px; }
|
|
318
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet] .transport-btns > :not(#btnPlay) { display: none; }
|
|
319
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet] .tc-playhead { display: none; }
|
|
320
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet] .tc-playhead + * { margin: 0; }
|
|
321
|
+
[data-layout~="phone"][data-layout~="landscape"] :is(.ctx-menu, .style-menu) { left: auto !important; width: min(380px, 60vw); top: 0 !important; max-height: none; border-radius: 0; border-width: 0 0 0 1px; }
|
|
322
|
+
|
|
323
|
+
/* ══ Tablet: preview and timeline always there, one side panel at a time ══ */
|
|
324
|
+
[data-layout~="tablet"] :is(.logo, .m-more, .m-export, .layout-tools, .vu-meter, .playhead-cap) { display: none; }
|
|
325
|
+
[data-layout~="tablet"] #projectName { display: none; }
|
|
326
|
+
[data-layout~="tablet"] .m-name { display: block; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
|
|
327
|
+
[data-layout~="tablet"] .topbar { --m-top: 52px; padding: 0 10px 0 4px; gap: 8px; border-bottom: 1px solid var(--border); }
|
|
328
|
+
[data-layout~="tablet"] .topbar .btn { min-height: 40px; min-width: 40px; }
|
|
329
|
+
[data-layout~="tablet"] .topbar-right { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
|
|
330
|
+
[data-layout~="tablet"] .topbar-right > * { flex: none; }
|
|
331
|
+
[data-layout~="tablet"] .topbar-right #btnExport { position: sticky; right: 0; }
|
|
332
|
+
[data-layout~="tablet"] .m-name { min-width: 90px; }
|
|
333
|
+
[data-layout~="tablet"] .upper {
|
|
334
|
+
grid-template-columns: minmax(0, 1fr) 64px; grid-template-rows: minmax(0, 1fr); gap: 0; position: relative;
|
|
335
|
+
}
|
|
336
|
+
[data-layout~="tablet"] .app[data-sheet] .upper { grid-template-columns: minmax(0, 1fr) var(--m-side-w, clamp(300px, 34vw, 360px)) 64px; }
|
|
337
|
+
[data-layout~="tablet"] .panel.monitor { grid-area: 1 / 1; container-type: inline-size; }
|
|
338
|
+
[data-layout~="tablet"] :is(.panel.bin, .panel.inspector) { visibility: hidden; position: absolute; width: 0; height: 0; overflow: hidden; }
|
|
339
|
+
[data-layout~="tablet"] .app[data-sheet="media"] .panel.bin,
|
|
340
|
+
[data-layout~="tablet"] .app:is([data-sheet="inspector"], [data-sheet="mixer"], [data-sheet="color"], [data-sheet="transcript"]) .panel.inspector {
|
|
341
|
+
visibility: visible; position: static; width: auto; height: auto; grid-area: 1 / 2; border-left: 1px solid var(--border);
|
|
342
|
+
}
|
|
343
|
+
[data-layout~="tablet"] .side-tabs { display: none; }
|
|
344
|
+
[data-layout~="tablet"] .m-rail {
|
|
345
|
+
display: flex; flex-direction: column; position: absolute; right: var(--safe-r); z-index: 4; width: 64px; padding: 6px 2px;
|
|
346
|
+
top: calc(var(--safe-t) + 52px); height: calc(100dvh - var(--safe-t) - 52px - var(--timeline-h, 400px) - 14px);
|
|
347
|
+
background: var(--panel); border-left: 1px solid var(--border); overflow-y: auto; scrollbar-width: none;
|
|
348
|
+
}
|
|
349
|
+
[data-layout~="tablet"] .m-rail .m-tool { min-width: 0; width: 60px; }
|
|
350
|
+
[data-layout~="tablet"] .v-split { flex-basis: 14px; background: var(--panel); touch-action: none; }
|
|
351
|
+
[data-layout~="tablet"] .v-split::after { left: calc(50% - 22px); right: auto; width: 44px; top: 5px; height: 4px; border-radius: 2px; background: #4a4a56; }
|
|
352
|
+
[data-layout~="tablet"] .timeline-toolbar { overflow-x: auto; scrollbar-width: none; gap: 6px; touch-action: pan-x; }
|
|
353
|
+
[data-layout~="tablet"] .timeline-toolbar > * { flex: none; }
|
|
354
|
+
[data-layout~="tablet"] .timeline-toolbar .btn { min-height: 40px; min-width: 40px; }
|
|
355
|
+
[data-layout~="tablet"] .transport-btns .btn.icon { width: 42px; height: 42px; font-size: 14px; }
|
|
356
|
+
[data-layout~="tablet"] .transport-btns .btn.icon.big { width: 52px; height: 44px; }
|
|
357
|
+
[data-layout~="tablet"] .monitor .panel-head { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 12px; padding: 4px 8px; touch-action: pan-x; }
|
|
358
|
+
[data-layout~="tablet"] .monitor :is(.panel-head-title, .panel-head-actions) { flex: none; flex-wrap: nowrap; }
|
|
359
|
+
[data-layout~="tablet"] .monitor .panel-head :is(.btn, select) { min-height: 38px; flex: none; font-size: 13px !important; }
|
|
360
|
+
[data-layout~="tablet"] .monitor .panel-head .btn-group .btn { padding: 0 12px; }
|
|
361
|
+
[data-layout~="tablet"] #monitorRes { display: none; }
|
|
362
|
+
[data-layout~="tablet"] .monitor-stage { margin: 0; border-radius: 0; }
|
|
363
|
+
[data-layout~="tablet"] .transport { padding: 4px 12px; }
|
|
364
|
+
[data-layout~="tablet"] .transport .tc-playhead { flex-direction: column; align-items: flex-start; gap: 3px; }
|
|
365
|
+
[data-layout~="tablet"] .tc-slash { display: none; }
|
|
366
|
+
/* a panel beside it leaves the preview narrow: the row keeps what is used most, the rest is in its ⋯ */
|
|
367
|
+
@container (max-width: 620px) {
|
|
368
|
+
[data-layout~="tablet"] .transport { grid-template-columns: 78px minmax(0, 1fr); gap: 4px; }
|
|
369
|
+
[data-layout~="tablet"] .transport .transport-end { display: none; }
|
|
370
|
+
[data-layout~="tablet"] .transport .transport-btns { justify-content: space-between; gap: 0; }
|
|
371
|
+
[data-layout~="tablet"] .transport :is(#btnMarkIn, #btnMarkOut) { display: none; }
|
|
372
|
+
[data-layout~="tablet"] .transport .transport-btns .btn.icon { width: 40px; border: 0; background: none; }
|
|
373
|
+
[data-layout~="tablet"] .transport .transport-btns .btn.m-play-more { display: inline-flex; }
|
|
374
|
+
}
|
|
375
|
+
[data-layout~="tablet"] .insp-row { min-height: 40px; }
|
|
376
|
+
[data-layout~="tablet"] :is(.panel.bin, .panel.inspector) .btn.tiny { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; }
|
|
377
|
+
[data-layout~="tablet"] .panel.bin .panel-head { padding: 6px 10px; }
|
|
378
|
+
[data-layout~="tablet"] .track-head-tools .btn { min-width: 40px; min-height: 27px; position: relative; }
|
|
379
|
+
[data-layout~="tablet"] .track-head-tools .btn::before { content: ""; position: absolute; left: 0; top: -8px; width: 100%; height: 40px; }
|
|
380
|
+
[data-layout~="tablet"] input[type=range] { height: 34px; touch-action: pan-y; }
|
|
381
|
+
[data-layout~="tablet"] .overlay .btn { min-height: 40px; }
|
|
382
|
+
[data-layout~="tablet"] .kf-btn { min-width: 34px; height: 34px; font-size: 12px; }
|
|
383
|
+
[data-layout~="tablet"] :is(.bin-tabs, .bin-subtabs) button { min-height: 40px; font-size: 13px; }
|
|
384
|
+
/* a track's head is one button there too: it opens the track's list */
|
|
385
|
+
[data-layout~="tablet"] .track-head { cursor: pointer; }
|
|
386
|
+
/* the bin's star and use count */
|
|
387
|
+
[data-layout~="tablet"] .bin-fav { min-width: 34px; min-height: 40px; font-size: 16px; }
|
|
388
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-item:not(.bin-row) .bin-uses::before { content: ""; position: absolute; left: -4px; top: -6px; width: 38px; height: 38px; }
|
|
389
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .panel.bin label:has(> input[type=checkbox]) { min-height: 40px; display: inline-flex; align-items: center; }
|
|
390
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) #btnSnapMenu { min-width: 36px; }
|
|
391
|
+
/* the playback list, over the timeline's corner */
|
|
392
|
+
[data-layout~="tablet"] .app[data-sheet].m-has-list .m-list {
|
|
393
|
+
display: flex; flex-direction: column; visibility: visible; grid-area: 1 / 2; position: absolute; z-index: 30;
|
|
394
|
+
right: calc(64px + var(--safe-r)); top: calc(var(--safe-t) + 52px); width: 320px; max-height: 60dvh; overflow-y: auto;
|
|
395
|
+
padding: 8px; background: var(--panel); border: 1px solid var(--border);
|
|
396
|
+
}
|
|
397
|
+
/* menus keep their place; rows grow */
|
|
398
|
+
[data-layout~="tablet"] .ctx-menu :is(.ctx-item, .ctx-opt) { min-height: 44px; font-size: 14px; align-items: center; }
|
|
399
|
+
|
|
400
|
+
@media (prefers-reduced-motion: reduce) {
|
|
401
|
+
[data-layout] .m-head, [data-layout] .app .panel, [data-layout] .m-import-bar i { animation: none !important; transition: none !important; }
|
|
402
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) #toast { transition: none; }
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/* ══ Icons where phones would draw a colour emoji (glyph() in app.js): the character gives way to a drawn icon ══ */
|
|
406
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .gx { font-size: 0 !important; display: inline-flex; vertical-align: middle; }
|
|
407
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .gx::before {
|
|
408
|
+
content: ""; width: var(--gx-size, 18px); height: var(--gx-size, 18px); background: currentColor;
|
|
409
|
+
-webkit-mask: var(--gx) center / contain no-repeat; mask: var(--gx) center / contain no-repeat;
|
|
410
|
+
}
|
|
411
|
+
.gx-play { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.7c0-.8.9-1.3 1.6-.9l8 5.3c.6.4.6 1.4 0 1.8l-8 5.3c-.7.4-1.6-.1-1.6-.9z'/%3E%3C/svg%3E"); }
|
|
412
|
+
.gx-pause { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='2' width='3.6' height='12' rx='1'/%3E%3Crect x='9.4' y='2' width='3.6' height='12' rx='1'/%3E%3C/svg%3E"); }
|
|
413
|
+
.gx-start { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='3' width='1.8' height='10' rx='.6'/%3E%3Cpath d='M13.5 3.6v8.8c0 .6-.6.9-1.1.6L5.6 8.6a.7.7 0 0 1 0-1.2L12.4 3c.5-.3 1.1 0 1.1.6z'/%3E%3C/svg%3E"); }
|
|
414
|
+
.gx-end { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='12.2' y='3' width='1.8' height='10' rx='.6'/%3E%3Cpath d='M2.5 3.6v8.8c0 .6.6.9 1.1.6l6.8-4.4a.7.7 0 0 0 0-1.2L3.6 3c-.5-.3-1.1 0-1.1.6z'/%3E%3C/svg%3E"); }
|
|
415
|
+
.gx-prev { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10.5 3.5 5.5 8l5 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
416
|
+
.gx-next { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 3.5l5 4.5-5 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
417
|
+
.gx-split { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5v13M5.2 5.2 2.4 8l2.8 2.8M10.8 5.2 13.6 8l-2.8 2.8' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
418
|
+
.gx-get { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v8M4.6 7 8 10.4 11.4 7M2.8 13.4h10.4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
419
|
+
.gx-folder, .gx-browse { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.75 12.5v-9h4.4l1.6 1.8h6.5v7.2z' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
420
|
+
.gx-audio { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 12V3.6l7-1.4v8.6M6 12a1.8 1.8 0 1 1-3.6 0A1.8 1.8 0 0 1 6 12M13 10.8a1.8 1.8 0 1 1-3.6 0a1.8 1.8 0 0 1 3.6 0' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
421
|
+
.gx-sfx { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6v4h2.4L8 13V3L4.4 6zM10.2 5.8a3 3 0 0 1 0 4.4M12.2 3.8a6 6 0 0 1 0 8.4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
422
|
+
.gx-video { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.75 3h12.5v10H1.75zM4.75 3v10M11.25 3v10M1.75 6.3h3M1.75 9.7h3M11.25 6.3h3M11.25 9.7h3' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
423
|
+
.gx-image { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.75 3h12.5v10H1.75zM2 11.5l3.6-3.6 2.6 2.6 2.4-2.4 3.4 3.4M6.6 6a1.1 1.1 0 1 1-2.2 0a1.1 1.1 0 0 1 2.2 0' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
424
|
+
.gx-svg, .gx-piece { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2.2h7v7H2zM14 10.2a3.8 3.8 0 1 1-7.6 0a3.8 3.8 0 0 1 7.6 0' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
425
|
+
.gx-warn { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2 14.5 13.5h-13zM8 6.4v3.4M8 11.6v.1' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
426
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) #btnPlay .gx { --gx-size: 24px; }
|
|
427
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) #btnPlay.on { padding: 0; }
|
|
428
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) :is(#btnHome, #btnEnd) .gx { --gx-size: 17px; }
|
|
429
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-empty-icon .gx { --gx-size: 40px; }
|
|
430
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-thumb .gx { --gx-size: 20px; color: #8d8da0; }
|
|
431
|
+
|
|
432
|
+
/* ══ Dialogs on a phone ══
|
|
433
|
+
Long ones (export, queue, settings, shortcuts, projects, relink) take the whole screen with their
|
|
434
|
+
buttons pinned at the bottom; short ones (a link to import, export progress) are a sheet. */
|
|
435
|
+
[data-layout~="phone"] .overlay { align-items: flex-end; backdrop-filter: none; }
|
|
436
|
+
[data-layout~="phone"] .dialog {
|
|
437
|
+
width: 100%; max-width: none; max-height: 100dvh; padding: 18px 16px calc(14px + var(--safe-b)); border-width: 1px 0 0; border-radius: 16px 16px 0 0;
|
|
438
|
+
display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
|
|
439
|
+
}
|
|
440
|
+
[data-layout~="phone"] .dialog h2 { font-size: 18px; }
|
|
441
|
+
[data-layout~="phone"] .dialog :is(.btn, .btn.tiny):not(.hidden) { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
|
|
442
|
+
[data-layout~="phone"] .dialog-actions > .btn { flex: 1; min-width: 0; }
|
|
443
|
+
[data-layout~="phone"] .dialog:is(.export-dialog, .settings, .help, .projects-dialog, .relink) {
|
|
444
|
+
width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; padding-top: calc(14px + var(--safe-t)); overflow: hidden;
|
|
445
|
+
}
|
|
446
|
+
[data-layout~="phone"] .dialog:is(.export-dialog, .help, .relink, .settings) .dialog-actions {
|
|
447
|
+
flex: none; flex-wrap: wrap; margin: 0 -16px; padding: 10px 16px 0; border-top: 1px solid var(--border); background: var(--panel);
|
|
448
|
+
}
|
|
449
|
+
/* export */
|
|
450
|
+
[data-layout~="phone"] .export-dialog .export-body { flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; margin: 0 -16px; padding: 0 16px 16px; }
|
|
451
|
+
[data-layout~="phone"] .export-dialog .dlv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
|
|
452
|
+
[data-layout~="phone"] .export-dialog .dlv-f { font-size: 12.5px; min-width: 0; }
|
|
453
|
+
[data-layout~="phone"] .export-dialog :is(.dlv-f, .dlv-wh-in) :is(select, input) { width: 100%; min-width: 0; }
|
|
454
|
+
[data-layout~="phone"] .export-dialog .dlv-sec > summary { min-height: 44px; display: flex; align-items: center; font-size: 14px; }
|
|
455
|
+
[data-layout~="phone"] .export-dialog .dlv-preset-line { flex-wrap: wrap; }
|
|
456
|
+
[data-layout~="phone"] .export-dialog .export-skip { flex: 1 0 100%; min-height: 36px; display: flex; align-items: center; }
|
|
457
|
+
[data-layout~="phone"] .export-dialog .dialog-actions > .btn { flex: 1 0 calc(50% - 4px); }
|
|
458
|
+
[data-layout~="phone"] .export-dialog #btnStartExport { order: -1; flex: 1 0 100%; min-height: 48px; font-size: 16px; }
|
|
459
|
+
[data-layout~="phone"] .export-dialog .dlv-batch-list li { flex-wrap: wrap; }
|
|
460
|
+
/* settings, shortcuts */
|
|
461
|
+
[data-layout~="phone"] .settings-row { min-height: 52px; }
|
|
462
|
+
[data-layout~="phone"] .settings-label { font-size: 15px; }
|
|
463
|
+
[data-layout~="phone"] .settings-hint { font-size: 13px; }
|
|
464
|
+
[data-layout~="phone"] .dialog.settings > .settings-section { flex: none; }
|
|
465
|
+
[data-layout~="phone"] .dialog.settings { overflow-y: auto; }
|
|
466
|
+
[data-layout~="phone"] .dialog.settings .dialog-actions { margin-top: auto; }
|
|
467
|
+
[data-layout~="phone"] .dialog.help .help-head { flex-wrap: wrap; gap: 8px; }
|
|
468
|
+
[data-layout~="phone"] .dialog.help .help-filter { flex: 1 0 100%; width: 100%; max-width: none; }
|
|
469
|
+
[data-layout~="phone"] .dialog.help .keys-cols { columns: 1; display: block; flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
|
|
470
|
+
[data-layout~="phone"] .dialog.help .keys td { font-size: 13.5px; }
|
|
471
|
+
/* search */
|
|
472
|
+
[data-layout~="phone"] #cmdkOverlay { align-items: flex-start; padding: 0; }
|
|
473
|
+
[data-layout~="phone"] .cmdk { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; padding-top: var(--safe-t); display: flex; flex-direction: column; }
|
|
474
|
+
[data-layout~="phone"] .cmdk-input { min-height: 54px; flex: none; }
|
|
475
|
+
[data-layout~="phone"] .cmdk-list { flex: 1; max-height: none; overscroll-behavior: contain; }
|
|
476
|
+
[data-layout~="phone"] .cmdk-item { min-height: 48px; }
|
|
477
|
+
[data-layout~="phone"] .cmdk-hint { max-width: 42vw; }
|
|
478
|
+
[data-layout~="phone"] .cmdk-foot { display: none; }
|
|
479
|
+
/* projects: the list, then the details under it */
|
|
480
|
+
[data-layout~="phone"] .projects-dialog .pj-head { flex-wrap: wrap; gap: 8px; padding: 0 0 10px; }
|
|
481
|
+
[data-layout~="phone"] .projects-dialog .pj-head h2 { flex: 1; }
|
|
482
|
+
[data-layout~="phone"] .projects-dialog .pj-head .pj-close { order: 1; min-width: 44px; }
|
|
483
|
+
[data-layout~="phone"] .projects-dialog .pj-head > :not(h2, .pj-close) { order: 2; }
|
|
484
|
+
[data-layout~="phone"] .projects-dialog .pj-head .pj-search { flex: 1 0 100%; }
|
|
485
|
+
[data-layout~="phone"] .projects-dialog .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px 0; overscroll-behavior: contain; }
|
|
486
|
+
[data-layout~="phone"] .projects-dialog .pj-side { width: auto; max-height: 46%; padding: 12px 0; overscroll-behavior: contain; }
|
|
487
|
+
|
|
488
|
+
/* drop-down lists open as a sheet, like the menus */
|
|
489
|
+
[data-layout~="phone"] .fc-select-list {
|
|
490
|
+
left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; width: auto !important; min-width: 0 !important; max-width: none !important; max-height: 62dvh !important;
|
|
491
|
+
padding: 10px 8px calc(12px + var(--safe-b)); border-width: 1px 0 0; border-radius: 16px 16px 0 0; box-shadow: 0 0 0 100vmax #0007; overscroll-behavior: contain;
|
|
492
|
+
}
|
|
493
|
+
[data-layout~="phone"] .fc-select-opt { min-height: 48px; display: flex; align-items: center; font-size: 15px; }
|
|
494
|
+
|
|
495
|
+
/* ══ Touch editing ══ */
|
|
496
|
+
.m-split, .m-start, .bin-item .btn.bin-add { display: none; }
|
|
497
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-item .btn.bin-add {
|
|
498
|
+
display: inline-flex; align-items: center; justify-content: center; flex: none; order: 3; width: 44px; min-height: 40px; padding: 0; font-size: 17px; border-color: #7b6cff88; color: #cfc8ff;
|
|
499
|
+
}
|
|
500
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-item .bin-del { order: 4; }
|
|
501
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .monitor-stage { touch-action: none; }
|
|
502
|
+
[data-layout~="phone"][data-layout~="portrait"] .app[data-sheet] .m-split { pointer-events: none; }
|
|
503
|
+
[data-layout~="phone"][data-layout~="portrait"] .m-split {
|
|
504
|
+
display: block; flex: none; height: 14px; margin: -4px 0 0; position: relative; z-index: 9; touch-action: none; background: var(--panel);
|
|
505
|
+
}
|
|
506
|
+
.m-split::before { content: ""; position: absolute; inset: -8px 25% -10px; }
|
|
507
|
+
.m-split::after { content: ""; position: absolute; left: 50%; top: 5px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: #3f3f4a; }
|
|
508
|
+
[data-layout~="phone"] .m-start:not([hidden]) {
|
|
509
|
+
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; position: absolute; inset: 27px 0 0; z-index: 7; background: #0c0c0f;
|
|
510
|
+
}
|
|
511
|
+
[data-layout~="phone"] .m-add { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
|
|
512
|
+
.clip.m-held { filter: brightness(1.25); transform: scale(1.03); z-index: 9 !important; box-shadow: 0 6px 20px #000a; }
|
|
513
|
+
:is(.bin-item, .bin-folder).m-held { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
514
|
+
.m-bubble {
|
|
515
|
+
position: fixed; z-index: 10001; transform: translateX(-50%); padding: 6px 10px; border-radius: 8px; pointer-events: none;
|
|
516
|
+
background: #f2f2f5; color: #111; font: 600 14px/1 Consolas, ui-monospace, monospace; box-shadow: 0 4px 16px #0009;
|
|
517
|
+
}
|
|
518
|
+
.m-bubble[hidden] { display: none; }
|
|
519
|
+
.m-ghost {
|
|
520
|
+
position: fixed; left: 0; top: 0; z-index: 10002; display: flex; align-items: center; gap: 8px; max-width: 220px; padding: 6px 12px 6px 6px; pointer-events: none;
|
|
521
|
+
border: 2px solid #5b5b68; border-radius: 10px; background: #1b1b22f2; color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; box-shadow: 0 8px 28px #000a;
|
|
522
|
+
}
|
|
523
|
+
.m-ghost.ok { border-color: var(--accent); }
|
|
524
|
+
.m-ghost-pic { width: 48px; height: 30px; flex: none; border-radius: 5px; background-size: cover; background-position: center; }
|
|
525
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .trim-readout { font-size: 14px; padding: 6px 10px; }
|
|
526
|
+
/* select mode: the state is visible on the clips themselves */
|
|
527
|
+
[data-layout~="phone"] .m-selecting .clip::after {
|
|
528
|
+
content: ""; position: absolute; right: 5px; top: 5px; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; background: #0007; z-index: 6;
|
|
529
|
+
}
|
|
530
|
+
[data-layout~="phone"] .m-selecting .clip.selected::after { background: var(--accent); }
|
|
531
|
+
[data-layout~="phone"] .m-selecting .clip.selected .handle { display: none; }
|
|
532
|
+
[data-layout~="phone"] .m-tools[data-ctx="select"] .m-desel { color: #cfc8ff; min-width: 62px; }
|
|
533
|
+
[data-layout~="phone"] .m-item small { text-align: right; max-width: 58%; }
|
|
534
|
+
.m-val { flex: none; padding: 4px 6px; border: 1px solid var(--accent); border-radius: 6px; background: var(--well); color: #fff; text-align: right; font-family: Consolas, ui-monospace, monospace; }
|
|
535
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .insp-row .val { padding: 10px 0; cursor: text; }
|
|
536
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .insp-row label.insp-reset { padding: 10px 0; }
|
|
537
|
+
/* the keyboard is up: sheets and dialogs stand on it */
|
|
538
|
+
[data-layout~="phone"][data-layout~="portrait"] .app[style*="--m-kb"] { --m-sheet-h: max(220px, calc(100dvh - var(--m-kb) - 250px)) !important; padding-bottom: calc(var(--m-sheet-h) + var(--m-kb)); }
|
|
539
|
+
[data-layout~="phone"] .app[style*="--m-kb"] .m-head { bottom: calc(var(--m-sheet-h) - var(--m-head-h) + var(--m-kb)); }
|
|
540
|
+
[data-layout~="phone"] .app[style*="--m-kb"] :is(.panel.bin, .panel.inspector, .m-list) { bottom: var(--m-kb); padding-bottom: 0; }
|
|
541
|
+
[data-layout~="phone"] .overlay { padding-bottom: var(--m-kb-page, 0px); }
|
|
542
|
+
[data-layout~="phone"] .overlay .dialog, [data-layout~="phone"] .cmdk { max-height: calc(100dvh - var(--m-kb-page, 0px)) !important; }
|
|
543
|
+
|
|
544
|
+
/* ══ Buttons whose meaning a drawing says at once: icon only on phones and tablets ══
|
|
545
|
+
Shapes, masks, text paths, pen, duplicate, delete. The word stays in the page (font-size 0), so screen
|
|
546
|
+
readers and the tooltip still say it. Buttons a drawing can't explain (Invert, Matte, Group…) keep their word. */
|
|
547
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) button:is([data-mtool], [data-sadd], [data-stool="pen"], [data-tpath]:not([data-tpath="edit"], [data-tpath="off"]), [data-mshape]:not([data-mshape="none"]), [data-mdraw],
|
|
548
|
+
[data-mact="dup"], [data-sact="dup"], [data-tr-copy], [data-mact="del"], [data-sact="del"], [data-lact="del"]) {
|
|
549
|
+
display: inline-flex; align-items: center; justify-content: center; width: 46px; min-width: 46px; height: 44px; min-height: 44px; padding: 0; font-size: 0 !important;
|
|
550
|
+
}
|
|
551
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) button:is([data-mtool], [data-sadd], [data-stool="pen"], [data-tpath]:not([data-tpath="edit"], [data-tpath="off"]), [data-mshape]:not([data-mshape="none"]), [data-mdraw],
|
|
552
|
+
[data-mact="dup"], [data-sact="dup"], [data-tr-copy], [data-mact="del"], [data-sact="del"], [data-lact="del"])::before {
|
|
553
|
+
content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--gx) center / contain no-repeat; mask: var(--gx) center / contain no-repeat;
|
|
554
|
+
}
|
|
555
|
+
button:is([data-mtool="rect"], [data-sadd="rect"], [data-mshape="rect"]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='4' width='12' height='8' rx='1.2' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
|
|
556
|
+
button:is([data-mtool="ellipse"], [data-sadd="ellipse"], [data-mshape="ellipse"]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='8' rx='6.3' ry='4.6' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
|
|
557
|
+
button:is([data-sadd="polygon"], [data-mshape="poly"]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.8 13.4 4.9v6.2L8 14.2 2.6 11.1V4.9z' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
558
|
+
button[data-sadd="star"] { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.8l1.9 4 4.3.5-3.2 3 .9 4.3L8 11.4l-3.9 2.2.9-4.3-3.2-3 4.3-.5z' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
559
|
+
button:is([data-sadd="line"], [data-tpath="line"]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
|
|
560
|
+
button[data-tpath="arc"] { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 12a6.2 6.2 0 0 1 12 0' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
|
|
561
|
+
button[data-tpath="circle"] { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.8' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
|
|
562
|
+
button[data-tpath="wave"] { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8c2-5 4.3-5 6.5 0s4.500 5 6.500 0' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
|
|
563
|
+
button:is([data-mtool="pen"], [data-stool="pen"], [data-tpath="pen"]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.8 12 7.600 9.900 12H6.100L4 7.600zM8 1.800v5.400M6.100 14.200h3.800' fill='none' stroke='%23000' stroke-width='1.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='8.200' r='1'/%3E%3C/svg%3E"); }
|
|
564
|
+
button:is([data-mtool="draw"], [data-mdraw]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.800 13.200l.7-3.100 7.300-7.300 2.400 2.400-7.300 7.300zM9.200 4.400l2.400 2.400' fill='none' stroke='%23000' stroke-width='1.400' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
565
|
+
button:is([data-mact="dup"], [data-sact="dup"], [data-tr-copy]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.500 5.500h8v8h-8zM10.500 5.500v-3h-8v8h3' fill='none' stroke='%23000' stroke-width='1.400' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
566
|
+
button:is([data-mact="del"], [data-sact="del"], [data-lact="del"]) { --gx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.500 4h11M6 4V2.200h4V4M3.800 4l.7 9.800h7L12.200 4M6.600 6.500v4.800M9.400 6.500v4.800' fill='none' stroke='%23000' stroke-width='1.350' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
567
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cl-row { gap: 8px; }
|
|
568
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cl-row select {
|
|
569
|
+
min-height: 44px; padding: 0 30px 0 12px; border: 1px solid var(--border); border-radius: 6px; background-color: var(--panel-2); color: var(--text);
|
|
570
|
+
}
|
|
571
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cp-row .cp-num { flex: none; width: 78px; }
|
|
572
|
+
|
|
573
|
+
/* ══ Small grips, finger-sized: what is seen stays small, what is hit is bigger ══ */
|
|
574
|
+
.m-src, .btn.m-bin-more { display: none; }
|
|
575
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .fade-grip { width: 14px; height: 14px; margin: 0 -7px; top: 0; border-radius: 4px; z-index: 8; }
|
|
576
|
+
/* clear of the trim grip, which reaches 13 px into the clip */
|
|
577
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .fade-grip.l { margin-left: 14px; }
|
|
578
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .fade-grip.r { margin-right: 14px; }
|
|
579
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .vol-pt { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; }
|
|
580
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .vol-pt::before { content: ""; position: absolute; inset: -13px; }
|
|
581
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .fade-grip::before { content: ""; position: absolute; inset: -8px -8px -10px; }
|
|
582
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .fade-grip.l::before { right: -20px; }
|
|
583
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .fade-grip.r::before { left: -20px; }
|
|
584
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .vol-hit { stroke-width: 26; }
|
|
585
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .trans-mark { overflow: visible; }
|
|
586
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .trans-dur-handle { width: 30px; }
|
|
587
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .trans-mark.in .trans-dur-handle { right: -15px; }
|
|
588
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .trans-mark.out .trans-dur-handle { left: -15px; }
|
|
589
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip.selected .trans-dur-handle::after { content: ""; position: absolute; left: 13px; top: 25%; bottom: 25%; width: 4px; border-radius: 2px; background: #fff; }
|
|
590
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) #exportFrameOverlay .ef-edge { touch-action: none; }
|
|
591
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) #exportFrameOverlay .ef-handle { min-height: 40px; padding: 0 14px; touch-action: none; }
|
|
592
|
+
|
|
593
|
+
/* Source monitor (phone) */
|
|
594
|
+
[data-layout~="phone"] .panel.monitor[data-mode="source"] .m-src { display: flex; flex: none; gap: 6px; padding: 6px 10px; background: var(--panel); overflow-x: auto; scrollbar-width: none; }
|
|
595
|
+
[data-layout~="phone"] .m-src-btn { display: inline-flex; align-items: center; gap: 6px; flex: 1 0 auto; justify-content: center; min-height: 44px; padding: 0 10px; font-size: 13px; }
|
|
596
|
+
[data-layout~="phone"] .m-src-btn .m-ico { width: 18px; height: 18px; }
|
|
597
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .source-scrub { padding: 8px 14px; }
|
|
598
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .source-scrub-track { height: 18px; touch-action: none; }
|
|
599
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .source-scrub-track::before { content: ""; position: absolute; inset: -13px 0; }
|
|
600
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .btn.m-bin-more { display: inline-flex; align-items: center; justify-content: center; flex: none; }
|
|
601
|
+
|
|
602
|
+
/* ══ A monitor tool's keys, in the transport's place ══ */
|
|
603
|
+
.m-prec, .m-scopes-btn { display: none !important; }
|
|
604
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .transport { position: relative; }
|
|
605
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .m-tooling .m-prec {
|
|
606
|
+
display: flex !important; position: absolute; inset: 0; z-index: 5; align-items: center; gap: 8px; padding: 0 10px; background: var(--panel); overflow-x: auto; scrollbar-width: none;
|
|
607
|
+
}
|
|
608
|
+
.m-prec-btn {
|
|
609
|
+
display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1 0 auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px;
|
|
610
|
+
background: var(--panel-2); color: var(--text); font: 500 13px/1 "Segoe UI", system-ui, sans-serif; white-space: nowrap;
|
|
611
|
+
}
|
|
612
|
+
.m-prec-btn .m-ico { width: 18px; height: 18px; }
|
|
613
|
+
.m-prec-btn.m-mod.on { border-color: var(--accent); background: #7b6cff33; color: #fff; }
|
|
614
|
+
.m-prec-say { flex: 2 1 auto; color: var(--dim); font-size: 14px; }
|
|
615
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-tooling .m-prec { flex-direction: column; justify-content: center; padding: 6px; }
|
|
616
|
+
[data-layout~="phone"][data-layout~="landscape"] .m-tooling .m-prec-btn { flex: none; width: 100%; }
|
|
617
|
+
|
|
618
|
+
/* ══ Colour on a phone: scopes as a strip above the wheels ══ */
|
|
619
|
+
[data-layout~="phone"] .app[data-sheet="color"] .m-scopes-btn { display: inline-flex !important; }
|
|
620
|
+
.m-scopes-btn.on { color: var(--accent) !important; }
|
|
621
|
+
[data-layout~="phone"] .app.ws-color .upper { display: contents; }
|
|
622
|
+
[data-layout~="phone"] .app.ws-color .panel.bin { display: flex; }
|
|
623
|
+
[data-layout~="phone"] .app[data-sheet="color"].m-scopes .panel.scopes {
|
|
624
|
+
visibility: visible; transform: none; opacity: 1; flex-direction: row; height: 132px; bottom: auto; top: calc(100dvh - var(--m-sheet-h, 50dvh) + var(--m-head-h)); padding: 4px 10px; gap: 8px; z-index: 41;
|
|
625
|
+
}
|
|
626
|
+
[data-layout~="phone"] .app[data-sheet="color"].m-scopes .panel.inspector { height: calc(var(--m-sheet-h, 50dvh) - var(--m-head-h) - 132px); }
|
|
627
|
+
[data-layout~="phone"] .scope-head { padding: 0; }
|
|
628
|
+
[data-layout~="phone"] .scope-head select { font-size: 12px !important; min-height: 30px; }
|
|
629
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet="color"].m-scopes .panel.scopes { top: var(--m-head-h); height: 110px; }
|
|
630
|
+
[data-layout~="phone"][data-layout~="landscape"] .app[data-sheet="color"].m-scopes .panel.inspector { top: calc(var(--m-head-h) + 110px); height: auto; }
|
|
631
|
+
[data-layout~="tablet"] .app.ws-color .upper { grid-template-columns: minmax(0, 1fr) var(--m-side-w, clamp(300px, 34vw, 360px)) 64px; }
|
|
632
|
+
[data-layout~="tablet"] .app.ws-color .panel.bin { display: flex; }
|
|
633
|
+
[data-layout~="tablet"] .app.ws-color .panel.scopes { display: none; }
|
|
634
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .color-page canvas { touch-action: pan-y; }
|
|
635
|
+
[data-layout~="phone"] .color-page .cv-ed.square { aspect-ratio: auto; height: 250px; }
|
|
636
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cv-bar .cv-ch { min-width: 42px; }
|
|
637
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cl-row .btn.tiny { min-width: 44px; justify-content: center; }
|
|
638
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cl-row:has(> .cl-name) { flex-wrap: nowrap; gap: 5px; }
|
|
639
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cl-row:has(> .cl-name) > .btn.tiny { min-width: 36px; padding: 0 6px; flex: none; }
|
|
640
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .cl-row > .cl-name { flex: 1 1 70px; padding: 3px 8px; }
|
|
641
|
+
.m-fine { display: none; }
|
|
642
|
+
[data-layout~="phone"] .app[data-sheet="color"] .m-fine {
|
|
643
|
+
display: inline-flex; align-items: center; align-self: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 18px; background: none; color: var(--dim); font: 500 13px/1 "Segoe UI", system-ui, sans-serif;
|
|
644
|
+
}
|
|
645
|
+
.m-fine.on { border-color: var(--accent) !important; background: #7b6cff33 !important; color: #fff !important; }
|
|
646
|
+
.m-loupe { position: fixed; z-index: 10003; width: 110px; height: 110px; border: 3px solid #fff; border-radius: 50%; pointer-events: none; box-shadow: 0 6px 24px #000c; }
|
|
647
|
+
.m-loupe[hidden] { display: none; }
|
|
648
|
+
|
|
649
|
+
/* ══ Transcript: words a finger can hit, a selection with grips ══ */
|
|
650
|
+
[data-layout~="phone"] .tr-page { padding: 0 !important; }
|
|
651
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-head { padding: 4px 12px 8px; gap: 6px; max-height: 46%; overflow-y: auto; flex: none; overscroll-behavior: contain; }
|
|
652
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-head .tr-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
|
|
653
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-head .tr-row > * { flex-shrink: 0; }
|
|
654
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-head .tr-row > input[type="search"] { flex: 1 1 110px; }
|
|
655
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-head .tr-row select { flex: 1 0 108px; }
|
|
656
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-head .tr-note { margin: 0; }
|
|
657
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-page .btn { min-height: 40px; }
|
|
658
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-body { font-size: 16px; line-height: 2.1; overscroll-behavior: contain; -webkit-user-select: none; user-select: none; }
|
|
659
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-tc { font-size: 12px; padding: 8px 8px 8px 0; margin: 0; }
|
|
660
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tw { padding: 5px 1px; }
|
|
661
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tw.sel:not(.sel + .tw.sel) { box-shadow: -3px 0 0 var(--accent); border-radius: 0 3px 3px 0; }
|
|
662
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tw.sel:not(:has(+ .tw.sel)) { border-right: 3px solid var(--accent); }
|
|
663
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-foot { font-size: 13px; padding: 6px 12px calc(6px + var(--safe-b)); background: var(--panel-2); }
|
|
664
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .tr-foot .btn { min-width: 76px; }
|
|
665
|
+
|
|
666
|
+
.m-import { display: none; }
|
|
667
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .m-import:not([hidden]) {
|
|
668
|
+
display: flex; flex-direction: column; gap: 10px; position: fixed; z-index: 10004; left: 12px; right: 12px; bottom: calc(14px + var(--safe-b)); max-width: 460px; max-height: 70dvh; overflow-y: auto; margin: 0 auto;
|
|
669
|
+
padding: 16px; border: 1px solid #3a3a46; border-radius: 14px; background: #1b1b22; color: var(--text); font-size: 14px; box-shadow: 0 12px 40px #000c;
|
|
670
|
+
}
|
|
671
|
+
.m-import p { margin: 0; display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
|
|
672
|
+
.m-import span { color: #b4b4bf; }
|
|
673
|
+
.m-import .btn { min-height: 46px; justify-content: center; }
|
|
674
|
+
.m-import-bar { height: 5px; border-radius: 3px; background: #34343f; overflow: hidden; }
|
|
675
|
+
.m-import-bar i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
|
|
676
|
+
|
|
677
|
+
[data-layout~="phone"] .m-gestures td:first-child { width: 42%; color: #cfc8ff; }
|
|
678
|
+
|
|
679
|
+
/* ══ Small controls that were left at mouse size ══ */
|
|
680
|
+
[data-layout~="phone"] .style-menu { box-shadow: 0 -8px 30px #000a; max-height: 46dvh; }
|
|
681
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .style-opt.m-try { background: #7b6cff33; }
|
|
682
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .style-menu > .m-use { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; }
|
|
683
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .clip-flag { min-height: 40px; }
|
|
684
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .vu-meter :is(.vu-mode, .vu-tracks-toggle) { min-height: 24px; }
|
|
685
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-folder :is(.bin-del, .bin-folder-twist, .bin-folder-add) { border: 0; background: none !important; }
|
|
686
|
+
[data-layout~="phone"] .bin-list.list-view .bin-folder { position: sticky; left: 0; width: calc(100vw - 16px); }
|
|
687
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .fx-card :is([data-fx-move], [data-fx-del], [data-fx-kf]) { min-width: 40px; min-height: 40px; }
|
|
688
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .bin-pop-btns .btn { flex: 1; min-height: 44px; font-size: 14px; }
|
|
689
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .seq-new-copy { min-height: 40px; display: flex; align-items: center; }
|
|
690
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) .seq-new-copy[hidden] { display: none; }
|
|
691
|
+
:is([data-layout~="phone"], [data-layout~="tablet"]) input[type="color"] { width: 64px; min-width: 64px; height: 40px; padding: 3px; }
|
|
692
|
+
[data-layout~="phone"] .app[data-sheet] .m-start > * { visibility: hidden; }
|
|
693
|
+
|
|
694
|
+
/* ══ Projects (the public editor's dashboard): what a card can do stands right under the list ══ */
|
|
695
|
+
[data-layout~="phone"] .projects-dialog .pj-side > .pj-thumb { display: none; }
|
|
696
|
+
[data-layout~="phone"] .projects-dialog .pj-side > .pj-thumb ~ .pj-actions { order: -1; }
|
|
697
|
+
[data-layout~="phone"] .projects-dialog .pj-thumb { height: 84px; }
|
|
698
|
+
[data-layout~="phone"] .projects-dialog .pj-grid.versions ~ .pj-side { display: none; }
|
|
699
|
+
[data-layout~="phone"] .projects-dialog .pj-side .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
|
|
700
|
+
[data-layout~="phone"] .projects-dialog .pj-side > * { flex: none; }
|
|
701
|
+
[data-layout~="phone"] .projects-dialog .pj-tpl { min-height: 48px; }
|
|
702
|
+
[data-layout~="phone"] .projects-dialog .pj-tpl-del { opacity: 1; min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
|