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

Tweak primary navigation #861

Merged
merged 2 commits into from
May 5, 2017
Merged

Tweak primary navigation #861

merged 2 commits into from
May 5, 2017

Conversation

tysongach
Copy link
Contributor

  • Rename sidebar to navigation, which is based on its purpose rather
    than its visual placement.
  • Use nav element.
  • Remove unnecessary ul; the nav provides enough semantics to wrap
    the links in.
  • Tweak visual design: show a light background on hover, add more
    whitespace between navigation links and main content.

After this PR:

screen shot 2017-05-05 at 15 19 15
(“Orders” is being hovered)

Before:

screen shot 2017-05-05 at 15 22 48

- Rename `sidebar` to `navigation`, which is based on its purpose rather
  than its visual placement.
- Use `nav` element.
- Remove unnecessary `ul`; the `nav` provides enough semantics to wrap
  the links in.
- Tweak visual design: show a light background on hover, add more
  whitespace between navigation links and main content.
@tysongach tysongach added the views-and-styles how administrate looks and is interacted with label May 5, 2017
@BenMorganIO BenMorganIO merged commit 93e134f into master May 5, 2017
@BenMorganIO BenMorganIO deleted the tg-navigation branch May 5, 2017 21:30
jonatack pushed a commit to jonatack/administrate that referenced this pull request May 6, 2017
* Tweak primary navigation

- Rename `sidebar` to `navigation`, which is based on its purpose rather
  than its visual placement.
- Use `nav` element.
- Remove unnecessary `ul`; the `nav` provides enough semantics to wrap
  the links in.
- Tweak visual design: show a light background on hover, add more
  whitespace between navigation links and main content.

* Add whitespace around main content box (thoughtbot#862)
jonatack added a commit to jonatack/administrate that referenced this pull request May 6, 2017
* 'master' of https://github.com/thoughtbot/administrate:
  Tweak primary navigation (thoughtbot#861)
  Redesign focus outline styles (thoughtbot#863)
  Localise Dates (thoughtbot#570)
  Wrap unsupported form field notes in proper divs (thoughtbot#515)
  Update customizing_dashboards.md (thoughtbot#568)
  Wrap table cell contents instead of CSS truncation (thoughtbot#482)
  Remove worker from Procfile (thoughtbot#854)
  Remove dependency from ActionMailer (thoughtbot#851)
  Release version 0.6.0.
  Remove delayed_job_active_record dependency (thoughtbot#845)
  use the association includes in the has_many resources as well
  move include work to an association includes
  improve performance for n+1s
iarie pushed a commit to iarie/administrate that referenced this pull request Jun 17, 2017
* Tweak primary navigation

- Rename `sidebar` to `navigation`, which is based on its purpose rather
  than its visual placement.
- Use `nav` element.
- Remove unnecessary `ul`; the `nav` provides enough semantics to wrap
  the links in.
- Tweak visual design: show a light background on hover, add more
  whitespace between navigation links and main content.

* Add whitespace around main content box (thoughtbot#862)
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