38671-vm/assets/css/custom.css
2026-02-21 16:37:23 +00:00

169 lines
3.7 KiB
CSS

:root {
--primary: #3b82f6;
--primary-hover: #2563eb;
--bg: #0f172a;
--surface: #1e293b;
--border: #334155;
--text: #f8fafc;
--text-muted: #94a3b8;
--success: #10b981;
--info: #06b6d4;
--warning: #f59e0b;
--radius: 12px;
--card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: var(--bg);
color: var(--text);
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
}
.container-mobile {
max-width: 480px;
margin: 0 auto;
padding: 24px 16px;
padding-bottom: 80px; /* footer space */
}
header {
margin-bottom: 24px;
}
.card-stat {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px;
margin-bottom: 16px;
box-shadow: var(--card-shadow);
transition: transform 0.2s ease;
}
.stat-label {
font-size: 0.7rem;
color: var(--text-muted);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.stat-value {
font-size: 1.75rem;
font-weight: 700;
margin: 4px 0;
color: var(--text);
}
.progress-thin {
height: 6px;
background-color: var(--border);
border-radius: 4px;
overflow: hidden;
margin-top: 8px;
}
.progress-bar-inner {
height: 100%;
background-color: var(--primary);
transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}
.btn-primary-custom {
background-color: var(--primary);
color: white;
border: none;
border-radius: var(--radius);
padding: 14px 24px;
font-weight: 600;
width: 100%;
transition: all 0.2s ease;
}
.btn-primary-custom:hover {
background-color: var(--primary-hover);
}
.log-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px;
background: var(--surface);
border-radius: var(--radius);
margin-bottom: 8px;
border: 1px solid var(--border);
}
.log-details {
font-size: 0.75rem;
color: var(--text-muted);
}
.modal-content {
background-color: var(--surface);
color: var(--text);
border-radius: 20px;
border: 1px solid var(--border);
}
.form-control {
background-color: var(--bg);
border-radius: var(--radius);
border: 1px solid var(--border);
padding: 12px 16px;
color: var(--text);
}
.form-control:focus {
background-color: var(--bg);
border-color: var(--primary);
color: var(--text);
box-shadow: none;
}
/* Tabs styling */
.nav-pills {
background: var(--surface);
padding: 4px;
border-radius: var(--radius);
border: 1px solid var(--border);
}
.nav-pills .nav-link {
color: var(--text-muted);
border-radius: calc(var(--radius) - 4px);
font-weight: 600;
transition: all 0.2s;
font-size: 0.85rem;
}
.nav-pills .nav-link.active {
background-color: var(--bg);
color: var(--primary);
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
}
.btn-outline-secondary { border-color: var(--border); color: var(--text-muted); }
.btn-outline-secondary:hover { background-color: var(--border); color: var(--text); }
.bg-success-subtle { background-color: rgba(16, 185, 129, 0.1) !important; }
.bg-secondary-subtle { background-color: rgba(51, 65, 85, 0.3) !important; }
#reminders-row::-webkit-scrollbar { display: none; }
.btn-xs { padding: 0.25rem 0.5rem; font-size: 0.7rem; }
/* Custom colors for stats */
.text-info { color: var(--info) !important; }
.text-warning { color: var(--warning) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-warning { background-color: var(--warning) !important; }
canvas {
max-width: 100% !important;
}