|
1 | 1 | :root { |
2 | | - --bg: #0a0a0a; |
3 | | - --panel: #111111; |
| 2 | + --bg: #0d1117; |
| 3 | + --panel: #161b22; |
4 | 4 | --accent: #ff3e3e; |
5 | | - --text: #ffffff; |
6 | | - --subtext: #666666; |
7 | | - --border: #222222; |
8 | | - --success: #00ff88; |
| 5 | + --text: #c9d1d9; |
| 6 | + --subtext: #8b949e; |
| 7 | + --border: #30363d; |
| 8 | + --success: #238636; |
9 | 9 | } |
10 | 10 |
|
11 | 11 | body { |
12 | | - background: var(--bg); |
13 | | - color: var(--text); |
14 | | - font-family: 'Segoe UI', Tahoma, sans-serif; |
15 | | - margin: 0; |
16 | | - display: flex; |
17 | | - height: 100vh; |
18 | | - overflow: hidden; |
| 12 | + background: var(--bg); color: var(--text); |
| 13 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; |
| 14 | + margin: 0; display: flex; height: 100vh; overflow: hidden; |
19 | 15 | } |
20 | 16 |
|
21 | | -#sidebar { |
22 | | - width: 280px; |
23 | | - background: var(--panel); |
24 | | - border-right: 1px solid var(--border); |
25 | | - display: flex; |
26 | | - flex-direction: column; |
27 | | - padding: 30px; |
| 17 | +/* GitHub Loader */ |
| 18 | +#loader { |
| 19 | + position: fixed; top:0; left:0; width:100%; height:100%; |
| 20 | + background: #0d1117; z-index: 9999; display: flex; |
| 21 | + flex-direction: column; align-items: center; justify-content: center; |
| 22 | + transition: opacity 0.5s ease; |
28 | 23 | } |
29 | | - |
30 | | -#sidebar-scroll { flex-grow: 1; overflow-y: auto; margin: 20px 0; padding-right: 5px; } |
31 | | -#sidebar-scroll::-webkit-scrollbar { width: 4px; } |
32 | | -#sidebar-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; } |
33 | | - |
34 | | -.brand h2 { margin: 0; font-size: 32px; color: var(--accent); letter-spacing: -1px; } |
35 | | -.verified { color: var(--success); font-size: 11px; font-weight: 800; margin-top: 5px; } |
36 | | - |
37 | | -.nav-item { padding: 12px; color: var(--subtext); cursor: pointer; border-radius: 6px; margin-bottom: 8px; font-size: 14px; } |
38 | | -.active-nav { background: #1a1a1a; color: var(--text); border-left: 3px solid var(--accent); } |
39 | | - |
40 | | -.shame-section { margin-top: 30px; background: rgba(255, 62, 62, 0.05); padding: 10px; border-radius: 8px; border: 1px dashed #331111; } |
41 | | -.shame-section h4 { font-size: 10px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; } |
42 | | -.shame-entry { font-size: 11px; color: #888; line-height: 1.4; } |
43 | | -.shame-entry b { color: var(--text); display: block; } |
44 | | - |
45 | | -.logs-container { margin-top: 30px; } |
46 | | -.log-entry { font-size: 11px; color: var(--subtext); margin-bottom: 20px; padding-left: 12px; border-left: 1px solid var(--accent); } |
47 | | - |
48 | | -.status-box { background: #000; padding: 15px; border-radius: 8px; border: 1px solid var(--border); } |
49 | | -.status-val { font-weight: bold; color: var(--accent); font-size: 12px; } |
50 | | - |
51 | | -#content { flex: 1; padding: 60px; overflow-y: auto; display: flex; flex-direction: column; } |
52 | | -header h1 { margin: 0; font-size: 38px; } |
53 | | -header p { color: var(--subtext); margin-bottom: 40px; } |
54 | | - |
55 | | -textarea { |
56 | | - width: 100%; height: 280px; background: #050505; border: 1px solid var(--border); |
57 | | - color: var(--success); padding: 20px; border-radius: 8px; font-family: 'Consolas', monospace; |
58 | | - margin-bottom: 20px; box-sizing: border-box; outline: none; resize: none; |
59 | | -} |
60 | | - |
61 | | -.controls { display: flex; gap: 15px; margin-bottom: 25px; } |
62 | | -button { background: var(--accent); color: white; border: none; padding: 15px 35px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; } |
63 | | -button:hover { filter: brightness(1.2); transform: translateY(-1px); } |
64 | | -.secondary { background: #222; } |
65 | | -button:disabled { opacity: 0.3; } |
66 | | - |
67 | | -#history { font-size: 12px; color: #333; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); } |
| 24 | +.loading-bar { width: 200px; height: 3px; background: #30363d; margin-top: 20px; border-radius: 10px; overflow: hidden; } |
| 25 | +.progress { height: 100%; width: 0; background: var(--accent); animation: load 1.5s forwards ease-in-out; } |
| 26 | +@keyframes load { to { width: 100%; } } |
| 27 | + |
| 28 | +/* Sidebar */ |
| 29 | +#sidebar { width: 280px; background: var(--panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 25px; } |
| 30 | +.brand h2 { margin: 0; font-size: 24px; color: #f0f6fc; } |
| 31 | +.verified { color: var(--success); font-size: 11px; font-weight: bold; margin-top: 5px; } |
| 32 | + |
| 33 | +#sidebar-scroll { flex-grow: 1; overflow-y: auto; margin-top: 20px; } |
| 34 | +.shame-section { margin-top: 20px; padding: 12px; background: #00000044; border: 1px solid var(--border); border-radius: 6px; } |
| 35 | +.shame-section h4 { font-size: 10px; color: var(--accent); margin: 0 0 10px 0; } |
| 36 | +.shame-entry { font-size: 11px; line-height: 1.4; color: var(--subtext); } |
| 37 | + |
| 38 | +/* Main Area */ |
| 39 | +#content { flex: 1; display: flex; flex-direction: column; } |
| 40 | +header { padding: 20px 40px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: #161b22; } |
| 41 | +.script-title-input { background: transparent; border: 1px solid transparent; color: white; font-size: 18px; font-weight: bold; width: 300px; outline: none; } |
| 42 | +.script-title-input:focus { border-bottom: 1px solid var(--accent); } |
| 43 | + |
| 44 | +.dual-pane { flex: 1; display: flex; padding: 0; gap: 0; } |
| 45 | +.pane { flex: 1; display: flex; flex-direction: column; border-right: 1px solid var(--border); } |
| 46 | +.pane label { background: #0d1117; padding: 10px 20px; font-size: 11px; font-weight: bold; color: var(--subtext); border-bottom: 1px solid var(--border); } |
| 47 | +textarea { flex: 1; background: transparent; border: none; color: #79c0ff; padding: 20px; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 13px; resize: none; outline: none; } |
| 48 | +#output { color: #d2a8ff; background: #090c10; } |
| 49 | + |
| 50 | +.controls { display: flex; gap: 10px; } |
| 51 | +button { background: var(--success); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-weight: 600; cursor: pointer; } |
| 52 | +.secondary { background: #21262d; border: 1px solid var(--border); } |
| 53 | +button:hover { filter: brightness(1.1); } |
0 commit comments