feat: style layers, imports and nesting

This commit is contained in:
Cory Dransfeldt 2024-04-15 12:37:32 -07:00
parent 8e5d497389
commit d4c87b8abe
No known key found for this signature in database
58 changed files with 968 additions and 981 deletions

View file

@ -1,5 +1,14 @@
.track__chart--item {
justify-content: space-between;
&:not(:last-of-type) {
margin-bottom: var(--sizing-md);
}
& .progress-bar__wrapper {
max-width: 40%;
margin-left: var(--sizing-lg);
}
}
.track__chart--item,
@ -9,15 +18,6 @@
align-items: center;
}
.track__chart--item:not(:last-of-type) {
margin-bottom: var(--sizing-md);
}
.track__chart--item .progress-bar__wrapper {
max-width: 40%;
margin-left: var(--sizing-lg);
}
.track__chart--presentation {
display: flex;
flex-direction: row;
@ -49,15 +49,17 @@
line-height: var(--line-height-sm);
}
.track__chart--item img {
border: 1px solid var(--accent-color);
border-radius: var(--rounded);
}
.track__chart--item {
& img {
border: 1px solid var(--accent-color);
border-radius: var(--rounded);
}
.track__chart--item img,
.track__chart--item picture {
width: calc(var(--sizing-3xl) * 1.5);
height: calc(var(--sizing-3xl) * 1.5);
& img,
& picture {
width: calc(var(--sizing-3xl) * 1.5);
height: calc(var(--sizing-3xl) * 1.5);
}
}
.track__chart--meta {