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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle"> <div class="Polaris-ResourceList__ResourceListWrapper"> <ul class="Polaris-ResourceList"> <li data-controller="polaris-resource-item" class="Polaris-ResourceItem__ListItem"> <div class="Polaris-ResourceItem__ItemWrapper"> <div data-action="click->polaris-resource-item#open" style="cursor: default;" class="Polaris-ResourceItem"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-3);--pc-box-padding-block-start-xs: var(--p-space-3);--pc-box-padding-inline-end-xs: var(--p-space-3);--pc-box-padding-inline-start-xs: var(--p-space-3);position: relative;z-index: var(--pc-resource-item-content-stacking-order)" class="Polaris-Box"> <div style="--pc-horizontal-grid-grid-template-columns-xs: 1fr auto" class="Polaris-HorizontalGrid"> <div style="--pc-horizontal-grid-gap-xs: var(--p-space-3);--pc-horizontal-grid-grid-template-columns-xs: 1fr" class="Polaris-HorizontalGrid"> <div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-0);--pc-box-padding-block-start-xs: var(--p-space-0);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-0);--pc-box-width: 100%" class="Polaris-Box"> <p>Content</p> </div> </div> </div> </div> </div> </div> </div> </li> <li data-controller="polaris-resource-item" class="Polaris-ResourceItem__ListItem"> <div class="Polaris-ResourceItem__ItemWrapper"> <div data-action="click->polaris-resource-item#open" style="cursor: default;" class="Polaris-ResourceItem Polaris-ResourceItem--selected"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-3);--pc-box-padding-block-start-xs: var(--p-space-3);--pc-box-padding-inline-end-xs: var(--p-space-3);--pc-box-padding-inline-start-xs: var(--p-space-3);position: relative;z-index: var(--pc-resource-item-content-stacking-order)" class="Polaris-Box"> <div style="--pc-horizontal-grid-grid-template-columns-xs: 1fr auto" class="Polaris-HorizontalGrid"> <div style="--pc-horizontal-grid-gap-xs: var(--p-space-3);--pc-horizontal-grid-grid-template-columns-xs: 1fr" class="Polaris-HorizontalGrid"> <div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: wrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-0);--pc-box-padding-block-start-xs: var(--p-space-0);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-0);--pc-box-width: 100%" class="Polaris-Box"> <p>Selected content</p> </div> </div> </div> </div> </div> </div> </div> </li> </ul> </div></div>
1
2
3
4
5
6
7
8
9
10
<%= polaris_card(sectioned: false) do %> <%= polaris_resource_list do %> <%= polaris_resource_item do %> <p>Content</p> <% end %> <%= polaris_resource_item(selected: true) do %> <p>Selected content</p> <% end %> <% end %><% end %>
No notes provided.
No params configured.