Changeset 35616
- Timestamp:
- 11/11/2015 09:53:54 PM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/credits.php
r35126 r35616 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 -
trunk/src/wp-admin/css/about.css
r35127 r35616 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 … … 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; -
trunk/src/wp-admin/css/common.css
r35527 r35616 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; 2004 } 2005 2006 .nav-tab, 2010 text-decoration: none; 2011 white-space: nowrap; 2012 } 2013 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 … … 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 } … … 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; … … 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 */ … … 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; 2043 } 2044 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; 2053 padding: 9px 15px 0 6px; 2054 font-size: 1px; /* normalize white space between inline-block elements */ 2055 line-height: inherit; 2051 2056 } 2052 2057 … … 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 -
trunk/src/wp-admin/freedoms.php
r33613 r35616 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
Note: See TracChangeset
for help on using the changeset viewer.