[wp-meta] [Making WordPress.org] #2964: Handbook ToC current page hover color incorrect

Making WordPress.org noreply at wordpress.org
Mon Jul 17 19:28:12 UTC 2017


#2964: Handbook ToC current page hover color incorrect
-----------------------+-----------------
 Reporter:  melchoyce  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  Handbooks  |   Keywords:
-----------------------+-----------------
 When you hover over the name of the page you're currently on in a handbook
 ToC, the text color remains `#555` instead of becoming white. This is
 because there is a `!important` here:

 {{{
 .menu-table-of-contents-container ul a.active,
 .menu-table-of-contents-container .current-menu-item > a {
   color: #555 !important;
   background-color: #fff;
 }
 }}}

 Removing the `!important` fixes it, and from what I can see, doesn't seem
 to make a difference anyway? Any specific reason that `!important` was
 added?

 See attached screenshot.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2964>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list