backtrace-console 0.0.1 → 0.0.3

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.
@@ -1,186 +0,0 @@
1
- :root {
2
- --panel: rgba(255, 252, 248, 0.86);
3
- --ink: #1f2430;
4
- --muted: #6d7482;
5
- --line: rgba(31, 36, 48, 0.1);
6
- --accent: #bb5a2c;
7
- --accent-strong: #8f3a14;
8
- --accent-soft: rgba(187, 90, 44, 0.12);
9
- --shadow: 0 24px 70px rgba(35, 31, 24, 0.14);
10
- }
11
-
12
- * { box-sizing: border-box; }
13
- html, body { margin: 0; min-height: 100%; }
14
- body {
15
- font-family: "Noto Sans SC", sans-serif;
16
- color: var(--ink);
17
- background: radial-gradient(circle at top left, rgba(255,255,255,0.9), transparent 24%), radial-gradient(circle at bottom right, rgba(187,90,44,0.15), transparent 22%), linear-gradient(135deg, #efe3d2 0%, #f6f1ea 48%, #e7ddd2 100%);
18
- }
19
- body::before {
20
- content: "";
21
- position: fixed;
22
- inset: 0;
23
- pointer-events: none;
24
- background-image: linear-gradient(rgba(31, 36, 48, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 36, 48, 0.03) 1px, transparent 1px);
25
- background-size: 24px 24px;
26
- mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent);
27
- }
28
- code, pre { font-family: Consolas, Monaco, monospace; }
29
- .app-shell { width: min(1480px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 28px; }
30
- .topbar {
31
- display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; padding: 28px 30px;
32
- border: 1px solid rgba(255,255,255,0.42); border-radius: 30px; background: linear-gradient(145deg, rgba(18, 28, 43, 0.94), rgba(44, 61, 81, 0.9)); color: #fbf3ea; box-shadow: var(--shadow);
33
- }
34
- .eyebrow, .panel-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.72; }
35
- .topbar h1, .panel-head h2, .status-chip strong, .tab-button { font-family: "Space Grotesk", sans-serif; }
36
- .topbar h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 0.94; }
37
- .subcopy { margin: 16px 0 0; max-width: 72ch; line-height: 1.7; color: rgba(251, 243, 234, 0.78); }
38
- .toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
39
- .toolbar-field {
40
- display: flex;
41
- flex-direction: column;
42
- gap: 6px;
43
- min-width: 220px;
44
- color: rgba(251, 243, 234, 0.82);
45
- }
46
- .toolbar-field span {
47
- font-size: 12px;
48
- letter-spacing: 0.12em;
49
- text-transform: uppercase;
50
- }
51
- .toolbar-input {
52
- width: 100%;
53
- min-height: 42px;
54
- padding: 10px 14px;
55
- border: 1px solid rgba(255,255,255,0.18);
56
- border-radius: 14px;
57
- background: rgba(255,255,255,0.08);
58
- color: #fbf3ea;
59
- font: inherit;
60
- }
61
- .toolbar-input::placeholder {
62
- color: rgba(251, 243, 234, 0.5);
63
- }
64
- .toolbar-input:disabled {
65
- opacity: 0.6;
66
- cursor: not-allowed;
67
- }
68
- .action-button {
69
- appearance: none; border: none; border-radius: 999px; padding: 13px 20px; font: inherit; font-weight: 700; color: #fff8f2;
70
- background: linear-gradient(135deg, var(--accent), var(--accent-strong)); cursor: pointer; box-shadow: 0 14px 30px rgba(143, 58, 20, 0.24);
71
- }
72
- .secondary-action { padding: 11px 16px; background: rgba(31, 36, 48, 0.08); color: var(--ink); box-shadow: none; }
73
- .secondary-action:disabled { opacity: 0.45; cursor: not-allowed; }
74
- .status-chip { display: flex; flex-direction: column; gap: 4px; min-width: 160px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,0.12); }
75
- .status-chip span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.72; }
76
- #statusText[data-mode="success"] { color: #90ffd5; }
77
- #statusText[data-mode="error"] { color: #ffb3b3; }
78
- #statusText[data-mode="loading"] { color: #ffd89c; }
79
- .browser-layout { display: grid; grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); gap: 18px; min-height: calc(100vh - 170px); }
80
- .panel-surface { border: 1px solid rgba(255,255,255,0.48); border-radius: 28px; background: var(--panel); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
81
- .browser-sidebar { padding: 18px 16px; overflow: hidden; display: flex; flex-direction: column; }
82
- .browser-main { padding: 18px; display: flex; flex-direction: column; min-width: 0; gap: 16px; }
83
- .panel-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
84
- .panel-head h2 { margin: 0; font-size: 28px; }
85
- .sticky-head, .viewer-head, .file-panel-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
86
- .tree-root { margin-top: 16px; padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.56); overflow: auto; max-height: calc(100vh - 290px); }
87
- .dir-items, .file-items { display: grid; gap: 10px; }
88
- .tree-directory-button, .log-directory-button, .file-row {
89
- width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid transparent; border-radius: 16px;
90
- background: rgba(255,255,255,0.62); text-align: left; font: inherit; color: var(--ink); cursor: pointer;
91
- }
92
- .tree-directory-button:hover, .tree-directory-button.is-active, .log-directory-button:hover, .log-directory-button.is-active, .file-row:hover, .file-row.is-active {
93
- border-color: rgba(187, 90, 44, 0.18); background: rgba(187, 90, 44, 0.08);
94
- }
95
- .node-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
96
- .node-badge.dir { background: rgba(31, 36, 48, 0.08); color: var(--muted); }
97
- .node-badge.file { background: var(--accent-soft); color: var(--accent-strong); }
98
- .file-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
99
- .file-row-main strong, .file-row-main small { overflow: hidden; text-overflow: ellipsis; }
100
- .file-row-main small { color: var(--muted); }
101
- .empty-tree { padding: 14px; color: var(--muted); }
102
- .viewer-side-actions { display: flex; align-items: center; gap: 12px; }
103
- .viewer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--muted); text-align: right; }
104
- .viewer-meta code { max-width: 460px; word-break: break-all; padding: 8px 10px; border-radius: 12px; background: rgba(31, 36, 48, 0.06); color: var(--ink); }
105
- .tabs-shell { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.56); overflow: hidden; }
106
- .tabs-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.5); }
107
- .tabs-nav { display: flex; gap: 8px; }
108
- .tab-button { appearance: none; border: none; border-radius: 999px; padding: 10px 16px; background: transparent; color: var(--muted); cursor: pointer; }
109
- .tab-button.is-active { background: rgba(187, 90, 44, 0.12); color: var(--accent-strong); }
110
- .tab-panel { display: none; padding: 14px; }
111
- .tab-panel.is-active { display: block; }
112
- .logs-split { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 14px; }
113
- .subpanel { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.52); overflow: hidden; }
114
- .subpanel-head { padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--muted); }
115
- .list-box { height: 320px; padding: 12px; overflow: auto; }
116
- .report-panel .list-box { height: 320px; }
117
- .viewer-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; }
118
- .file-viewer {
119
- flex: 0 0 420px;
120
- height: 420px;
121
- min-height: 420px;
122
- margin: 0;
123
- padding: 22px;
124
- overflow: auto;
125
- border-radius: 22px;
126
- border: 1px solid rgba(18, 28, 43, 0.08);
127
- background: linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(28, 39, 56, 0.96));
128
- color: #dbe8ff;
129
- white-space: pre-wrap;
130
- word-break: break-word;
131
- line-height: 1.62;
132
- }
133
- @media (max-width: 1100px) {
134
- .browser-layout { grid-template-columns: 1fr; }
135
- .tree-root { max-height: 28vh; }
136
- .logs-split { grid-template-columns: 1fr; }
137
- }
138
- @media (max-width: 720px) {
139
- .app-shell { width: min(100% - 18px, 1480px); padding-top: 12px; }
140
- .topbar { padding: 20px; border-radius: 24px; flex-direction: column; }
141
- .toolbar, .viewer-meta, .viewer-side-actions, .tabs-header { width: 100%; align-items: stretch; text-align: left; }
142
- .viewer-side-actions, .tabs-header { flex-direction: column; }
143
- .browser-main, .browser-sidebar { padding: 14px; }
144
- .file-viewer { padding: 16px; }
145
- }
146
-
147
-
148
- #reportStatus {
149
- color: var(--accent-strong);
150
- font-family: "Space Grotesk", sans-serif;
151
- }
152
-
153
- .inner-panel {
154
- padding: 18px;
155
- }
156
-
157
- .fix-viewer {
158
- flex: 0 0 320px;
159
- height: 320px;
160
- min-height: 320px;
161
- }
162
-
163
- .status-tag {
164
- display: inline-flex;
165
- align-items: center;
166
- justify-content: center;
167
- width: fit-content;
168
- min-height: 22px;
169
- padding: 0 10px;
170
- border-radius: 999px;
171
- font-size: 12px;
172
- font-weight: 700;
173
- letter-spacing: 0.02em;
174
- }
175
- .status-tag.empty {
176
- background: rgba(120, 128, 145, 0.14);
177
- color: #5f6878;
178
- }
179
- .status-tag.pending {
180
- background: rgba(222, 144, 32, 0.16);
181
- color: #9c5d00;
182
- }
183
- .status-tag.done {
184
- background: rgba(42, 148, 92, 0.16);
185
- color: #1f7a4d;
186
- }