Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,75 +1,303 @@
|
|
| 1 |
:root{
|
| 2 |
-
--bg:#f6f7fb;
|
| 3 |
-
--
|
| 4 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
|
|
|
| 6 |
body.dark{
|
| 7 |
-
--bg:#0f172a;
|
| 8 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
|
|
|
| 10 |
*{box-sizing:border-box}
|
| 11 |
html,body{height:100%}
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
.
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
.
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
.
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
body.dark .btn{color:#eee}
|
| 39 |
-
|
| 40 |
-
.btn:disabled{
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
.btn-primary{background:var(--primary); color:#fff}
|
| 43 |
.btn-primary:hover{background:var(--primary-600)}
|
| 44 |
.btn-success{background:var(--success); color:#fff}
|
| 45 |
.btn-info{background:var(--info); color:#fff}
|
| 46 |
.btn-danger{background:var(--danger); color:#fff}
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
.table td[contenteditable="true"]{outline:none}
|
| 58 |
.table td.invalid{background:#fff3f3}
|
| 59 |
body.dark .table td.invalid{background:#3b1d1d}
|
| 60 |
-
|
| 61 |
-
.cat
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
body.dark .cat.default{background:#111827; color:#e5e7eb; border-color:#334155}
|
| 68 |
-
|
| 69 |
-
.
|
| 70 |
-
|
| 71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
@media (max-width:640px){
|
| 73 |
-
.filters{flex-direction:column
|
| 74 |
.btn-row{gap:6px}
|
| 75 |
}
|
|
|
|
| 1 |
:root{
|
| 2 |
+
--bg:#f6f7fb;
|
| 3 |
+
--card:#ffffff;
|
| 4 |
+
--ink:#101828;
|
| 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 |
+
|
| 18 |
body.dark{
|
| 19 |
+
--bg:#0f172a;
|
| 20 |
+
--card:#111827;
|
| 21 |
+
--ink:#e5e7eb;
|
| 22 |
+
--muted:#94a3b8;
|
| 23 |
+
--border:#1f2937;
|
| 24 |
+
--table-head:#1f2565;
|
| 25 |
+
--table-alt:#0b1326;
|
| 26 |
+
--shadow:0 4px 20px rgba(0,0,0,.35);
|
| 27 |
}
|
| 28 |
+
|
| 29 |
*{box-sizing:border-box}
|
| 30 |
html,body{height:100%}
|
| 31 |
+
|
| 32 |
+
body{
|
| 33 |
+
margin:0;
|
| 34 |
+
font-family:"Cairo",system-ui,-apple-system,Segoe UI,Arial,sans-serif;
|
| 35 |
+
color:var(--ink);
|
| 36 |
+
background:var(--bg);
|
| 37 |
+
line-height:1.7;
|
| 38 |
+
text-align:center;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.container{
|
| 42 |
+
max-width:1100px;
|
| 43 |
+
margin:24px auto;
|
| 44 |
+
padding:0 16px;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.hero{
|
| 48 |
+
position:relative;
|
| 49 |
+
margin-bottom:16px;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.theme-toggle{
|
| 53 |
+
position:absolute;
|
| 54 |
+
top:0;
|
| 55 |
+
inset-inline-start:0; /* لا يؤثر على توسيط العنوان */
|
| 56 |
+
padding:8px 12px;
|
| 57 |
+
border-radius:999px;
|
| 58 |
+
border:1px solid var(--border);
|
| 59 |
+
background:var(--card);
|
| 60 |
+
color:var(--ink);
|
| 61 |
+
font-weight:700;
|
| 62 |
+
cursor:pointer;
|
| 63 |
+
box-shadow:var(--shadow);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.title{
|
| 67 |
+
margin:0 0 6px;
|
| 68 |
+
font-size:28px;
|
| 69 |
+
font-weight:800;
|
| 70 |
+
color:var(--primary);
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.signature{
|
| 74 |
+
display:inline-flex;
|
| 75 |
+
gap:8px;
|
| 76 |
+
align-items:center;
|
| 77 |
+
justify-content:center;
|
| 78 |
+
background:var(--card);
|
| 79 |
+
padding:6px 12px;
|
| 80 |
+
border-radius:999px;
|
| 81 |
+
border:1px solid var(--border);
|
| 82 |
+
color:var(--muted);
|
| 83 |
+
font-weight:600;
|
| 84 |
+
box-shadow:var(--shadow);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.signature .role{color:var(--primary)}
|
| 88 |
+
.signature .name{color:var(--ink)}
|
| 89 |
+
|
| 90 |
+
.card{
|
| 91 |
+
background:var(--card);
|
| 92 |
+
border-radius:var(--radius);
|
| 93 |
+
box-shadow:var(--shadow);
|
| 94 |
+
padding:18px;
|
| 95 |
+
border:1px solid var(--border);
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.label{
|
| 99 |
+
display:block;
|
| 100 |
+
font-weight:600;
|
| 101 |
+
margin-bottom:8px;
|
| 102 |
+
color:var(--muted);
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.paste{
|
| 106 |
+
width:100%;
|
| 107 |
+
min-height:180px;
|
| 108 |
+
resize:vertical;
|
| 109 |
+
padding:12px 14px;
|
| 110 |
+
border-radius:12px;
|
| 111 |
+
border:1px solid var(--border);
|
| 112 |
+
outline:none;
|
| 113 |
+
background:var(--card);
|
| 114 |
+
color:var(--ink);
|
| 115 |
+
text-align:center;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.paste::placeholder{
|
| 119 |
+
color:#9aa3af;
|
| 120 |
+
white-space:pre-line;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.paste:focus{
|
| 124 |
+
border-color:var(--primary);
|
| 125 |
+
box-shadow:0 0 0 3px rgba(65,55,168,.12);
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
.filters{
|
| 129 |
+
display:flex;
|
| 130 |
+
gap:10px;
|
| 131 |
+
margin:14px 0;
|
| 132 |
+
justify-content:center;
|
| 133 |
+
flex-wrap:wrap;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.center-input{
|
| 137 |
+
text-align:center;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.control{
|
| 141 |
+
width:320px;
|
| 142 |
+
padding:10px 12px;
|
| 143 |
+
border-radius:10px;
|
| 144 |
+
border:1px solid var(--border);
|
| 145 |
+
outline:none;
|
| 146 |
+
background:var(--card);
|
| 147 |
+
color:var(--ink);
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.control:focus{
|
| 151 |
+
border-color:var(--primary);
|
| 152 |
+
box-shadow:0 0 0 3px rgba(65,55,168,.08);
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
.btn-row{
|
| 156 |
+
display:flex;
|
| 157 |
+
flex-wrap:wrap;
|
| 158 |
+
gap:8px;
|
| 159 |
+
align-items:center;
|
| 160 |
+
justify-content:center;
|
| 161 |
+
margin-bottom:10px;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.btn{
|
| 165 |
+
padding:10px 14px;
|
| 166 |
+
border:none;
|
| 167 |
+
border-radius:12px;
|
| 168 |
+
cursor:pointer;
|
| 169 |
+
font-weight:700;
|
| 170 |
+
background:#ddd;
|
| 171 |
+
color:#111;
|
| 172 |
+
transition:transform .04s ease, box-shadow .2s ease;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
body.dark .btn{color:#eee}
|
| 176 |
+
|
| 177 |
+
.btn:disabled{
|
| 178 |
+
opacity:.5;
|
| 179 |
+
cursor:not-allowed;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.btn:hover:not(:disabled){
|
| 183 |
+
transform:translateY(-1px);
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
.btn-primary{background:var(--primary); color:#fff}
|
| 187 |
.btn-primary:hover{background:var(--primary-600)}
|
| 188 |
.btn-success{background:var(--success); color:#fff}
|
| 189 |
.btn-info{background:var(--info); color:#fff}
|
| 190 |
.btn-danger{background:var(--danger); color:#fff}
|
| 191 |
+
|
| 192 |
+
.num{
|
| 193 |
+
display:inline-flex;
|
| 194 |
+
align-items:center;
|
| 195 |
+
justify-content:center;
|
| 196 |
+
width:22px;
|
| 197 |
+
height:22px;
|
| 198 |
+
border-radius:999px;
|
| 199 |
+
background:#fff;
|
| 200 |
+
color:var(--primary);
|
| 201 |
+
border:1px solid var(--border);
|
| 202 |
+
margin-inline-end:6px;
|
| 203 |
+
font-weight:800;
|
| 204 |
+
font-size:12px;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.badge{
|
| 208 |
+
background:#fff;
|
| 209 |
+
color:var(--primary);
|
| 210 |
+
border-radius:999px;
|
| 211 |
+
padding:2px 8px;
|
| 212 |
+
margin-inline-start:6px;
|
| 213 |
+
font-size:12px;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.warn{
|
| 217 |
+
margin:8px auto 12px;
|
| 218 |
+
padding:8px 12px;
|
| 219 |
+
border-radius:10px;
|
| 220 |
+
border:1px solid #f59e0b;
|
| 221 |
+
color:#92400e;
|
| 222 |
+
background:#fffbeb;
|
| 223 |
+
max-width:900px;
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
.table-wrap{
|
| 227 |
+
overflow:auto;
|
| 228 |
+
border-radius:14px;
|
| 229 |
+
border:1px solid var(--border);
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.table{
|
| 233 |
+
width:100%;
|
| 234 |
+
border-collapse:separate;
|
| 235 |
+
border-spacing:0;
|
| 236 |
+
text-align:center;
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.table thead th{
|
| 240 |
+
background:var(--table-head);
|
| 241 |
+
color:#fff;
|
| 242 |
+
font-weight:700;
|
| 243 |
+
padding:12px;
|
| 244 |
+
position:sticky;
|
| 245 |
+
top:0;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
.table tbody td{
|
| 249 |
+
padding:10px 12px;
|
| 250 |
+
background:var(--card);
|
| 251 |
+
border-top:1px solid var(--border);
|
| 252 |
+
color:var(--ink);
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
.table tbody tr:nth-child(even) td{
|
| 256 |
+
background:var(--table-alt);
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
.table td[contenteditable="true"]{outline:none}
|
| 260 |
.table td.invalid{background:#fff3f3}
|
| 261 |
body.dark .table td.invalid{background:#3b1d1d}
|
| 262 |
+
|
| 263 |
+
.cat{
|
| 264 |
+
display:inline-block;
|
| 265 |
+
padding:4px 8px;
|
| 266 |
+
border-radius:999px;
|
| 267 |
+
font-size:12px;
|
| 268 |
+
font-weight:700;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
.cat.login {background:#fff1; color:#fff; border:1px solid #fff3}
|
| 272 |
+
.cat.device {background:#0ea5e922; color:#0ea5e9; border:1px solid #0ea5e955}
|
| 273 |
+
.cat.form {background:#fef3c7; color:#a16207; border:1px solid #f59e0b}
|
| 274 |
+
.cat.network {background:#dcfce7; color:#166534; border:1px solid #22c55e}
|
| 275 |
+
.cat.update {background:#e0e7ff; color:#3730a3; border:1px solid #6366f1}
|
| 276 |
+
.cat.default {background:#f1f5f9; color:#0f172a; border:1px solid #cbd5e1}
|
| 277 |
body.dark .cat.default{background:#111827; color:#e5e7eb; border-color:#334155}
|
| 278 |
+
|
| 279 |
+
.toast{
|
| 280 |
+
position:fixed;
|
| 281 |
+
bottom:20px;
|
| 282 |
+
inset-inline-start:20px;
|
| 283 |
+
background:#111827;
|
| 284 |
+
color:#fff;
|
| 285 |
+
padding:10px 14px;
|
| 286 |
+
border-radius:10px;
|
| 287 |
+
box-shadow:var(--shadow);
|
| 288 |
+
opacity:0;
|
| 289 |
+
transform:translateY(8px);
|
| 290 |
+
transition:.25s ease;
|
| 291 |
+
pointer-events:none;
|
| 292 |
+
font-weight:600;
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
.toast.show{
|
| 296 |
+
opacity:1;
|
| 297 |
+
transform:translateY(0);
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
@media (max-width:640px){
|
| 301 |
+
.filters{flex-direction:column}
|
| 302 |
.btn-row{gap:6px}
|
| 303 |
}
|