|
67 | 67 | div.title { display: flex; flex-flow: row; font-weight: bold; font-size: 14px; line-height: 14px; padding: 6px 10px; }
|
68 | 68 | button.close-btn { background: transparent; border: none; color: #ccc; font-size: 18px; cursor: pointer; padding: 0 6px; user-select: none; }
|
69 | 69 | button.close-btn:hover { color: white; }
|
70 |
| - #panel { position: fixed; bottom: 0; right: 0; width: 400px; height: 80vh; max-height: 1000px; font-family: monospace; font-size: 12px; color: #fff; background: #1e1e1e; box-shadow: 0 0 10px rgba(0,0,0,0.5); border-top-left-radius: 6px; display: flex; flex-direction: column; z-index: 999999; transition: transform 0.2s ease-out, opacity 0.2s ease-out; overflow: hidden; } |
71 |
| - #resize-handle { position: absolute; left: 0; top: 0; width: 6px; height: 100%; cursor: ew-resize; z-index: 1000001; } |
| 70 | + #panel { position: fixed; bottom: 0; right: 0; width: 400px; height: 80vh; max-height: 1000px; font-family: monospace; font-size: 12px; color: #fff; background: #1e1e1e; box-shadow: 0 0 10px rgba(0,0,0,0.5); border-top-left-radius: 6px; display: flex; flex-direction: column; z-index: 9999998; transition: transform 0.2s ease-out, opacity 0.2s ease-out; overflow: hidden; } |
| 71 | + #resize-handle { position: absolute; left: 0; top: 0; width: 6px; height: 100%; cursor: ew-resize; z-index: 9999999; } |
72 | 72 | #resize-handle:hover { background: rgba(255, 255, 255, 0.1); }
|
73 | 73 | header { background: #111; padding: 6px 10px; display: flex; align-items: center; user-select: none; border-top-left-radius: 6px; color: #eee; }
|
74 | 74 | header > .tabs { display: flex; gap: 10px; flex-grow: 1; }
|
|
77 | 77 | header button.tab:hover:not(.active) { color: #fff; }
|
78 | 78 | div.container { display: none; flex-grow: 1; background: #1e1e1e; padding: 10px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; color: white; }
|
79 | 79 | div.container.active { display: block; }
|
80 |
| - #toggle-button { position: fixed; bottom: 10px; right: 10px; width: 32px; height: 32px; background: #333; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; z-index: 1000000; box-shadow: 0 0 5px rgba(0,0,0,0.3); transition: opacity 0.2s ease-out; display: none; } |
| 80 | + #toggle-button { position: fixed; bottom: 10px; right: 10px; width: 32px; height: 32px; background: #333; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; z-index: 9999998; box-shadow: 0 0 5px rgba(0,0,0,0.3); transition: opacity 0.2s ease-out; display: none; } |
81 | 81 | #toggle-button:hover svg path { fill: #ccc; }
|
82 | 82 | ::-webkit-scrollbar { width: 6px; }
|
83 | 83 | ::-webkit-scrollbar-thumb { background: #888; border-radius: 3px; }
|
|
168 | 168 | `;
|
169 | 169 | header.appendChild(indicator);
|
170 | 170 |
|
171 |
| - |
172 | 171 | const content = document.createElement('div');
|
173 | 172 | content.style.cssText = `
|
174 | 173 | max-height: 0;
|
|
0 commit comments