Server: replace wireguard-ui with built-in wg-admin-gui + PostgreSQL
This commit is contained in:
27
gui/static/style.css
Normal file
27
gui/static/style.css
Normal file
@@ -0,0 +1,27 @@
|
||||
:root {
|
||||
--bg: #f3f8f4;
|
||||
--fg: #12261a;
|
||||
--brand: #145a32;
|
||||
--muted: #5c7463;
|
||||
--card: #ffffff;
|
||||
}
|
||||
body { margin: 0; font-family: ui-sans-serif, system-ui, sans-serif; background: radial-gradient(circle at 10% 10%, #d8ead9, var(--bg)); color: var(--fg); }
|
||||
.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: #e7f4e9; border-bottom: 1px solid #c7decb; }
|
||||
.top h1 { margin: 0; font-size: 24px; }
|
||||
.top nav a { margin-right: 14px; color: var(--brand); text-decoration: none; font-weight: 600; }
|
||||
main { padding: 22px; }
|
||||
.card { background: var(--card); padding: 16px; border-radius: 12px; border: 1px solid #d7e7da; display: grid; gap: 10px; max-width: 640px; }
|
||||
label { display: grid; gap: 6px; }
|
||||
input, select, button { padding: 10px; border-radius: 10px; border: 1px solid #bad2bf; font-size: 14px; }
|
||||
button { background: var(--brand); color: #fff; border: 0; font-weight: 700; cursor: pointer; }
|
||||
table { width: 100%; border-collapse: collapse; background: white; border: 1px solid #d7e7da; }
|
||||
th, td { border-bottom: 1px solid #e0ece2; padding: 8px; font-size: 13px; text-align: left; vertical-align: top; }
|
||||
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
|
||||
.badge { padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
|
||||
.badge.online { background: #d8f0df; color: #115f33; }
|
||||
.badge.offline { background: #f2e7e7; color: #8a2e2e; }
|
||||
pre { background: #0e1b12; color: #c8f6d8; padding: 10px; border-radius: 10px; overflow: auto; }
|
||||
.alert { padding: 10px; border-radius: 8px; margin-bottom: 10px; }
|
||||
.alert.error { background: #ffe0e0; color: #8a2020; }
|
||||
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
||||
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
|
||||
Reference in New Issue
Block a user