stat2025 commited on
Commit
23ca33f
·
verified ·
1 Parent(s): 7ea4204

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +224 -92
style.css CHANGED
@@ -1,13 +1,14 @@
1
  :root {
2
- --bg-dark: #020817;
3
- --accent: #2563eb;
4
- --accent-soft: rgba(37, 99, 235, 0.16);
 
5
  --card-bg: #ffffff;
6
  --text-main: #111827;
7
  --text-muted: #6b7280;
8
  --radius-xl: 22px;
9
  --radius-md: 14px;
10
- --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.25);
11
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
12
  --transition: 0.18s ease;
13
  }
@@ -22,96 +23,94 @@ body {
22
  margin: 0;
23
  font-family: var(--font);
24
  background:
25
- radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 60%),
26
- radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 55%),
27
- var(--bg-dark);
28
  color: var(--text-main);
29
  }
30
 
31
  .page {
32
  min-height: 100vh;
33
- max-width: 1120px;
34
  margin: 0 auto;
35
- padding: 26px 18px 20px;
36
  display: flex;
37
  flex-direction: column;
38
  gap: 18px;
39
  }
40
 
41
- /* شريط علوي */
42
 
43
  .topbar {
44
  display: flex;
45
  align-items: center;
46
  justify-content: space-between;
47
- gap: 16px;
48
  padding: 12px 18px;
49
- background: rgba(7, 11, 23, 0.98);
50
- border-radius: 999px;
51
- backdrop-filter: blur(16px);
52
- -webkit-backdrop-filter: blur(16px);
53
- color: #e5e7eb;
54
- box-shadow: 0 14px 34px rgba(15, 23, 42, 0.75);
55
  }
56
 
57
- .brand {
58
  display: flex;
59
  align-items: center;
60
- gap: 9px;
61
  }
62
 
