Caseflow: Styleguide component | Horizontal Rule, Borders, Dividing Lines

Created on 6 Mar 2017  路  14Comments  路  Source: department-of-veterans-affairs/caseflow

Story
As a developer or designer, I want to know the specs for the dividers for all of our products.

AC

  • [x] Make a subsection called "Horizontal Rule" under Layout section
  • [x] Color: grey-lighter
  • [x] 30px margin-bottom
  • [ ] Verify that the copy is above UI component in style guide

Mockup

image

Copy

The horizontal line can be used in multiple ways across Caseflow apps. It can be used to separate different sections and UI components and provide space for balance and legibility. There should always be a 30px space between the bottom of the component or text to the top of the horizontal line.

design-style-guide Foxtrot 馃

All 14 comments

For design meeting:

Horizontal line: When is it used? What are the specs?

Things we've discussed:

  • 40px above and below horizontal line? Case by case?
  • Is it used to separate sections? What are the use cases?
  • Does this affect margins of a canvas?

@shellicious Could you help us put together a story for this, related to certification for style guide?

@gnakm yes!

@avrildavid Can you take a pass at this?

The horizontal line can be used in multiple ways across Caseflow apps. It can be used to separate different sections and UI components and provide space for balance and legibility. There should always be a 40px space between the bottom of the component or text to the top of the horizontal line.

Already looks good, @gnakm. One suggestion:

The horizontal line helps provide clarity and improve legibility for users by separating different sections or UI components on a page. Caseflow horizontal lines should always be light grey and have 40 px of space between the bottom of the section or component and the top of the horizontal line.

@gnakm should add this component in the layout section?

@Sjones352 Added instruction in AC!

screen shot 2017-06-06 at 10 09 45 pm

@Sjones352 Could you change the content to say ...have 30 px of space between the bottom...

Current view:
screen shot 2017-06-08 at 1 11 08 pm

pushing back because the copy is wrong based on gina's comment

screen shot 2017-06-08 at 2 13 58 pm

@Sjones352 So sleek and elegant. LGTM!

PASSED

Validated in: UAT
Browsers: FF and Chrome

Steps to Validate:

  1. Access the living style guide
  2. Navigate to the Horizontal Line section
  3. Verify the copy based on AC

Screenshots:
screen shot 2017-06-09 at 3 35 31 pm

Was this page helpful?
0 / 5 - 0 ratings