stat2025 commited on
Commit
2b57094
·
verified ·
1 Parent(s): 145fb93

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +5 -33
style.css CHANGED
@@ -14,8 +14,6 @@
14
  --radius:16px;
15
  --shadow:0 4px 20px rgba(0,0,0,.06);
16
  }
17
-
18
- /* Dark mode */
19
  body.dark{
20
  --bg:#0f172a;
21
  --card:#111827;
@@ -26,24 +24,17 @@ body.dark{
26
  --table-alt:#0b1326;
27
  --shadow:0 4px 20px rgba(0,0,0,.35);
28
  }
29
-
30
  *{box-sizing:border-box}
31
  html,body{height:100%}
32
  body{
33
- margin:0; font-family:"Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
34
  color:var(--ink); background:var(--bg); line-height:1.7;
35
  }
36
-
37
  .container{max-width:1100px; margin:24px auto; padding:0 16px}
38
-
39
- .center{display:block}
40
  .hero{margin-bottom:16px}
41
  .hero-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
42
- .hero h1{
43
- margin:4px 0 6px; font-size:28px; font-weight:700; color:var(--primary);
44
- }
45
  .actions-inline{display:flex; gap:8px; align-items:center}
46
-
47
  .signature{
48
  display:inline-flex; gap:8px; align-items:center; justify-content:center;
49
  background:var(--card); padding:6px 12px; border-radius:999px; border:1px solid var(--border);
@@ -51,28 +42,23 @@ body{
51
  }
52
  .signature .role{color:var(--primary)}
53
  .signature .name{color:var(--ink)}
54
-
55
  .card{
56
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
57
  padding:18px; border:1px solid var(--border);
58
  }
59
-
60
  .label{display:block; font-weight:600; margin-bottom:8px; color:var(--muted)}
61
  .paste{
62
  width:100%; min-height:160px; resize:vertical; padding:12px 14px; border-radius:12px;
63
  border:1px solid var(--border); outline:none; background:var(--card); color:var(--ink);
64
  }
65
  .paste:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.12)}
66
-
67
  .filters{display:flex; gap:10px; margin:12px 0}
68
  .control{
69
  flex:1; padding:10px 12px; border-radius:10px; border:1px solid var(--border);
70
  outline:none; background:var(--card); color:var(--ink);
71
  }
72
  .control:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.08)}
73
-
74
  .hint{color:var(--muted); font-size:14px; margin:8px 0 10px}
75
-
76
  .btn-row{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px}
