diff --git a/retoors/main.py b/retoors/main.py index b4952e1..afcd137 100644 --- a/retoors/main.py +++ b/retoors/main.py @@ -10,6 +10,7 @@ import dotenv # Import dotenv from .routes import setup_routes from .services.user_service import UserService from .services.config_service import ConfigService +from .services.file_service import FileService # Import FileService from .middlewares import user_middleware, error_middleware from .helpers.env_manager import ensure_env_file_exists, get_or_create_session_secret_key # Import new function @@ -19,6 +20,7 @@ async def setup_services(app: web.Application): data_path = base_path.parent / "data" app["user_service"] = UserService(data_path / "users.json") app["config_service"] = ConfigService(data_path / "config.json") + app["file_service"] = FileService(data_path / "user_files", data_path / "users.json") # Instantiate FileService # Setup aiojobs scheduler app["scheduler"] = aiojobs.Scheduler() diff --git a/retoors/routes.py b/retoors/routes.py index 384747d..2c94321 100644 --- a/retoors/routes.py +++ b/retoors/routes.py @@ -1,5 +1,5 @@ from .views.auth import LoginView, RegistrationView, LogoutView, ForgotPasswordView, ResetPasswordView -from .views.site import SiteView, OrderView, FileBrowserView +from .views.site import SiteView, OrderView, FileBrowserView, UserManagementView from .views.admin import get_users, add_user, update_user_quota, delete_user, get_user_details, delete_team @@ -23,7 +23,17 @@ def setup_routes(app): app.router.add_view("/recent", SiteView, name="recent") app.router.add_view("/favorites", SiteView, name="favorites") app.router.add_view("/trash", SiteView, name="trash") + app.router.add_view("/users", SiteView, name="users") + app.router.add_view("/users/add", UserManagementView, name="add_user") + app.router.add_view("/users/{email}/edit", UserManagementView, name="edit_user") + app.router.add_view("/users/{email}/details", UserManagementView, name="user_details") + app.router.add_post("/users/{email}/delete", UserManagementView, name="delete_user_page") app.router.add_view("/files", FileBrowserView, name="file_browser") + app.router.add_post("/files/new_folder", FileBrowserView, name="new_folder") + app.router.add_post("/files/upload", FileBrowserView, name="upload_file") + app.router.add_get("/files/download/{file_path:.*}", FileBrowserView, name="download_file") + app.router.add_post("/files/share/{file_path:.*}", FileBrowserView, name="share_file") + app.router.add_post("/files/delete/{file_path:.*}", FileBrowserView, name="delete_item") # Admin API routes for user and team management app.router.add_get("/api/users", get_users, name="api_get_users") diff --git a/retoors/static/css/base.css b/retoors/static/css/base.css index a17287e..0d8e593 100644 --- a/retoors/static/css/base.css +++ b/retoors/static/css/base.css @@ -303,6 +303,63 @@ main { font-weight: 600; } +/* Global Button Styles */ +.btn-primary, +.btn-outline, +.btn-small, +.btn-danger { + display: inline-block; + padding: 0.6rem 1.2rem; + font-size: 0.9rem; + font-weight: 500; + text-align: center; + text-decoration: none; + border-radius: 4px; + cursor: pointer; + transition: all 0.2s ease; + border: 1px solid transparent; + box-sizing: border-box; +} + +.btn-primary { + background-color: var(--btn-primary-bg); + color: var(--btn-primary-text); + border-color: var(--btn-primary-bg); +} + +.btn-primary:hover { + background-color: var(--btn-primary-hover-bg); + border-color: var(--btn-primary-hover-bg); +} + +.btn-outline { + background-color: transparent; + color: var(--btn-outline-text); + border-color: var(--btn-outline-border); +} + +.btn-outline:hover { + background-color: var(--btn-outline-hover-bg); + color: var(--btn-outline-text); + border-color: var(--btn-outline-border); +} + +.btn-small { + padding: 0.4rem 0.8rem; + font-size: 0.85rem; +} + +.btn-danger { + background-color: #dc3545; + color: white; + border-color: #dc3545; +} + +.btn-danger:hover { + background-color: #c82333; + border-color: #bd2130; +} + .error { color: #D32F2F; /* Red for errors */ background-color: #FFEBEE; /* Light red background */ diff --git a/retoors/static/css/components/content_pages.css b/retoors/static/css/components/content_pages.css index 46d2a1c..51b596a 100644 --- a/retoors/static/css/components/content_pages.css +++ b/retoors/static/css/components/content_pages.css @@ -1,25 +1,24 @@ /* General styles for hero sections on content pages */ .hero-intro { - text-align: center; - padding: 3rem 1rem; + padding: 20px; background-color: var(--card-background); - margin-bottom: 2rem; + margin-bottom: 20px; border-radius: 8px; box-shadow: 0 4px 12px var(--shadow-color); } .hero-headline { - font-size: 2.5rem; + font-size: 1.8rem; font-weight: 700; color: var(--text-color); - margin-bottom: 0.8rem; + margin-bottom: 0.5rem; } .hero-subheadline { - font-size: 1.2rem; + font-size: 0.95rem; color: var(--light-text-color); - max-width: 700px; - margin: 0 auto; + max-width: 100%; + margin: 0; } /* Pricing Plans Section */ @@ -34,8 +33,7 @@ background-color: var(--card-background); border-radius: 8px; box-shadow: 0 4px 12px var(--shadow-color); - padding: 2rem; - text-align: center; + padding: 20px; display: flex; flex-direction: column; justify-content: space-between; @@ -53,20 +51,20 @@ } .plan-card h2 { - font-size: 1.8rem; + font-size: 1.5rem; color: var(--text-color); - margin-bottom: 1rem; + margin-bottom: 0.8rem; } .plan-card .price { - font-size: 3rem; + font-size: 2rem; font-weight: 700; color: var(--accent-color); - margin-bottom: 1.5rem; + margin-bottom: 1rem; } .plan-card .price span { - font-size: 1rem; + font-size: 0.9rem; font-weight: 500; color: var(--light-text-color); } @@ -74,17 +72,16 @@ .plan-card ul { list-style: none; padding: 0; - margin-bottom: 2rem; + margin-bottom: 1.5rem; flex-grow: 1; } .plan-card ul li { - margin-bottom: 0.8rem; + margin-bottom: 0.6rem; color: var(--light-text-color); - font-size: 1rem; + font-size: 0.9rem; display: flex; align-items: center; - justify-content: center; } .plan-card ul li i { @@ -95,9 +92,6 @@ .plan-card .btn-primary, .plan-card .btn-outline { width: 100%; - padding: 0.8rem 1.5rem; - font-size: 1.1rem; - border-radius: 5px; } /* Security Features Section */ @@ -112,8 +106,7 @@ background-color: var(--card-background); border-radius: 8px; box-shadow: 0 4px 12px var(--shadow-color); - padding: 2rem; - text-align: center; + padding: 20px; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; } @@ -123,21 +116,21 @@ } .feature-card i { - font-size: 3rem; /* Placeholder for icon size */ + font-size: 2rem; color: var(--accent-color); - margin-bottom: 1rem; + margin-bottom: 0.8rem; display: block; } .feature-card h2 { - font-size: 1.5rem; + font-size: 1.2rem; color: var(--text-color); - margin-bottom: 0.8rem; + margin-bottom: 0.6rem; } .feature-card p { color: var(--light-text-color); - font-size: 1rem; + font-size: 0.9rem; } /* FAQ Section */ @@ -145,14 +138,14 @@ background-color: var(--card-background); border-radius: 8px; box-shadow: 0 4px 12px var(--shadow-color); - padding: 2rem; - margin-bottom: 2rem; + padding: 20px; + margin-bottom: 20px; } .faq-section h2 { - text-align: center; - margin-bottom: 2rem; + margin-bottom: 20px; color: var(--text-color); + font-size: 1.5rem; } .faq-item { @@ -168,77 +161,71 @@ } .faq-item h3 { - font-size: 1.2rem; + font-size: 1.1rem; color: var(--text-color); margin-bottom: 0.5rem; } .faq-item p { color: var(--light-text-color); - font-size: 1rem; + font-size: 0.9rem; } /* CTA Section */ .cta-section { - text-align: center; - padding: 3rem 1rem; + padding: 20px; background-color: var(--card-background); border-radius: 8px; box-shadow: 0 4px 12px var(--shadow-color); } .cta-section h2 { - font-size: 2rem; + font-size: 1.5rem; color: var(--text-color); - margin-bottom: 1rem; + margin-bottom: 0.8rem; } .cta-section p { - font-size: 1.1rem; + font-size: 0.95rem; color: var(--light-text-color); - max-width: 700px; - margin: 0 auto 1.5rem auto; -} - -.cta-section .btn-primary { - font-size: 1.2rem; - padding: 1rem 2rem; + max-width: 100%; + margin: 0 0 1rem 0; } /* Responsive adjustments */ @media (max-width: 768px) { .hero-headline { - font-size: 2rem; + font-size: 1.5rem; } .hero-subheadline { - font-size: 1rem; + font-size: 0.9rem; } .pricing-plans, .security-features { - grid-template-columns: 1fr; /* Stack cards on smaller screens */ + grid-template-columns: 1fr; } .plan-card, .feature-card { - padding: 1.5rem; + padding: 15px; } .plan-card h2, .feature-card h2 { - font-size: 1.6rem; + font-size: 1.2rem; } .plan-card .price { - font-size: 2.5rem; + font-size: 1.5rem; } .cta-section h2 { - font-size: 1.8rem; + font-size: 1.3rem; } .cta-section p { - font-size: 1rem; + font-size: 0.9rem; } } diff --git a/retoors/static/css/components/file_browser.css b/retoors/static/css/components/file_browser.css index 7a17309..a07c584 100644 --- a/retoors/static/css/components/file_browser.css +++ b/retoors/static/css/components/file_browser.css @@ -1,50 +1,238 @@ -/* retoors/static/css/components/file_browser.css */ - -.file-browser-section { - padding: 2rem; - max-width: 800px; - margin: 0 auto; - background-color: var(--color-background-light); - border-radius: var(--border-radius); - box-shadow: var(--shadow-elevation-low); +.modal { + display: none; + position: fixed; + z-index: 1000; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: rgba(0, 0, 0, 0.5); } -.file-browser-section h1 { - color: var(--color-primary); - text-align: center; - margin-bottom: 1.5rem; +.modal-content { + background-color: var(--card-background); + margin: 10% auto; + padding: 30px; + border-radius: 8px; + width: 90%; + max-width: 500px; + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); } -.file-list ul { - list-style: none; - padding: 0; +.modal-content h3 { + margin-top: 0; + margin-bottom: 20px; + color: var(--text-color); } -.file-list li { - background-color: var(--color-surface); - margin-bottom: 0.5rem; - padding: 0.8rem 1rem; - border-radius: var(--border-radius-small); +.close { + color: var(--light-text-color); + float: right; + font-size: 28px; + font-weight: bold; + line-height: 20px; + cursor: pointer; +} + +.close:hover, +.close:focus { + color: var(--text-color); +} + +.form-input { + width: 100%; + padding: 12px; + margin-bottom: 15px; + border: 1px solid var(--border-color); + border-radius: 4px; + font-size: 1rem; + background-color: var(--background-color); + color: var(--text-color); +} + +.form-input:focus { + outline: none; + border-color: var(--accent-color); + box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2); +} + +.modal-actions { + display: flex; + gap: 10px; + justify-content: flex-end; + margin-top: 20px; +} + +.btn-small { + padding: 0.4rem 0.8rem; + font-size: 0.85rem; + border: 1px solid var(--border-color); + border-radius: 4px; + background-color: var(--background-color); + color: var(--text-color); + cursor: pointer; + transition: all 0.2s ease; +} + +.btn-small:hover { + background-color: var(--accent-color); + color: white; + border-color: var(--accent-color); +} + +.btn-danger { + background-color: #dc3545; + color: white; + border-color: #dc3545; +} + +.btn-danger:hover { + background-color: #c82333; + border-color: #bd2130; +} + +.action-buttons { + display: flex; + gap: 5px; + flex-wrap: wrap; +} + +.file-info { + padding: 10px; + margin-bottom: 10px; + background-color: var(--background-color); + border-radius: 4px; + font-size: 0.9rem; + color: var(--text-color); +} + +.alert { + padding: 15px; + margin-bottom: 20px; + border-radius: 4px; + font-size: 0.95rem; +} + +.alert-success { + background-color: #d4edda; + color: #155724; + border: 1px solid #c3e6cb; +} + +.alert-error { + background-color: #f8d7da; + color: #721c24; + border: 1px solid #f5c6cb; +} + +#share-link-input { + margin-bottom: 10px; +} + +#share-loading { + padding: 20px; + text-align: center; + color: var(--light-text-color); +} + +.storage-gauge { + width: 100%; + height: 8px; + background-color: var(--border-color); + border-radius: 4px; + overflow: hidden; + margin-bottom: 10px; +} + +.storage-gauge-bar { + height: 100%; + background: linear-gradient(90deg, var(--accent-color) 0%, #00d4ff 100%); + transition: width 0.3s ease; +} + +.storage-info { display: flex; - align-items: center; justify-content: space-between; - border: 1px solid var(--color-border); + font-size: 0.85rem; + color: var(--light-text-color); } -.file-list li a { - color: var(--color-text); +.file-list-table table { + width: 100%; + border-collapse: collapse; +} + +.file-list-table th { + padding: 12px 15px; + text-align: left; + background-color: var(--background-color); + color: var(--text-color); + font-weight: 600; + font-size: 0.9rem; + border-bottom: 2px solid var(--border-color); +} + +.file-list-table td { + padding: 12px 15px; + border-bottom: 1px solid var(--border-color); + color: var(--text-color); +} + +.file-list-table tr:hover { + background-color: var(--background-color); +} + +.file-list-table tr:last-child td { + border-bottom: none; +} + +.file-icon { + width: 20px; + height: 20px; + vertical-align: middle; + margin-right: 8px; +} + +.file-list-table a { + color: var(--accent-color); text-decoration: none; - flex-grow: 1; - font-weight: var(--font-weight-medium); } -.file-list li a:hover { - color: var(--color-primary-dark); +.file-list-table a:hover { text-decoration: underline; } -.file-list p { - text-align: center; - color: var(--color-text-secondary); - font-style: italic; +@media (max-width: 768px) { + .modal-content { + width: 95%; + margin: 20% auto; + padding: 20px; + } + + .action-buttons { + flex-direction: column; + } + + .btn-small { + width: 100%; + } + + .file-list-table { + font-size: 0.85rem; + } + + .file-list-table th, + .file-list-table td { + padding: 8px 10px; + } + + .dashboard-actions { + flex-wrap: wrap; + } + + .dashboard-actions button { + flex: 1 1 calc(50% - 5px); + min-width: 120px; + } } diff --git a/retoors/static/css/components/order.css b/retoors/static/css/components/order.css index 61610d2..fa1dae1 100644 --- a/retoors/static/css/components/order.css +++ b/retoors/static/css/components/order.css @@ -1,30 +1,27 @@ /* Styles for the Quota Management / Admin Dashboard (order.html) */ .order-management-layout { - padding: 40px 20px; - max-width: 1200px; - margin: 0 auto; + padding: 0; } .quota-overview-card { background-color: var(--card-background); border-radius: 8px; - box-shadow: 0 6px 20px var(--shadow-color); - padding: 30px; - margin-bottom: 40px; - text-align: center; + box-shadow: 0 4px 12px var(--shadow-color); + padding: 20px; + margin-bottom: 30px; } .quota-overview-card h2 { - font-size: 2.5rem; + font-size: 1.8rem; color: var(--text-color); margin-bottom: 10px; } .quota-overview-card .subtitle { - font-size: 1.1rem; + font-size: 0.95rem; color: var(--light-text-color); - margin-bottom: 30px; + margin-bottom: 20px; } .overview-grid { @@ -35,17 +32,16 @@ } .total-storage-chart { - text-align: center; padding: 20px; border-radius: 8px; - background-color: var(--background-color); /* Lighter background for this section */ + background-color: var(--background-color); box-shadow: 0 2px 8px rgba(0,0,0,0.05); } .total-storage-chart h3 { - font-size: 1.3rem; + font-size: 1.1rem; color: var(--text-color); - margin-bottom: 20px; + margin-bottom: 15px; } .donut-chart-container { @@ -96,15 +92,13 @@ background-color: var(--background-color); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); - padding: 30px; - text-align: left; + padding: 20px; } .order-form-card h3 { - font-size: 1.3rem; + font-size: 1.1rem; color: var(--text-color); - margin-bottom: 20px; - text-align: center; + margin-bottom: 15px; } .order-form { @@ -119,24 +113,21 @@ } .order-form .price-display { - font-size: 1.4rem; - font-weight: 700; + font-size: 1rem; + font-weight: 600; color: var(--accent-color); - text-align: center; margin-top: 10px; } .order-form .btn-primary { width: 100%; - padding: 12px; - font-size: 1.1rem; } .user-quotas-section { background-color: var(--card-background); border-radius: 8px; - box-shadow: 0 6px 20px var(--shadow-color); - padding: 30px; + box-shadow: 0 4px 12px var(--shadow-color); + padding: 20px; } .user-quotas-header { @@ -149,16 +140,11 @@ } .user-quotas-header h2 { - font-size: 2rem; + font-size: 1.8rem; color: var(--text-color); margin: 0; } -.user-quotas-header .btn-primary { - padding: 0.7rem 1.5rem; - font-size: 0.95rem; -} - .user-quota-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); @@ -176,7 +162,7 @@ } .user-quota-item .user-info h4 { - font-size: 1.2rem; + font-size: 1.1rem; color: var(--text-color); margin-bottom: 5px; } @@ -199,16 +185,14 @@ .user-quota-item .quota-actions { display: flex; - flex-wrap: wrap; /* Allow buttons to wrap */ + flex-wrap: wrap; gap: 10px; margin-top: 15px; } .user-quota-item .quota-actions .btn-outline { - padding: 0.5rem 1rem; - font-size: 0.85rem; - flex-grow: 1; /* Allow buttons to grow and fill space */ - min-width: 100px; /* Ensure buttons don't get too small */ + flex-grow: 1; + min-width: 100px; } /* Small storage gauge for user items */ @@ -259,8 +243,7 @@ color: var(--text-color); margin-top: 0; margin-bottom: 20px; - font-size: 1.8rem; - text-align: center; + font-size: 1.2rem; } .modal-content .form-group { @@ -289,15 +272,12 @@ .modal-content .btn-primary { width: 100%; - padding: 12px; - font-size: 1.1rem; margin-top: 20px; } .modal-content .error { color: var(--error-color); margin-top: 10px; - text-align: center; } .close-button { @@ -344,17 +324,14 @@ } @media (max-width: 768px) { - .order-management-layout { - padding: 20px 15px; - } .quota-overview-card h2 { - font-size: 2rem; + font-size: 1.5rem; } .quota-overview-card .subtitle { - font-size: 1rem; + font-size: 0.9rem; } .user-quotas-header h2 { - font-size: 1.8rem; + font-size: 1.5rem; } .user-quota-list { grid-template-columns: 1fr; @@ -367,10 +344,10 @@ @media (max-width: 480px) { .quota-overview-card { - padding: 20px; + padding: 15px; } .quota-overview-card h2 { - font-size: 1.8rem; + font-size: 1.2rem; } .donut-chart-container { width: 150px; @@ -381,19 +358,19 @@ height: 110px; } .donut-chart-text { - font-size: 1.2rem; + font-size: 0.95rem; } .order-form-card { - padding: 20px; + padding: 15px; } .user-quotas-section { - padding: 20px; + padding: 15px; } .user-quotas-header h2 { - font-size: 1.5rem; + font-size: 1.1rem; } .user-quota-item .quota-actions .btn-outline { - flex-grow: unset; /* Reset flex-grow for smaller screens if needed */ - width: 100%; /* Make buttons full width */ + flex-grow: unset; + width: 100%; } } \ No newline at end of file diff --git a/retoors/static/css/components/support.css b/retoors/static/css/components/support.css index 50bd802..26fa28b 100644 --- a/retoors/static/css/components/support.css +++ b/retoors/static/css/components/support.css @@ -1,71 +1,60 @@ /* Styles for the Support Page (support.html) */ .support-hero { - text-align: center; - padding: 40px 20px; - margin-bottom: 60px; + padding: 0; + margin-bottom: 30px; } .support-hero h1 { - font-size: 3rem; + font-size: 1.8rem; color: var(--text-color); - margin-bottom: 1rem; + margin-bottom: 0.5rem; } .support-hero p { - font-size: 1.2rem; + font-size: 0.95rem; color: var(--light-text-color); - max-width: 800px; - margin: 0 auto 30px auto; + max-width: 100%; + margin: 0 0 20px 0; } .search-support { display: flex; - justify-content: center; gap: 10px; max-width: 600px; - margin: 0 auto; + margin-bottom: 30px; } .search-support .search-input { flex-grow: 1; - padding: 12px 20px; + padding: 10px 15px; border: 1px solid var(--border-color); - border-radius: 5px; - font-size: 1rem; + border-radius: 4px; + font-size: 0.9rem; } -.search-support .btn-primary { - padding: 12px 25px; - font-size: 1rem; -} .support-categories { - text-align: center; - margin-bottom: 60px; + margin-bottom: 40px; } .support-categories h2 { - font-size: 2.5rem; + font-size: 1.5rem; color: var(--text-color); - margin-bottom: 40px; + margin-bottom: 20px; } .category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); - gap: 30px; - max-width: 1200px; - margin: 0 auto; - padding: 0 20px; + gap: 20px; } .category-card { background-color: var(--card-background); border-radius: 8px; - box-shadow: 0 4px 15px var(--shadow-color); - padding: 30px; - text-align: center; + box-shadow: 0 4px 12px var(--shadow-color); + padding: 20px; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; } @@ -75,22 +64,22 @@ } .category-card img.icon { - width: 70px; - height: 70px; - margin-bottom: 20px; + width: 50px; + height: 50px; + margin-bottom: 15px; } .category-card h3 { - font-size: 1.5rem; + font-size: 1.1rem; color: var(--text-color); margin-bottom: 10px; } .category-card p { - font-size: 0.95rem; + font-size: 0.9rem; color: var(--light-text-color); - line-height: 1.5; - margin-bottom: 20px; + line-height: 1.6; + margin-bottom: 15px; } .category-card .btn-link { @@ -104,31 +93,26 @@ } .contact-options { - text-align: center; - margin-bottom: 60px; + margin-bottom: 40px; } .contact-options h2 { - font-size: 2.5rem; + font-size: 1.5rem; color: var(--text-color); - margin-bottom: 40px; + margin-bottom: 20px; } .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); - gap: 30px; - max-width: 1200px; - margin: 0 auto; - padding: 0 20px; + gap: 20px; } .contact-card { background-color: var(--card-background); border-radius: 8px; - box-shadow: 0 4px 15px var(--shadow-color); - padding: 30px; - text-align: center; + box-shadow: 0 4px 12px var(--shadow-color); + padding: 20px; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; } @@ -138,27 +122,22 @@ } .contact-card img.icon { - width: 70px; - height: 70px; - margin-bottom: 20px; + width: 50px; + height: 50px; + margin-bottom: 15px; } .contact-card h3 { - font-size: 1.5rem; + font-size: 1.1rem; color: var(--text-color); margin-bottom: 10px; } .contact-card p { - font-size: 0.95rem; + font-size: 0.9rem; color: var(--light-text-color); - line-height: 1.5; - margin-bottom: 20px; -} - -.contact-card .btn-primary { - padding: 10px 20px; - font-size: 1rem; + line-height: 1.6; + margin-bottom: 15px; } .contact-card .phone-hours { @@ -170,10 +149,10 @@ /* Responsive adjustments */ @media (max-width: 768px) { .support-hero h1, .support-categories h2, .contact-options h2 { - font-size: 2.5rem; + font-size: 1.5rem; } .support-hero p { - font-size: 1rem; + font-size: 0.9rem; } .search-support { flex-direction: column; @@ -188,9 +167,9 @@ @media (max-width: 480px) { .support-hero h1, .support-categories h2, .contact-options h2 { - font-size: 2rem; + font-size: 1.2rem; } .category-card, .contact-card { - padding: 20px; + padding: 15px; } } \ No newline at end of file diff --git a/retoors/templates/pages/dashboard.html b/retoors/templates/pages/dashboard.html index 84105ef..6378b59 100644 --- a/retoors/templates/pages/dashboard.html +++ b/retoors/templates/pages/dashboard.html @@ -11,7 +11,7 @@