|
2 | 2 | position: absolute; |
3 | 3 | top: 48px; |
4 | 4 | right: 8px; |
5 | | - width: 320px; |
| 5 | + width: 360px; |
6 | 6 | max-height: calc(100% - 180px); |
7 | | - background: rgba(26, 26, 46, 0.9); |
| 7 | + background: rgba(26, 26, 46, 0.92); |
8 | 8 | border: 1px solid rgba(196, 163, 90, 0.4); |
9 | 9 | border-radius: 4px; |
10 | | - overflow-y: auto; |
| 10 | + overflow: hidden; |
| 11 | + display: flex; |
| 12 | + flex-direction: column; |
11 | 13 | z-index: 25; |
12 | 14 | font-family: 'Fira Code', monospace; |
13 | 15 | } |
14 | 16 |
|
15 | | -.detail-panel::-webkit-scrollbar { width: 6px; } |
16 | | -.detail-panel::-webkit-scrollbar-track { background: rgba(26, 26, 46, 0.5); } |
17 | | -.detail-panel::-webkit-scrollbar-thumb { background: rgba(196, 163, 90, 0.4); border-radius: 3px; } |
| 17 | +.detail-body { |
| 18 | + overflow-y: auto; |
| 19 | + min-height: 0; |
| 20 | + padding: 4px 0; |
| 21 | +} |
18 | 22 |
|
19 | | -.detail-header { padding: 10px 12px; border-bottom: 1px solid rgba(196, 163, 90, 0.3); } |
20 | | -.detail-name { font-family: 'Cinzel', serif; color: #C4A35A; font-size: 16px; font-weight: 700; } |
21 | | -.detail-class { font-size: 11px; color: #888; text-transform: capitalize; margin-top: 2px; } |
| 23 | +.detail-body::-webkit-scrollbar { width: 6px; } |
| 24 | +.detail-body::-webkit-scrollbar-track { background: rgba(26, 26, 46, 0.5); } |
| 25 | +.detail-body::-webkit-scrollbar-thumb { background: rgba(196, 163, 90, 0.4); border-radius: 3px; } |
| 26 | + |
| 27 | +/* --- Topbar (header) --- */ |
| 28 | +.detail-topbar { |
| 29 | + display: flex; |
| 30 | + align-items: center; |
| 31 | + gap: 12px; |
| 32 | + padding: 12px 14px; |
| 33 | + border-bottom: 1px solid rgba(196, 163, 90, 0.3); |
| 34 | + flex-shrink: 0; |
| 35 | +} |
22 | 36 |
|
23 | | -.detail-section { padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } |
24 | | -.detail-section-title { font-size: 10px; color: #C4A35A; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; } |
| 37 | +.detail-avatar-wrap { |
| 38 | + position: relative; |
| 39 | + flex-shrink: 0; |
| 40 | + width: 44px; |
| 41 | + height: 44px; |
| 42 | +} |
25 | 43 |
|
26 | | -.detail-row { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 3px; } |
27 | | -.detail-label { color: #888; } |
28 | | -.detail-value { color: #F5E6C8; } |
| 44 | +.detail-status-overlay { |
| 45 | + position: absolute; |
| 46 | + bottom: -2px; |
| 47 | + right: -2px; |
| 48 | + width: 14px; |
| 49 | + height: 14px; |
| 50 | + border-radius: 50%; |
| 51 | + border: 2px solid #1a1a2e; |
| 52 | + box-sizing: content-box; |
| 53 | +} |
| 54 | +.detail-status-overlay.active { background: #2E8B57; } |
| 55 | +.detail-status-overlay.idle { background: #C4A35A; } |
| 56 | +.detail-status-overlay.completed { background: #555; } |
| 57 | +.detail-status-overlay.error { background: #8B2500; } |
| 58 | +.detail-status-overlay.waiting { background: #FFD700; } |
29 | 59 |
|
30 | | -.detail-file-list { list-style: none; padding: 0; margin: 0; } |
31 | | -.detail-file-list li { font-size: 10px; color: #7B9EC4; padding: 1px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 60 | +.detail-topbar-body { |
| 61 | + flex: 1; |
| 62 | + min-width: 0; |
| 63 | + display: flex; |
| 64 | + flex-direction: column; |
| 65 | + gap: 4px; |
| 66 | +} |
| 67 | + |
| 68 | +.detail-name { |
| 69 | + font-family: 'Cinzel', serif; |
| 70 | + color: #C4A35A; |
| 71 | + font-size: 19px; |
| 72 | + font-weight: 700; |
| 73 | + line-height: 1.15; |
| 74 | + overflow: hidden; |
| 75 | + text-overflow: ellipsis; |
| 76 | + white-space: nowrap; |
| 77 | +} |
| 78 | + |
| 79 | +.detail-class { |
| 80 | + color: #aaa; |
| 81 | + text-transform: capitalize; |
| 82 | + font-size: 13px; |
| 83 | +} |
32 | 84 |
|
33 | 85 | .detail-close { |
34 | | - position: absolute; |
35 | | - top: 8px; |
36 | | - right: 8px; |
37 | 86 | background: none; |
38 | 87 | border: 1px solid rgba(196, 163, 90, 0.3); |
39 | 88 | color: #C4A35A; |
40 | 89 | cursor: pointer; |
41 | 90 | font-size: 14px; |
42 | | - width: 24px; |
43 | | - height: 24px; |
| 91 | + width: 26px; |
| 92 | + height: 26px; |
44 | 93 | display: flex; |
45 | 94 | align-items: center; |
46 | 95 | justify-content: center; |
47 | 96 | border-radius: 3px; |
| 97 | + flex-shrink: 0; |
| 98 | + padding: 0; |
48 | 99 | } |
49 | | - |
50 | 100 | .detail-close:hover { background: rgba(196, 163, 90, 0.2); } |
51 | 101 |
|
| 102 | +/* --- Sections --- */ |
| 103 | +.detail-section { |
| 104 | + padding: 12px 16px; |
| 105 | + border-bottom: 1px solid rgba(255, 255, 255, 0.06); |
| 106 | +} |
| 107 | +.detail-section:last-child { border-bottom: none; } |
| 108 | + |
| 109 | +.detail-section-title { |
| 110 | + font-family: 'Cinzel', serif; |
| 111 | + font-size: 12px; |
| 112 | + color: #C4A35A; |
| 113 | + text-transform: uppercase; |
| 114 | + letter-spacing: 1.2px; |
| 115 | + margin-bottom: 8px; |
| 116 | + font-weight: 700; |
| 117 | +} |
| 118 | + |
| 119 | +.detail-row { |
| 120 | + display: flex; |
| 121 | + justify-content: space-between; |
| 122 | + align-items: baseline; |
| 123 | + gap: 10px; |
| 124 | + font-size: 14px; |
| 125 | + line-height: 1.5; |
| 126 | + margin-bottom: 4px; |
| 127 | +} |
| 128 | +.detail-row:last-child { margin-bottom: 0; } |
| 129 | + |
| 130 | +.detail-label { color: #9a9a9a; } |
| 131 | +.detail-value { color: #F5E6C8; } |
| 132 | +.detail-value--num { font-variant-numeric: tabular-nums; } |
| 133 | +.detail-value-suffix { |
| 134 | + color: #9a9a9a; |
| 135 | + font-size: 12px; |
| 136 | + margin-left: 8px; |
| 137 | +} |
| 138 | + |
| 139 | +.detail-value--path { |
| 140 | + display: block; |
| 141 | + font-size: 13px; |
| 142 | + line-height: 1.55; |
| 143 | + color: #F5E6C8; |
| 144 | + word-break: break-all; |
| 145 | +} |
| 146 | + |
| 147 | +.detail-path-link { |
| 148 | + color: #9ec4f5; |
| 149 | + text-decoration: none; |
| 150 | +} |
| 151 | +.detail-path-link:hover { text-decoration: underline; } |
| 152 | + |
| 153 | +/* --- File list --- */ |
| 154 | +.detail-file-list { list-style: none; padding: 0; margin: 0; } |
| 155 | +.detail-file-list li { |
| 156 | + font-size: 13px; |
| 157 | + line-height: 1.55; |
| 158 | + padding: 2px 0; |
| 159 | + overflow: hidden; |
| 160 | + text-overflow: ellipsis; |
| 161 | + white-space: nowrap; |
| 162 | +} |
| 163 | +.detail-file-list li .detail-path-link { display: inline; } |
| 164 | +.detail-file-list li > span { color: #7B9EC4; } |
| 165 | + |
| 166 | +/* --- Errors --- */ |
| 167 | +.detail-section--errors { |
| 168 | + background: rgba(139, 37, 0, 0.12); |
| 169 | + border-left: 3px solid #8B2500; |
| 170 | +} |
| 171 | +.detail-value--error { |
| 172 | + font-size: 13px; |
| 173 | + line-height: 1.55; |
| 174 | + color: #ffaaaa; |
| 175 | + word-break: break-word; |
| 176 | + margin-bottom: 6px; |
| 177 | +} |
| 178 | +.detail-value--error:last-child { margin-bottom: 0; } |
| 179 | + |
| 180 | +/* --- Last message markdown --- */ |
52 | 181 | .detail-last-message { |
53 | | - font-size: 11px; |
54 | | - line-height: 1.6; |
| 182 | + font-size: 13px; |
| 183 | + line-height: 1.65; |
55 | 184 | color: #F5E6C8; |
56 | 185 | word-break: break-word; |
57 | 186 | } |
58 | | -.detail-last-message p { margin: 0 0 6px; } |
| 187 | +.detail-last-message p { margin: 0 0 8px; } |
59 | 188 | .detail-last-message p:last-child { margin-bottom: 0; } |
60 | 189 | .detail-last-message h1, .detail-last-message h2, .detail-last-message h3 { |
61 | 190 | font-family: 'Cinzel', serif; |
62 | 191 | color: #C4A35A; |
63 | | - font-size: 12px; |
64 | | - margin: 6px 0 3px; |
| 192 | + font-size: 13px; |
| 193 | + margin: 8px 0 4px; |
65 | 194 | } |
66 | 195 | .detail-last-message code { |
67 | 196 | background: rgba(196, 163, 90, 0.15); |
68 | 197 | border: 1px solid rgba(196, 163, 90, 0.25); |
69 | 198 | border-radius: 3px; |
70 | | - padding: 1px 4px; |
| 199 | + padding: 1px 5px; |
71 | 200 | font-family: 'Fira Code', monospace; |
72 | | - font-size: 10px; |
| 201 | + font-size: 12px; |
73 | 202 | color: #7BD4C5; |
74 | 203 | } |
75 | 204 | .detail-last-message pre { |
76 | 205 | background: rgba(0, 0, 0, 0.4); |
77 | 206 | border: 1px solid rgba(196, 163, 90, 0.2); |
78 | 207 | border-radius: 3px; |
79 | | - padding: 6px 8px; |
| 208 | + padding: 8px 10px; |
80 | 209 | overflow-x: auto; |
81 | | - margin: 4px 0; |
| 210 | + margin: 6px 0; |
82 | 211 | } |
83 | 212 | .detail-last-message pre code { |
84 | 213 | background: none; |
85 | 214 | border: none; |
86 | 215 | padding: 0; |
87 | | - font-size: 10px; |
| 216 | + font-size: 12px; |
88 | 217 | color: #7BD4C5; |
89 | 218 | } |
90 | 219 | .detail-last-message strong { color: #F5E6C8; font-weight: 700; } |
91 | 220 | .detail-last-message em { color: #C4A35A; font-style: italic; } |
92 | 221 | .detail-last-message ul, .detail-last-message ol { |
93 | | - padding-left: 16px; |
94 | | - margin: 4px 0; |
| 222 | + padding-left: 18px; |
| 223 | + margin: 6px 0; |
95 | 224 | } |
96 | | -.detail-last-message li { margin-bottom: 2px; } |
97 | | -.detail-last-message a { color: #7B9EC4; text-decoration: none; } |
| 225 | +.detail-last-message li { margin-bottom: 3px; } |
| 226 | +.detail-last-message a { color: #9ec4f5; text-decoration: none; } |
98 | 227 | .detail-last-message a:hover { text-decoration: underline; } |
0 commit comments