Skip to content

Commit 5031f31

Browse files
Update style.css
1 parent 0434238 commit 5031f31

File tree

1 file changed

+130
-0
lines changed

1 file changed

+130
-0
lines changed

static/style.css

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,133 @@ button:hover {
136136
#qrCode img {
137137
margin: 1rem 0;
138138
}
139+
/* Admin Styles */
140+
.admin-header {
141+
display: flex;
142+
justify-content: space-between;
143+
align-items: center;
144+
margin-bottom: 2rem;
145+
}
146+
147+
.users-table {
148+
background: white;
149+
padding: 2rem;
150+
border-radius: 8px;
151+
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
152+
overflow-x: auto;
153+
}
154+
155+
#usersTable {
156+
width: 100%;
157+
border-collapse: collapse;
158+
}
159+
160+
#usersTable th {
161+
background-color: #f8f9fa;
162+
padding: 1rem;
163+
text-align: left;
164+
font-weight: 600;
165+
border-bottom: 2px solid #dee2e6;
166+
}
167+
168+
#usersTable td {
169+
padding: 1rem;
170+
border-bottom: 1px solid #dee2e6;
171+
}
172+
173+
#usersTable tr:hover {
174+
background-color: #f8f9fa;
175+
}
176+
177+
.badge {
178+
padding: 0.25rem 0.75rem;
179+
border-radius: 20px;
180+
font-size: 0.875rem;
181+
font-weight: 500;
182+
}
183+
184+
.badge.admin {
185+
background-color: #6f42c1;
186+
color: white;
187+
}
188+
189+
.badge.user {
190+
background-color: #6c757d;
191+
color: white;
192+
}
193+
194+
.badge.enabled {
195+
background-color: #28a745;
196+
color: white;
197+
}
198+
199+
.badge.disabled {
200+
background-color: #dc3545;
201+
color: white;
202+
}
203+
204+
.btn-small {
205+
padding: 0.5rem 1rem;
206+
font-size: 0.875rem;
207+
margin-right: 0.5rem;
208+
}
209+
210+
.btn-primary {
211+
background-color: #007bff;
212+
color: white;
213+
border: none;
214+
padding: 0.75rem 1.5rem;
215+
border-radius: 4px;
216+
cursor: pointer;
217+
font-size: 1rem;
218+
}
219+
220+
.btn-primary:hover {
221+
background-color: #0056b3;
222+
}
223+
224+
.password-input-group {
225+
display: flex;
226+
gap: 0.5rem;
227+
}
228+
229+
.password-input-group input {
230+
flex: 1;
231+
}
232+
233+
.password-input-group button {
234+
padding: 0.5rem 1rem;
235+
font-size: 0.875rem;
236+
}
237+
238+
.nav-links {
239+
display: flex;
240+
align-items: center;
241+
gap: 1.5rem;
242+
}
243+
244+
.nav-links a {
245+
color: white;
246+
text-decoration: none;
247+
}
248+
249+
.nav-links a:hover {
250+
text-decoration: underline;
251+
}
252+
253+
.modal-actions {
254+
display: flex;
255+
justify-content: flex-end;
256+
gap: 1rem;
257+
margin-top: 1.5rem;
258+
}
259+
260+
#passwordHint {
261+
color: #6c757d;
262+
font-size: 0.875rem;
263+
margin-top: 0.25rem;
264+
}
265+
266+
.actions {
267+
white-space: nowrap;
268+
}

0 commit comments

Comments
 (0)