Sha256: 5913d3e877b91a80e9ae6c262cd30aafa9873edffb6b0417cd481a22a4552134

Contents?: true

Size: 1.96 KB

Versions: 124

Compression:

Stored size: 1.96 KB

Contents

#message.style-guide__subsection

  %h3= link_to_style_guide('components', 'message')

  %p Displays a general-use message with an icon.

  %p Progressively enhanced by <code>WORKAREA.messages</code> to add a dismiss button.

  .style-guide__example-block
    = render_message 'info' do
      Lorem ipsum dolor sit amet consectetur adipisicing elit.
      = link_to 'Message link', '#'

#message--error.style-guide__subsection

  %h3= link_to_style_guide('components', 'message__error')

  %p Modifies #{link_to_style_guide('components', 'message', true)} to change the color scheme and icon.

  .style-guide__example-block
    = render_message 'error' do
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
      = link_to 'Message link', '#'

#message--success.style-guide__subsection

  %h3= link_to_style_guide('components', 'message__success')

  %p Modifies #{link_to_style_guide('components', 'message', true)} to change the color scheme and icon.

  .style-guide__example-block
    = render_message 'success' do
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit.
      = link_to 'Message link', '#'

#message--warning.style-guide__subsection

  %h3= link_to_style_guide('components', 'message__warning')

  %p Modifies #{link_to_style_guide('components', 'message', true)} to change the color scheme and icon.

  .style-guide__example-block
    = render_message 'warning' do
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit.
      = link_to 'Message link', '#'

Version data entries

124 entries across 124 versions & 2 rubygems

Version Path
workarea-storefront-3.5.27 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.5.27 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.5.26 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.4.45 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.5.25 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.5.23 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.4.44 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.5.22 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.4.43 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.5.21 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/style_guides/components/_message.html.haml
workarea-storefront-3.4.42 app/views/workarea/storefront/style_guides/components/_message.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/style_guides/components/_message.html.haml