Ticket #34214: 34214.2.patch
File 34214.2.patch, 5.2 KB (added by , 9 years ago) |
---|
-
src/wp-admin/credits.php
25 25 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> 26 26 27 27 <h2 class="nav-tab-wrapper"> 28 <a href="about.php" class="nav-tab"> 29 <?php _e( 'What’s New' ); ?> 30 </a><a href="credits.php" class="nav-tab nav-tab-active"> 31 <?php _e( 'Credits' ); ?> 32 </a><a href="freedoms.php" class="nav-tab"> 33 <?php _e( 'Freedoms' ); ?> 34 </a> 28 <a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a> 29 <a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a> 30 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 35 31 </h2> 36 32 37 33 <?php -
src/wp-admin/css/about.css
79 79 80 80 /* Tabs */ 81 81 82 .about-wrap h2.nav-tab-wrapper {83 padding-left: 6px;84 }85 86 82 .about-wrap h2 .nav-tab { 87 padding: 4px 15px 6px;88 margin: 0 3px -1px 0;89 83 font-size: 18px; 90 vertical-align: top;91 border-width: 1px;92 white-space: nowrap;93 84 } 94 85 95 86 /* 1.1 - Typography */ … … 429 420 width: 100%; 430 421 } 431 422 432 .about-wrap h2.nav-tab-wrapper {433 padding-left: 0;434 border-bottom: 0;435 }436 437 .about-wrap h2 .nav-tab {438 margin-top: 10px;439 margin-right: 10px;440 border-bottom: 1px solid #ccc;441 }442 443 423 .about-wrap .feature-section .svg-container { 444 424 padding-top: 20px; 445 425 padding-bottom: 20px; -
src/wp-admin/css/common.css
1997 1997 ------------------------------------------------------------------------------*/ 1998 1998 1999 1999 .nav-tab { 2000 display: inline-block; 2000 2001 border: 1px solid #ccc; 2001 2002 border-bottom: none; 2003 margin: 0 5px 0 0; 2004 padding: 6px 10px; 2005 font-size: 15px; 2006 line-height: 24px; 2007 font-weight: 600; 2002 2008 background: #e4e4e4; 2003 2009 color: #555; 2010 text-decoration: none; 2011 white-space: nowrap; 2004 2012 } 2005 2013 2006 .nav-tab, 2014 h3 .nav-tab, /* Back-compat for pre-4.4 */ 2007 2015 .nav-tab-small .nav-tab { 2008 display: inline-block;2009 margin: -4px 4px -1px 0;2010 2016 padding: 5px 14px; 2011 2017 font-size: 12px; 2012 2018 line-height: 16px; 2013 text-decoration: none;2014 2019 } 2015 2020 2016 2021 .nav-tab:hover, … … 2019 2024 color: #464646; 2020 2025 } 2021 2026 2027 .nav-tab-active, 2028 .nav-tab:focus:active { 2029 -webkit-box-shadow: none; 2030 box-shadow: none; 2031 } 2032 2022 2033 .nav-tab-active { 2034 margin-bottom: -1px; 2023 2035 color: #464646; 2024 2036 } 2025 2037 2026 2038 .nav-tab-active, 2027 2039 .nav-tab-active:hover, 2028 .nav-tab-active:focus { 2040 .nav-tab-active:focus, 2041 .nav-tab-active:focus:active { 2029 2042 border-bottom: 1px solid #f1f1f1; 2030 2043 background: #f1f1f1; 2031 2044 color: #000; 2032 2045 } 2033 2046 2047 /* @todo: consider to use flexbox to reset white space between inline-block elements. */ 2034 2048 h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ 2035 2049 .wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */ 2036 2050 h3.nav-tab-wrapper { 2037 2051 border-bottom: 1px solid #ccc; 2038 2052 margin: 0; 2039 padding: 9px 15px 0 10px; 2040 font-size: 23px; 2041 font-weight: 400; 2042 line-height: 29px; 2053 padding: 9px 15px 0 6px; 2054 font-size: 1px; /* normalize white space between inline-block elements */ 2055 line-height: inherit; 2043 2056 } 2044 2057 2045 h1 .nav-tab, /* Back-compat for pre-4.4 */2046 h2 .nav-tab {2047 padding: 6px 10px;2048 font-weight: 600;2049 font-size: 15px;2050 line-height: 24px;2051 }2052 2058 2053 2054 2059 /*------------------------------------------------------------------------------ 2055 2060 26.0 - Misc 2056 2061 ------------------------------------------------------------------------------*/ … … 3597 3602 div#post-body.metabox-holder.columns-1 { 3598 3603 overflow-x: hidden; 3599 3604 } 3605 3606 h1.nav-tab-wrapper, 3607 .wrap h2.nav-tab-wrapper, 3608 h3.nav-tab-wrapper { 3609 padding-left: 0; 3610 border-bottom: 0; 3611 } 3612 3613 h1 .nav-tab, 3614 h2 .nav-tab, 3615 h3 .nav-tab { 3616 margin-top: 10px; 3617 margin-right: 10px; 3618 border-bottom: 1px solid #ccc; 3619 } 3600 3620 } 3601 3621 3602 3622 @media screen and (max-width: 320px) { -
src/wp-admin/freedoms.php
24 24 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> 25 25 26 26 <h2 class="nav-tab-wrapper"> 27 <a href="about.php" class="nav-tab"> 28 <?php _e( 'What’s New' ); ?> 29 </a><a href="credits.php" class="nav-tab"> 30 <?php _e( 'Credits' ); ?> 31 </a><a href="freedoms.php" class="nav-tab nav-tab-active"> 32 <?php _e( 'Freedoms' ); ?> 33 </a> 27 <a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a> 28 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> 29 <a href="freedoms.php" class="nav-tab nav-tab-active"><?php _e( 'Freedoms' ); ?></a> 34 30 </h2> 35 31 36 32 <p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p>