Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,113 +1,98 @@
|
|
| 1 |
:root{
|
| 2 |
-
--bg:#
|
| 3 |
-
--card:#
|
| 4 |
-
--
|
| 5 |
-
--
|
| 6 |
-
--
|
| 7 |
-
--
|
| 8 |
-
--
|
| 9 |
-
--secondary:#5C6E88;
|
| 10 |
-
--violet:#7030A0;
|
| 11 |
-
--cyan:#27CED7;
|
| 12 |
-
--warning:#FFC000;
|
| 13 |
-
--danger:#F5554A;
|
| 14 |
-
--border:#E5E7EB;
|
| 15 |
-
--rowAlt:#F5F8FF;
|
| 16 |
}
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
html,body{ height:100% }
|
| 20 |
body{
|
| 21 |
-
margin:0;
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
}
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 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 |
-
.
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
padding:
|
| 41 |
}
|
| 42 |
-
.
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
border
|
| 47 |
-
|
| 48 |
}
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
}
|
| 55 |
-
.
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
-
.btn
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 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 |
-
.
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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(--
|
| 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;
|
| 95 |
-
background:#111827; color:#fff; padding:10px 14px; border-radius:10px; font-weight:700; opacity:0;
|
| 96 |
}
|
| 97 |
-
.
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
|
|
|
|
|
|
|
|
|
| 101 |
}
|
| 102 |
-
|
| 103 |
-
.
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
}
|
| 107 |
-
.
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
.table{ min-width:760px }
|
| 113 |
}
|
|
|
|
| 1 |
:root{
|
| 2 |
+
--bg:#0b0f14;
|
| 3 |
+
--card:#10161d;
|
| 4 |
+
--muted:#9fb0c3;
|
| 5 |
+
--text:#e8f0f7;
|
| 6 |
+
--accent:#3aa6ff;
|
| 7 |
+
--danger:#ff5d5d;
|
| 8 |
+
--border:#1c2430;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
+
*{box-sizing:border-box}
|
| 11 |
+
html,body{height:100%}
|
|
|
|
| 12 |
body{
|
| 13 |
+
margin:0;
|
| 14 |
+
background:var(--bg);
|
| 15 |
+
color:var(--text);
|
| 16 |
+
font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,"Noto Sans Arabic",Tahoma,Arial,sans-serif;
|
| 17 |
}
|
| 18 |
+
.header{
|
| 19 |
+
padding:16px 20px;
|
| 20 |
+
border-bottom:1px solid var(--border);
|
| 21 |
+
background:linear-gradient(180deg, #0d1218, #0b0f14);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
+
.header h1{margin:0;font-size:20px}
|
| 24 |
+
.container{
|
| 25 |
+
max-width:1100px;
|
| 26 |
+
margin:24px auto;
|
| 27 |
+
padding:0 16px;
|
| 28 |
}
|
| 29 |
+
.controls{
|
| 30 |
+
background:var(--card);
|
| 31 |
+
border:1px solid var(--border);
|
| 32 |
+
padding:16px;
|
| 33 |
+
border-radius:16px;
|
| 34 |
+
box-shadow:0 8px 20px rgba(0,0,0,.25);
|
| 35 |
}
|
| 36 |
+
.input{
|
| 37 |
+
width:100%;
|
| 38 |
+
min-height:180px;
|
| 39 |
+
background:#0b1218;
|
| 40 |
+
color:var(--text);
|
| 41 |
+
border:1px solid var(--border);
|
| 42 |
+
border-radius:12px;
|
| 43 |
+
padding:12px;
|
| 44 |
+
outline:none;
|
| 45 |
+
resize:vertical;
|
| 46 |
+
line-height:1.7;
|
| 47 |
}
|
| 48 |
+
.buttons{
|
| 49 |
+
margin-top:12px;
|
| 50 |
+
display:flex;
|
| 51 |
+
gap:8px;
|
| 52 |
+
flex-wrap:wrap;
|
| 53 |
}
|
| 54 |
+
.btn{
|
| 55 |
+
border:1px solid var(--border);
|
| 56 |
+
background:#0e141b;
|
| 57 |
+
color:var(--text);
|
| 58 |
+
padding:10px 14px;
|
| 59 |
+
border-radius:12px;
|
| 60 |
+
cursor:pointer;
|
| 61 |
+
font-weight:600;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
}
|
| 63 |
+
.btn.primary{background:var(--accent);border-color:#2c7ecc;color:#021423}
|
| 64 |
+
.btn.primary:hover{filter:brightness(1.05)}
|
| 65 |
+
.btn.danger{background:#2a0e0e;border-color:#4b1c1c}
|
| 66 |
+
.btn.danger:hover{filter:brightness(1.1)}
|
| 67 |
+
.counter{margin-top:10px;color:var(--muted);font-size:14px}
|
| 68 |
+
|
| 69 |
+
.table-wrap{
|
| 70 |
+
margin-top:16px;
|
| 71 |
+
background:var(--card);
|
| 72 |
+
border:1px solid var(--border);
|
| 73 |
+
border-radius:16px;
|
| 74 |
+
overflow:hidden;
|
| 75 |
}
|
| 76 |
+
.table{width:100%;border-collapse:collapse}
|
|
|
|
|
|
|
| 77 |
.table thead th{
|
| 78 |
+
position:sticky;top:0;background:#0e151c;border-bottom:1px solid var(--border);padding:10px;text-align:right;font-size:14px
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
+
.table tbody td{
|
| 81 |
+
border-top:1px solid var(--border);
|
| 82 |
+
padding:10px;
|
| 83 |
+
vertical-align:top;
|
| 84 |
+
font-size:14px;
|
| 85 |
+
line-height:1.6;
|
| 86 |
+
word-break:break-word;
|
| 87 |
}
|
| 88 |
+
@media (max-width: 760px){
|
| 89 |
+
.input{min-height:140px}
|
| 90 |
+
.table thead{display:none}
|
| 91 |
+
.table tr{display:block;border-top:1px solid var(--border)}
|
| 92 |
+
.table td{display:flex;justify-content:space-between;gap:12px}
|
| 93 |
+
.table td::before{
|
| 94 |
+
content:attr(data-label);
|
| 95 |
+
color:var(--muted);
|
| 96 |
+
font-weight:600
|
| 97 |
+
}
|
|
|
|
| 98 |
}
|