Making WordPress.org

Changeset 6986


Ignore:
Timestamp:
03/30/2018 09:58:41 PM (8 years ago)
Author:
iandunn
Message:

WP15: Move the locale switcher to the navigation bar.

Location:
sites/trunk/wp15.wordpress.net/public_html/content
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wp15.wordpress.net/public_html/content/mu-plugins/locales.php

    r6943 r6986  
    5757
    5858/**
    59  * Retreives all avaiable locales with their native names.
     59 * Retrieves all available locales with their native names.
    6060 *
    6161 * See https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php#L150
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/style.css

    r6985 r6986  
    5050}
    5151
     52.home .entry-title {
     53    display: none;
     54}
     55
     56
     57/*
     58 * Header
     59 */
     60.site-header {
     61    display: grid;
     62    grid-template-rows: auto auto;
     63    grid-template-columns: auto 280px;
     64}
     65
    5266.custom-header {
     67    grid-column: 1 / span 2;
     68    grid-row: 1;
     69    margin-bottom: 0 !important;
    5370    background-color: #00A0D2;
    5471    background-image: url( 'images/confetti-tile.svg' );
     
    86103}
    87104
    88 .home .entry-title {
    89     display: none;
     105.navigation-top {
     106    grid-column: 1;
     107    grid-row: 2;
     108    position: relative;
     109}
     110
     111.wp15-locale-switcher-container {
     112    grid-column: 2;
     113    grid-row: 2;
     114    padding: 20px 30px 0 0;
     115    background-color: white;
     116    border-bottom: 1px solid #eee;
     117}
     118
     119#wp15-locale-switcher-form label {
     120    display: inline;
     121}
     122
     123.wp15-locale-switcher-container .dashicons-translation {
     124    margin: 5px 10px;
    90125}
    91126
     
    316351
    317352/*
    318  * Language Picker
    319  */
    320 .wp15-locale-switcher-container {
    321     float: right;
    322     margin-top: 9px;
    323     margin-right: 2em;
    324 }
    325 
    326 
    327 /*
    328353 * Embeds
    329354 */
Note: See TracChangeset for help on using the changeset viewer.