style changes

This commit is contained in:
Broque Thomas 2025-08-24 11:09:33 -07:00
parent ee6c95a92e
commit 9686c6f1df
2 changed files with 208 additions and 152 deletions

View file

@ -1815,7 +1815,7 @@ function displayDownloadsResults(results) {
<div class="track-item-actions"> <div class="track-item-actions">
<button onclick="streamAlbumTrack(${index}, ${trackIndex})" class="track-stream-btn">Stream </button> <button onclick="streamAlbumTrack(${index}, ${trackIndex})" class="track-stream-btn">Stream </button>
<button onclick="downloadAlbumTrack(${index}, ${trackIndex})" class="track-download-btn">Download </button> <button onclick="downloadAlbumTrack(${index}, ${trackIndex})" class="track-download-btn">Download </button>
<button onclick="matchedDownloadAlbumTrack(${index}, ${trackIndex})" class="track-matched-btn" title="Matched Download">🎯</button> <button onclick="matchedDownloadAlbumTrack(${index}, ${trackIndex})" class="track-matched-btn" title="Matched Download">Matched Download 🎯</button>
</div> </div>
</div> </div>
`; `;

View file

@ -2444,24 +2444,55 @@ body {
/* Single Track Card (SearchResultItem) */ /* Single Track Card (SearchResultItem) */
.track-result-card { .track-result-card {
background: linear-gradient(to bottom, /* Premium glassmorphic foundation matching modal */
rgba(48, 48, 52, 0.95), background: linear-gradient(135deg,
rgba(38, 38, 42, 0.98)); rgba(26, 26, 26, 0.95) 0%,
border-radius: 18px; rgba(18, 18, 18, 0.98) 100%);
border: 1px solid rgba(70, 70, 76, 0.5); backdrop-filter: blur(12px) saturate(1.1);
margin: 8px 4px; border-radius: 20px;
padding: 16px; border: 1px solid rgba(255, 255, 255, 0.08);
border-top: 1px solid rgba(255, 255, 255, 0.12);
margin: 12px 8px;
padding: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 16px; gap: 18px;
transition: all 0.2s ease; position: relative;
overflow: hidden;
/* Neumorphic depth shadows - elevated card effect */
box-shadow:
/* Main depth shadow */
0 15px 35px rgba(0, 0, 0, 0.6),
/* Subtle green glow like modal */
0 0 0 1px rgba(29, 185, 84, 0.08),
/* Inner highlight for glass effect */
inset 0 1px 0 rgba(255, 255, 255, 0.06),
/* Inner shadow for depth */
inset 0 -1px 0 rgba(0, 0, 0, 0.1);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
transform: translateZ(0);
} }
.track-result-card:hover { .track-result-card:hover {
background: linear-gradient(to bottom, /* Enhanced glassmorphic hover state */
rgba(55, 55, 60, 0.98), background: linear-gradient(135deg,
rgba(45, 45, 50, 1.0)); rgba(30, 30, 30, 0.98) 0%,
border: 1px solid rgba(29, 185, 84, 0.8); rgba(22, 22, 22, 1.0) 100%);
backdrop-filter: blur(16px) saturate(1.2);
border-color: rgba(29, 185, 84, 0.3);
border-top-color: rgba(29, 185, 84, 0.4);
/* More dramatic elevated effect */
box-shadow:
0 20px 45px rgba(0, 0, 0, 0.7),
0 0 0 1px rgba(29, 185, 84, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.1),
inset 0 -1px 0 rgba(0, 0, 0, 0.15);
transform: translateY(-2px) translateZ(0);
} }
.track-icon { .track-icon {
@ -2514,40 +2545,56 @@ body {
flex-shrink: 0; flex-shrink: 0;
} }
.track-download-btn { /* Track download button now uses shared neo-button styling above */
background: linear-gradient(to bottom,
rgba(29, 185, 84, 0.95),
rgba(24, 156, 71, 0.9));
border: 2px solid rgba(29, 185, 84, 0.3);
border-radius: 23px;
color: #000000;
font-size: 14px;
font-weight: bold;
padding: 8px 16px;
cursor: pointer;
transition: all 0.2s ease;
}
.track-download-btn:hover {
background: linear-gradient(to bottom,
rgba(30, 215, 96, 1.0),
rgba(25, 180, 80, 1.0));
}
/* Album Card (AlbumResultItem) */ /* Album Card (AlbumResultItem) */
.album-result-card { .album-result-card {
background: linear-gradient(to bottom, /* Premium glassmorphic foundation matching modal */
rgba(52, 52, 58, 0.95), background: linear-gradient(135deg,
rgba(42, 42, 48, 0.98)); rgba(26, 26, 26, 0.95) 0%,
border-radius: 20px; rgba(18, 18, 18, 0.98) 100%);
border: 1px solid rgba(75, 75, 82, 0.5); backdrop-filter: blur(12px) saturate(1.1);
margin: 8px 4px; border-radius: 24px;
padding: 18px; border: 1px solid rgba(255, 255, 255, 0.08);
transition: all 0.2s ease; border-top: 1px solid rgba(255, 255, 255, 0.12);
margin: 12px 8px;
padding: 24px;
position: relative;
overflow: hidden;
/* Neumorphic depth shadows - elevated card effect */
box-shadow:
/* Main depth shadow */
0 18px 40px rgba(0, 0, 0, 0.6),
/* Subtle green glow like modal */
0 0 0 1px rgba(29, 185, 84, 0.08),
/* Inner highlight for glass effect */
inset 0 1px 0 rgba(255, 255, 255, 0.06),
/* Inner shadow for depth */
inset 0 -1px 0 rgba(0, 0, 0, 0.1);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
transform: translateZ(0);
} }
.album-result-card:hover { .album-result-card:hover {
border: 1px solid rgba(29, 185, 84, 0.8); /* Enhanced glassmorphic hover state */
background: linear-gradient(135deg,
rgba(30, 30, 30, 0.98) 0%,
rgba(22, 22, 22, 1.0) 100%);
backdrop-filter: blur(16px) saturate(1.2);
border-color: rgba(29, 185, 84, 0.3);
border-top-color: rgba(29, 185, 84, 0.4);
/* More dramatic elevated effect */
box-shadow:
0 25px 50px rgba(0, 0, 0, 0.7),
0 0 0 1px rgba(29, 185, 84, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.1),
inset 0 -1px 0 rgba(0, 0, 0, 0.15);
transform: translateY(-3px) translateZ(0);
} }
.album-card-header { .album-card-header {
@ -2606,25 +2653,7 @@ body {
flex-shrink: 0; flex-shrink: 0;
} }
.album-download-btn { /* Album download button now uses shared neo-button styling above */
background: linear-gradient(to bottom,
rgba(29, 185, 84, 0.95),
rgba(24, 156, 71, 0.9));
border: 2px solid rgba(29, 185, 84, 0.3);
border-radius: 23px;
color: #000000;
font-size: 15px;
font-weight: bold;
padding: 10px 20px;
cursor: pointer;
transition: all 0.2s ease;
}
.album-download-btn:hover {
background: linear-gradient(to bottom,
rgba(30, 215, 96, 1.0),
rgba(25, 180, 80, 1.0));
}
/* Album Expansion Functionality */ /* Album Expansion Functionality */
.album-card-header { .album-card-header {
@ -2648,27 +2677,45 @@ body {
/* Track List within Albums */ /* Track List within Albums */
.album-track-list { .album-track-list {
margin-top: 12px; margin-top: 16px;
padding-top: 12px; padding-top: 16px;
border-top: 1px solid rgba(75, 75, 82, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.08);
} }
/* Individual Track Items (TrackItem) */ /* Individual Track Items (TrackItem) - Subtle glassmorphism */
.track-item { .track-item {
background: rgba(40, 40, 40, 0.5); background: linear-gradient(135deg,
border-radius: 8px; rgba(255, 255, 255, 0.03) 0%,
border: 1px solid rgba(60, 60, 60, 0.3); rgba(255, 255, 255, 0.01) 100%);
padding: 10px; backdrop-filter: blur(8px);
margin-bottom: 6px; border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.05);
padding: 12px;
margin-bottom: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
transition: all 0.2s ease;
/* Subtle inner depth */
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.03),
inset 0 -1px 0 rgba(0, 0, 0, 0.05);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
} }
.track-item:hover { .track-item:hover {
background: rgba(50, 50, 50, 0.7); background: linear-gradient(135deg,
border: 1px solid rgba(29, 185, 84, 0.5); rgba(255, 255, 255, 0.06) 0%,
rgba(255, 255, 255, 0.02) 100%);
backdrop-filter: blur(10px);
border-color: rgba(29, 185, 84, 0.2);
/* Enhanced subtle depth */
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.05),
inset 0 -1px 0 rgba(0, 0, 0, 0.08),
0 2px 8px rgba(0, 0, 0, 0.1);
} }
.track-item-info { .track-item-info {
@ -3009,83 +3056,133 @@ body {
} }
/* =============================== /* ===============================
STREAMING BUTTON STYLES MODAL-STYLE BUTTON STYLES
=============================== */ =============================== */
/* Modal-style button foundation */
/* Track stream buttons */ .track-stream-btn,
.track-stream-btn { .track-download-btn,
background: linear-gradient(to bottom, rgba(29, 185, 84, 0.1), rgba(25, 155, 71, 0.2)); .track-matched-btn,
border: 1px solid rgba(29, 185, 84, 0.4); .album-download-btn,
color: rgba(29, 185, 84, 0.9); .album-matched-btn {
border-radius: 6px; /* Modal button styling */
padding: 4px 8px; padding: 10px 18px;
font-size: 11px; border: none;
border-radius: 12px;
font-size: 14px;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: all 0.2s ease;
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
outline: none;
user-select: none;
-webkit-user-select: none;
position: relative;
overflow: hidden;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-width: 24px; gap: 6px;
height: 24px; min-width: 80px;
}
/* Stream buttons - secondary modal style */
.track-stream-btn {
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.8);
} }
.track-stream-btn:hover { .track-stream-btn:hover {
background: linear-gradient(to bottom, rgba(29, 185, 84, 0.2), rgba(25, 155, 71, 0.3)); background: rgba(255, 255, 255, 0.2);
border-color: rgba(29, 185, 84, 0.6); color: #ffffff;
color: rgba(29, 185, 84, 1); transform: translateY(-1px);
transform: scale(1.05);
} }
/* Album stream buttons */ /* Download buttons - primary modal style */
.track-download-btn,
.album-download-btn {
background: #1db954;
color: #ffffff;
}
.track-download-btn:hover,
.album-download-btn:hover {
background: #1ed760;
transform: translateY(-1px);
}
/* Matched buttons - accent modal style */
.track-matched-btn,
.album-matched-btn {
background: rgba(147, 51, 234, 0.9);
color: #ffffff;
}
.track-matched-btn:hover,
.album-matched-btn:hover {
background: #9333ea;
transform: translateY(-1px);
}
/* Active states - simple pressed effect like modal */
.track-stream-btn:active,
.track-download-btn:active,
.track-matched-btn:active,
.album-download-btn:active,
.album-matched-btn:active {
transform: translateY(0);
}
/* Album stream buttons - modal style */
.album-stream-btn { .album-stream-btn {
background: linear-gradient(to bottom, rgba(29, 185, 84, 0.1), rgba(25, 155, 71, 0.2)); padding: 10px 18px;
border: 1px solid rgba(29, 185, 84, 0.4); border: none;
color: rgba(29, 185, 84, 0.9); border-radius: 12px;
border-radius: 8px; font-size: 14px;
padding: 8px 16px;
font-size: 12px;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease; transition: all 0.2s ease;
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
outline: none;
user-select: none;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 6px; gap: 6px;
margin-right: 8px; margin-right: 8px;
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.8);
} }
.album-stream-btn:hover { .album-stream-btn:hover {
background: linear-gradient(to bottom, rgba(29, 185, 84, 0.2), rgba(25, 155, 71, 0.3)); background: rgba(255, 255, 255, 0.2);
border-color: rgba(29, 185, 84, 0.6); color: #ffffff;
color: rgba(29, 185, 84, 1);
transform: translateY(-1px); transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(29, 185, 84, 0.2);
} }
/* Loading states for stream buttons */ /* Disabled states - modal style */
.track-stream-btn:disabled, .track-stream-btn:disabled,
.album-stream-btn:disabled { .track-download-btn:disabled,
background: linear-gradient(to bottom, rgba(120, 120, 120, 0.2), rgba(100, 100, 100, 0.3)); .track-matched-btn:disabled,
border-color: rgba(120, 120, 120, 0.3); .album-stream-btn:disabled,
.album-download-btn:disabled,
.album-matched-btn:disabled {
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.4);
cursor: not-allowed; cursor: not-allowed;
transform: none; transform: none;
} }
/* Active/playing states */ /* Playing states - modal style */
.track-stream-btn.playing, .track-stream-btn.playing,
.album-stream-btn.playing { .album-stream-btn.playing {
background: linear-gradient(to bottom, rgba(29, 185, 84, 0.3), rgba(25, 155, 71, 0.4)); background: #1db954;
border-color: rgba(29, 185, 84, 0.8);
color: #ffffff; color: #ffffff;
box-shadow: 0 0 8px rgba(29, 185, 84, 0.4);
} }
/* Loading states - modal style */
.track-stream-btn.loading, .track-stream-btn.loading,
.album-stream-btn.loading { .album-stream-btn.loading {
background: linear-gradient(to bottom, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.3)); background: rgba(255, 193, 7, 0.9);
border-color: rgba(255, 193, 7, 0.5); color: #000000;
color: rgba(255, 193, 7, 0.9);
animation: pulse-loading 1.5s infinite; animation: pulse-loading 1.5s infinite;
} }
@ -3095,44 +3192,3 @@ body {
100% { opacity: 0.7; } 100% { opacity: 0.7; }
} }
.track-matched-btn {
background: linear-gradient(to bottom, #9333ea, #7c28c0);
border: 1px solid rgba(147, 51, 234, 0.3);
border-radius: 6px;
color: #fff;
padding: 4px 8px;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
height: 24px;
}
.track-matched-btn:hover {
background: linear-gradient(to bottom, #a747fe, #903fdd);
transform: scale(1.05);
}
.album-matched-btn {
background: linear-gradient(to bottom, #9333ea, #7c28c0);
border: 2px solid rgba(147, 51, 234, 0.3);
border-radius: 23px;
color: #fff;
padding: 10px 20px;
font-size: 15px;
font-weight: bold;
cursor: pointer;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
justify-content: center;
}
.album-matched-btn:hover {
background: linear-gradient(to bottom, #a747fe, #903fdd);
transform: scale(1.05);
}