63
- .logo-circle {
64
- width: 30px;
65
- height: 30px;
66
- border-radius: 999px;
67
- background: linear-gradient(135deg, #2563eb, #38bdf8);
68
  display: flex;
69
  align-items: center;
70
  justify-content: center;
 
 
 
 
71
  color: #ffffff;
72
  font-weight: 700;
73
- font-size: 18px;
 
74
  }
75
 
76
  .brand-text {
77
  display: flex;
78
  flex-direction: column;
79
- line-height: 1.2;
80
  }
81
 
82
  .brand-title {
83
- font-size: 14px;
84
  font-weight: 600;
 
85
  }
86
 
87
  .brand-sub {
88
- font-size: 10px;
89
- color: #9ca3af;
90
  }
91
 
92
- .nav {
93
  display: flex;
94
- gap: 8px;
95
- font-size: 10px;
96
  }
97
 
98
- .nav-link {
99
- padding: 5px 10px;
 
 
100
  border-radius: 999px;
101
- color: #9ca3af;
102
- transition: all var(--transition);
103
  }
104
 
105
- .nav-link.active {
106
- background: rgba(37, 99, 235, 0.32);
107
- color: #eff6ff;
108
- }
109
 
110
- .nav-link.muted {
111
- opacity: 0.7;
112
  }
113
 
114
- /* المحتوى */
115
 
116
  .main {
117
  display: flex;
@@ -119,33 +118,35 @@ body {
119
  gap: 12px;
120
  }
121
 
 
 
122
  .hero {
123
- background:
124
- radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent),
125
- rgba(7, 11, 23, 0.98);
126
  padding: 18px 18px 14px;
127
  border-radius: var(--radius-xl);
128
- color: #e5e7eb;
129
  box-shadow: var(--shadow-soft);
 
130
  }
131
 
132
  .hero h1 {
133
  margin: 0 0 6px;
134
- font-size: 21px;
135
  font-weight: 600;
 
136
  }
137
 
138
  .hero p {
139
  margin: 0;
140
- font-size: 12px;
141
- color: #9ca3af;
142
  }
143
 
144
  /* خطوات */
145
 
146
  .steps {
147
  display: grid;
148
- grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
149
  gap: 8px;
150
  }
151
 
@@ -155,35 +156,35 @@ body {
155
  gap: 8px;
156
  padding: 8px 10px;
157
  border-radius: 16px;
158
- background: rgba(7, 11, 23, 0.98);
159
- border: 1px solid rgba(148, 163, 253, 0.18);
160
- color: #e5e7eb;
161
  }
162
 
163
  .step-number {
164
  width: 20px;
165
  height: 20px;
166
  border-radius: 999px;
167
- background: #2563eb;
 
168
  display: flex;
169
  align-items: center;
170
  justify-content: center;
171
  font-size: 11px;
172
  font-weight: 600;
173
- color: #fff;
174
  }
175
 
176
  .step-text {
177
- font-size: 10px;
178
- color: #cbd5f5;
179
  }
180
 
181
- /* الكرت الرئيسي */
182
 
183
  .card {
184
  background: var(--card-bg);
185
  border-radius: var(--radius-xl);
186
- padding: 16px 14px 14px;
187
  box-shadow: var(--shadow-soft);
188
  border: 1px solid rgba(226, 232, 240, 0.98);
189
  }
@@ -191,67 +192,62 @@ body {
191
  .main-card {
192
  display: flex;
193
  flex-direction: column;
194
- gap: 8px;
195
  }
196
 
197
  .card-row {
198
  display: flex;
199
  flex-direction: column;
200
- gap: 5px;
201
  }
202
 
203
  .card-row.inline {
204
  flex-direction: row;
205
  align-items: center;
206
  gap: 10px;
207
- margin-top: 2px;
208
  }
209
 
210
  .card-title {
211
- margin: 0;
212
- font-size: 13px;
213
  font-weight: 600;
214
- color: var(--text-main);
215
- }
216
-
217
- .card-title.small {
218
- font-size: 11px;
219
  }
220
 
221
  .hint {
222
  margin: 0;
223
- font-size: 10px;
224
  color: var(--text-muted);
225
  }
226
 
227
- /* زر اختيار الملفات */
228
 
229
  .file-picker {
230
- margin-top: 6px;
231
  display: inline-flex;
232
  align-items: center;
233
- justify-content: center;
234
  padding: 9px 14px;
235
  border-radius: 999px;
236
- border: 1px solid #e5e7eb;
237
- background: #f9fafb;
238
- font-size: 11px;
239
- color: var(--text-main);
240
  cursor: pointer;
241
- gap: 8px;
242
  transition: all var(--transition);
243
  }
244
 
245
  .file-picker:hover {
246
- background: #eef2ff;
247
- border-color: var(--accent);
248
- box-shadow: 0 8px 22px rgba(148, 163, 253, 0.35);
249
- color: #111827;
250
  }
251
 
252
- .file-picker-label::before {
253
- content: "📂";
254
- margin-left: 4px;
 
 
 
 
255
  }
256
 
257
  .file-picker input {
@@ -264,8 +260,8 @@ body {
264
  margin-top: 4px;
265
  padding: 8px 8px;
266
  border-radius: 14px;
267
- background: #f9fafb;
268
- border: 1px solid #e5e7eb;
269
  max-height: 170px;
270
  overflow-y: auto;
271
  transition: box-shadow var(--transition);
@@ -276,15 +272,15 @@ body {
276
  }
277
 
278
  .file-list:hover {
279
- box-shadow: inset 0 0 10px rgba(148, 163, 253, 0.14);
280
  }
281
 
282
  .file-list-header {
283
  display: flex;
284
  justify-content: space-between;
285
  align-items: baseline;
286
- font-size: 10px;
287
- color: var(--text-main);
288
  margin-bottom: 4px;
289
  }
290
 
@@ -307,4 +303,140 @@ body {
307
  grid-template-columns: 18px minmax(0, 1fr) auto;
308
  align-items: center;
309
  gap: 6px;
310
- padding
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  :root {
2
+ --bg: #f3f6fb;
3
+ --primary: #2563eb;
4
+ --primary-soft: rgba(37, 99, 235, 0.08);
5
+ --primary-soft2: rgba(37, 99, 235, 0.16);
6
  --card-bg: #ffffff;
7
  --text-main: #111827;
8
  --text-muted: #6b7280;
9
  --radius-xl: 22px;
10
  --radius-md: 14px;
11
+ --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.09);
12
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
13
  --transition: 0.18s ease;
14
  }
 
23
  margin: 0;
24
  font-family: var(--font);
25
  background:
26
+ radial-gradient(circle at top left, rgba(37, 99, 235, 0.15), transparent 55%),
27
+ radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 60%),
28
+ var(--bg);
29
  color: var(--text-main);
30
  }
31
 
32
  .page {
33
  min-height: 100vh;
34
+ max-width: 980px;
35
  margin: 0 auto;
36
+ padding: 26px 18px 26px;
37
  display: flex;
38
  flex-direction: column;
39
  gap: 18px;
40
  }
41
 
42
+ /* الهيدر */
43
 
44
  .topbar {
45
  display: flex;
46
  align-items: center;
47
  justify-content: space-between;
48
+ gap: 14px;
49
  padding: 12px 18px;
50
+ background: rgba(255, 255, 255, 0.98);
51
+ border-radius: 18px;
52
+ box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
53
+ border: 1px solid rgba(226, 232, 240, 0.9);
 
 
54
  }
55
 
56
+ .top-left {
57
  display: flex;
58
  align-items: center;
59
+ gap: 10px;
60
  }
61
 
62
+ .logo-mark {
 
 
 
 
63
  display: flex;
64
  align-items: center;
65
  justify-content: center;
66
+ width: 38px;
67
+ height: 38px;
68
+ border-radius: 14px;
69
+ background: linear-gradient(135deg, #2563eb, #60a5fa);
70
  color: #ffffff;
71
  font-weight: 700;
72
+ font-size: 15px;
73
+ box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
74
  }
75
 
76
  .brand-text {
77
  display: flex;
78
  flex-direction: column;
79
+ line-height: 1.3;
80
  }
81
 
82
  .brand-title {
83
+ font-size: 15px;
84
  font-weight: 600;
85
+ color: #111827;
86
  }
87
 
88
  .brand-sub {
89
+ font-size: 11px;
90
+ color: #6b7280;
91
  }
92
 
93
+ .top-right {
94
  display: flex;
95
+ align-items: center;
 
96
  }
97
 
98
+ .credit {
99
+ font-size: 11px;
100
+ color: #4b5563;
101
+ padding: 4px 10px;
102
  border-radius: 999px;
103
+ background-color: #eef2ff;
104
+ border: 1px solid rgba(129, 140, 248, 0.5);
105
  }
106
 
107
+ /* روابط بسيطة (شكل فقط) */
 
 
 
108
 
109
+ .nav {
110
+ display: none;
111
  }
112
 
113
+ /* المحتوى الرئيسي */
114
 
115
  .main {
116
  display: flex;
 
118
  gap: 12px;
119
  }
120
 
121
+ /* هيرو */
122
+
123
  .hero {
124
+ background: radial-gradient(circle at right top, var(--primary-soft), transparent),
125
+ #ffffff;
 
126
  padding: 18px 18px 14px;
127
  border-radius: var(--radius-xl);
 
128
  box-shadow: var(--shadow-soft);
129
+ border: 1px solid rgba(226, 232, 240, 0.9);
130
  }
131
 
132
  .hero h1 {
133
  margin: 0 0 6px;
134
+ font-size: 22px;
135
  font-weight: 600;
136
+ color: #111827;
137
  }
138
 
139
  .hero p {
140
  margin: 0;
141
+ font-size: 13px;
142
+ color: var(--text-muted);
143
  }
144
 
145
  /* خطوات */
146
 
147
  .steps {
148
  display: grid;
149
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
150
  gap: 8px;
151
  }
152
 
 
156
  gap: 8px;
157
  padding: 8px 10px;
158
  border-radius: 16px;
159
+ background: #ffffff;
160
+ box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
161
+ border: 1px solid rgba(229, 231, 235, 0.9);
162
  }
163
 
164
  .step-number {
165
  width: 20px;
166
  height: 20px;
167
  border-radius: 999px;
168
+ background: var(--primary);
169
+ color: #ffffff;
170
  display: flex;
171
  align-items: center;
172
  justify-content: center;
173
  font-size: 11px;
174
  font-weight: 600;
 
175
  }
176
 
177
  .step-text {
178
+ font-size: 10.5px;
179
+ color: #4b5563;
180
  }
181
 
182
+ /* الكارد الرئيسي */
183
 
184
  .card {
185
  background: var(--card-bg);
186
  border-radius: var(--radius-xl);
187
+ padding: 16px 16px 14px;
188
  box-shadow: var(--shadow-soft);
189
  border: 1px solid rgba(226, 232, 240, 0.98);
190
  }
 
192
  .main-card {
193
  display: flex;
194
  flex-direction: column;
195
+ gap: 10px;
196
  }
197
 
198
  .card-row {
199
  display: flex;
200
  flex-direction: column;
201
+ gap: 6px;
202
  }
203
 
204
  .card-row.inline {
205
  flex-direction: row;
206
  align-items: center;
207
  gap: 10px;
 
208
  }
209
 
210
  .card-title {
211
+ font-size: 14px;
 
212
  font-weight: 600;
213
+ margin: 0;
214
+ color: #111827;
 
 
 
215
  }
216
 
217
  .hint {
218
  margin: 0;
219
+ font-size: 10.5px;
220
  color: var(--text-muted);
221
  }
222
 
223
+ /* اختيار الملفات */
224
 
225
  .file-picker {
226
+ margin-top: 4px;
227
  display: inline-flex;
228
  align-items: center;
229
+ gap: 8px;
230
  padding: 9px 14px;
231
  border-radius: 999px;
232
+ border: 1px solid rgba(209, 213, 219, 1);
233
+ background-color: #f9fafb;
 
 
234
  cursor: pointer;
 
235
  transition: all var(--transition);
236
  }
237
 
238
  .file-picker:hover {
239
+ background-color: #eef2ff;
240
+ border-color: var(--primary);
241
+ box-shadow: 0 8px 20px rgba(148, 163, 253, 0.3);
 
242
  }
243
 
244
+ .file-picker-icon {
245
+ font-size: 15px;
246
+ }
247
+
248
+ .file-picker-text {
249
+ font-size: 11.5px;
250
+ color: #111827;
251
  }
252
 
253
  .file-picker input {
 
260
  margin-top: 4px;
261
  padding: 8px 8px;
262
  border-radius: 14px;
263
+ background-color: #f9fafb;
264
+ border: 1px solid rgba(229, 231, 235, 1);
265
  max-height: 170px;
266
  overflow-y: auto;
267
  transition: box-shadow var(--transition);
 
272
  }
273
 
274
  .file-list:hover {
275
+ box-shadow: inset 0 0 10px rgba(148, 163, 253, 0.15);
276
  }
277
 
278
  .file-list-header {
279
  display: flex;
280
  justify-content: space-between;
281
  align-items: baseline;
282
+ font-size: 10.5px;
283
+ color: #111827;
284
  margin-bottom: 4px;
285
  }
286
 
 
303
  grid-template-columns: 18px minmax(0, 1fr) auto;
304
  align-items: center;
305
  gap: 6px;
306
+ padding: 3px 4px;
307
+ border-radius: 7px;
308
+ font-size: 9.5px;
309
+ }
310
+
311
+ .file-list-ul li:nth-child(odd) {
312
+ background: #eef2ff;
313
+ }
314
+
315
+ .index {
316
+ text-align: center;
317
+ color: var(--primary);
318
+ font-weight: 600;
319
+ }
320
+
321
+ .name {
322
+ overflow: hidden;
323
+ text-overflow: ellipsis;
324
+ white-space: nowrap;
325
+ color: #111827;
326
+ }
327
+
328
+ .size {
329
+ color: var(--text-muted);
330
+ font-size: 8.5px;
331
+ }
332
+
333
+ /* حقل اسم الإخراج */
334
+
335
+ .card-label {
336
+ font-size: 10.5px;
337
+ color: #4b5563;
338
+ }
339
+
340
+ .output-input {
341
+ flex: 1;
342
+ padding: 7px 10px;
343
+ font-size: 10.5px;
344
+ border-radius: 999px;
345
+ border: 1px solid rgba(209, 213, 219, 1);
346
+ outline: none;
347
+ transition: all var(--transition);
348
+ }
349
+
350
+ .output-input:focus {
351
+ border-color: var(--primary);
352
+ box-shadow: 0 0 0 3px var(--primary-soft2);
353
+ }
354
+
355
+ /* زر الدمج */
356
+
357
+ .actions {
358
+ margin-top: 2px;
359
+ }
360
+
361
+ .btn-main {
362
+ width: 100%;
363
+ padding: 9px 0;
364
+ font-size: 13px;
365
+ font-weight: 600;
366
+ border: none;
367
+ border-radius: 999px;
368
+ background: linear-gradient(90deg, #2563eb, #60a5fa);
369
+ color: #ffffff;
370
+ cursor: pointer;
371
+ box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
372
+ transition: all var(--transition);
373
+ }
374
+
375
+ .btn-main:hover {
376
+ transform: translateY(-1px);
377
+ box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
378
+ }
379
+
380
+ .btn-main:active {
381
+ transform: translateY(1px);
382
+ box-shadow: 0 6px 16px rgba(15, 23, 42, 0.4);
383
+ }
384
+
385
+ .btn-main.disabled,
386
+ .btn-main:disabled {
387
+ opacity: 0.45;
388
+ cursor: default;
389
+ box-shadow: none;
390
+ }
391
+
392
+ /* حالة الرسائل */
393
+
394
+ .status {
395
+ margin-top: 6px;
396
+ padding: 6px 9px;
397
+ font-size: 10px;
398
+ border-radius: 11px;
399
+ display: inline-flex;
400
+ align-items: center;
401
+ gap: 6px;
402
+ }
403
+
404
+ .status.ok {
405
+ background: #ecfdf5;
406
+ color: #15803d;
407
+ border: 1px solid #bbf7d0;
408
+ }
409
+
410
+ .status.error {
411
+ background: #fef2f2;
412
+ color: #b91c1c;
413
+ border: 1px solid #fecaca;
414
+ }
415
+
416
+ .status.loading {
417
+ background: #eff6ff;
418
+ color: #1d4ed8;
419
+ border: 1px solid #bfdbfe;
420
+ }
421
+
422
+ /* تجاوب */
423
+
424
+ @media (max-width: 640px) {
425
+ .page {
426
+ padding: 18px 12px 22px;
427
+ }
428
+
429
+ .topbar {
430
+ flex-direction: column;
431
+ align-items: flex-start;
432
+ gap: 8px;
433
+ }
434
+
435
+ .credit {
436
+ font-size: 10px;
437
+ }
438
+
439
+ .hero h1 {
440
+ font-size: 18px;
441
+ }
442
+ }