Add styling for queue and queue toggle button

This commit is contained in:
Connor Wittman 2024-02-02 17:19:15 -05:00
parent 1a1b6550a1
commit 33c1b52ba2
4 changed files with 74 additions and 0 deletions

View File

@ -1,5 +1,6 @@
@import 'playbar.scss';
@import 'theme.scss';
@import 'queue.scss';
body {
font-family: sans-serif;

View File

@ -88,4 +88,28 @@
right: 10px;
top: 13px;
}
.queue-toggle {
position: absolute;
bottom: 13px;
top: 13px;
right: 90px;
button {
.controlbtn {
color: $text-controls-color;
}
.controlbtn:hover {
color: $controls-hover-color;
}
.controlbtn:active {
color: $controls-click-color;
}
background-color: transparent;
border: transparent;
}
}
}

48
style/queue.scss Normal file
View File

@ -0,0 +1,48 @@
@import 'theme.scss';
.queue {
position: fixed;
top: 0;
right: 0;
width: 300px;
height: 55.3rem;
background-color: $queue-background-color; /* Queue background color */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
.queue-header {
background-color: #333; /* Header background color */
color: #fff; /* Header text color */
padding: 10px;
text-align: center;
}
ul {
list-style: none;
padding: 0;
margin: 0;
.queue-song {
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid #ccc; /* Separator line color */
img {
max-width: 50px; /* Adjust maximum width for images */
margin-right: 10px; /* Add spacing between image and text */
}
.queue-song-info {
h3 {
margin: 0; /* Remove default margin for heading */
}
p {
margin: 0; /* Remove default margin for paragraph */
color: #888; /* Adjust text color for artist */
}
}
}
}
}

View File

@ -6,3 +6,4 @@ $controls-click-color: #909090;
$play-bar-background-color: #212121;
$play-grad-start: #0a0533;
$play-grad-end: $accent-color;
$queue-background-color: $play-bar-background-color;