Adjusted units, redundant prefixes, and other things
Some checks failed
Push Workflows / docs (push) Has been cancelled
Push Workflows / build (push) Has been cancelled
Push Workflows / docker-build (push) Has been cancelled
Push Workflows / test (push) Has been cancelled
Push Workflows / leptos-test (push) Has been cancelled

This commit is contained in:
Daniel Miller 2024-12-11 04:54:15 +00:00
parent 1c13d0534a
commit a2ae5f78a7

View File

@ -3,16 +3,13 @@ table.song-list {
border-collapse: collapse;
tr.song-list-item {
border: solid;
border-width: 1px 0;
border-color: #303030;
border: 1px solid #303030; /* Simplified border shorthand */
position: relative;
td {
color: $text-controls-color;
white-space: nowrap;
padding-left: 10px;
padding-right: 10px;
padding: 0.6rem; /* Adjusted padding for consistency */
a {
text-decoration: none;
@ -25,27 +22,25 @@ table.song-list {
}
td.song-image {
width: 35px;
width: 2.2rem; /* Replaced static px with rem */
display: flex;
img.song-image {
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
width: 35px;
height: 35px;
border-radius: 5px;
width: 2.2rem; /* Adjusted to rem */
height: 2.2rem; /* Adjusted to rem */
border-radius: 0.3rem; /* Adjusted radius */
}
svg.song-image-overlay {
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
width: 35px;
height: 35px;
border-radius: 5px;
width: 2.2rem; /* Adjusted to rem */
height: 2.2rem; /* Adjusted to rem */
border-radius: 0.3rem; /* Adjusted radius */
fill: $text-controls-color;
}
@ -68,11 +63,7 @@ table.song-list {
button {
svg.hmirror {
-moz-transform: scale(-1, 1);
-webkit-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
transform: scale(-1, 1); /* Removed redundant prefixes */
}
.controlbtn {
@ -88,7 +79,7 @@ table.song-list {
}
background-color: transparent;
border: transparent;
border: none; /* Simplified border */
}
.hide-until-hover {
@ -121,4 +112,4 @@ table.song-list {
}
}
}
}
}