mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 20:05:39 +00:00
Refactor settings page with improved component structure
- Split SettingsPage into two-column layout with ProfileHero component - Extract SecuritySettings component with user-friendly messaging - Create RequestHistory component for Plex request tracking - Optimize ThemePreferences component (reduced from ~368 to cleaner structure) - Improve PasswordGenerator slider UX with better visual feedback - Standardize typography across all settings sections (h2: 1.5rem, 700 weight) - Add shared-settings.scss for consistent styling patterns - Remove redundant ChangePassword description (now in SecuritySettings)
This commit is contained in:
30
src/scss/shared-settings.scss
Normal file
30
src/scss/shared-settings.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
@import "./media-queries.scss";
|
||||
|
||||
.settings-section-card {
|
||||
padding: 0.85rem;
|
||||
background-color: var(--background-ui);
|
||||
border-radius: 0.25rem;
|
||||
border-left: 3px solid var(--highlight-color);
|
||||
|
||||
@include mobile-only {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-section-header {
|
||||
margin-bottom: 1rem;
|
||||
|
||||
h2 {
|
||||
margin: 0 0 0.5rem 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
color: var(--text-color-70);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user