Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -3,17 +3,14 @@
|
|
| 3 |
--card:#FFFFFF;
|
| 4 |
--text:#1F2937;
|
| 5 |
--muted:#6B7280;
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
--
|
| 9 |
-
--
|
| 10 |
-
--
|
| 11 |
-
--
|
| 12 |
-
--
|
| 13 |
-
--
|
| 14 |
-
--cyan:#27CED7; /* سماوي */
|
| 15 |
-
--warning:#FFC000; /* أصفر */
|
| 16 |
-
--danger:#F5554A; /* أحمر */
|
| 17 |
--border:#E5E7EB;
|
| 18 |
--rowAlt:#F5F8FF;
|
| 19 |
}
|
|
@@ -21,54 +18,39 @@
|
|
| 21 |
*{ box-sizing:border-box }
|
| 22 |
html,body{ height:100% }
|
| 23 |
body{
|
| 24 |
-
margin:0; padding:24px;
|
| 25 |
-
background:var(--bg);
|
| 26 |
-
color:var(--text);
|
| 27 |
font-family:"Cairo",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
|
| 28 |
}
|
| 29 |
|
| 30 |
-
.container{
|
| 31 |
-
max-width:1100px;
|
| 32 |
-
margin:0 auto;
|
| 33 |
-
}
|
| 34 |
-
|
| 35 |
.center{ text-align:center }
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
}
|
| 39 |
.hero .sub{ margin:0; color:var(--muted); font-size:14px }
|
| 40 |
.hero .sep{ margin:0 .5rem }
|
| 41 |
|
| 42 |
.card{
|
| 43 |
-
margin:18px auto 28px;
|
| 44 |
-
|
| 45 |
-
border:1px solid var(--border);
|
| 46 |
-
border-radius:16px;
|
| 47 |
-
box-shadow:0 6px 24px rgba(0,0,0,.05);
|
| 48 |
-
padding:18px;
|
| 49 |
}
|
| 50 |
|
| 51 |
.label{ display:block; text-align:right; font-weight:700; margin:4px 4px 8px }
|
| 52 |
.paste{
|
| 53 |
-
width:100%; min-height:180px; resize:vertical;
|
| 54 |
-
|
| 55 |
-
padding:12px 14px; line-height:1.7; font-size:15px;
|
| 56 |
-
background:#fff;
|
| 57 |
}
|
| 58 |
.paste:focus{ outline:2px solid var(--accent) }
|
| 59 |
|
| 60 |
-
.filters{
|
| 61 |
-
display:flex; gap:12px; margin-top:12px; flex-wrap:wrap; justify-content:center;
|
| 62 |
-
}
|
| 63 |
.control{
|
| 64 |
border:1px solid var(--border); border-radius:10px; padding:10px 12px; background:#fff;
|
| 65 |
min-width:260px; font-size:14px;
|
| 66 |
}
|
|
|
|
| 67 |
.hint{ margin:12px 0 8px; color:var(--muted); font-size:13px }
|
| 68 |
|
| 69 |
.btn-row{
|
| 70 |
-
display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center;
|
| 71 |
-
margin:8px 0 16px;
|
| 72 |
}
|
| 73 |
.btn{
|
| 74 |
border:0; border-radius:999px; padding:10px 14px; font-weight:700; cursor:pointer;
|
|
@@ -83,45 +65,30 @@ body{
|
|
| 83 |
.btn-danger{ background:var(--danger); color:#fff }
|
| 84 |
.btn-light{ background:#EEF2FF; color:var(--primary) }
|
| 85 |
|
| 86 |
-
.btn[data-step]{
|
| 87 |
-
position:relative; padding-inline-start:36px;
|
| 88 |
-
}
|
| 89 |
.btn[data-step]::before{
|
| 90 |
-
content:attr(data-step);
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
background:#fff; color:var(--primary); font-weight:800; font-size:12px;
|
| 94 |
-
display:grid; place-items:center;
|
| 95 |
}
|
| 96 |
|
| 97 |
.badge{
|
| 98 |
display:inline-flex; align-items:center; justify-content:center;
|
| 99 |
-
min-width:22px; height:22px; padding:0 6px;
|
| 100 |
-
|
| 101 |
-
margin-inline-start:8px;
|
| 102 |
box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
|
| 103 |
}
|
| 104 |
-
.badge-right{}
|
| 105 |
|
| 106 |
-
.table-wrap{
|
| 107 |
-
|
| 108 |
-
}
|
| 109 |
-
.table{
|
| 110 |
-
width:100%; border-collapse:collapse; min-width:900px;
|
| 111 |
-
}
|
| 112 |
.table thead th{
|
| 113 |
-
background:var(--primary); color:#fff; padding:10px; font-weight:800; position:sticky; top:0;
|
| 114 |
-
}
|
| 115 |
-
.table td{
|
| 116 |
-
padding:10px; border:1px solid var(--border); text-align:center; background:#fff;
|
| 117 |
}
|
|
|
|
| 118 |
.table tbody tr:nth-child(even) td{ background:var(--rowAlt) }
|
| 119 |
-
|
| 120 |
.invalid{ background:#FFF2F2 !important; outline:2px solid var(--danger) }
|
| 121 |
|
| 122 |
-
.footer{
|
| 123 |
-
margin:18px 0; text-align:center; color:var(--muted); font-size:13px;
|
| 124 |
-
}
|
| 125 |
|
| 126 |
.toast{
|
| 127 |
position:fixed; left:50%; transform:translateX(-50%); bottom:22px;
|
|
@@ -129,6 +96,17 @@ body{
|
|
| 129 |
}
|
| 130 |
.toast.show{ opacity:1; transition:opacity .2s ease }
|
| 131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
@media (max-width:640px){
|
| 133 |
body{ padding:16px }
|
| 134 |
.table{ min-width:760px }
|
|
|
|
| 3 |
--card:#FFFFFF;
|
| 4 |
--text:#1F2937;
|
| 5 |
--muted:#6B7280;
|
| 6 |
+
--primary:#4137A8;
|
| 7 |
+
--accent:#1CADE4;
|
| 8 |
+
--success:#42BA97;
|
| 9 |
+
--secondary:#5C6E88;
|
| 10 |
+
--violet:#7030A0;
|
| 11 |
+
--cyan:#27CED7;
|
| 12 |
+
--warning:#FFC000;
|
| 13 |
+
--danger:#F5554A;
|
|
|
|
|
|
|
|
|
|
| 14 |
--border:#E5E7EB;
|
| 15 |
--rowAlt:#F5F8FF;
|
| 16 |
}
|
|
|
|
| 18 |
*{ box-sizing:border-box }
|
| 19 |
html,body{ height:100% }
|
| 20 |
body{
|
| 21 |
+
margin:0; padding:24px; background:var(--bg); color:var(--text);
|
|
|
|
|
|
|
| 22 |
font-family:"Cairo",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
.container{ max-width:1100px; margin:0 auto; }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
.center{ text-align:center }
|
| 27 |
+
|
| 28 |
+
.hero h1{ margin:0 0 4px; font-weight:800; font-size:clamp(22px,4vw,34px); color:var(--primary) }
|
|
|
|
| 29 |
.hero .sub{ margin:0; color:var(--muted); font-size:14px }
|
| 30 |
.hero .sep{ margin:0 .5rem }
|
| 31 |
|
| 32 |
.card{
|
| 33 |
+
margin:18px auto 28px; background:var(--card); border:1px solid var(--border);
|
| 34 |
+
border-radius:16px; box-shadow:0 6px 24px rgba(0,0,0,.05); padding:18px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
.label{ display:block; text-align:right; font-weight:700; margin:4px 4px 8px }
|
| 38 |
.paste{
|
| 39 |
+
width:100%; min-height:180px; resize:vertical; border:1px solid var(--border); border-radius:12px;
|
| 40 |
+
padding:12px 14px; line-height:1.7; font-size:15px; background:#fff;
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
.paste:focus{ outline:2px solid var(--accent) }
|
| 43 |
|
| 44 |
+
.filters{ display:flex; gap:12px; margin-top:12px; flex-wrap:wrap; justify-content:center }
|
|
|
|
|
|
|
| 45 |
.control{
|
| 46 |
border:1px solid var(--border); border-radius:10px; padding:10px 12px; background:#fff;
|
| 47 |
min-width:260px; font-size:14px;
|
| 48 |
}
|
| 49 |
+
|
| 50 |
.hint{ margin:12px 0 8px; color:var(--muted); font-size:13px }
|
| 51 |
|
| 52 |
.btn-row{
|
| 53 |
+
display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; margin:8px 0 16px;
|
|
|
|
| 54 |
}
|
| 55 |
.btn{
|
| 56 |
border:0; border-radius:999px; padding:10px 14px; font-weight:700; cursor:pointer;
|
|
|
|
| 65 |
.btn-danger{ background:var(--danger); color:#fff }
|
| 66 |
.btn-light{ background:#EEF2FF; color:var(--primary) }
|
| 67 |
|
| 68 |
+
.btn[data-step]{ position:relative; padding-inline-start:36px }
|
|
|
|
|
|
|
| 69 |
.btn[data-step]::before{
|
| 70 |
+
content:attr(data-step); position:absolute; inset-inline-start:10px; top:50%; transform:translateY(-50%);
|
| 71 |
+
width:20px; height:20px; border-radius:999px; background:#fff; color:var(--primary);
|
| 72 |
+
font-weight:800; font-size:12px; display:grid; place-items:center;
|
|
|
|
|
|
|
| 73 |
}
|
| 74 |
|
| 75 |
.badge{
|
| 76 |
display:inline-flex; align-items:center; justify-content:center;
|
| 77 |
+
min-width:22px; height:22px; padding:0 6px; background:#fff; color:var(--primary);
|
| 78 |
+
border-radius:999px; font-weight:800; font-size:12px; margin-inline-start:8px;
|
|
|
|
| 79 |
box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
|
| 80 |
}
|
|
|
|
| 81 |
|
| 82 |
+
.table-wrap{ overflow:auto; border:1px solid var(--border); border-radius:12px }
|
| 83 |
+
.table{ width:100%; border-collapse:collapse; min-width:900px }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
.table thead th{
|
| 85 |
+
background:var(--primary); color:#fff; padding:10px; font-weight:800; position:sticky; top:0; text-align:center;
|
|
|
|
|
|
|
|
|
|
| 86 |
}
|
| 87 |
+
.table td{ padding:10px; border:1px solid var(--border); text-align:center; background:#fff }
|
| 88 |
.table tbody tr:nth-child(even) td{ background:var(--rowAlt) }
|
|
|
|
| 89 |
.invalid{ background:#FFF2F2 !important; outline:2px solid var(--danger) }
|
| 90 |
|
| 91 |
+
.footer{ margin:18px 0; text-align:center; color:var(--muted); font-size:13px }
|
|
|
|
|
|
|
| 92 |
|
| 93 |
.toast{
|
| 94 |
position:fixed; left:50%; transform:translateX(-50%); bottom:22px;
|
|
|
|
| 96 |
}
|
| 97 |
.toast.show{ opacity:1; transition:opacity .2s ease }
|
| 98 |
|
| 99 |
+
.modal{
|
| 100 |
+
position:fixed; inset:0; background:rgba(0,0,0,.35); display:grid; place-items:center; padding:16px;
|
| 101 |
+
}
|
| 102 |
+
.modal[hidden]{ display:none }
|
| 103 |
+
.modal-card{
|
| 104 |
+
width:min(720px,95vw); background:#fff; border-radius:14px; border:1px solid var(--border);
|
| 105 |
+
box-shadow:0 10px 40px rgba(0,0,0,.2); padding:14px;
|
| 106 |
+
}
|
| 107 |
+
.modal-head{ font-weight:800; color:var(--primary); margin-bottom:8px; text-align:right }
|
| 108 |
+
.modal-textarea{ min-height:180px }
|
| 109 |
+
|
| 110 |
@media (max-width:640px){
|
| 111 |
body{ padding:16px }
|
| 112 |
.table{ min-width:760px }
|