x
1
2
3
4
5
6
7
<div class="list-row list-row--borderless flex items-center justify-between"> <div class="flex flex-col gap-half"> <h5 class="text-sm leading-none font-medium">Borderless Variant</h5> <p class="text-sm text-subtle">Borderless style with clear borders and transparent background.</p> </div> <a class="btn" href="">Open</a></div>1
2
3
4
5
6
7
<div class="list-row list-row--borderless flex items-center justify-between"> <div class="flex flex-col gap-half"> <h5 class="text-sm leading-none font-medium">Borderless Variant</h5> <p class="text-sm text-subtle">Borderless style with clear borders and transparent background.</p> </div> <%= link_to "Open", "", class: "btn" %></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
.list { display: flex; flex-direction: column; row-gap: var(--size-4);}.list-row { background-color: var(--item-background, transparent); border: 1px solid var(--item-border-color, var(--color-border)); border-radius: var(--rounded-lg); font-size: var(--text-sm); padding: var(--size-4);}.list-row--muted { --item-background: rgb(from var(--color-border-light) r g b / .5);}.list-row--borderless { --item-border-color: transparent;}.list-row--link:hover { --item-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) { --item-background: rgb(from var(--color-border-light) r g b / .5); --item-border-color: var(--color-primary);}
Java Script is not required or multiple files are needed, check the notes.
No notes provided.