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.4.27 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.4 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.3 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.25 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.2 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.24 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.1 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.23 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.22 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.0 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.21 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/style_guides/typography/_links.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/style_guides/typography/_links.html.haml