diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-30 23:27:33 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-30 23:29:45 +0100 |
| commit | a477dda9dc4291ab25fffe2525acf44177154c86 (patch) | |
| tree | 8fc73d9b288b0a5d6597a9e79bfb6d1a9eb45d73 /src/frontend/app/routes/settings.css | |
| parent | 688a4359d345c32c05d5d43c484b487de344ac97 (diff) | |
Remake home and settings pages using Tailwind styles
Diffstat (limited to 'src/frontend/app/routes/settings.css')
| -rw-r--r-- | src/frontend/app/routes/settings.css | 283 |
1 files changed, 0 insertions, 283 deletions
diff --git a/src/frontend/app/routes/settings.css b/src/frontend/app/routes/settings.css deleted file mode 100644 index 02708a7..0000000 --- a/src/frontend/app/routes/settings.css +++ /dev/null @@ -1,283 +0,0 @@ -/* About page specific styles */ -.about-page { - text-align: center; - padding: 1rem; -} - -.about-version { - color: var(--subtitle-color); - font-size: 0.9rem; - margin-top: 2rem; -} - -.about-description { - margin-top: 1rem; - line-height: 1.6; -} - -.settings-section { - margin-bottom: 2em; - padding: 1rem; - border: 1px solid var(--border-color); - border-radius: 8px; - background-color: var(--message-background-color); - text-align: left; -} - -.settings-section h2 { - margin-bottom: 1em; -} - -.settings-content { - display: flex; - flex-direction: column; - align-items: flex-start; - margin-bottom: 1em; -} - -.settings-content-inline { - display: flex; - flex-direction: column; - align-items: stretch; - margin-bottom: 1em; -} - -.settings-section .form-button { - margin-bottom: 1em; - padding: 0.75rem 1.5rem; - font-size: 1.1rem; -} - -.settings-section .form-select-inline { - margin-left: 0.5em; - padding: 0.5rem; - font-size: 1rem; - border-radius: 8px; -} - -.settings-section .form-label-inline { - font-weight: 500; -} - -.settings-section .form-label { - display: block; - margin-bottom: 0.5em; - font-weight: 500; -} - -.settings-section .form-description { - margin-top: 0.5em; - font-size: 0.9rem; - color: var(--subtitle-color); -} - -.settings-section .form-details { - margin-top: 0.5em; - font-size: 0.9rem; - color: var(--subtitle-color); - border: 1px solid var(--border-color); - border-radius: 8px; - padding: 0.5rem; -} - -.settings-section .form-details summary { - cursor: pointer; - font-weight: 500; -} - -.settings-section .form-details p { - margin-top: 0.5em; -} - -.settings-section p { - margin-top: 0.5em; -} - -/* Update controls styles */ -.update-controls { - display: flex; - gap: 1rem; - margin-bottom: 1rem; - flex-wrap: wrap; -} - -.update-button, -.clear-cache-button { - display: inline-flex; - align-items: center; - gap: 0.5rem; - padding: 0.75rem 1rem; - border: none; - border-radius: 8px; - font-size: 0.9rem; - font-weight: 500; - cursor: pointer; - transition: all 0.2s ease; - text-decoration: none; -} - -.update-button { - background-color: var(--button-background-color); - color: white; -} - -.update-button:hover:not(:disabled) { - background-color: var(--button-hover-background-color); -} - -.update-button:disabled { - background-color: var(--button-disabled-background-color); - cursor: not-allowed; -} - -.clear-cache-button { - background-color: #6c757d; - color: white; -} - -.clear-cache-button:hover { - background-color: #5a6268; -} - -.reset-pwa-button { - background-color: #dc3545; - color: white; - font-weight: bold; -} - -.reset-pwa-button:hover { - background-color: #c82333; -} - -.update-message { - padding: 0.75rem; - border-radius: 6px; - font-size: 0.9rem; - margin-bottom: 1rem; -} - -.update-message.success { - background-color: #d4edda; - color: #155724; - border: 1px solid #c3e6cb; -} - -.update-message.error { - background-color: #f8d7da; - color: #721c24; - border: 1px solid #f5c6cb; -} - -.update-help-text { - font-size: 0.85rem; - color: var(--subtitle-color); - line-height: 1.4; - margin: 0; -} - -.spinning { - animation: spin 1s linear infinite; -} - -@keyframes spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -/* Modal styles */ -.modal-overlay { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.5); - display: flex; - align-items: center; - justify-content: center; - z-index: 1000; - padding: 1rem; -} - -.modal-content { - background-color: var(--message-background-color); - padding: 2rem; - border-radius: 12px; - max-width: 500px; - width: 100%; - box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); -} - -.modal-content h2 { - margin-top: 0; - margin-bottom: 1rem; - color: var(--text-color); -} - -.modal-content p { - margin-bottom: 1.5rem; - line-height: 1.6; - color: var(--text-color); -} - -.modal-buttons { - display: flex; - gap: 1rem; - justify-content: flex-end; -} - -.modal-button { - padding: 0.75rem 1.5rem; - border: none; - border-radius: 8px; - font-size: 1rem; - font-weight: 500; - cursor: pointer; - transition: all 0.2s ease; -} - -.modal-button-cancel { - background-color: #6c757d; - color: white; -} - -.modal-button-cancel:hover { - background-color: #5a6268; -} - -.modal-button-confirm { - background-color: var(--button-background-color); - color: white; -} - -.modal-button-confirm:hover { - background-color: var(--button-hover-background-color); -} - -@media (max-width: 768px) { - .update-controls { - flex-direction: column; - } - - .update-button, - .clear-cache-button { - justify-content: center; - } - - .modal-content { - padding: 1.5rem; - } - - .modal-buttons { - flex-direction: column; - gap: 0.5rem; - } - - .modal-button { - width: 100%; - } -} |
