mirror of
https://github.com/plexguide/Huntarr.git
synced 2026-01-01 00:11:29 -06:00
79 lines
2.3 KiB
CSS
79 lines
2.3 KiB
CSS
/*
|
|
* Fix responsive design issues in the Settings section
|
|
* Ensures proper transitions between desktop and mobile layouts
|
|
*/
|
|
|
|
/* Improve header consistency across viewport sizes */
|
|
.section-header {
|
|
display: flex !important;
|
|
justify-content: space-between !important;
|
|
align-items: center !important;
|
|
flex-wrap: wrap !important;
|
|
background-color: transparent !important;
|
|
border-radius: 0 !important;
|
|
padding: 15px 0 !important;
|
|
margin-bottom: 20px !important;
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
/* Auto-save enabled - save button removed */
|
|
|
|
/* Mobile-specific settings adjustments */
|
|
@media (max-width: 768px) {
|
|
/* Force mobile mode at this breakpoint for consistency - moved from tablet view */
|
|
.sidebar {
|
|
width: 60px !important;
|
|
min-width: 60px !important;
|
|
max-width: 60px !important;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 0 !important;
|
|
width: calc(100% - 60px) !important;
|
|
}
|
|
|
|
/* Navbar item adjustments - moved from tablet view */
|
|
.nav-item {
|
|
padding: 10px 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-item span {
|
|
display: none !important;
|
|
}
|
|
|
|
.nav-icon-wrapper {
|
|
margin-right: 0 !important;
|
|
}
|
|
|
|
/* Auto-save enabled - save button styles removed */
|
|
|
|
/* SWAPARR MOBILE RESPONSIVE FIX - Force vertical layout on mobile */
|
|
.app-stats-card.swaparr .stats-numbers {
|
|
display: grid !important;
|
|
grid-template-columns: 1fr !important;
|
|
grid-template-rows: repeat(4, auto) !important;
|
|
gap: 10px !important;
|
|
max-width: 300px !important;
|
|
margin: 0 auto 20px auto !important;
|
|
flex-direction: initial !important;
|
|
justify-content: initial !important;
|
|
}
|
|
|
|
.app-stats-card.swaparr .stat-box {
|
|
padding: 15px !important;
|
|
background: rgba(26, 32, 44, 0.5) !important;
|
|
border-radius: 10px !important;
|
|
border: 1px solid rgba(120, 140, 180, 0.2) !important;
|
|
transition: all 0.3s ease !important;
|
|
width: 100% !important;
|
|
box-sizing: border-box !important;
|
|
}
|
|
|
|
.app-stats-card.swaparr .stat-box:hover {
|
|
border-color: rgba(120, 140, 180, 0.4) !important;
|
|
background: rgba(26, 32, 44, 0.7) !important;
|
|
}
|
|
}
|