Files
tidal-dl-ng-webui/app/static/style.css
2025-12-02 20:16:14 +01:00

223 lines
3.4 KiB
CSS

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #121212;
color: #e0e0e0;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
h1,
h2 {
color: #00ffff;
}
.card {
background-color: #1e1e1e;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
input[type="text"] {
width: 100%;
padding: 10px;
margin-bottom: 10px;
background-color: #2d2d2d;
border: 1px solid #333;
color: #fff;
border-radius: 4px;
}
button {
background-color: #00ffff;
color: #000;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
}
button:hover {
background-color: #00cccc;
}
.result-item {
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid #333;
}
.result-item img {
width: 50px;
height: 50px;
margin-right: 15px;
border-radius: 4px;
}
.result-info {
flex-grow: 1;
}
.queue-item {
padding: 10px;
border-bottom: 1px solid #333;
display: flex;
justify-content: space-between;
}
.status-completed {
color: #00ff00;
}
.status-downloading {
color: #ffff00;
}
.status-cancelled {
color: #888;
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
overflow: auto;
}
.modal-content {
background-color: #1a1a1a;
margin: 5% auto;
padding: 30px;
border: 1px solid #333;
border-radius: 8px;
width: 90%;
max-width: 900px;
max-height: 80vh;
overflow-y: auto;
}
.modal-content h3 {
margin-top: 0;
margin-bottom: 20px;
color: #1db954;
}
.album-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
margin-bottom: 20px;
}
.album-item {
background: #2d2d2d;
border: 2px solid #333;
border-radius: 8px;
padding: 10px;
cursor: pointer;
transition: all 0.3s ease;
}
.album-item:hover {
border-color: #1db954;
transform: translateY(-2px);
}
.album-item.selected {
border-color: #1db954;
background: #2a4a2a;
}
.album-item img {
width: 100%;
border-radius: 4px;
margin-bottom: 8px;
}
.album-item-info {
font-size: 14px;
}
.album-item-info strong {
display: block;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.album-item-info small {
color: #888;
font-size: 12px;
}
.modal-buttons {
display: flex;
gap: 10px;
justify-content: flex-end;
margin-top: 20px;
}
.modal-buttons button {
padding: 10px 20px;
}
input[type="checkbox"] {
margin-right: 8px;
cursor: pointer;
}
.status-failed {
color: #ff0000;
}
/* Collapsible Styles */
details {
margin-bottom: 10px;
background-color: #252525;
border-radius: 4px;
overflow: hidden;
}
summary {
padding: 10px;
cursor: pointer;
background-color: #333;
font-weight: bold;
color: #00ffff;
list-style: none;
/* Hide default triangle */
}
summary::-webkit-details-marker {
display: none;
}
summary::after {
content: '+';
float: right;
font-weight: bold;
}
details[open] summary::after {
content: '-';
}
.group-list {
padding: 0 10px;
}