modified: .env
new file: __debug_bin.exe modified: bot.db modified: db/db.go modified: go.mod new file: handlers/auth.go modified: handlers/dashboard.go new file: handlers/saas.go modified: handlers/webhook.go modified: main.go new file: saas_bot.db modified: services/openrouter.go new file: services/types.go modified: services/whatsapp.go new file: static/style.css modified: templates/dashboard.html new file: templates/landing.html new file: templates/login.html new file: templates/register.html deleted: types/types.go
This commit is contained in:
43
static/style.css
Normal file
43
static/style.css
Normal file
@@ -0,0 +1,43 @@
|
||||
/* static/style.css */
|
||||
:root {
|
||||
--bg-dark: #2f3136;
|
||||
--bg-darker: #202225;
|
||||
--blurple: #5865F2;
|
||||
--text-main: #dcddde;
|
||||
--text-muted: #72767d;
|
||||
--success: #3ba55c;
|
||||
--danger: #ed4245;
|
||||
}
|
||||
|
||||
body { margin: 0; font-family: 'Segoe UI', sans-serif; background: var(--bg-dark); color: var(--text-main); }
|
||||
a { text-decoration: none; color: var(--blurple); }
|
||||
a:hover { text-decoration: underline; }
|
||||
|
||||
/* AUTH & LANDING CONTAINERS */
|
||||
.center-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; }
|
||||
.auth-box { background: var(--bg-darker); padding: 40px; border-radius: 8px; width: 350px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
|
||||
.hero-title { font-size: 3rem; margin-bottom: 10px; color: white; }
|
||||
.hero-sub { color: var(--text-muted); margin-bottom: 30px; font-size: 1.2rem; }
|
||||
|
||||
/* FORMS */
|
||||
input, select { width: 100%; padding: 12px; margin: 8px 0 20px; background: var(--bg-dark); border: 1px solid #40444b; color: white; border-radius: 4px; box-sizing: border-box;}
|
||||
button { width: 100%; padding: 12px; background: var(--blurple); color: white; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; transition: 0.2s; }
|
||||
button:hover { background: #4752c4; }
|
||||
.btn-outline { background: transparent; border: 2px solid var(--blurple); color: var(--blurple); margin-top: 10px; }
|
||||
.btn-outline:hover { background: rgba(88, 101, 242, 0.1); }
|
||||
|
||||
/* DASHBOARD LAYOUT */
|
||||
.dashboard-layout { display: flex; height: 100vh; }
|
||||
.sidebar { width: 260px; background: var(--bg-darker); padding: 20px; display: flex; flex-direction: column; }
|
||||
.main-content { flex: 1; padding: 40px; overflow-y: auto; background: var(--bg-dark); }
|
||||
|
||||
/* CARDS & TABLES */
|
||||
.card { background: var(--bg-darker); padding: 25px; border-radius: 8px; margin-bottom: 20px; }
|
||||
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
|
||||
th { text-align: left; color: var(--text-muted); padding: 10px; border-bottom: 1px solid #40444b; }
|
||||
td { padding: 10px; border-bottom: 1px solid #40444b; }
|
||||
.status-confirmed { color: var(--success); font-weight: bold; }
|
||||
.status-cancelled { color: var(--danger); font-weight: bold; }
|
||||
|
||||
/* HOURS GRID */
|
||||
.hours-grid { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 10px; align-items: center; margin-bottom: 10px; }
|
||||
Reference in New Issue
Block a user