diff --git a/apps/web/src/App.css b/apps/web/src/App.css index ad29ecd..64ff49e 100644 --- a/apps/web/src/App.css +++ b/apps/web/src/App.css @@ -1,51 +1,60 @@ main { - max-width: 1400px; + max-width: 960px; margin: 0 auto; - padding: 40px 20px; + padding: 48px 24px; min-height: 100vh; } @media (max-width: 768px) { main { - padding: 20px 12px; + padding: 24px 16px; } } h1 { - font-size: 42px; + font-size: 28px; font-weight: 700; - margin-bottom: 16px; - color: #2c3e50; + color: #111; + margin: 0 0 8px 0; + letter-spacing: -0.5px; } @media (max-width: 768px) { h1 { - font-size: 32px; + font-size: 24px; } } -.subtitle { - color: var(--text); - margin: 0; +/* Shared section title — used by TodaysTasks and Timeline */ +.section-title { + font-size: 18px; + font-weight: 600; + color: #111; + margin: 0 0 16px 0; + padding-bottom: 10px; + border-bottom: 1px solid #e8e8e8; +} + +.section-title--clickable { + cursor: pointer; + display: flex; + align-items: center; + gap: 10px; + user-select: none; +} + +.section-title--clickable:hover { + color: #333; } .status { display: inline-block; margin-bottom: 40px; - padding: 8px 16px; - border-radius: 6px; - font-size: 13px; - font-weight: 500; -} - -.status--loading { + padding: 6px 12px; + border-radius: 4px; + font-size: 12px; + color: #888; background: #f5f5f5; - color: #666; -} - -.status--ok { - background: #f5f5f5; - color: #666; } .status--error { @@ -57,47 +66,43 @@ h1 { position: fixed; top: 20px; right: 20px; - background: #ffebee; - color: #c62828; + background: white; + color: #111; + border: 1px solid #e8e8e8; padding: 12px 16px; - border-radius: 6px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + border-radius: 4px; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); z-index: 1000; display: flex; align-items: center; gap: 12px; - max-width: 400px; - animation: slideIn 0.3s ease; + max-width: 380px; + font-size: 14px; + animation: slideIn 0.2s ease; } @media (max-width: 768px) { .error-message { - left: 12px; - right: 12px; + left: 16px; + right: 16px; max-width: none; } } @keyframes slideIn { - from { - transform: translateX(100%); - opacity: 0; - } - to { - transform: translateX(0); - opacity: 1; - } + from { transform: translateY(-8px); opacity: 0; } + to { transform: translateY(0); opacity: 1; } } .error-dismiss { background: none; border: none; - color: #c62828; + color: #999; cursor: pointer; - font-size: 18px; + font-size: 16px; padding: 0; - width: 24px; - height: 24px; + width: 20px; + height: 20px; display: flex; align-items: center; justify-content: center; @@ -105,7 +110,7 @@ h1 { } .error-dismiss:hover { - opacity: 0.7; + color: #111; } diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index 7b00a63..1b0d401 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -122,13 +122,13 @@ function App() {
Loading tasks...
) : ( <> -No upcoming tasks scheduled
+ ) : ( +No essential tasks for today
+Nothing essential for today
) : ( -No tasks in this category
- ) : ( - whenIHaveTimeTasks.map(task => ( -