Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -7,9 +7,9 @@
|
|
| 7 |
*{box-sizing:border-box}
|
| 8 |
html,body{margin:0;height:100%}
|
| 9 |
body{
|
| 10 |
-
direction:rtl;
|
| 11 |
font-family:'Cairo',system-ui,-apple-system,'Segoe UI',Tahoma,Arial,sans-serif;
|
| 12 |
-
background:var(--bg); color:var(--text);
|
| 13 |
}
|
| 14 |
.container{max-width:1100px;margin:0 auto;padding:16px}
|
| 15 |
.center{text-align:center}
|
|
@@ -21,7 +21,10 @@ body{
|
|
| 21 |
margin:10px 0 18px;
|
| 22 |
}
|
| 23 |
.hero h1{margin:0 0 6px;font-size:clamp(22px,3vw,32px);color:var(--primary);font-weight:700}
|
| 24 |
-
.sub{margin:0;color:var(--gray1)}
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
.card{
|
| 27 |
background:var(--card); border:1px solid var(--border); border-radius:14px;
|
|
@@ -44,7 +47,7 @@ body{
|
|
| 44 |
.btn-light{background:#fff;color:var(--text);border:1px dashed var(--border)}
|
| 45 |
.btn[disabled]{opacity:.55; cursor:not-allowed}
|
| 46 |
|
| 47 |
-
/* أرقام الخطوات */
|
| 48 |
#btn-parse::before,#btn-export::before,#btn-clear::before{
|
| 49 |
content:attr(data-step); position:absolute; top:-8px; inset-inline-start:-8px;
|
| 50 |
background:var(--primary2); color:#fff; width:22px; height:22px; border-radius:50%;
|
|
@@ -52,13 +55,20 @@ body{
|
|
| 52 |
box-shadow:0 2px 8px rgba(0,0,0,.15);
|
| 53 |
}
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
/* اسم الملف */
|
| 56 |
.fname{
|
| 57 |
border:1px solid var(--border); border-radius:10px; padding:10px 12px;
|
| 58 |
min-width:140px; outline:none;
|
| 59 |
}
|
| 60 |
|
| 61 |
-
/* العداد */
|
| 62 |
.meta-row{margin:4px 0 10px}
|
| 63 |
.chip{
|
| 64 |
display:inline-block; padding:6px 10px; border-radius:999px; font-weight:700;
|
|
@@ -77,6 +87,9 @@ body{
|
|
| 77 |
.table tr:nth-child(even) td{background:#fafcff}
|
| 78 |
.table tr:hover td{background:#f4f7ff}
|
| 79 |
|
|
|
|
|
|
|
|
|
|
| 80 |
/* Toast */
|
| 81 |
.toast{
|
| 82 |
position:fixed; inset-inline:0; bottom:20px; margin:auto;
|
|
@@ -91,8 +104,13 @@ body{
|
|
| 91 |
@media (max-width:768px){
|
| 92 |
.container{padding:12px}
|
| 93 |
.paste{min-height:clamp(140px,34vh,360px)}
|
|
|
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
*{box-sizing:border-box}
|
| 8 |
html,body{margin:0;height:100%}
|
| 9 |
body{
|
| 10 |
+
direction:rtl; text-align:center;
|
| 11 |
font-family:'Cairo',system-ui,-apple-system,'Segoe UI',Tahoma,Arial,sans-serif;
|
| 12 |
+
background:var(--bg); color:var(--text);
|
| 13 |
}
|
| 14 |
.container{max-width:1100px;margin:0 auto;padding:16px}
|
| 15 |
.center{text-align:center}
|
|
|
|
| 21 |
margin:10px 0 18px;
|
| 22 |
}
|
| 23 |
.hero h1{margin:0 0 6px;font-size:clamp(22px,3vw,32px);color:var(--primary);font-weight:700}
|
| 24 |
+
.sub{margin:0;color:var(--gray1)}
|
| 25 |
+
.sub .name, .footer .name { color: var(--violet); font-weight: 700; }
|
| 26 |
+
.sub .role, .footer .role { color: var(--gray1); font-weight: 700; }
|
| 27 |
+
.sep { margin: 0 .35rem; color: var(--gray1); }
|
| 28 |
|
| 29 |
.card{
|
| 30 |
background:var(--card); border:1px solid var(--border); border-radius:14px;
|
|
|
|
| 47 |
.btn-light{background:#fff;color:var(--text);border:1px dashed var(--border)}
|
| 48 |
.btn[disabled]{opacity:.55; cursor:not-allowed}
|
| 49 |
|
| 50 |
+
/* أرقام الخطوات على الأزرار */
|
| 51 |
#btn-parse::before,#btn-export::before,#btn-clear::before{
|
| 52 |
content:attr(data-step); position:absolute; top:-8px; inset-inline-start:-8px;
|
| 53 |
background:var(--primary2); color:#fff; width:22px; height:22px; border-radius:50%;
|
|
|
|
| 55 |
box-shadow:0 2px 8px rgba(0,0,0,.15);
|
| 56 |
}
|
| 57 |
|
| 58 |
+
/* شارة العدّاد داخل زر التحليل */
|
| 59 |
+
.btn .badge{
|
| 60 |
+
margin-inline-start:.5rem; padding:2px 8px; border-radius:999px; font-size:12px;
|
| 61 |
+
background:rgba(39,206,215,.12); color:#14636b; border:1px solid rgba(39,206,215,.28);
|
| 62 |
+
}
|
| 63 |
+
.badge-right{ position:relative; top:-1px; }
|
| 64 |
+
|
| 65 |
/* اسم الملف */
|
| 66 |
.fname{
|
| 67 |
border:1px solid var(--border); border-radius:10px; padding:10px 12px;
|
| 68 |
min-width:140px; outline:none;
|
| 69 |
}
|
| 70 |
|
| 71 |
+
/* العداد أسفل الأزرار */
|
| 72 |
.meta-row{margin:4px 0 10px}
|
| 73 |
.chip{
|
| 74 |
display:inline-block; padding:6px 10px; border-radius:999px; font-weight:700;
|
|
|
|
| 87 |
.table tr:nth-child(even) td{background:#fafcff}
|
| 88 |
.table tr:hover td{background:#f4f7ff}
|
| 89 |
|
| 90 |
+
/* إبراز الخلايا غير الصحيحة */
|
| 91 |
+
.table td.invalid{ background:#fff5f5; outline:1px solid #f6b2b2; }
|
| 92 |
+
|
| 93 |
/* Toast */
|
| 94 |
.toast{
|
| 95 |
position:fixed; inset-inline:0; bottom:20px; margin:auto;
|
|
|
|
| 104 |
@media (max-width:768px){
|
| 105 |
.container{padding:12px}
|
| 106 |
.paste{min-height:clamp(140px,34vh,360px)}
|
| 107 |
+
}
|
| 108 |
|
| 109 |
+
/* طباعة: الجدول فقط */
|
| 110 |
+
@media print{
|
| 111 |
+
body{ background:#fff; }
|
| 112 |
+
.hero, .btn-row, .hint, .meta-row, .footer, .paste, .label{ display:none !important; }
|
| 113 |
+
.table-wrap{ border:none; }
|
| 114 |
+
.table thead th{ background:#222 !important; color:#fff !important; }
|
| 115 |
+
.table td{ background:#fff !important; }
|
| 116 |
+
}
|