Sha256: 30fe0c1b1230609c9978ff261fa7ad19eee57f23043e0c19d4027ce5c2514f79

Contents?: true

Size: 1.46 KB

Versions: 62

Compression:

Stored size: 1.46 KB

Contents

#link.style-guide__subsection

  %h3= link_to_style_guide('typography', 'link')

  %p Provides default styling for links via:
  %ul
    %li an element selector: <code>a</code>
    %li a placeholder selector: <code>%link</code>
    %li a class selector: <code>.link</code>

  %p should style <code>a</code> tags:
  .style-guide__example-block
    = link_to 'Anchor Element', '#'

  %p should style elements with <code>.link</code> class:
  .style-guide__example-block
    %span.link Span Element


#link--secondary.style-guide__subsection

  %h3= link_to_style_guide('typography', 'link__secondary')

  %p should provide alternate syling <code>.link--secondary</code> class:
  .style-guide__example-block
    = link_to 'Anchor Element', '#', class: 'link link--secondary'
  .style-guide__example-block
    %span.link.link--secondary Span Element


#link--no-underline.style-guide__subsection

  %h3= link_to_style_guide('typography', 'link__no_underline')

  %p Removes the links underline, on hover.

  %p should work with <code>.link</code> class:
  .style-guide__example-block
    = link_to 'Anchor Element', '#', class: 'link link--no-underline'
  .style-guide__example-block
    %span.link.link--no-underline Span Element

  %p should work with <code>.link--secondary</code> class:
  .style-guide__example-block
    = link_to 'Anchor Element', '#', class: 'link link--secondary link--no-underline'
  .style-guide__example-block
    %span.link.link--secondary.link--no-underline Span Element

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.15 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.6 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/style_guides/typography/_links.html.haml