Skip to content

Commit 6c74f40

Browse files
Update style.css
1 parent d7add44 commit 6c74f40

File tree

1 file changed

+153
-0
lines changed

1 file changed

+153
-0
lines changed

static/style.css

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,3 +266,156 @@ button:hover {
266266
.actions {
267267
white-space: nowrap;
268268
}
269+
270+
/* Dashboard Header */
271+
.dashboard-header {
272+
display: flex;
273+
justify-content: space-between;
274+
align-items: center;
275+
margin-bottom: 2rem;
276+
}
277+
278+
.header-actions {
279+
display: flex;
280+
gap: 1rem;
281+
align-items: center;
282+
}
283+
284+
.btn-secondary {
285+
background-color: #6c757d;
286+
color: white;
287+
border: none;
288+
padding: 0.5rem 1rem;
289+
border-radius: 4px;
290+
cursor: pointer;
291+
font-size: 0.9rem;
292+
}
293+
294+
.btn-secondary:hover {
295+
background-color: #5a6268;
296+
}
297+
298+
.btn-secondary.btn-success {
299+
background-color: #28a745;
300+
cursor: default;
301+
}
302+
303+
.btn-refresh {
304+
background-color: #17a2b8;
305+
color: white;
306+
border: none;
307+
padding: 0.5rem 1rem;
308+
border-radius: 4px;
309+
cursor: pointer;
310+
font-size: 0.9rem;
311+
}
312+
313+
.btn-refresh:hover {
314+
background-color: #138496;
315+
}
316+
317+
/* Custom Email Input */
318+
.custom-email-input {
319+
width: 100%;
320+
padding: 0.5rem;
321+
border: 1px solid #ced4da;
322+
border-radius: 4px;
323+
font-size: 1rem;
324+
}
325+
326+
/* Forwarder List Styling */
327+
.forwarders-list {
328+
max-height: 500px;
329+
overflow-y: auto;
330+
}
331+
332+
.forwarder-item {
333+
display: flex;
334+
justify-content: space-between;
335+
align-items: center;
336+
padding: 1rem;
337+
border: 1px solid #e9ecef;
338+
border-radius: 4px;
339+
margin-bottom: 0.75rem;
340+
background-color: #f8f9fa;
341+
transition: all 0.2s ease;
342+
}
343+
344+
.forwarder-item:hover {
345+
background-color: #e9ecef;
346+
border-color: #dee2e6;
347+
}
348+
349+
.forwarder-info {
350+
display: flex;
351+
align-items: center;
352+
gap: 1rem;
353+
flex: 1;
354+
}
355+
356+
.forwarder-alias {
357+
font-weight: 600;
358+
color: #495057;
359+
min-width: 150px;
360+
}
361+
362+
.forwarder-arrow {
363+
color: #6c757d;
364+
font-size: 1.2rem;
365+
}
366+
367+
.forwarder-destinations {
368+
display: flex;
369+
flex-wrap: wrap;
370+
gap: 0.5rem;
371+
}
372+
373+
.destination-tag {
374+
background-color: #007bff;
375+
color: white;
376+
padding: 0.25rem 0.75rem;
377+
border-radius: 20px;
378+
font-size: 0.875rem;
379+
}
380+
381+
.no-forwarders {
382+
text-align: center;
383+
color: #6c757d;
384+
padding: 2rem;
385+
font-style: italic;
386+
}
387+
388+
.loading {
389+
text-align: center;
390+
color: #6c757d;
391+
padding: 2rem;
392+
}
393+
394+
.input-with-domain {
395+
display: flex;
396+
align-items: center;
397+
gap: 0.5rem;
398+
}
399+
400+
.input-with-domain input {
401+
flex: 1;
402+
}
403+
404+
.input-with-domain span {
405+
color: #6c757d;
406+
font-weight: 500;
407+
}
408+
409+
/* Make select dropdowns look better */
410+
select {
411+
width: 100%;
412+
padding: 0.5rem;
413+
border: 1px solid #ced4da;
414+
border-radius: 4px;
415+
font-size: 1rem;
416+
background-color: white;
417+
}
418+
419+
select optgroup {
420+
font-weight: 600;
421+
}

0 commit comments

Comments
 (0)