77
  .btn{
78
  padding:10px 14px; border:none; border-radius:12px; cursor:pointer; font-weight:700;
@@ -89,11 +75,9 @@ body.dark .btn{color:#eee}
89
  .btn-danger{background:var(--danger); color:#fff}
90
  .btn-light{background:#eef2ff; color:#2b2b2b}
91
  body.dark .btn-light{background:#1f2937; color:#e5e7eb}
92
-
93
  .badge{
94
  background:#fff; color:var(--primary); border-radius:999px; padding:2px 8px; margin-right:6px; font-size:12px;
95
  }
96
-
97
  .table-wrap{overflow:auto; border-radius:14px; border:1px solid var(--border)}
98
  .table{width:100%; border-collapse:separate; border-spacing:0}
99
  .table thead th{
@@ -106,11 +90,7 @@ body.dark .btn-light{background:#1f2937; color:#e5e7eb}
106
  .table td[contenteditable="true"]{outline:none}
107
  .table td.invalid{background:#fff3f3}
108
  body.dark .table td.invalid{background:#3b1d1d}
109
-
110
- /* شارة التصنيف */
111
- .cat{
112
- display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:700;
113
- }
114
  .cat.login{background:#fff1; color:#fff; border:1px solid #fff3}
115
  .cat.device{background:#0ea5e922; color:#0ea5e9; border:1px solid #0ea5e955}
116
  .cat.form{background:#fef3c7; color:#a16207; border:1px solid #f59e0b}
@@ -118,22 +98,14 @@ body.dark .table td.invalid{background:#3b1d1d}
118
  .cat.update{background:#e0e7ff; color:#3730a3; border:1px solid #6366f1}
119
  .cat.default{background:#f1f5f9; color:#0f172a; border:1px solid #cbd5e1}
120
  body.dark .cat.default{background:#111827; color:#e5e7eb; border-color:#334155}
121
-
122
- .footer{
123
- text-align:center; margin:18px 0 6px; color:var(--muted);
124
- }
125
- .footer .signature{
126
- box-shadow:none; background:transparent; border-color:transparent;
127
- gap:6px; padding:0; font-weight:600;
128
- }
129
-
130
  .toast{
131
  position:fixed; bottom:20px; inset-inline-start:20px; background:#111827; color:#fff;
132
  padding:10px 14px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(8px);
133
  transition:.25s ease; pointer-events:none; font-weight:600;
134
  }
135
  .toast.show{opacity:1; transform:translateY(0)}
136
-
137
  @media (max-width:640px){
138
  .filters{flex-direction:column}
139
  .btn-row{gap:6px}
 
14
  --radius:16px;
15
  --shadow:0 4px 20px rgba(0,0,0,.06);
16
  }
 
 
17
  body.dark{
18
  --bg:#0f172a;
19
  --card:#111827;
 
24
  --table-alt:#0b1326;
25
  --shadow:0 4px 20px rgba(0,0,0,.35);
26
  }
 
27
  *{box-sizing:border-box}
28
  html,body{height:100%}
29
  body{
30
+ margin:0; font-family:"Cairo",system-ui,-apple-system,Segoe UI,Arial,sans-serif;
31
  color:var(--ink); background:var(--bg); line-height:1.7;
32
  }
 
33
  .container{max-width:1100px; margin:24px auto; padding:0 16px}
 
 
34
  .hero{margin-bottom:16px}
35
  .hero-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
36
+ .hero h1{margin:4px 0 6px; font-size:28px; font-weight:700; color:var(--primary)}
 
 
37
  .actions-inline{display:flex; gap:8px; align-items:center}
 
38
  .signature{
39
  display:inline-flex; gap:8px; align-items:center; justify-content:center;
40
  background:var(--card); padding:6px 12px; border-radius:999px; border:1px solid var(--border);
 
42
  }
43
  .signature .role{color:var(--primary)}
44
  .signature .name{color:var(--ink)}
 
45
  .card{
46
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
47
  padding:18px; border:1px solid var(--border);
48
  }
 
49
  .label{display:block; font-weight:600; margin-bottom:8px; color:var(--muted)}
50
  .paste{
51
  width:100%; min-height:160px; resize:vertical; padding:12px 14px; border-radius:12px;
52
  border:1px solid var(--border); outline:none; background:var(--card); color:var(--ink);
53
  }
54
  .paste:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.12)}
 
55
  .filters{display:flex; gap:10px; margin:12px 0}
56
  .control{
57
  flex:1; padding:10px 12px; border-radius:10px; border:1px solid var(--border);
58
  outline:none; background:var(--card); color:var(--ink);
59
  }
60
  .control:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.08)}
 
61
  .hint{color:var(--muted); font-size:14px; margin:8px 0 10px}
 
62
  .btn-row{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px}
63
  .btn{
64
  padding:10px 14px; border:none; border-radius:12px; cursor:pointer; font-weight:700;
 
75
  .btn-danger{background:var(--danger); color:#fff}
76
  .btn-light{background:#eef2ff; color:#2b2b2b}
77
  body.dark .btn-light{background:#1f2937; color:#e5e7eb}
 
78
  .badge{
79
  background:#fff; color:var(--primary); border-radius:999px; padding:2px 8px; margin-right:6px; font-size:12px;
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{
 
90
  .table td[contenteditable="true"]{outline:none}
91
  .table td.invalid{background:#fff3f3}
92
  body.dark .table td.invalid{background:#3b1d1d}
93
+ .cat{display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:700}
 
 
 
 
94
  .cat.login{background:#fff1; color:#fff; border:1px solid #fff3}
95
  .cat.device{background:#0ea5e922; color:#0ea5e9; border:1px solid #0ea5e955}
96
  .cat.form{background:#fef3c7; color:#a16207; border:1px solid #f59e0b}
 
98
  .cat.update{background:#e0e7ff; color:#3730a3; border:1px solid #6366f1}
99
  .cat.default{background:#f1f5f9; color:#0f172a; border:1px solid #cbd5e1}
100
  body.dark .cat.default{background:#111827; color:#e5e7eb; border-color:#334155}
101
+ .footer{text-align:center; margin:18px 0 6px; color:var(--muted)}
102
+ .footer .signature{box-shadow:none; background:transparent; border-color:transparent; gap:6px; padding:0; font-weight:600}
 
 
 
 
 
 
 
103
  .toast{
104
  position:fixed; bottom:20px; inset-inline-start:20px; background:#111827; color:#fff;
105
  padding:10px 14px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(8px);
106
  transition:.25s ease; pointer-events:none; font-weight:600;
107
  }
108
  .toast.show{opacity:1; transform:translateY(0)}
 
109
  @media (max-width:640px){
110
  .filters{flex-direction:column}
111
  .btn-row{gap:6px}