stat2025 commited on
Commit
6ea8962
·
verified ·
1 Parent(s): 0e8daf7

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +25 -85
style.css CHANGED
@@ -1,113 +1,53 @@
1
  :root{
2
- --bg:#F4F6FA;
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
  }
17
-
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;
57
- box-shadow:0 4px 12px rgba(0,0,0,.08); transition:transform .05s ease;
58
- }
59
  .btn:active{ transform:translateY(1px) }
60
  .btn[disabled]{ opacity:.5; cursor:not-allowed; box-shadow:none }
61
-
62
  .btn-primary{ background:var(--primary); color:#fff }
63
  .btn-success{ background:var(--success); color:#fff }
64
  .btn-info{ background:var(--accent); color:#fff }
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;
95
- background:#111827; color:#fff; padding:10px 14px; border-radius:10px; font-weight:700; opacity:0;
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 }
113
- }
 
1
  :root{
2
+ --bg:#F4F6FA; --card:#FFFFFF; --text:#1F2937; --muted:#6B7280;
3
+ --primary:#4137A8; --accent:#1CADE4; --success:#42BA97; --secondary:#5C6E88;
4
+ --violet:#7030A0; --cyan:#27CED7; --warning:#FFC000; --danger:#F5554A;
5
+ --border:#E5E7EB; --rowAlt:#F5F8FF;
 
 
 
 
 
 
 
 
 
 
6
  }
 
7
  *{ box-sizing:border-box }
8
  html,body{ height:100% }
9
+ body{ margin:0; padding:24px; background:var(--bg); color:var(--text);
10
+ font-family:"Cairo",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; }
 
 
 
11
  .container{ max-width:1100px; margin:0 auto; }
12
  .center{ text-align:center }
 
13
  .hero h1{ margin:0 0 4px; font-weight:800; font-size:clamp(22px,4vw,34px); color:var(--primary) }
14
  .hero .sub{ margin:0; color:var(--muted); font-size:14px }
15
  .hero .sep{ margin:0 .5rem }
16
+ .card{ margin:18px auto 28px; background:var(--card); border:1px solid var(--border);
17
+ border-radius:16px; box-shadow:0 6px 24px rgba(0,0,0,.05); padding:18px; }
 
 
 
 
18
  .label{ display:block; text-align:right; font-weight:700; margin:4px 4px 8px }
19
+ .paste{ width:100%; min-height:180px; resize:vertical; border:1px solid var(--border); border-radius:12px;
20
+ padding:12px 14px; line-height:1.7; font-size:15px; background:#fff; }
 
 
21
  .paste:focus{ outline:2px solid var(--accent) }
 
22
  .filters{ display:flex; gap:12px; margin-top:12px; flex-wrap:wrap; justify-content:center }
23
+ .control{ border:1px solid var(--border); border-radius:10px; padding:10px 12px; background:#fff;
24
+ min-width:260px; font-size:14px; }
 
 
 
25
  .hint{ margin:12px 0 8px; color:var(--muted); font-size:13px }
26
+ .btn-row{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; margin:8px 0 16px; }
27
+ .btn{ border:0; border-radius:999px; padding:10px 14px; font-weight:700; cursor:pointer;
28
+ box-shadow:0 4px 12px rgba(0,0,0,.08); transition:transform .05s ease; }
 
 
 
 
 
29
  .btn:active{ transform:translateY(1px) }
30
  .btn[disabled]{ opacity:.5; cursor:not-allowed; box-shadow:none }
 
31
  .btn-primary{ background:var(--primary); color:#fff }
32
  .btn-success{ background:var(--success); color:#fff }
33
  .btn-info{ background:var(--accent); color:#fff }
34
  .btn-danger{ background:var(--danger); color:#fff }
35
  .btn-light{ background:#EEF2FF; color:var(--primary) }
 
36
  .btn[data-step]{ position:relative; padding-inline-start:36px }
37
+ .btn[data-step]::before{ content:attr(data-step); position:absolute; inset-inline-start:10px; top:50%;
38
+ transform:translateY(-50%); width:20px; height:20px; border-radius:999px; background:#fff; color:var(--primary);
39
+ font-weight:800; font-size:12px; display:grid; place-items:center; }
40
+ .badge{ display:inline-flex; align-items:center; justify-content:center; min-width:22px; height:22px; padding:0 6px;
41
+ background:#fff; color:var(--primary); border-radius:999px; font-weight:800; font-size:12px; margin-inline-start:8px;
42
+ box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
 
 
 
 
 
 
 
43
  .table-wrap{ overflow:auto; border:1px solid var(--border); border-radius:12px }
44
  .table{ width:100%; border-collapse:collapse; min-width:900px }
45
+ .table thead th{ background:var(--primary); color:#fff; padding:10px; font-weight:800; position:sticky; top:0; text-align:center; }
 
 
46
  .table td{ padding:10px; border:1px solid var(--border); text-align:center; background:#fff }
47
  .table tbody tr:nth-child(even) td{ background:var(--rowAlt) }
48
  .invalid{ background:#FFF2F2 !important; outline:2px solid var(--danger) }
 
49
  .footer{ margin:18px 0; text-align:center; color:var(--muted); font-size:13px }
50
+ .toast{ position:fixed; left:50%; transform:translateX(-50%); bottom:22px; background:#111827; color:#fff;
51
+ padding:10px 14px; border-radius:10px; font-weight:700; opacity:0; }
 
 
 
52
  .toast.show{ opacity:1; transition:opacity .2s ease }
53
+ @media (max-width:640px){ body{ padding:16px } .table{ min-width:760px } }