hookdesk 0.0.0-stage → 0.2.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/CHANGELOG.md +53 -0
- package/LICENSE +21 -0
- package/README.md +490 -2
- package/config/app.json +198 -0
- package/config/default.json +66 -0
- package/config/limits.json +40 -0
- package/config/messages.json +193 -0
- package/package.json +44 -4
- package/src/cli.js +24 -0
- package/src/loader/fixed.js +18 -0
- package/src/loader/settings.js +94 -0
- package/src/mocks/rules.js +95 -0
- package/src/server.js +194 -0
- package/src/store/events.js +34 -0
- package/src/ui/index.html +83 -0
- package/src/ui/logo.svg +7 -0
- package/src/ui/ui.css +252 -0
- package/src/ui/ui.js +419 -0
package/src/ui/ui.css
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
/* Dark is the base theme. Light applies via [data-theme="light"], or via the OS when the theme is "auto". */
|
|
2
|
+
:root {
|
|
3
|
+
--bg: #09090a;
|
|
4
|
+
--surface: #0e0e10;
|
|
5
|
+
--raise: #151518;
|
|
6
|
+
--hover: #1b1b1f;
|
|
7
|
+
--line: #1f1f23;
|
|
8
|
+
--line-strong: #2c2c31;
|
|
9
|
+
--text: #ededef;
|
|
10
|
+
--dim: #8b8b94;
|
|
11
|
+
--faint: #5f5f68;
|
|
12
|
+
--accent: #c6ff3d;
|
|
13
|
+
--accent-hover: #d7ff73;
|
|
14
|
+
--accent-ink: #0b0e02;
|
|
15
|
+
--accent-text: #c6ff3d;
|
|
16
|
+
--danger: #ff5c5c;
|
|
17
|
+
--m-get: #7cc4ff;
|
|
18
|
+
--m-post: #c6ff3d;
|
|
19
|
+
--m-put: #ffb547;
|
|
20
|
+
--m-patch: #ffb547;
|
|
21
|
+
--m-delete: #ff5c5c;
|
|
22
|
+
--m-other: #b69cff;
|
|
23
|
+
--t-key: #9ecbff;
|
|
24
|
+
--t-str: #b8e86c;
|
|
25
|
+
--t-num: #ffb547;
|
|
26
|
+
--t-lit: #ff86c2;
|
|
27
|
+
--shadow: rgba(0,0,0,.5);
|
|
28
|
+
color-scheme: dark;
|
|
29
|
+
}
|
|
30
|
+
@media (prefers-color-scheme: light) {
|
|
31
|
+
:root:not([data-theme="dark"]) {
|
|
32
|
+
--bg: #f6f6f7; --surface: #ffffff; --raise: #efeff1; --hover: #e7e7ea; --line: #e3e3e7; --line-strong: #cfcfd5;
|
|
33
|
+
--text: #0b0b0d; --dim: #55555e; --faint: #8e8e97;
|
|
34
|
+
--accent: #4d7c0f; --accent-hover: #3f6a08; --accent-ink: #ffffff; --accent-text: #3f6a08; --danger: #d42020;
|
|
35
|
+
--m-get: #0b69b3; --m-post: #4d7c0f; --m-put: #b45309; --m-patch: #b45309; --m-delete: #d42020; --m-other: #7034d6;
|
|
36
|
+
--t-key: #0550ae; --t-str: #3f6212; --t-num: #b45309; --t-lit: #be185d; --shadow: rgba(20,20,30,.12);
|
|
37
|
+
color-scheme: light;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
:root[data-theme="light"] {
|
|
41
|
+
--bg: #f6f6f7; --surface: #ffffff; --raise: #efeff1; --hover: #e7e7ea; --line: #e3e3e7; --line-strong: #cfcfd5;
|
|
42
|
+
--text: #0b0b0d; --dim: #55555e; --faint: #8e8e97;
|
|
43
|
+
--accent: #4d7c0f; --accent-hover: #3f6a08; --accent-ink: #ffffff; --accent-text: #3f6a08; --danger: #d42020;
|
|
44
|
+
--m-get: #0b69b3; --m-post: #4d7c0f; --m-put: #b45309; --m-patch: #b45309; --m-delete: #d42020; --m-other: #7034d6;
|
|
45
|
+
--t-key: #0550ae; --t-str: #3f6212; --t-num: #b45309; --t-lit: #be185d; --shadow: rgba(20,20,30,.12);
|
|
46
|
+
color-scheme: light;
|
|
47
|
+
}
|
|
48
|
+
:root {
|
|
49
|
+
--sans: "Inter Display", Inter, -apple-system, "SF Pro Display", "Segoe UI Variable Display", system-ui, sans-serif;
|
|
50
|
+
--mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
|
|
51
|
+
--pad: clamp(16px, 2.4vw, 32px);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
* { box-sizing: border-box; }
|
|
55
|
+
html, body { height: 100%; }
|
|
56
|
+
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
|
|
57
|
+
::selection { background: var(--accent); color: var(--accent-ink); }
|
|
58
|
+
button { font: inherit; color: inherit; cursor: pointer; }
|
|
59
|
+
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 2px; }
|
|
60
|
+
kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-right: 3px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; font-family: var(--mono); font-size: 10px; color: var(--dim); }
|
|
61
|
+
.keys { font-family: var(--mono); font-size: 11px; color: var(--faint); }
|
|
62
|
+
|
|
63
|
+
/* Header */
|
|
64
|
+
.top { display: flex; align-items: center; gap: 28px; height: 52px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); }
|
|
65
|
+
.brand { display: flex; align-items: center; gap: 10px; }
|
|
66
|
+
.brand-mark { display: block; flex-shrink: 0; }
|
|
67
|
+
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
|
|
68
|
+
.brand-tag { font-family: var(--mono); font-size: 10px; color: var(--dim); border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 5px; }
|
|
69
|
+
.top-meta { display: flex; gap: 22px; margin-left: auto; font-family: var(--mono); font-size: 11px; }
|
|
70
|
+
.kv .k { color: var(--faint); margin-right: 7px; }
|
|
71
|
+
.kv .v { color: var(--dim); }
|
|
72
|
+
.live { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--accent-text); }
|
|
73
|
+
.live-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
|
|
74
|
+
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
|
|
75
|
+
.live.offline { color: var(--danger); }
|
|
76
|
+
.live.offline .live-dot { background: var(--danger); }
|
|
77
|
+
.live.offline .live-dot::after { display: none; }
|
|
78
|
+
|
|
79
|
+
/* Scope: stats + timeline */
|
|
80
|
+
.scope { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; border-bottom: 1px solid var(--line); }
|
|
81
|
+
.stats { display: grid; grid-template-columns: 1fr 1fr; border-right: 1px solid var(--line); }
|
|
82
|
+
.stat { padding: 18px var(--pad) 16px; border-bottom: 1px solid var(--line); }
|
|
83
|
+
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
|
|
84
|
+
.stat:nth-last-child(-n+2) { border-bottom: 0; }
|
|
85
|
+
.stat-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
86
|
+
.stat-v { margin-top: 8px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
87
|
+
.stat { min-width: 0; }
|
|
88
|
+
.stat-v { overflow: hidden; text-overflow: ellipsis; }
|
|
89
|
+
.stat-v .unit { margin-left: 6px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
|
|
90
|
+
.stat-v.bump { animation: bump .6s cubic-bezier(.2,.8,.2,1); }
|
|
91
|
+
.scope-chart { position: relative; padding: 14px var(--pad) 8px; min-width: 0; background: radial-gradient(120% 140% at 100% 0%, rgba(198,255,61,.05), transparent 55%); }
|
|
92
|
+
#scope { display: block; width: 100%; height: 132px; cursor: crosshair; }
|
|
93
|
+
.scope-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 10px; color: var(--faint); font-variant-numeric: tabular-nums; }
|
|
94
|
+
|
|
95
|
+
/* Command bar */
|
|
96
|
+
.command { display: flex; align-items: center; gap: 14px; padding: 12px var(--pad); border-bottom: 1px solid var(--line); background: var(--surface); }
|
|
97
|
+
.prompt { font-family: var(--mono); color: var(--accent-text); }
|
|
98
|
+
.command-text { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
99
|
+
.command-text .url { color: var(--text); }
|
|
100
|
+
.command-actions { display: flex; gap: 6px; }
|
|
101
|
+
|
|
102
|
+
/* Buttons */
|
|
103
|
+
.btn { height: 30px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raise); font-size: 12.5px; font-weight: 500; letter-spacing: -.005em; transition: border-color .15s, background .15s, color .15s, transform .1s; white-space: nowrap; }
|
|
104
|
+
.btn:hover { border-color: var(--faint); background: var(--hover); }
|
|
105
|
+
.btn:active { transform: translateY(1px); }
|
|
106
|
+
.btn:disabled { opacity: .4; cursor: not-allowed; }
|
|
107
|
+
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
|
|
108
|
+
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
|
|
109
|
+
.btn-ghost { background: transparent; border-color: transparent; color: var(--dim); }
|
|
110
|
+
.btn-ghost:hover { background: var(--raise); border-color: var(--line-strong); color: var(--text); }
|
|
111
|
+
.btn-danger:hover { color: var(--danger); }
|
|
112
|
+
.btn-link { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
|
|
113
|
+
|
|
114
|
+
/* Mock responses */
|
|
115
|
+
.mocks { border-bottom: 1px solid var(--line); }
|
|
116
|
+
.mocks-summary { display: flex; align-items: center; gap: 14px; padding: 10px var(--pad); cursor: pointer; list-style: none; }
|
|
117
|
+
.mocks-summary::-webkit-details-marker { display: none; }
|
|
118
|
+
.mocks-summary::before { content: "+"; font-family: var(--mono); color: var(--faint); }
|
|
119
|
+
.mocks[open] .mocks-summary::before { content: "-"; }
|
|
120
|
+
.mocks-count { font-family: var(--mono); font-size: 12px; color: var(--accent-text); }
|
|
121
|
+
.mocks-hint { font-size: 12px; color: var(--dim); }
|
|
122
|
+
.mocks-body { padding: 0 var(--pad) 16px; }
|
|
123
|
+
.mocks-list { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
|
|
124
|
+
.mocks-list > .note { margin: 0; padding: 10px 14px; }
|
|
125
|
+
.mock-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 48px 70px minmax(60px, 120px) auto; gap: 12px; align-items: center; padding: 6px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
|
|
126
|
+
.mock-row:last-child { border-bottom: 0; }
|
|
127
|
+
.mock-row .path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
128
|
+
.mock-row .mock-id { color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
129
|
+
.mock-form { display: grid; grid-template-columns: 110px minmax(0, 1fr) 90px 110px; gap: 10px 12px; }
|
|
130
|
+
.mock-form label { display: flex; flex-direction: column; gap: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--faint); }
|
|
131
|
+
.mock-form label:nth-child(5), .mock-form label:nth-child(6) { grid-column: 1 / -1; }
|
|
132
|
+
.mock-form input, .mock-form select, .mock-form textarea { height: 30px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); font-family: var(--mono); font-size: 12px; }
|
|
133
|
+
.mock-form textarea { height: auto; padding: 6px 8px; resize: vertical; }
|
|
134
|
+
.mock-actions { grid-column: 1 / -1; display: flex; gap: 6px; }
|
|
135
|
+
|
|
136
|
+
/* Split panes */
|
|
137
|
+
.split { flex: 1; display: grid; grid-template-columns: minmax(340px, 5fr) 7fr; min-height: 0; }
|
|
138
|
+
.pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
|
|
139
|
+
.pane-list { border-right: 1px solid var(--line); }
|
|
140
|
+
.pane-head { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 var(--pad); border-bottom: 1px solid var(--line); }
|
|
141
|
+
.pane-title { font-weight: 600; font-size: 13px; }
|
|
142
|
+
.table-head, .row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 48px 76px 46px; gap: 12px; align-items: center; padding: 0 var(--pad); }
|
|
143
|
+
.table-head { height: 30px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
|
|
144
|
+
.num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
145
|
+
.entries { flex: 1; overflow: auto; max-height: calc(100vh - 330px); min-height: 220px; }
|
|
146
|
+
.row { width: 100%; height: 40px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-family: var(--mono); font-size: 12.5px; transition: background .12s; }
|
|
147
|
+
.row:hover { background: var(--surface); }
|
|
148
|
+
.row.selected { background: var(--raise); box-shadow: inset 2px 0 0 var(--accent); }
|
|
149
|
+
.row.is-new { animation: flash 1.4s ease-out; }
|
|
150
|
+
.row .path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
|
|
151
|
+
.row .num { color: var(--dim); font-size: 11.5px; }
|
|
152
|
+
.row .replay-mark, .row .mock-mark { color: var(--accent-text); margin-left: 8px; font-size: 10px; }
|
|
153
|
+
.row .mock-mark { color: var(--m-other); }
|
|
154
|
+
.status-error { color: var(--danger) !important; }
|
|
155
|
+
.m { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
|
|
156
|
+
.m-get { color: var(--m-get); } .m-post { color: var(--m-post); } .m-put { color: var(--m-put); } .m-patch { color: var(--m-patch); } .m-delete { color: var(--m-delete); } .m-other { color: var(--m-other); }
|
|
157
|
+
|
|
158
|
+
/* Detail */
|
|
159
|
+
.detail { padding: 24px var(--pad) 28px; overflow: auto; max-height: calc(100vh - 286px); }
|
|
160
|
+
.detail-path { margin: 0; font-family: var(--mono); font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
|
|
161
|
+
.detail-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
|
|
162
|
+
.chip { height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 5px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
|
|
163
|
+
.chip-accent { color: var(--accent-text); border-color: var(--accent); }
|
|
164
|
+
|
|
165
|
+
/* Theme switch */
|
|
166
|
+
.theme { display: inline-flex; padding: 2px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); }
|
|
167
|
+
.theme button { height: 24px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; font-family: var(--mono); font-size: 11px; color: var(--dim); }
|
|
168
|
+
.theme button:hover { color: var(--text); }
|
|
169
|
+
.theme button[aria-pressed="true"] { background: var(--raise); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
|
|
170
|
+
|
|
171
|
+
/* Explanations */
|
|
172
|
+
.stat-d { margin-top: 6px; font-size: 11.5px; color: var(--dim); }
|
|
173
|
+
.scope-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
|
|
174
|
+
.scope-title { font-weight: 600; font-size: 13px; }
|
|
175
|
+
.scope-help { font-size: 12px; color: var(--dim); }
|
|
176
|
+
.legend { display: flex; gap: 12px; margin-left: auto; }
|
|
177
|
+
.legend .m::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: currentColor; }
|
|
178
|
+
.command-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
|
|
179
|
+
.pane-sub { margin-left: 8px; font-weight: 400; font-size: 12px; color: var(--faint); }
|
|
180
|
+
.detail-actions { display: flex; gap: 6px; margin-top: 18px; }
|
|
181
|
+
.tabs { display: flex; gap: 22px; margin-top: 26px; border-bottom: 1px solid var(--line); }
|
|
182
|
+
.tab { position: relative; height: 34px; padding: 0; border: 0; background: none; color: var(--dim); font-size: 13px; font-weight: 500; }
|
|
183
|
+
.tab .count { margin-left: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
|
|
184
|
+
.tab:hover { color: var(--text); }
|
|
185
|
+
.tab[aria-selected="true"] { color: var(--text); }
|
|
186
|
+
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
|
|
187
|
+
.tab-panel { margin-top: 16px; }
|
|
188
|
+
.code { counter-reset: ln; margin: 0; padding: 14px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow: auto; max-height: 420px; }
|
|
189
|
+
.code-line { counter-increment: ln; display: grid; grid-template-columns: 44px 1fr; white-space: pre-wrap; word-break: break-word; padding-right: 16px; }
|
|
190
|
+
.code-line::before { content: counter(ln); padding-right: 14px; text-align: right; color: var(--faint); user-select: none; }
|
|
191
|
+
.code-line:hover { background: var(--raise); }
|
|
192
|
+
.t-key { color: var(--t-key); } .t-str { color: var(--t-str); } .t-num { color: var(--t-num); } .t-lit { color: var(--t-lit); } .t-punc { color: var(--faint); }
|
|
193
|
+
.headers { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
|
|
194
|
+
.header-row { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; gap: 16px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
|
|
195
|
+
.header-row:last-child { border-bottom: 0; }
|
|
196
|
+
.header-row .hk { color: var(--dim); }
|
|
197
|
+
.header-row .hv { overflow-wrap: anywhere; }
|
|
198
|
+
.header-row .hv.redacted { color: var(--danger); }
|
|
199
|
+
.note { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
|
|
200
|
+
|
|
201
|
+
/* Empty states */
|
|
202
|
+
.empty { padding: 36px var(--pad); color: var(--faint); font-family: var(--mono); font-size: 12px; }
|
|
203
|
+
.waiting { padding: 8px 0; }
|
|
204
|
+
.waiting-title { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
|
|
205
|
+
.waiting-title .cursor { display: inline-block; width: .5em; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--accent); animation: blink 1s steps(1) infinite; }
|
|
206
|
+
.waiting-text { margin: 14px 0 20px; color: var(--dim); max-width: 460px; line-height: 1.6; }
|
|
207
|
+
|
|
208
|
+
/* Footer */
|
|
209
|
+
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 10px var(--pad); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--faint); }
|
|
210
|
+
|
|
211
|
+
/* Toast */
|
|
212
|
+
.toast { position: fixed; left: 50%; bottom: 22px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--raise); box-shadow: 0 12px 40px var(--shadow); font-family: var(--mono); font-size: 12px; opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s, transform .3s cubic-bezier(.2,.8,.2,1); pointer-events: none; z-index: 10; }
|
|
213
|
+
.toast.show { opacity: 1; transform: translate(-50%, 0); }
|
|
214
|
+
|
|
215
|
+
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
|
|
216
|
+
@keyframes flash { from { background: rgba(198,255,61,.14); } }
|
|
217
|
+
@keyframes bump { 30% { color: var(--accent-text); } }
|
|
218
|
+
@keyframes blink { 50% { opacity: 0; } }
|
|
219
|
+
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
|
|
220
|
+
|
|
221
|
+
@media (max-width: 900px) {
|
|
222
|
+
/* Single column: let the page grow and scroll instead of squeezing panes into the window height. */
|
|
223
|
+
html, body { height: auto; }
|
|
224
|
+
.split { flex: none; }
|
|
225
|
+
.top-meta { display: none; }
|
|
226
|
+
.live { margin-left: auto; }
|
|
227
|
+
.legend { margin-left: 0; }
|
|
228
|
+
.command-label { display: none; }
|
|
229
|
+
.scope { grid-template-columns: 1fr; }
|
|
230
|
+
.stats { border-right: 0; border-bottom: 1px solid var(--line); }
|
|
231
|
+
.command { flex-wrap: wrap; }
|
|
232
|
+
.command-actions { flex-wrap: wrap; }
|
|
233
|
+
.command-text { flex-basis: calc(100% - 30px); }
|
|
234
|
+
.split { grid-template-columns: 1fr; }
|
|
235
|
+
.pane-list { border-right: 0; border-bottom: 1px solid var(--line); }
|
|
236
|
+
.mocks-hint { display: none; }
|
|
237
|
+
.mock-form { grid-template-columns: 1fr 1fr; }
|
|
238
|
+
.mock-row { grid-template-columns: 56px minmax(0, 1fr) 40px auto; }
|
|
239
|
+
.mock-row .num:nth-child(4), .mock-row .mock-id { display: none; }
|
|
240
|
+
.entries, .detail { max-height: none; }
|
|
241
|
+
.foot .keys { display: none; }
|
|
242
|
+
}
|
|
243
|
+
@media (max-width: 600px) {
|
|
244
|
+
.top { gap: 12px; }
|
|
245
|
+
.brand-tag, #live-label, .keys { display: none; }
|
|
246
|
+
.theme button { padding: 0 7px; }
|
|
247
|
+
.stats { grid-template-columns: 1fr 1fr; }
|
|
248
|
+
.stat { padding: 14px 16px 12px; }
|
|
249
|
+
.stat-d { font-size: 11px; }
|
|
250
|
+
.scope-help { flex-basis: 100%; }
|
|
251
|
+
.detail-meta .chip:nth-child(4) { display: none; }
|
|
252
|
+
}
|