triflix commited on
Commit
ffc33c7
·
verified ·
1 Parent(s): 114fd40

Create static/css/styles.css

Browse files
Files changed (1) hide show
  1. static/css/styles.css +60 -0
static/css/styles.css ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root{
2
+ --bg: #ffffff;
3
+ --card: #fbfbfb;
4
+ --text: #0b0b0b;
5
+ --muted: #6b6b6b;
6
+ --border: #e6e6e6;
7
+ --accent: #0a0a0a;
8
+ --primary-size: 56px;
9
+ --gap: 16px;
10
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
11
+ }
12
+
13
+ body.theme-dark {
14
+ --bg: #000000;
15
+ --card: #0a0a0a;
16
+ --text: #efefef;
17
+ --muted: #bfbfbf;
18
+ --border: #1a1a1a;
19
+ --accent: #ffffff;
20
+ }
21
+
22
+ *{box-sizing:border-box}
23
+ html,body{margin:0;height:100%;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
24
+ .app{display:flex;flex-direction:column;min-height:100vh;padding-bottom:calc(var(--primary-size) + 20px)}
25
+ .topbar{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--border);background:transparent}
26
+ .brand{font-family:DOTO, Inter, sans-serif;font-weight:700;font-size:22px}
27
+ .icon-btn{background:none;border:0;color:var(--muted);font-size:16px;padding:8px;border-radius:8px}
28
+ .main{padding:18px}
29
+ .upload-card{background:var(--card);border-radius:16px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:12px;min-height:42vh}
30
+ .placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;cursor:pointer}
31
+ .placeholder-gif{max-width:220px;width:48%;border-radius:10px}
32
+ .placeholder-text{text-align:center;color:var(--muted)}
33
+ .file-input{position:absolute;opacity:0;pointer-events:none}
34
+ .preview{width:100%;display:flex;gap:12px}
35
+ .preview-thumb{width:88px;height:88px;background:#eee;border-radius:12px;background-size:cover;background-position:center}
36
+ .preview-right{flex:1;display:flex;flex-direction:column;gap:6px}
37
+ .filename{font-weight:700}
38
+ .filesize{color:var(--muted);font-size:13px}
39
+ .progress-wrap{margin-top:auto}
40
+ progress{width:100%;height:8px;border-radius:8px}
41
+ .progress-text{font-size:12px;color:var(--muted);margin-top:6px}
42
+ .history{margin-top:18px}
43
+ .history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
44
+ .history-list{display:flex;flex-direction:row;gap:8px;overflow:auto;padding-bottom:8px}
45
+ .history-item{min-width:160px;padding:10px;background:var(--card);border-radius:12px;border:1px solid var(--border);display:flex;gap:8px;align-items:center}
46
+ .history-thumb{width:44px;height:44px;border-radius:8px;background:#ddd}
47
+ .history-meta{flex:1;display:flex;flex-direction:column}
48
+ .link-btn{background:none;border:0;color:var(--accent);cursor:pointer}
49
+ .sticky-footer{position:fixed;left:0;right:0;bottom:0;padding:10px 16px;background:linear-gradient(0deg, rgba(0,0,0,0.04), transparent);display:flex;justify-content:space-between;align-items:center;gap:8px}
50
+ .big-btn{height:56px;padding:0 18px;border-radius:16px;border:0;background:var(--accent);color:var(--bg);font-weight:700}
51
+ .small-btn{height:48px;padding:0 12px;border-radius:12px;border:1px solid var(--border);background:var(--card)}
52
+ .modal{position:fixed;inset:0;background:rgba(0,0,0,0.45);display:flex;align-items:center;justify-content:center}
53
+ .modal-card{width:92%;max-width:420px;background:var(--card);border-radius:12px;padding:16px}
54
+ .modal-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
55
+ .curl pre{background:#111;padding:12px;color:#fff;border-radius:8px;overflow:auto}
56
+ .dev .muted{color:var(--muted);font-size:12px}
57
+ @media (prefers-color-scheme: dark){
58
+ body:not(.theme-dark){ /* keep user's explicit theme under control; default is light in CSS */
59
+ }
60
+ }