Sha256: 8818b95b95d455e102c461c10ecaa1dabeb232676e8bda69d8632a216549b46d

Contents?: true

Size: 1.16 KB

Versions: 62

Compression:

Stored size: 1.16 KB

Contents

#inline-list-object.style-guide__subsection

  %h3= link_to_style_guide('objects', 'inline_list')

  %p Resets the list-specific styling of a <code>ul</code> or <code>ol</code> element, and displays each child <code>li</code> element as <code>inline-block</code>.

  .style-guide__unit-test
    %h4 Unit Test

    %p should work with <code>ul</code> elements
    .style-guide__example-block
      %ul.inline-list
        - 5.times do |i|
          %li List Item #{i}

    %p should work with <code>ol</code> elements
    .style-guide__example-block
      %ol.inline-list
        - 5.times do |i|
          %li List Item #{i}

#inline-list-commas-object.style-guide__subsection

  %h3= link_to_style_guide('objects', 'inline_list__commas')

  %p Adds commas to delineate list items.

  .style-guide__unit-test
    %h4 Unit Test

    %p should work with <code>ul</code> elements
    .style-guide__example-block
      %ul.inline-list.inline-list--commas
        - 5.times do |i|
          %li List Item #{i}

    %p should work with <code>ol</code> elements
    .style-guide__example-block
      %ol.inline-list.inline-list--commas
        - 5.times do |i|
          %li List Item #{i}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/style_guides/objects/_inline_list.html.haml