This commit is contained in:
Nordi98 2025-08-03 19:32:07 +02:00
parent 585ee069c2
commit b0f9fbee65
3 changed files with 620 additions and 6 deletions

View file

@ -1454,3 +1454,255 @@ body {
.p-15 { padding: 15px; }
.p-20 { padding: 20px; }
/* Playlist Styles */
.playlist-browser {
flex: 1;
display: flex;
flex-direction: column;
background: linear-gradient(145deg, #0f0f23, #1a1a2e);
border-radius: 15px;
padding: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.browser-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.create-playlist-btn {
padding: 8px 12px;
border: none;
border-radius: 8px;
background: linear-gradient(145deg, #4ecdc4, #45b7d1);
color: #ffffff;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.create-playlist-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}
.playlist-container {
flex: 1;
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: #4ecdc4 transparent;
}
.playlist-container::-webkit-scrollbar {
width: 6px;
}
.playlist-container::-webkit-scrollbar-track {
background: transparent;
}
.playlist-container::-webkit-scrollbar-thumb {
background: #4ecdc4;
border-radius: 3px;
}
.playlist-item {
padding: 10px;
margin-bottom: 8px;
background: rgba(0, 0, 0, 0.3);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.05);
transition: all 0.3s ease;
}
.playlist-item:hover {
background: rgba(78, 205, 196, 0.1);
border-color: rgba(78, 205, 196, 0.3);
}
.playlist-item.active {
background: rgba(78, 205, 196, 0.2);
border-color: rgba(78, 205, 196, 0.5);
}
.playlist-header {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.playlist-name {
font-weight: 600;
color: #ffffff;
}
.playlist-count {
font-size: 12px;
color: #888888;
}
.playlist-actions {
display: flex;
gap: 8px;
}
.playlist-actions button {
width: 30px;
height: 30px;
border: none;
border-radius: 50%;
background: rgba(0, 0, 0, 0.3);
color: #ffffff;
cursor: pointer;
transition: all 0.3s ease;
}
.playlist-play-btn {
background: linear-gradient(145deg, #4ecdc4, #45b7d1) !important;
}
.playlist-edit-btn {
background: linear-gradient(145deg, #feca57, #ff9ff3) !important;
}
.playlist-delete-btn {
background: linear-gradient(145deg, #ff6b6b, #ff5722) !important;
}
.playlist-actions button:hover {
transform: scale(1.1);
}
.no-playlists {
text-align: center;
color: #888888;
padding: 20px;
}
/* Playlist Editor Modal */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 2000;
}
.modal-content {
background: linear-gradient(145deg, #1e1e2e, #2a2a3e);
border-radius: 20px;
padding: 20px;
width: 500px;
max-width: 90%;
max-height: 90%;
overflow-y: auto;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-header h3 {
color: #4ecdc4;
font-size: 18px;
}
.close-modal {
width: 30px;
height: 30px;
border: none;
border-radius: 50%;
background: rgba(255, 0, 0, 0.7);
color: #ffffff;
font-size: 18px;
cursor: pointer;
transition: all 0.3s ease;
}
.close-modal:hover {
background: rgba(255, 0, 0, 0.9);
transform: scale(1.1);
}
.playlist-songs {
margin-bottom: 20px;
max-height: 200px;
overflow-y: auto;
}
.playlist-song {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px;
margin-bottom: 5px;
background: rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
.remove-song {
width: 24px;
height: 24px;
border: none;
border-radius: 50%;
background: rgba(255, 0, 0, 0.7);
color: #ffffff;
cursor: pointer;
}
.add-song-form {
padding: 15px;
background: rgba(0, 0, 0, 0.2);
border-radius: 10px;
}
.add-song-form h4 {
margin-bottom: 10px;
color: #4ecdc4;
}
.input-group {
margin-bottom: 10px;
}
.input-group input {
width: 100%;
padding: 8px 12px;
border: none;
border-radius: 5px;
background: rgba(0, 0, 0, 0.3);
color: #ffffff;
outline: none;
}
#add-song-btn {
padding: 8px 15px;
border: none;
border-radius: 5px;
background: linear-gradient(145deg, #4ecdc4, #45b7d1);
color: #ffffff;
cursor: pointer;
transition: all 0.3s ease;
}
#add-song-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}