Skip to content

Conversation

@PaulAdamDavis
Copy link
Member

Relates to b071548

  • Fixes an issue where the menu button would be the wrong colour

The navigation was using !important in a few places. I've changed the CSS a bit to no longer need these, but that means I've made some selectors slightly more specific.

The use of !important was to get around the hover state being persisted when the menu was opened but the mouse hadn't moved, which meant the menu button kept its white background when it should be black.
Making the hover state only apply when the nav is closed, gets around that.

I also added comments to a few other !important's

PaulAdamDavis referenced this pull request Mar 24, 2015
@PaulAdamDavis
Copy link
Member Author

Updated to fix tag pages and so on.

@ErisDS
Copy link
Member

ErisDS commented Mar 31, 2015

Does this fix the issue where the icon appears white by default?

Relates to b071548

- Fixes an issue where the menu button would be the wrong colour

The navigation was using `!important` in a few places. I've changed the CSS a bit to no longer need these, but that means I've made some selectors slightly more specific.

The use of `!important` was to get around the hover state being persisted when the menu was opened but the mouse hadn't moved, which meant the menu button kept its white background when it should be black.
iMaking the hover state only apply when the nav is closed, gets around that.
@PaulAdamDavis
Copy link
Member Author

Yep :) I've updated the commit & PR message to clarify that.

screen shot 2015-03-31 at 10 27 58

JohnONolan added a commit that referenced this pull request Apr 11, 2015
Remove some !important declarations
@JohnONolan JohnONolan merged commit 5d01cb7 into TryGhost:master Apr 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants