Sha256: 9c38c51a886a10328ca2e6609921ebcfeb829f1cdf1323a9c319b4ef871494fe

Contents?: true

Size: 1.48 KB

Versions: 62

Compression:

Stored size: 1.48 KB

Contents

#tables-base.style-guide__subsection

  %h3= link_to_style_guide('base', 'tables_base')

  %p Global table styling.

  %p should style a horizontally oriented table:
  .style-guide__example-block
    %table
      %thead
        %tr
          %th Heading 1
          %th Heading 2
          %th Heading 3
          %th Heading 4
          %th Heading 5
      %tbody
        %tr
          %td Data 1
          %td Data 2
          %td Data 3
          %td Data 4
          %td Data 5

  %p should style a vertically oriented table:
  .style-guide__example-block
    %table
      %tbody
        %tr
          %th Heading 1
          %td Data 1
          %td Data 2
          %td Data 3
          %td Data 4
          %td Data 5
        %tr
          %th Heading 2
          %td Data 1
          %td Data 2
          %td Data 3
          %td Data 4
          %td Data 5
        %tr
          %th Heading 3
          %td Data 1
          %td Data 2
          %td Data 3
          %td Data 4
          %td Data 5
        %tr
          %th Heading 4
          %td Data 1
          %td Data 2
          %td Data 3
          %td Data 4
          %td Data 5
        %tr
          %th Heading 5
          %td Data 1
          %td Data 2
          %td Data 3
          %td Data 4
          %td Data 5

  %p should conditionally style <code>p</code> tags that appear within tables
  .style-guide__example-block
    %table
      %tr
        %td
          %p First Paragraph
          %p Second Paragraph
          %p Third Paragraph

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 app/views/workarea/admin/style_guides/base/_tables.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/style_guides/base/_tables.html.haml