Previews

No matching results.

Pages

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="list">
<a class="list-row list-row--link flex items-center gap" href="#">
<img alt="Midnight City Lights" class="list-row__media" src="/assets/unsplash-1-ce6f0d74.webp" />
<div class="flex flex-1 flex-col">
<h5 class="leading-none font-medium mbe-1">Midnight City Lights - <span class="text-subtle">Electric Nights</span></h5>
<p class="text-subtle">Neon Dreams</p>
</div>
<p class="text-subtle">3:45</p>
</a>
<a class="list-row list-row--link flex items-center gap" href="#">
<img alt="Coffee Shop Conversations" class="list-row__media" src="/assets/unsplash-2-de3ea928.webp" />
<div class="flex flex-1 flex-col">
<h5 class="leading-none font-medium mbe-1">Coffee Shop Conversations - <span class="text-subtle">Urban Stories</span></h5>
<p class="text-subtle">The Morning Brew</p>
</div>
<p class="text-subtle">4:05</p>
</a>
<a class="list-row list-row--link flex items-center gap" href="#">
<img alt="Digital Rain" class="list-row__media" src="/assets/unsplash-3-5df005ee.webp" />
<div class="flex flex-1 flex-col">
<h5 class="leading-none font-medium mbe-1">Digital Rain - <span class="text-subtle">Binary Beats</span></h5>
<p class="text-subtle">Cyber Symphony</p>
</div>
<p class="text-subtle">3:30</p>
</a></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<div class="list">
<%= link_to "#", class: "list-row list-row--link flex items-center gap" do %>
<%= image_tag "unsplash-1.webp", alt: "Midnight City Lights", class: "list-row__media" %>
<div class="flex flex-1 flex-col">
<h5 class="leading-none font-medium mbe-1">Midnight City Lights - <span class="text-subtle">Electric Nights</span></h5>
<p class="text-subtle">Neon Dreams</p>
</div>
<p class="text-subtle">3:45</p>
<% end %>
<%= link_to "#", class: "list-row list-row--link flex items-center gap" do %>
<%= image_tag "unsplash-2.webp", alt: "Coffee Shop Conversations", class: "list-row__media" %>
<div class="flex flex-1 flex-col">
<h5 class="leading-none font-medium mbe-1">Coffee Shop Conversations - <span class="text-subtle">Urban Stories</span></h5>
<p class="text-subtle">The Morning Brew</p>
</div>
<p class="text-subtle">4:05</p>
<% end %>
<%= link_to "#", class: "list-row list-row--link flex items-center gap" do %>
<%= image_tag "unsplash-3.webp", alt: "Digital Rain", class: "list-row__media" %>
<div class="flex flex-1 flex-col">
<h5 class="leading-none font-medium mbe-1">Digital Rain - <span class="text-subtle">Binary Beats</span></h5>
<p class="text-subtle">Cyber Symphony</p>
</div>
<p class="text-subtle">3:30</p>
<% end %>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.list {
display: flex;
flex-direction: column;
row-gap: var(--list-gap, var(--size-4));
}
.list-row {
background-color: var(--list-background, transparent);
border: 1px solid var(--list-border-color, var(--color-border));
border-radius: var(--rounded-xl);
font-size: var(--text-sm);
padding: var(--list-padding, .625rem .75rem);
}
.list-row__media {
align-self: start;
block-size: var(--list-row-media-size, 2.5rem);
border-radius: var(--rounded-md);
flex-shrink: 0;
inline-size: var(--list-row-media-size, 2.5rem);
object-fit: cover;
}
.list-row--muted {
--list-background: rgb(from var(--color-border-light) r g b / .5);
}
.list-row--borderless {
--list-border-color: transparent;
}
.list-row--link:hover {
--list-background: rgb(from var(--color-border-light) r g b / .5);
}
.list-row--link:focus-visible {
outline: 2px solid var(--color-selected-dark);
}
.list-row--check:has(:checked) {
--list-background: rgb(from var(--color-border-light) r g b / .5);
--list-border-color: var(--color-primary);
}
Java Script is not required or multiple files are needed, check the notes.