Making WordPress.org

Changeset 9429


Ignore:
Timestamp:
01/28/2020 07:15:56 PM (5 years ago)
Author:
coffee2code
Message:

Developer theme: Decrease width of sidebar menu expand/collapse buttons.

Also fixes emboldening of active menu item.

Props rilwis, coffee2code.
See #4467.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r9428 r9429  
    20592059                right: 0;
    20602060                cursor: pointer;
    2061                 padding: 8px;
     2061                padding: 8px 4px;
    20622062                display: inline-block;
    20632063                font-size: 20px;
     
    20862086   
    20872087            &.menu-item-has-children > .expandable > a {
    2088                 padding-right: 40px;
     2088                padding-right: 30px;
    20892089            }
    20902090        }
     
    21012101                color: #fff;
    21022102                background-color: #0073aa;
    2103                 font-weight: bold;
    21042103            }
    21052104            &.active {
    21062105                color: #555;
    21072106                background-color: #fff;
     2107                font-weight: bold;
    21082108            }
    21092109        }
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r9428 r9429  
    24482448  right: 0;
    24492449  cursor: pointer;
    2450   padding: 8px;
     2450  padding: 8px 4px;
    24512451  display: inline-block;
    24522452  font-size: 20px;
     
    24752475
    24762476div[class*="-table-of-contents-container"] ul li.menu-item-has-children > .expandable > a {
    2477   padding-right: 40px;
     2477  padding-right: 30px;
    24782478}
    24792479
     
    24892489  color: #fff;
    24902490  background-color: #0073aa;
    2491   font-weight: bold;
    24922491}
    24932492
     
    24952494  color: #555;
    24962495  background-color: #fff;
     2496  font-weight: bold;
    24972497}
    24982498
Note: See TracChangeset for help on using the changeset viewer.