mirror of
https://github.com/plexguide/Huntarr.io.git
synced 2026-05-19 17:14:27 -04:00
update
This commit is contained in:
@@ -2,53 +2,13 @@
|
||||
Import Media — Unmapped folder import UI
|
||||
========================================================================== */
|
||||
|
||||
/* Section scroll fix — use standard section scrolling */
|
||||
/* Section - let parent handle scrolling */
|
||||
#settingsImportMediaSection {
|
||||
/* Remove the overrides that were breaking scrolling */
|
||||
}
|
||||
|
||||
/* Sticky Toolbar Container */
|
||||
.import-media-sticky-toolbar {
|
||||
position: sticky;
|
||||
top: -20px; /* Aligns with content-section padding */
|
||||
background: #0f172a; /* Match main background */
|
||||
z-index: 100;
|
||||
padding: 20px 0 0 0;
|
||||
margin-bottom: 0;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
/* Table Header */
|
||||
.import-media-list-header {
|
||||
display: grid;
|
||||
grid-template-columns: 45px 1.5fr 1fr 120px 200px;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
padding: 12px 16px;
|
||||
margin-top: 10px;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-left: 3px solid transparent; /* Match item border spacing */
|
||||
}
|
||||
|
||||
.import-media-list-header .header-col {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
color: rgba(148, 163, 184, 0.4);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.import-media-list-header .actions-col {
|
||||
text-align: left; /* Align header to the left */
|
||||
/* No overrides - let parent .main-content handle scrolling */
|
||||
}
|
||||
|
||||
#settingsImportMediaSection .import-media-settings-group {
|
||||
padding-bottom: 100px;
|
||||
margin-top: 0;
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
@@ -58,7 +18,6 @@
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 16px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.import-media-header h3 {
|
||||
@@ -130,7 +89,7 @@
|
||||
background: rgba(59, 130, 246, 0.08);
|
||||
border: 1px solid rgba(59, 130, 246, 0.15);
|
||||
border-radius: 10px;
|
||||
margin: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.import-media-status-icon i {
|
||||
@@ -152,7 +111,7 @@
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-radius: 10px;
|
||||
margin: 0 16px 16px 16px;
|
||||
margin-bottom: 16px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@@ -183,6 +142,29 @@
|
||||
color: rgba(148, 163, 184, 0.5);
|
||||
}
|
||||
|
||||
/* Table Header - sticky within settings-group */
|
||||
.import-media-list-header {
|
||||
display: grid;
|
||||
grid-template-columns: 45px 1.5fr 1fr 120px 200px;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
padding: 12px 0px;
|
||||
margin-bottom: 12px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
position: sticky;
|
||||
top: 20px;
|
||||
z-index: 50;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.import-media-list-header .header-col {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
color: rgba(148, 163, 184, 0.4);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
/* Empty state */
|
||||
.import-media-empty {
|
||||
text-align: center;
|
||||
@@ -207,7 +189,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Desktop: grid layout for consistent column alignment */
|
||||
@@ -216,45 +198,29 @@
|
||||
grid-template-columns: 45px 1.5fr 1fr 120px 200px;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
padding: 12px 16px;
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
padding: 12px 16px 12px 16px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
transition: all 0.2s ease;
|
||||
border-left: 3px solid transparent; /* Placeholder for status border */
|
||||
}
|
||||
|
||||
/* Column dividers for visual alignment */
|
||||
.import-media-item > div:not(:last-child) {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.import-media-item > div:not(:first-child):not(:last-child)::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: -10px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
height: 40px;
|
||||
width: 1px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-left: 3px solid transparent;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.import-media-item:hover {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
background: rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
|
||||
.import-media-item.status-matched {
|
||||
border-left: 3px solid #4ade80;
|
||||
border-left-color: #4ade80;
|
||||
}
|
||||
|
||||
.import-media-item.status-pending {
|
||||
border-left: 3px solid #fbbf24;
|
||||
border-left-color: #fbbf24;
|
||||
}
|
||||
|
||||
.import-media-item.status-no_match {
|
||||
border-left: 3px solid #f87171;
|
||||
border-left-color: #f87171;
|
||||
}
|
||||
|
||||
/* Poster thumbnail */
|
||||
@@ -369,7 +335,7 @@
|
||||
.import-media-actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
justify-content: flex-start; /* Align icons to the left */
|
||||
justify-content: flex-start;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -678,9 +644,6 @@
|
||||
grid-template-columns: 45px 1.2fr 1fr auto;
|
||||
gap: 15px;
|
||||
}
|
||||
.import-media-item > div::after {
|
||||
display: none;
|
||||
}
|
||||
.import-media-match-confidence {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<section id="settingsImportMediaSection" class="content-section" style="display: none;">
|
||||
<link rel="stylesheet" href="./static/css/import-media.css?v=1.0.4">
|
||||
<link rel="stylesheet" href="./static/css/import-media.css?v=1.0.6">
|
||||
<div id="importMediaContainer" class="app-content-panel">
|
||||
<div class="movie-hunt-settings-instance-bar" style="margin-bottom: 16px;">
|
||||
<select id="import-media-instance-select" class="control-select" aria-label="Instance">
|
||||
@@ -7,7 +7,7 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="import-media-sticky-toolbar">
|
||||
<div class="settings-group import-media-settings-group">
|
||||
<div class="import-media-header">
|
||||
<div>
|
||||
<h3>Import Media</h3>
|
||||
@@ -44,23 +44,21 @@
|
||||
<div class="import-media-stat-last-scan" id="import-media-last-scan"></div>
|
||||
</div>
|
||||
|
||||
<!-- Table Header for desktop -->
|
||||
<div class="import-media-list-header">
|
||||
<div class="header-col poster-col"></div>
|
||||
<div class="header-col info-col">Folder / File Information</div>
|
||||
<div class="header-col match-col">TMDB Match</div>
|
||||
<div class="header-col conf-col">Confidence</div>
|
||||
<div class="header-col actions-col">Actions</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="settings-group import-media-settings-group">
|
||||
<!-- Status bar -->
|
||||
<div class="import-media-status-bar" id="import-media-status-bar" style="display: none;">
|
||||
<div class="import-media-status-icon"><i class="fas fa-spinner fa-spin"></i></div>
|
||||
<div class="import-media-status-text" id="import-media-status-text">Scanning...</div>
|
||||
</div>
|
||||
|
||||
<!-- Table Header for desktop - sticky -->
|
||||
<div class="import-media-list-header">
|
||||
<div class="header-col poster-col"></div>
|
||||
<div class="header-col info-col">FOLDER / FILE INFORMATION</div>
|
||||
<div class="header-col match-col">TMDB MATCH</div>
|
||||
<div class="header-col conf-col">CONFIDENCE</div>
|
||||
<div class="header-col actions-col">ACTIONS</div>
|
||||
</div>
|
||||
|
||||
<!-- Items list -->
|
||||
<div class="import-media-list" id="import-media-list">
|
||||
<div class="import-media-empty" id="import-media-empty">
|
||||
|
||||
Reference in New Issue
Block a user