Files
geniusrun/frontend/src/App.css

312 lines
4.3 KiB
CSS
Raw Normal View History

* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
background: #0f1115;
color: #e6e6e6;
}
.app {
max-width: 960px;
margin: 0 auto;
padding: 0 1.5rem 3rem;
}
.app-header {
display: flex;
align-items: center;
gap: 2rem;
padding: 1.5rem 0;
border-bottom: 1px solid #2a2d35;
}
.app-header h1 {
font-size: 1.25rem;
margin: 0;
}
.tabs {
display: flex;
gap: 0.5rem;
}
.tab {
background: none;
border: 1px solid #2a2d35;
color: #b7bcc7;
padding: 0.5rem 1rem;
border-radius: 6px;
cursor: pointer;
}
.tab.active {
background: #3b82f6;
border-color: #3b82f6;
color: white;
}
.garmin-connection {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem 0;
border-bottom: 1px solid #2a2d35;
}
.garmin-connection-row {
display: flex;
align-items: center;
gap: 0.75rem;
}
.garmin-connection-message {
margin: 0;
font-size: 0.8rem;
color: #9aa0ab;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: #6b7280;
}
.status-dot.status-authenticated {
background: #22c55e;
}
.status-dot.status-mfa_required {
background: #f59e0b;
}
.status-dot.status-failed {
background: #f87171;
}
.status-label {
font-size: 0.85rem;
color: #9aa0ab;
}
.page {
padding-top: 1.5rem;
}
.controls {
display: flex;
gap: 1.5rem;
margin-bottom: 1rem;
}
.controls label,
.kind-editor label {
display: flex;
flex-direction: column;
gap: 0.25rem;
font-size: 0.85rem;
color: #9aa0ab;
}
select,
input,
textarea,
button {
font-family: inherit;
font-size: 0.95rem;
background: #1a1d24;
color: #e6e6e6;
border: 1px solid #2a2d35;
border-radius: 6px;
padding: 0.4rem 0.6rem;
}
button {
cursor: pointer;
}
button:hover:not(:disabled) {
border-color: #3b82f6;
}
button:disabled {
opacity: 0.5;
cursor: default;
}
.button-danger {
border-color: #7f1d1d;
color: #f87171;
}
.button-danger:hover:not(:disabled) {
background: #7f1d1d;
border-color: #f87171;
color: #fff;
}
.filter-pills {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}
.filter-pill {
border-radius: 999px;
padding: 0.35rem 0.9rem;
font-size: 0.85rem;
}
.filter-pill.active {
background: #3b82f6;
border-color: #3b82f6;
color: #fff;
}
.empty-state {
color: #9aa0ab;
}
.error {
color: #f87171;
}
.review-list {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
gap: 1rem;
}
.review-item {
border: 1px solid #2a2d35;
border-radius: 8px;
padding: 1rem;
}
.review-item-header {
display: flex;
justify-content: space-between;
font-size: 1rem;
}
.review-item-header span {
color: #9aa0ab;
font-size: 0.85rem;
}
.review-item-stats {
display: flex;
gap: 1rem;
color: #9aa0ab;
font-size: 0.85rem;
margin-top: 0.25rem;
}
.candidates {
font-size: 0.8rem;
color: #9aa0ab;
margin: 0.5rem 0;
}
.review-item-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 0.5rem;
}
.expected-actual-charts {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin: 0.5rem 0;
}
.mini-chart {
flex: 1 1 220px;
min-width: 180px;
}
.mini-chart-label {
display: block;
font-size: 0.75rem;
color: #9aa0ab;
margin-bottom: 0.15rem;
}
.phase-legend {
flex-basis: 100%;
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.phase-legend-item {
display: inline-flex;
align-items: center;
gap: 0.3rem;
font-size: 0.7rem;
color: #9aa0ab;
}
.phase-legend-swatch {
width: 8px;
height: 8px;
border-radius: 2px;
display: inline-block;
}
.kinds-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1rem;
}
.lock-badge {
display: inline-block;
border-radius: 999px;
padding: 0.15rem 0.6rem;
font-size: 0.75rem;
color: #9aa0ab;
border: 1px solid #2a2d35;
cursor: help;
}
.kinds-table th,
.kinds-table td {
text-align: left;
padding: 0.5rem;
border-bottom: 1px solid #2a2d35;
}
.kinds-table-actions {
display: flex;
gap: 0.5rem;
}
.kind-editor {
display: flex;
flex-direction: column;
gap: 0.75rem;
border: 1px solid #2a2d35;
border-radius: 8px;
padding: 1rem;
max-width: 480px;
}
.kind-editor textarea {
font-family: ui-monospace, monospace;
font-size: 0.85rem;
}
.kind-editor-actions {
display: flex;
gap: 0.5rem;
}