Files
spotizerr-dev/static/css/main/icons.css
cool.gitter.choco 081bb5096c improved UI
2025-02-05 21:08:20 -06:00

125 lines
2.7 KiB
CSS

/* ICON STYLES */
.settings-icon img,
#queueIcon img {
width: 24px;
height: 24px;
vertical-align: middle;
filter: invert(1);
transition: opacity 0.3s;
}
.settings-icon:hover img,
#queueIcon:hover img {
opacity: 0.8;
}
#queueIcon {
background: none;
border: none;
cursor: pointer;
padding: 4px;
}
.download-icon,
.type-icon,
.toggle-chevron {
width: 16px;
height: 16px;
vertical-align: middle;
margin-right: 6px;
}
.toggle-chevron {
transition: transform 0.2s ease;
}
.option-btn .type-icon {
width: 18px;
height: 18px;
margin-right: 0.3rem;
}
/* Container for Title and Buttons */
.title-and-view {
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 1rem; /* Extra right padding so buttons don't touch the edge */
}
/* Container for the buttons next to the title */
.title-buttons {
display: flex;
align-items: center;
}
/* Small Download Button Styles */
.download-btn-small {
background-color: #1db954; /* White background */
border: none;
border-radius: 50%; /* Circular shape */
padding: 6px; /* Adjust padding for desired size */
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease, transform 0.2s ease;
margin-left: 8px; /* Space between adjacent buttons */
}
.download-btn-small img {
width: 20px; /* Slightly bigger icon */
height: 20px;
filter: brightness(0) invert(1); /* Makes the icon white */
}
.download-btn-small:hover {
background-color: #1db954b4; /* Light gray on hover */
transform: translateY(-1px);
}
/* View Button Styles (unchanged) */
.view-btn {
background-color: #1db954;
border: none;
border-radius: 50%;
padding: 6px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease, transform 0.2s ease;
margin-left: 8px;
}
.view-btn img {
width: 20px;
height: 20px;
filter: brightness(0) invert(1);
}
.view-btn:hover {
background-color: #1db954b0;
transform: translateY(-1px);
}
/* Mobile Compatibility Tweaks */
@media (max-width: 600px) {
.view-btn,
.download-btn-small {
padding: 6px 10px;
font-size: 13px;
margin: 4px;
}
}
/* Mobile compatibility tweaks */
@media (max-width: 600px) {
.view-btn {
padding: 6px 10px; /* Slightly larger padding on mobile for easier tap targets */
font-size: 13px; /* Ensure readability on smaller screens */
margin: 4px; /* Reduce margins to better fit mobile layouts */
}
}