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.27 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/style_guides/typography/_links.html.haml