Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,69 +1,40 @@
|
|
| 1 |
:root{
|
| 2 |
-
--bg:#f6f7fb;
|
| 3 |
-
--
|
| 4 |
-
--
|
| 5 |
-
--muted:#667085;
|
| 6 |
-
--primary:#4137A8;
|
| 7 |
-
--primary-600:#3b3299;
|
| 8 |
-
--success:#1b9c85;
|
| 9 |
-
--info:#0ea5e9;
|
| 10 |
-
--danger:#ef4444;
|
| 11 |
-
--border:#e5e7eb;
|
| 12 |
-
--table-head:#302a86;
|
| 13 |
-
--table-alt:#f5f8ff;
|
| 14 |
-
--radius:16px;
|
| 15 |
-
--shadow:0 4px 20px rgba(0,0,0,.06);
|
| 16 |
}
|
| 17 |
body.dark{
|
| 18 |
-
--bg:#0f172a;
|
| 19 |
-
--
|
| 20 |
-
--ink:#e5e7eb;
|
| 21 |
-
--muted:#94a3b8;
|
| 22 |
-
--border:#1f2937;
|
| 23 |
-
--table-head:#1f2565;
|
| 24 |
-
--table-alt:#0b1326;
|
| 25 |
-
--shadow:0 4px 20px rgba(0,0,0,.35);
|
| 26 |
}
|
| 27 |
*{box-sizing:border-box}
|
| 28 |
html,body{height:100%}
|
| 29 |
-
body{
|
| 30 |
-
margin:0; font-family:"Cairo",system-ui,-apple-system,Segoe UI,Arial,sans-serif;
|
| 31 |
-
color:var(--ink); background:var(--bg); line-height:1.7;
|
| 32 |
-
}
|
| 33 |
.container{max-width:1100px; margin:24px auto; padding:0 16px}
|
| 34 |
.hero{margin-bottom:16px}
|
| 35 |
.hero-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
|
| 36 |
-
.hero h1{margin:4px 0 6px; font-size:28px; font-weight:700; color:var(--primary)}
|
| 37 |
.actions-inline{display:flex; gap:8px; align-items:center}
|
| 38 |
-
.signature{
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
color:var(--muted); font-weight:600; box-shadow:var(--shadow);
|
| 42 |
-
}
|
| 43 |
-
.signature .role{color:var(--primary)}
|
| 44 |
-
.signature .name{color:var(--ink)}
|
| 45 |
-
.card{
|
| 46 |
-
background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
|
| 47 |
-
padding:18px; border:1px solid var(--border);
|
| 48 |
-
}
|
| 49 |
.label{display:block; font-weight:600; margin-bottom:8px; color:var(--muted)}
|
| 50 |
-
.paste{
|
| 51 |
-
|
| 52 |
-
border:1px solid var(--border); outline:none; background:var(--card); color:var(--ink);
|
| 53 |
-
}
|
| 54 |
.paste:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.12)}
|
| 55 |
-
.
|
| 56 |
-
.
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
.control:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.08)}
|
| 61 |
.hint{color:var(--muted); font-size:14px; margin:8px 0 10px}
|
| 62 |
-
.btn-row{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px}
|
| 63 |
-
.btn{
|
| 64 |
-
padding:10px 14px; border:none; border-radius:12px; cursor:pointer; font-weight:700;
|
| 65 |
-
background:#ddd; color:#111; transition:transform .04s ease, box-shadow .2s ease;
|
| 66 |
-
}
|
| 67 |
body.dark .btn{color:#eee}
|
| 68 |
.btn.small{padding:6px 10px; font-weight:600}
|
| 69 |
.btn:disabled{opacity:.5; cursor:not-allowed}
|
|
@@ -75,17 +46,13 @@ body.dark .btn{color:#eee}
|
|
| 75 |
.btn-danger{background:var(--danger); color:#fff}
|
| 76 |
.btn-light{background:#eef2ff; color:#2b2b2b}
|
| 77 |
body.dark .btn-light{background:#1f2937; color:#e5e7eb}
|
| 78 |
-
.
|
| 79 |
-
|
| 80 |
-
}
|
| 81 |
.table-wrap{overflow:auto; border-radius:14px; border:1px solid var(--border)}
|
| 82 |
-
.table{width:100%; border-collapse:separate; border-spacing:0}
|
| 83 |
-
.table thead th{
|
| 84 |
-
|
| 85 |
-
}
|
| 86 |
-
.table tbody td{
|
| 87 |
-
padding:10px 12px; background:var(--card); border-top:1px solid var(--border); color:var(--ink);
|
| 88 |
-
}
|
| 89 |
.table tbody tr:nth-child(even) td{background:var(--table-alt)}
|
| 90 |
.table td[contenteditable="true"]{outline:none}
|
| 91 |
.table td.invalid{background:#fff3f3}
|
|
@@ -100,13 +67,9 @@ body.dark .table td.invalid{background:#3b1d1d}
|
|
| 100 |
body.dark .cat.default{background:#111827; color:#e5e7eb; border-color:#334155}
|
| 101 |
.footer{text-align:center; margin:18px 0 6px; color:var(--muted)}
|
| 102 |
.footer .signature{box-shadow:none; background:transparent; border-color:transparent; gap:6px; padding:0; font-weight:600}
|
| 103 |
-
.toast{
|
| 104 |
-
position:fixed; bottom:20px; inset-inline-start:20px; background:#111827; color:#fff;
|
| 105 |
-
padding:10px 14px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(8px);
|
| 106 |
-
transition:.25s ease; pointer-events:none; font-weight:600;
|
| 107 |
-
}
|
| 108 |
.toast.show{opacity:1; transform:translateY(0)}
|
| 109 |
@media (max-width:640px){
|
| 110 |
-
.filters{flex-direction:column}
|
| 111 |
.btn-row{gap:6px}
|
| 112 |
}
|
|
|
|
| 1 |
:root{
|
| 2 |
+
--bg:#f6f7fb; --card:#ffffff; --ink:#101828; --muted:#667085;
|
| 3 |
+
--primary:#4137A8; --primary-600:#3b3299; --success:#1b9c85; --info:#0ea5e9; --danger:#ef4444;
|
| 4 |
+
--border:#e5e7eb; --table-head:#302a86; --table-alt:#f5f8ff; --radius:16px; --shadow:0 4px 20px rgba(0,0,0,.06);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
| 6 |
body.dark{
|
| 7 |
+
--bg:#0f172a; --card:#111827; --ink:#e5e7eb; --muted:#94a3b8; --border:#1f2937;
|
| 8 |
+
--table-head:#1f2565; --table-alt:#0b1326; --shadow:0 4px 20px rgba(0,0,0,.35);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
*{box-sizing:border-box}
|
| 11 |
html,body{height:100%}
|
| 12 |
+
body{margin:0; font-family:"Cairo",system-ui,-apple-system,Segoe UI,Arial,sans-serif; color:var(--ink); background:var(--bg); line-height:1.7; text-align:center}
|
|
|
|
|
|
|
|
|
|
| 13 |
.container{max-width:1100px; margin:24px auto; padding:0 16px}
|
| 14 |
.hero{margin-bottom:16px}
|
| 15 |
.hero-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
|
| 16 |
+
.hero h1{margin:4px 0 6px; font-size:28px; font-weight:700; color:var(--primary); width:100%}
|
| 17 |
.actions-inline{display:flex; gap:8px; align-items:center}
|
| 18 |
+
.signature{display:inline-flex; gap:8px; align-items:center; justify-content:center; background:var(--card); padding:6px 12px; border-radius:999px; border:1px solid var(--border); color:var(--muted); font-weight:600; box-shadow:var(--shadow)}
|
| 19 |
+
.signature .role{color:var(--primary)} .signature .name{color:var(--ink)}
|
| 20 |
+
.card{background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:18px; border:1px solid var(--border)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
.label{display:block; font-weight:600; margin-bottom:8px; color:var(--muted)}
|
| 22 |
+
.paste-wrap{position:relative}
|
| 23 |
+
.paste{width:100%; min-height:180px; resize:vertical; padding:12px 14px; border-radius:12px; border:1px solid var(--border); outline:none; background:var(--card); color:var(--ink); text-align:center}
|
|
|
|
|
|
|
| 24 |
.paste:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.12)}
|
| 25 |
+
.sample-overlay{position:absolute; inset:8px; border-radius:12px; border:1px dashed var(--border); background:rgba(0,0,0,.03); color:var(--muted); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px; cursor:pointer}
|
| 26 |
+
.sample-title{font-weight:800; margin-bottom:6px}
|
| 27 |
+
.sample-body{margin:0; white-space:pre-wrap; direction:rtl; text-align:center; color:#6b7280}
|
| 28 |
+
.sample-hint{margin-top:6px; font-size:12px; color:#94a3b8}
|
| 29 |
+
.filters{display:flex; gap:10px; margin:14px 0; justify-content:center}
|
| 30 |
+
.field{min-width:260px}
|
| 31 |
+
.mini-label{font-weight:700; color:var(--muted); margin-bottom:6px}
|
| 32 |
+
.center-input{text-align:center}
|
| 33 |
+
.control{width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--border); outline:none; background:var(--card); color:var(--ink)}
|
| 34 |
.control:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.08)}
|
| 35 |
.hint{color:var(--muted); font-size:14px; margin:8px 0 10px}
|
| 36 |
+
.btn-row{display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; margin-bottom:10px}
|
| 37 |
+
.btn{padding:10px 14px; border:none; border-radius:12px; cursor:pointer; font-weight:700; background:#ddd; color:#111; transition:transform .04s ease, box-shadow .2s ease}
|
|
|
|
|
|
|
|
|
|
| 38 |
body.dark .btn{color:#eee}
|
| 39 |
.btn.small{padding:6px 10px; font-weight:600}
|
| 40 |
.btn:disabled{opacity:.5; cursor:not-allowed}
|
|
|
|
| 46 |
.btn-danger{background:var(--danger); color:#fff}
|
| 47 |
.btn-light{background:#eef2ff; color:#2b2b2b}
|
| 48 |
body.dark .btn-light{background:#1f2937; color:#e5e7eb}
|
| 49 |
+
.num{display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:999px; background:#fff; color:var(--primary); border:1px solid var(--border); margin-inline-end:6px; font-weight:800; font-size:12px}
|
| 50 |
+
.badge{background:#fff; color:var(--primary); border-radius:999px; padding:2px 8px; margin-inline-start:6px; font-size:12px}
|
| 51 |
+
.warn{margin:8px auto 12px; padding:8px 12px; border-radius:10px; border:1px solid #f59e0b; color:#92400e; background:#fffbeb; max-width:900px}
|
| 52 |
.table-wrap{overflow:auto; border-radius:14px; border:1px solid var(--border)}
|
| 53 |
+
.table{width:100%; border-collapse:separate; border-spacing:0; text-align:center}
|
| 54 |
+
.table thead th{background:var(--table-head); color:#fff; font-weight:700; padding:12px; position:sticky; top:0}
|
| 55 |
+
.table tbody td{padding:10px 12px; background:var(--card); border-top:1px solid var(--border); color:var(--ink)}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
.table tbody tr:nth-child(even) td{background:var(--table-alt)}
|
| 57 |
.table td[contenteditable="true"]{outline:none}
|
| 58 |
.table td.invalid{background:#fff3f3}
|
|
|
|
| 67 |
body.dark .cat.default{background:#111827; color:#e5e7eb; border-color:#334155}
|
| 68 |
.footer{text-align:center; margin:18px 0 6px; color:var(--muted)}
|
| 69 |
.footer .signature{box-shadow:none; background:transparent; border-color:transparent; gap:6px; padding:0; font-weight:600}
|
| 70 |
+
.toast{position:fixed; bottom:20px; inset-inline-start:20px; background:#111827; color:#fff; padding:10px 14px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(8px); transition:.25s ease; pointer-events:none; font-weight:600}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
.toast.show{opacity:1; transform:translateY(0)}
|
| 72 |
@media (max-width:640px){
|
| 73 |
+
.filters{flex-direction:column; align-items:center}
|
| 74 |
.btn-row{gap:6px}
|
| 75 |
}
|