Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine look-and-feel #867

Merged
merged 3 commits into from
May 7, 2017
Merged

Refine look-and-feel #867

merged 3 commits into from
May 7, 2017

Conversation

tysongach
Copy link
Contributor

  • Clean up primary layout
    • Merge the header style component into main-content, which
      simplifies and reduces the Sass and gives us a BEM relationship for
      main-content__header and main-content__body to share styles.
    • Add some viewport-height-based padding to the bottom of the main
      content area so that the "save" button on forms is not shoved to the
      bottom of the screen.
    • Add a section element that wraps the body of the main content, to
      help make markup consistent across screens.
  • Redesign tables
    • Slightly decrease font size of table content
    • Collapse table borders, to prevent gaps between cells
    • Define table styles as base HTML element styling
    • Refine table row focus outline
    • Prefix classes used for JavaScript interactions with js-
  • Tweak colors
    • Use more saturated red and blue colors so that they pass WCAG
      contrast guidelines.
    • Related: Accessibility  #794

After this PR:

screen shot 2017-05-06 at 11 14 33
screen shot 2017-05-06 at 11 14 45

Before:

screen shot 2017-05-06 at 11 15 20

screen shot 2017-05-06 at 11 15 12

tysongach added 3 commits May 6, 2017 11:12
- Merge the `header` style component into `main-content`, which
  simplifies and reduces the Sass and gives us a BEM relationship for
  `main-content__header` and `main-content__body` to share styles.
- Add some viewport-height-based padding to the bottom of the main
  content area so that the "save" button on forms is not shoved to the
  bottom of the screen.
- Add a `section` element that wraps the body of the main content, to
  help make markup consistent across screens.
- Slightly decrease font size of table content
- Collapse table borders, to prevent gaps between cells
- Define table styles as base HTML element styling
- Refine table row focus outline
- Prefix classes used for JavaScript interactions with `js-`
Use more saturated red and blue colors so that they pass WCAG contrast
guidelines.

Related: #794
@tysongach tysongach added the views-and-styles how administrate looks and is interacted with label May 6, 2017
@nickcharlton nickcharlton added this to the v0.7.0 milestone May 7, 2017
@nickcharlton nickcharlton merged commit 4c3253a into master May 7, 2017
@nickcharlton nickcharlton deleted the tg-layout branch May 7, 2017 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
views-and-styles how administrate looks and is interacted with
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants