stat2025 commited on
Commit
8c88740
·
verified ·
1 Parent(s): b11ce64

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +76 -79
style.css CHANGED
@@ -1,113 +1,110 @@
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:#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
+ *{box-sizing:border-box}
19
+ html,body{height:100%}
20
  body{
21
+ margin:0; font-family:"Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
22
+ color:var(--ink); background:var(--bg); line-height:1.7;
23
  }
24
 
25
+ .container{max-width:1100px; margin:24px auto; padding:0 16px}
 
26
 
27
+ .center{display:block}
28
+ .hero{
29
+ text-align:center; margin-bottom:16px;
30
+ }
31
+ .hero h1{
32
+ margin:4px 0 6px; font-size:28px; font-weight:700; color:var(--primary);
33
+ }
34
+ .signature{
35
+ display:inline-flex; gap:8px; align-items:center; justify-content:center;
36
+ background:#fff; padding:6px 12px; border-radius:999px; border:1px solid var(--border);
37
+ color:var(--muted); font-weight:600; box-shadow:var(--shadow);
38
+ }
39
+ .signature .role{color:var(--primary)}
40
+ .signature .name{color:var(--ink)}
41
 
42
  .card{
43
+ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
44
+ padding:18px; border:1px solid var(--border);
45
  }
46
 
47
+ .label{display:block; font-weight:600; margin-bottom:8px; color:var(--muted)}
48
  .paste{
49
+ width:100%; min-height:160px; resize:vertical; padding:12px 14px; border-radius:12px;
50
+ border:1px solid var(--border); outline:none; background:#fff; font-family:inherit;
51
  }
52
+ .paste:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.12)}
53
 
54
+ .filters{display:flex; gap:10px; margin:12px 0}
55
  .control{
56
+ flex:1; padding:10px 12px; border-radius:10px; border:1px solid var(--border);
57
+ outline:none; background:#fff;
58
  }
59
+ .control:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.08)}
60
 
61
+ .hint{color:var(--muted); font-size:14px; margin:8px 0 10px}
62
 
63
+ .btn-row{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px}
 
 
64
  .btn{
65
+ padding:10px 14px; border:none; border-radius:12px; cursor:pointer; font-weight:700;
66
+ background:#ddd; color:#111; transition:transform .04s ease, box-shadow .2s ease;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  }
68
+ .btn:disabled{opacity:.5; cursor:not-allowed}
69
+ .btn:hover:not(:disabled){transform:translateY(-1px)}
70
+ .btn-primary{background:var(--primary); color:#fff}
71
+ .btn-primary:hover{background:var(--primary-600)}
72
+ .btn-success{background:var(--success); color:#fff}
73
+ .btn-info{background:var(--info); color:#fff}
74
+ .btn-danger{background:var(--danger); color:#fff}
75
+ .btn-light{background:#eef2ff; color:#2b2b2b}
76
 
77
  .badge{
78
+ background:#fff; color:var(--primary); border-radius:999px; padding:2px 8px; margin-right:6px; font-size:12px;
 
 
 
79
  }
80
 
81
+ .table-wrap{overflow:auto; border-radius:14px; border:1px solid var(--border)}
82
+ .table{width:100%; border-collapse:separate; border-spacing:0}
83
  .table thead th{
84
+ background:var(--table-head); color:#fff; font-weight:700; padding:12px; position:sticky; top:0;
85
  }
86
+ .table tbody td{
87
+ padding:10px 12px; background:#fff; border-top:1px solid var(--border);
 
 
 
 
 
 
 
88
  }
89
+ .table tbody tr:nth-child(even) td{background:var(--table-alt)}
90
+ .table td[contenteditable="true"]{outline:none}
91
+ .table td.invalid{background:#fff3f3}
92
 
93
+ .footer{
94
+ text-align:center; margin:18px 0 6px; color:var(--muted);
95
  }
96
+ .footer .signature{
97
+ box-shadow:none; background:transparent; border-color:transparent;
98
+ gap:6px; padding:0; font-weight:600;
 
99
  }
 
 
100
 
101
+ .toast{
102
+ position:fixed; bottom:20px; inset-inline-start:20px; background:#111827; color:#fff;
103
+ padding:10px 14px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(8px);
104
+ transition:.25s ease; pointer-events:none; font-weight:600;
105
+ }
106
+ .toast.show{opacity:1; transform:translateY(0)}
107
  @media (max-width:640px){
108
+ .filters{flex-direction:column}
109
+ .btn-row{gap:6px}
110
  }