backseat-music/backseat/components/assets/static/main.scss

56 lines
No EOL
1.1 KiB
SCSS

/* hello */
html, body {
width: 100%;
min-height: 100%;
background-color: lightblue;
font-family: sans-serif;
}
main {
max-width: 60%; /* TODO: Responsivity */
margin: 1em auto;
background-color: white;
padding: 2em;
border-radius: 0.5em;
}
.display-none {
display: none;
}
ul.track-list {
list-style: none;
padding: 0;
li {
display: grid;
grid-template-columns: 1fr repeat(3, 3fr);
//display: flex;
//flex-direction: row;
align-items: center;
gap: 0.5em;
padding: 0.5em;
> div:not(.display-none):has(img) {
img {
height: 3em;
}
display: flex;
flex-direction: row;
justify-content: center;
}
&:nth-of-type(odd) {
background-color: lightgray;
}
&:has(>input[type=checkbox]:checked) {
background-color: yellow;
&:nth-of-type(odd) {
background-color: yellowgreen;
}
}
}
}