Making WordPress.org

Changeset 7857


Ignore:
Timestamp:
11/16/2018 07:31:21 PM (6 years ago)
Author:
coffee2code
Message:

Breathe: Improve styling of handbook sidebar menu.

  • Sets background color for expansion toggle to white for current item or its unexpanded ancestor
  • Highlights current item expansion toggle on hover, as done for non-current expansion toggles

See [7856].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r7819 r7857  
    12231223  border-left: none;
    12241224}
    1225 .menu-table-of-contents-container .open .expandable .dashicons:not(:focus) {
     1225.menu-table-of-contents-container .current_page_ancestor:not(.open) .expandable .dashicons:not(:focus),
     1226.menu-table-of-contents-container .current_page_item .expandable .dashicons:not(:focus) {
    12261227    background: #fff;
    12271228    color: #0073aa;
     
    12371238  color: #fff;
    12381239  background-color: #0073aa;
     1240}
     1241.menu-table-of-contents-container .current_page_ancestor .expandable .dashicons:hover,
     1242.menu-table-of-contents-container .current_page_item .expandable .dashicons:hover {
     1243  background-color: #0073aa !important;
     1244  color: #fff !important;
    12391245}
    12401246.menu-table-of-contents-container ul a.active,
Note: See TracChangeset for help on using the changeset viewer.