Spaces:
Running
Running
File size: 2,417 Bytes
7421366 ef3f869 7421366 ef3f869 7421366 ef3f869 7421366 ef3f869 7421366 ef3f869 7421366 ef3f869 7421366 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
/* Global Styles */
:root {
--primary-color: #1DB954;
--secondary-color: #191414;
--background-color: #121212;
--sidebar-color: #000000;
--player-color: #181818;
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: var(--background-color);
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
height: 100vh;
overflow: hidden;
}
/* Scrollbar Styling */
.playlist-container::-webkit-scrollbar {
width: 8px;
}
.playlist-container::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
}
.playlist-container::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
}
.playlist-container::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
}
/* Track Item Styles */
.track-item {
transition: all 0.2s ease;
cursor: grab;
}
.track-item:active {
cursor: grabbing;
}
.track-item.drag-over {
border-top: 2px solid var(--primary-color);
}
.track-item.drag-over-after {
border-bottom: 2px solid var(--primary-color);
}
/* Progress Bar Customization */
.progress-bar {
-webkit-appearance: none;
appearance: none;
height: 4px;
background: rgba(255, 255, 255, 0.3);
outline: none;
border-radius: 2px;
}
.progress-bar::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--primary-color);
cursor: pointer;
opacity: 0;
transition: opacity 0.2s;
}
.progress-bar:hover::-webkit-slider-thumb {
opacity: 1;
}
/* Volume Slider Customization */
.volume-slider {
-webkit-appearance: none;
appearance: none;
height: 4px;
background: rgba(255, 255, 255, 0.3);
outline: none;
border-radius: 2px;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: white;
cursor: pointer;
}
/* Button Hover Effects */
button:hover {
transform: scale(1.05);
transition: transform 0.2s;
}
/* Responsive Design */
@media (max-width: 768px) {
.playlist-header {
display: none;
}
.track-item {
padding: 1rem 0;
}
#player {
padding: 1rem;
}
#player .grid {
grid-template-columns: 1fr;
gap: 1rem;
}
#player > div:nth-child(2) {
order: 3;
}
#player > div:nth-child(3) {
order: 2;
}
} |