Making WordPress.org


Ignore:
Timestamp:
01/28/2020 06:44:02 PM (7 years ago)
Author:
coffee2code
Message:

Developer theme: More handbook sidebar menu design improvements.

  • Decrease padding-right for menu items which do not have children
  • Embolden the name of the current page in the menu

Props rilwis, coffee2code.
See #4901, #4467.

File:
1 edited

Legend:

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

    r9413 r9428  
    20842084                                border-left: none;
    20852085                        }
     2086       
     2087                        &.menu-item-has-children > .expandable > a {
     2088                                padding-right: 40px;
     2089                        }
    20862090                }
    20872091
     
    20902094                        width: 100%;
    20912095                        font-size: 1.05em;
    2092                         padding: 8px 40px 8px 13px;
     2096                        padding: 8px 8px 8px 13px;
    20932097                        text-decoration: none;
    20942098
     
    20972101                                color: #fff;
    20982102                                background-color: #0073aa;
     2103                                font-weight: bold;
    20992104                        }
    21002105                        &.active {
     
    21092114        }
    21102115        & > ul > li {
    2111                 .children > li > a,
    2112                 .sub-menu > li > a {
    2113                         padding-left: 13px;
    2114                 }
    2115                 .children > li > ul > li > a,
    2116                 .sub-menu > li > ul > li > a {
    2117                         padding-left: 13px;
    2118                 }
    2119 
    21202116                &.open > div > a {
    21212117                        &:not(:focus) {
Note: See TracChangeset for help on using the changeset viewer.