Spaces:
Sleeping
Sleeping
| .playlist-container { | |
| padding: 20px; | |
| background-color: var(--foreground-1); | |
| border-radius: 10px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| width: 100%; | |
| } | |
| .playlist { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| max-height: 30vh; | |
| overflow-y: auto; | |
| } | |
| /* For WebKit browsers (Chrome, Edge, Safari) */ | |
| .playlist::-webkit-scrollbar { | |
| width: 8px; /* Width of the scrollbar */ | |
| } | |
| .playlist::-webkit-scrollbar-track { | |
| background: #222; /* Track color */ | |
| border-radius: 4px; | |
| } | |
| .playlist::-webkit-scrollbar-thumb { | |
| background-color: #888; /* Scrollbar thumb color */ | |
| border-radius: 4px; | |
| } | |
| .playlist::-webkit-scrollbar-thumb:hover { | |
| background-color: #555; /* Thumb color on hover */ | |
| } | |
| .playlist-item { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 10px; | |
| border-bottom: 1px solid var(--border-color); | |
| transition: background-color 0.3s; /* Smooth transition for background change */ | |
| } | |
| .playlist-item.playing { | |
| background-color: var(--highlight-color); | |
| color: var(--text-highlight); | |
| } | |
| .track-title { | |
| cursor: pointer; | |
| font-size: .8rem; | |
| color: var(--text-color); | |
| } | |
| .remove-button, | |
| .save-button, | |
| .clear-button { | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| color: var(--foreground-secondary); | |
| } | |
| .remove-button:hover, | |
| .clear-button:hover { | |
| color: red; /* Change color on hover */ | |
| } | |
| .playlist-action-container{ | |
| display: flex; | |
| } | |
| .save-button { | |
| margin-left: 10px; /* Add some spacing */ | |
| } | |
| .clear-button { | |
| margin-left: 10px; /* Add some spacing */ | |
| display: flex; | |
| align-items: center; | |
| } | |
| .modal { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 1000; /* Ensure modal is on top */ | |
| } | |
| .modal-content { | |
| background: var(--foreground-5); | |
| padding: 20px; | |
| border-radius: 10px; | |
| } | |
| .modal-close-button { | |
| background: none; | |
| border: none; | |
| color: var(--foreground-secondary); | |
| cursor: pointer; | |
| } | |
| .save-confirm-button { | |
| background-color: var(--primary-color); | |
| color: white; | |
| border: none; | |
| padding: 5px 10px; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| .save-confirm-button:hover { | |
| background-color: var(--primary-color-dark); /* Darker shade on hover */ | |
| } | |
| .playlist-name-input { | |
| background: var(--foreground-3); | |
| padding: 5px; | |
| border-radius: 5px; | |
| } | |