mirror of
https://github.com/plexguide/Huntarr.io.git
synced 2026-04-20 00:26:51 -04:00
1194 lines
27 KiB
CSS
1194 lines
27 KiB
CSS
/* ==========================================================================
|
|
Huntarr Sidebar - Redesigned
|
|
All sidebar styling lives here. No inline styles in sidebar.html.
|
|
========================================================================== */
|
|
|
|
/* Wrapper for all sidebars — desktop: layout flow; mobile: moved into drawer */
|
|
.sidebar-wrapper {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ===== SIDEBAR CORE ===== */
|
|
.sidebar {
|
|
width: 220px;
|
|
height: 100vh;
|
|
background: linear-gradient(180deg,
|
|
rgba(16, 21, 34, 0.99) 0%,
|
|
rgba(11, 15, 26, 0.99) 40%,
|
|
rgba(13, 17, 28, 0.99) 100%);
|
|
border-right: 1px solid rgba(99, 102, 241, 0.06);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 1000;
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
/* Custom scrollbar for sidebar */
|
|
.sidebar::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.sidebar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.sidebar::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.sidebar::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
/* ===== ANIMATED EDGE LINE — indigo ===== */
|
|
/* z-index above footer so line runs full height, not cut off */
|
|
.sidebar::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 1px;
|
|
background: linear-gradient(180deg,
|
|
rgba(99, 102, 241, 0.0) 0%,
|
|
rgba(99, 102, 241, 0.25) 15%,
|
|
rgba(129, 140, 248, 0.5) 35%,
|
|
rgba(165, 180, 252, 0.6) 50%,
|
|
rgba(129, 140, 248, 0.5) 65%,
|
|
rgba(99, 102, 241, 0.25) 85%,
|
|
rgba(99, 102, 241, 0.0) 100%);
|
|
z-index: 1003;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Soft outer glow beside the edge line */
|
|
.sidebar::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 6px;
|
|
background: linear-gradient(180deg,
|
|
rgba(99, 102, 241, 0.0) 0%,
|
|
rgba(99, 102, 241, 0.06) 30%,
|
|
rgba(129, 140, 248, 0.1) 50%,
|
|
rgba(99, 102, 241, 0.06) 70%,
|
|
rgba(99, 102, 241, 0.0) 100%);
|
|
z-index: 1002;
|
|
pointer-events: none;
|
|
}
|
|
|
|
|
|
/* ===== LOGO SECTION ===== */
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 18px 18px 16px;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.logo-container::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 20px;
|
|
right: 20px;
|
|
height: 1px;
|
|
background: linear-gradient(90deg,
|
|
transparent,
|
|
rgba(99, 102, 241, 0.3),
|
|
rgba(129, 140, 248, 0.45),
|
|
rgba(99, 102, 241, 0.3),
|
|
transparent);
|
|
}
|
|
|
|
.logo {
|
|
width: 42px;
|
|
height: 42px;
|
|
margin-right: 12px;
|
|
border-radius: 12px;
|
|
transition: all 0.3s ease;
|
|
filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
|
|
}
|
|
|
|
.logo-small {
|
|
display: none;
|
|
}
|
|
|
|
.logo-container h1 {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
color: #e8ecf2;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* ===== NAV MENU ===== */
|
|
.nav-menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 6px 0 12px 0;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
|
|
}
|
|
|
|
.nav-menu::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.nav-menu::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.nav-menu::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.nav-menu::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
/* Heart icon */
|
|
.heart-icon {
|
|
color: #e74c3c !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.heart-icon i {
|
|
color: #ff4d6d;
|
|
}
|
|
|
|
/* ===== HOME STANDALONE ITEM ===== */
|
|
.nav-item-home {
|
|
margin: 4px 10px 2px !important;
|
|
}
|
|
|
|
.nav-item-home .nav-icon-wrapper {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.nav-item-home .nav-icon-wrapper i {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ===== SECTION DIVIDERS ===== */
|
|
.nav-section-divider {
|
|
height: 1px;
|
|
margin: 8px 24px;
|
|
background: linear-gradient(90deg,
|
|
transparent,
|
|
rgba(99, 102, 241, 0.1),
|
|
rgba(165, 180, 252, 0.06),
|
|
rgba(99, 102, 241, 0.1),
|
|
transparent);
|
|
}
|
|
|
|
/* ===== NAV GROUPS ===== */
|
|
.nav-group {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Static group title (Daughter's Sponsors) */
|
|
.nav-group-title {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: rgba(148, 163, 184, 0.6);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1.5px;
|
|
padding: 12px 20px 6px;
|
|
margin: 0;
|
|
user-select: none;
|
|
}
|
|
|
|
/* ===== COLLAPSIBLE GROUP HEADERS ===== */
|
|
.nav-group-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
margin: 1px 10px;
|
|
border-radius: 8px;
|
|
color: rgba(203, 213, 225, 0.7);
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
text-transform: none;
|
|
letter-spacing: 0.3px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.nav-group-header:hover {
|
|
background: rgba(99, 102, 241, 0.06);
|
|
color: rgba(226, 232, 240, 0.9);
|
|
}
|
|
|
|
.nav-group-header .nav-group-icon {
|
|
font-size: 13px;
|
|
width: 22px;
|
|
margin-right: 10px;
|
|
text-align: center;
|
|
opacity: 0.55;
|
|
transition: opacity 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.nav-group-header:hover .nav-group-icon {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.nav-group-header span {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Badge on group header — small red circle, hide when expanded */
|
|
.nav-group-header .nav-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
width: 20px;
|
|
height: 20px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
padding: 0;
|
|
border-radius: 50%;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
background: #ef4444;
|
|
color: #fff;
|
|
margin-left: 0;
|
|
margin-right: 8px;
|
|
line-height: 1;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nav-group-header.expanded .nav-badge {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Chevron arrow — rotates when expanded */
|
|
.nav-group-chevron {
|
|
font-size: 10px;
|
|
opacity: 0.4;
|
|
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
|
|
}
|
|
|
|
.nav-group-header:hover .nav-group-chevron {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.nav-group-header.expanded .nav-group-chevron {
|
|
transform: rotate(90deg);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Expanded header — subtle text tint only, no background */
|
|
.nav-group-header.expanded {
|
|
color: rgba(165, 180, 252, 0.85);
|
|
}
|
|
|
|
.nav-group-header.expanded .nav-group-icon {
|
|
color: rgba(165, 180, 252, 0.85);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* ===== COLLAPSIBLE GROUP BODY ===== */
|
|
.nav-group-body {
|
|
overflow: hidden;
|
|
max-height: 800px;
|
|
/* large enough for fully expanded content */
|
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
|
|
opacity 0.25s ease;
|
|
opacity: 1;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.nav-group-body.collapsed {
|
|
max-height: 0;
|
|
opacity: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* ===== NAV ITEMS ===== */
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 12px;
|
|
height: 36px;
|
|
color: rgba(203, 213, 225, 0.75);
|
|
text-decoration: none;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
border-radius: 8px;
|
|
margin: 1px 10px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-item span {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.1px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* Icon wrapper */
|
|
.nav-icon-wrapper {
|
|
width: 28px;
|
|
height: 28px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-right: 10px;
|
|
flex-shrink: 0;
|
|
border-radius: 7px;
|
|
transition: all 0.2s ease;
|
|
background: transparent;
|
|
border: none;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-icon-wrapper i {
|
|
font-size: 14px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
transition: all 0.2s ease;
|
|
color: rgba(148, 163, 184, 0.7);
|
|
}
|
|
|
|
/* ===== HOVER STATE ===== */
|
|
.nav-item:hover {
|
|
background: rgba(99, 102, 241, 0.06);
|
|
color: #e2e8f0;
|
|
transform: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-item:hover .nav-icon-wrapper i {
|
|
color: rgba(165, 180, 252, 0.9);
|
|
}
|
|
|
|
/* ===== ACTIVE STATE — indigo ===== */
|
|
.nav-item.active {
|
|
background: rgba(99, 102, 241, 0.1);
|
|
color: #a5b4fc;
|
|
box-shadow: inset 0 0 12px rgba(99, 102, 241, 0.04);
|
|
transform: none;
|
|
}
|
|
|
|
.nav-item.active::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 7px;
|
|
bottom: 7px;
|
|
width: 3px;
|
|
border-radius: 0 4px 4px 0;
|
|
background: linear-gradient(180deg, #818cf8, #6366f1);
|
|
box-shadow: 0 0 6px rgba(99, 102, 241, 0.35),
|
|
0 0 12px rgba(99, 102, 241, 0.15);
|
|
}
|
|
|
|
.nav-item.active .nav-icon-wrapper {
|
|
background: transparent;
|
|
border: none;
|
|
transform: none;
|
|
}
|
|
|
|
.nav-item.active .nav-icon-wrapper i,
|
|
.nav-item.active i {
|
|
color: #a5b4fc;
|
|
filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.3));
|
|
}
|
|
|
|
.nav-item.active span {
|
|
font-weight: 600;
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
/* ===== SUB-GROUPS ===== */
|
|
.nav-sub-group {
|
|
margin-left: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
/* Clickable header row inside a sub-group — inherits sizing from .nav-item.nav-item-sub */
|
|
.nav-sub-group-header {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.nav-sub-group-header:hover {
|
|
background: rgba(99, 102, 241, 0.06);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.nav-sub-group-header span {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Chevron that rotates when expanded */
|
|
.nav-sub-chevron {
|
|
font-size: 9px;
|
|
opacity: 0.4;
|
|
margin-left: auto;
|
|
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
|
|
}
|
|
|
|
.nav-sub-group-header.expanded .nav-sub-chevron {
|
|
transform: rotate(90deg);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.nav-sub-group-header.expanded {
|
|
color: rgba(165, 180, 252, 0.85);
|
|
}
|
|
|
|
.nav-sub-group-header.expanded .nav-icon-wrapper i {
|
|
color: rgba(165, 180, 252, 0.85);
|
|
}
|
|
|
|
/* Body - collapsed by default */
|
|
.nav-sub-group-body {
|
|
overflow: hidden;
|
|
max-height: 200px;
|
|
transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
|
|
opacity: 1;
|
|
}
|
|
|
|
.nav-sub-group-body.collapsed {
|
|
max-height: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-item-sub {
|
|
padding-left: 24px !important;
|
|
height: 32px;
|
|
margin: 0 10px 0 20px !important;
|
|
}
|
|
|
|
.nav-item-sub .nav-icon-wrapper {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.nav-item-sub .nav-icon-wrapper i {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.nav-item-sub span {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.nav-item-sub.active {
|
|
padding-left: 24px !important;
|
|
}
|
|
|
|
/* Sub-group hidden by default, shown when expanded */
|
|
#movie-hunt-collection-sub,
|
|
#movie-hunt-activity-sub,
|
|
#index-master-sub,
|
|
#index-master-view-sub {
|
|
display: none;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#movie-hunt-collection-sub.expanded,
|
|
#movie-hunt-activity-sub.expanded,
|
|
#index-master-sub.expanded,
|
|
#index-master-view-sub.expanded {
|
|
display: block;
|
|
}
|
|
|
|
#movie-hunt-collection-sub .nav-item-sub,
|
|
#movie-hunt-activity-sub .nav-item-sub,
|
|
#index-master-sub .nav-item-sub,
|
|
#index-master-view-sub .nav-item-sub {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* When activity sub-group is expanded, hide main Media Hunt items + other toggles */
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntCollectionNav,
|
|
#sidebar-group-media-hunt.activity-view>#movie-hunt-collection-sub,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntActivityToggle,
|
|
#sidebar-group-media-hunt.activity-view>#mediaHuntConfigLabel,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntIndexMasterNav,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntClientsMainNav,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntSettingsRootFoldersNav,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntImportMediaNav,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntSettingsImportListsNav,
|
|
#sidebar-group-media-hunt.activity-view>#mediaHuntAdvancedLabel,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntSettingsMovieManagementNav,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntSettingsProfilesNav,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntSettingsSizesNav,
|
|
#sidebar-group-media-hunt.activity-view>#movieHuntSettingsCustomFormatsNav {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Back button styling in activity sub-group */
|
|
.media-hunt-config-back {
|
|
opacity: 0.7;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.media-hunt-config-back:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* When user-support sub-group is expanded — REMOVED, now always visible */
|
|
|
|
/* ===== USER SUPPORT INLINE LABEL ===== */
|
|
.nav-user-support-label {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 12px 4px;
|
|
margin: 6px 10px 0 16px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: rgba(148, 163, 184, 0.6);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1.2px;
|
|
user-select: none;
|
|
}
|
|
|
|
.nav-user-support-label i {
|
|
font-size: 10px;
|
|
margin-right: 8px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.nav-user-support-label .nav-badge {
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Badge on nav-item (e.g. Requests sub-item) — match group header circle style */
|
|
.nav-item .nav-badge {
|
|
width: 20px;
|
|
height: 20px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
padding: 0;
|
|
border-radius: 50%;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #ef4444;
|
|
color: #fff;
|
|
margin-left: auto;
|
|
line-height: 1;
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
}
|
|
|
|
/* Deep-indented items under User Support label */
|
|
.nav-item-deep {
|
|
margin-left: 28px !important;
|
|
}
|
|
|
|
/* Items inside a collapsible sub-group body indent one level deeper than their parent */
|
|
.nav-sub-group-body .nav-item {
|
|
margin-left: 44px !important;
|
|
}
|
|
|
|
/* ===== APP ICONS ===== */
|
|
.app-icon-img {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 5px;
|
|
transition: all 0.2s ease;
|
|
filter: brightness(0.85) saturate(0.9);
|
|
}
|
|
|
|
.nav-item:hover .app-icon-img,
|
|
.nav-item.active .app-icon-img {
|
|
filter: brightness(1.1) saturate(1.1);
|
|
}
|
|
|
|
/* App-specific active/hover colors */
|
|
.sonarr-app:hover .sonarr-icon,
|
|
.sonarr-app.active .sonarr-icon {
|
|
background: rgba(99, 102, 241, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.sonarr-app.active .app-icon-img {
|
|
filter: brightness(1.2) drop-shadow(0 0 4px rgba(99, 102, 241, 0.5));
|
|
}
|
|
|
|
.radarr-app:hover .radarr-icon,
|
|
.radarr-app.active .radarr-icon {
|
|
background: rgba(241, 196, 15, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.radarr-app.active .app-icon-img {
|
|
filter: brightness(1.2) drop-shadow(0 0 4px rgba(241, 196, 15, 0.5));
|
|
}
|
|
|
|
.lidarr-app:hover .lidarr-icon,
|
|
.lidarr-app.active .lidarr-icon {
|
|
background: rgba(46, 204, 113, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.lidarr-app.active .app-icon-img {
|
|
filter: brightness(1.2) drop-shadow(0 0 4px rgba(46, 204, 113, 0.5));
|
|
}
|
|
|
|
.readarr-app:hover .readarr-icon,
|
|
.readarr-app.active .readarr-icon {
|
|
background: rgba(231, 76, 60, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.readarr-app.active .app-icon-img {
|
|
filter: brightness(1.2) drop-shadow(0 0 4px rgba(231, 76, 60, 0.5));
|
|
}
|
|
|
|
.whisparr-app:hover .whisparr-icon,
|
|
.whisparr-app.active .whisparr-icon {
|
|
background: rgba(155, 89, 182, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.whisparr-app.active .app-icon-img {
|
|
filter: brightness(1.2) drop-shadow(0 0 4px rgba(155, 89, 182, 0.5));
|
|
}
|
|
|
|
.eros-app:hover .eros-icon,
|
|
.eros-app.active .eros-icon {
|
|
background: rgba(142, 68, 173, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.eros-app.active .app-icon-img {
|
|
filter: brightness(1.2) drop-shadow(0 0 4px rgba(142, 68, 173, 0.5));
|
|
}
|
|
|
|
.prowlarr-app:hover .prowlarr-icon,
|
|
.prowlarr-app.active .prowlarr-icon {
|
|
background: rgba(230, 126, 34, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.prowlarr-app.active .app-icon-img {
|
|
filter: brightness(1.2) drop-shadow(0 0 4px rgba(230, 126, 34, 0.5));
|
|
}
|
|
|
|
.swaparr-app:hover .swaparr-icon,
|
|
.swaparr-app.active .swaparr-icon {
|
|
background: rgba(0, 188, 212, 0.15);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.swaparr-app:hover .swaparr-icon i,
|
|
.swaparr-app.active .swaparr-icon i {
|
|
color: #00bcd4;
|
|
filter: drop-shadow(0 0 4px rgba(0, 188, 212, 0.5));
|
|
}
|
|
|
|
/* ===== SIDEBAR SOCIAL LINKS ===== */
|
|
.sidebar-social-group {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.sidebar-social-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 5px;
|
|
border: none;
|
|
background: transparent;
|
|
text-decoration: none;
|
|
transition: all 0.15s ease;
|
|
font-size: 11px;
|
|
color: #475569;
|
|
}
|
|
|
|
.sidebar-social-btn:hover {
|
|
transform: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar-social-btn.discord-btn:hover {
|
|
color: #7289da;
|
|
background: rgba(88, 101, 242, 0.12);
|
|
}
|
|
|
|
.sidebar-social-btn.reddit-btn:hover {
|
|
color: #ff6633;
|
|
background: rgba(255, 69, 0, 0.12);
|
|
}
|
|
|
|
.sidebar-social-btn.docs-btn:hover {
|
|
color: #818cf8;
|
|
background: rgba(99, 102, 241, 0.12);
|
|
}
|
|
|
|
.sidebar-social-btn.issues-btn:hover {
|
|
color: #fbbf24;
|
|
background: rgba(245, 158, 11, 0.12);
|
|
}
|
|
|
|
|
|
/* ===== SIDEBAR USER PROFILE ===== */
|
|
.sidebar-user-profile {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0;
|
|
}
|
|
|
|
.sidebar-user-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 6px 8px;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: background 0.15s ease;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar-user-link:hover {
|
|
background: rgba(99, 102, 241, 0.08);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar-user-avatar {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
border: 1.5px solid rgba(234, 179, 8, 0.5);
|
|
}
|
|
|
|
.sidebar-user-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.sidebar-avatar-fallback {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.sidebar-user-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
flex: 1;
|
|
gap: 1px;
|
|
}
|
|
|
|
.sidebar-user-name {
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
color: #e2e8f0;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.sidebar-user-role {
|
|
font-size: 0.6rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.sidebar-user-role-owner {
|
|
color: #eab308;
|
|
}
|
|
|
|
.sidebar-user-role-user {
|
|
color: #818cf8;
|
|
}
|
|
|
|
/* Action buttons (settings + logout) */
|
|
.sidebar-user-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #475569;
|
|
font-size: 0.7rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
text-decoration: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.sidebar-action-btn:hover {
|
|
background: rgba(99, 102, 241, 0.1);
|
|
color: #94a3b8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar-logout-btn:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #ef4444;
|
|
}
|
|
|
|
/* ===== SIDEBAR FOOTER ===== */
|
|
.sidebar-footer {
|
|
flex-shrink: 0;
|
|
background: linear-gradient(180deg,
|
|
rgba(11, 15, 26, 0.0) 0%,
|
|
rgba(11, 15, 26, 0.95) 25%);
|
|
border-top: none;
|
|
padding: 14px 10px 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
z-index: 1002;
|
|
position: relative;
|
|
}
|
|
|
|
/* Blue accent line above footer */
|
|
.sidebar-footer::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 20px;
|
|
right: 20px;
|
|
height: 1px;
|
|
background: linear-gradient(90deg,
|
|
transparent,
|
|
rgba(99, 102, 241, 0.3),
|
|
rgba(129, 140, 248, 0.45),
|
|
rgba(99, 102, 241, 0.3),
|
|
transparent);
|
|
}
|
|
|
|
.sidebar-footer-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
padding: 0 10px;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: #475569;
|
|
}
|
|
|
|
.sidebar-footer-version-link {
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.sidebar-footer-version-link:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar-footer-version-link:hover .sidebar-footer-version {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.sidebar-footer-version {
|
|
color: #64748b;
|
|
font-variant-numeric: tabular-nums;
|
|
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 10px;
|
|
letter-spacing: 0.02em;
|
|
transition: color 0.2s ease;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.sidebar-footer-upgrade {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
color: #34d399;
|
|
background: rgba(52, 211, 153, 0.08);
|
|
border: 1px solid rgba(52, 211, 153, 0.2);
|
|
border-radius: 10px;
|
|
padding: 2px 7px 2px 5px;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
transition: all 0.2s ease;
|
|
vertical-align: middle;
|
|
position: relative;
|
|
top: 0;
|
|
}
|
|
|
|
.sidebar-footer-upgrade:hover {
|
|
background: rgba(52, 211, 153, 0.16);
|
|
border-color: rgba(52, 211, 153, 0.35);
|
|
color: #6ee7b7;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sidebar-footer-upgrade i {
|
|
font-size: 7px;
|
|
color: #34d399;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.sidebar-footer-upgrade:hover i {
|
|
color: #6ee7b7;
|
|
}
|
|
|
|
.sidebar-footer-sep {
|
|
color: #334155;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.sidebar-footer-dev {
|
|
color: #64748b;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.sidebar-footer-dev:hover {
|
|
color: #94a3b8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* ===== SETTINGS SUBPANEL ===== */
|
|
.settings-subpanel {
|
|
padding: 24px;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.settings-subpanel-title {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.settings-subpanel-description {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* ===== THEME SWITCH ===== */
|
|
.theme-switcher {
|
|
padding: 24px;
|
|
margin-top: 24px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.switch-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.light-icon,
|
|
.dark-icon {
|
|
color: var(--sidebar-text);
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: 26px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: var(--switch-bg);
|
|
transition: .4s;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: .4s;
|
|
}
|
|
|
|
input:checked+.slider {
|
|
background-color: var(--switch-active);
|
|
}
|
|
|
|
input:checked+.slider:before {
|
|
transform: translateX(calc(100% + 4px));
|
|
}
|
|
|
|
.slider.round {
|
|
border-radius: 34px;
|
|
width: 48px;
|
|
}
|
|
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* ===== MOBILE: sidebar hidden — see mobile.css ===== */
|
|
|
|
/* ===== FOCUSED MODES: hide other sections instantly ===== */
|
|
#nav-group-core-label,
|
|
#homeNav,
|
|
#nav-group-apps-label,
|
|
#nav-group-media-hunt,
|
|
#nzb-hunt-sidebar-group,
|
|
#tor-hunt-sidebar-group,
|
|
#nav-group-apps,
|
|
#nav-group-system,
|
|
#nav-group-requests,
|
|
#main-sidebar-partner-projects-group {
|
|
max-height: none;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ── Home reorder: move Home directly above the focused group via flex order ── */
|
|
/* Default order (no focus): everything in DOM order */
|
|
.sidebar.requests-focused #homeNav,
|
|
.sidebar.system-focused #homeNav,
|
|
.sidebar.media-focused #homeNav,
|
|
.sidebar.nzb-focused #homeNav,
|
|
.sidebar.tor-focused #homeNav,
|
|
.sidebar.thirdparty-focused #homeNav {
|
|
order: 10;
|
|
}
|
|
|
|
/* Core label below Home for Requests/System focus */
|
|
.sidebar.requests-focused #nav-group-core-label,
|
|
.sidebar.system-focused #nav-group-core-label {
|
|
order: 11;
|
|
}
|
|
|
|
/* Apps label and app groups get higher order so Home sits above them */
|
|
.sidebar.requests-focused #nav-group-requests,
|
|
.sidebar.system-focused #nav-group-system,
|
|
.sidebar.media-focused #nav-group-apps-label,
|
|
.sidebar.media-focused #nav-group-media-hunt,
|
|
.sidebar.nzb-focused #nav-group-apps-label,
|
|
.sidebar.nzb-focused #nzb-hunt-sidebar-group,
|
|
.sidebar.tor-focused #nav-group-apps-label,
|
|
.sidebar.tor-focused #tor-hunt-sidebar-group,
|
|
.sidebar.thirdparty-focused #nav-group-apps-label,
|
|
.sidebar.thirdparty-focused #nav-group-apps {
|
|
order: 12;
|
|
}
|
|
|
|
/* Daughter's Sponsors: hidden in all focused modes EXCEPT requests-focused (non-owners are always requests-focused) */
|
|
.sidebar.system-focused #main-sidebar-partner-projects-group,
|
|
.sidebar.media-focused #main-sidebar-partner-projects-group,
|
|
.sidebar.nzb-focused #main-sidebar-partner-projects-group,
|
|
.sidebar.tor-focused #main-sidebar-partner-projects-group,
|
|
.sidebar.thirdparty-focused #main-sidebar-partner-projects-group {
|
|
display: none;
|
|
}
|
|
|
|
/* Requests focused: hide System + all Apps */
|
|
.sidebar.requests-focused #nav-group-apps-label,
|
|
.sidebar.requests-focused #nav-group-media-hunt,
|
|
.sidebar.requests-focused #nzb-hunt-sidebar-group,
|
|
.sidebar.requests-focused #tor-hunt-sidebar-group,
|
|
.sidebar.requests-focused #nav-group-apps,
|
|
.sidebar.requests-focused #nav-group-system,
|
|
/* System focused: hide Requests + all Apps */
|
|
.sidebar.system-focused #nav-group-apps-label,
|
|
.sidebar.system-focused #nav-group-media-hunt,
|
|
.sidebar.system-focused #nzb-hunt-sidebar-group,
|
|
.sidebar.system-focused #tor-hunt-sidebar-group,
|
|
.sidebar.system-focused #nav-group-apps,
|
|
.sidebar.system-focused #nav-group-requests,
|
|
/* Media Hunt focused: hide Core + Requests + System + NZB + Tor + 3rd Party */
|
|
.sidebar.media-focused #nav-group-core-label,
|
|
.sidebar.media-focused #nav-group-requests,
|
|
.sidebar.media-focused #nav-group-system,
|
|
.sidebar.media-focused #nzb-hunt-sidebar-group,
|
|
.sidebar.media-focused #tor-hunt-sidebar-group,
|
|
.sidebar.media-focused #nav-group-apps,
|
|
/* NZB Hunt focused: hide Core + Requests + System + Media Hunt + Tor + 3rd Party */
|
|
.sidebar.nzb-focused #nav-group-core-label,
|
|
.sidebar.nzb-focused #nav-group-requests,
|
|
.sidebar.nzb-focused #nav-group-system,
|
|
.sidebar.nzb-focused #nav-group-media-hunt,
|
|
.sidebar.nzb-focused #tor-hunt-sidebar-group,
|
|
.sidebar.nzb-focused #nav-group-apps,
|
|
/* Tor Hunt focused: hide Core + Requests + System + Media Hunt + NZB + 3rd Party */
|
|
.sidebar.tor-focused #nav-group-core-label,
|
|
.sidebar.tor-focused #nav-group-requests,
|
|
.sidebar.tor-focused #nav-group-system,
|
|
.sidebar.tor-focused #nav-group-media-hunt,
|
|
.sidebar.tor-focused #nzb-hunt-sidebar-group,
|
|
.sidebar.tor-focused #nav-group-apps,
|
|
/* 3rd Party focused: hide Core + Requests + System + Media Hunt + NZB + Tor */
|
|
.sidebar.thirdparty-focused #nav-group-core-label,
|
|
.sidebar.thirdparty-focused #nav-group-requests,
|
|
.sidebar.thirdparty-focused #nav-group-system,
|
|
.sidebar.thirdparty-focused #nav-group-media-hunt,
|
|
.sidebar.thirdparty-focused #nzb-hunt-sidebar-group,
|
|
.sidebar.thirdparty-focused #tor-hunt-sidebar-group {
|
|
display: none;
|
|
} |