CSS cleanup for the about page.

Also fixes for IE and support for RTL.

see #25603.
Built from https://develop.svn.wordpress.org/trunk@25844


git-svn-id: http://core.svn.wordpress.org/trunk@25844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2013-10-24 22:55:55 +00:00
parent aea50d4b4c
commit 60ac479b9c
7 changed files with 85 additions and 253 deletions

View File

@ -39,12 +39,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<h3><?php _e( 'Background Updates' ); ?></h3>
<div class="feature-section col three-col about-updates">
<div>
<div class="col-1">
<h4><?php _e( 'Updates While You Sleep' ); ?></h4>
<p><?php _e( 'With WordPress 3.7, you don&#8217;t have to lift a finger to apply maintenance and security updates. Most sites are now able to automatically apply these updates in the background, though some configurations may not allow it.' ); ?></p>
</div>
<div><img alt="" src="<?php echo admin_url( 'images/about-updates-2x.png' ); ?>" /></div>
<div class="last-feature">
<div class="col-2">
<img alt="" src="<?php echo admin_url( 'images/about-updates-2x.png' ); ?>" />
</div>
<div class="col-3 last-feature">
<h4><?php _e( 'More Reliable Than Ever' ); ?></h4>
<p><?php _e( 'The update process has been made even more reliable and secure, with dozens of new checks and safeguards.' ); ?></p>
<p><?php _e( 'You&#8217;ll still need to click &#8220;Update Now&#8221; once WordPress 3.8 is released, but we&#8217;ve never had more confidence in that beautiful blue button.' ); ?></p>

View File

@ -486,20 +486,6 @@ table.ie-fixed {
min-width: 400px;
}
.about-wrap img.element-screenshot {
padding: 2px;
}
.about-wrap .feature-section img,
.about-wrap .feature-section .image-mask {
border-width: 1px;
border-style: solid;
}
.about-wrap .feature-section.three-col img {
margin-left: 0;
}
.available-theme {
display: inline;
}
@ -513,13 +499,17 @@ table.ie-fixed {
margin-right: 7px;
}
.about-wrap .three-col-images img {
margin: 0 0.6% 10px;
.about-wrap .three-col.about-updates .col-2 {
width: 15%;
}
.about-wrap .three-col-images .last-feature,
.about-wrap .three-col-images .first-feature {
float: none;
.revisions-tickmarks,
.revisions-tooltip {
display: none !important;
}
.revisions.pinned .revisions-controls {
position: relative;
}
/* IE6 leftovers */
@ -626,13 +616,3 @@ table.ie-fixed {
* html #adminmenu div.wp-menu-image {
height: 29px;
}
.revisions-tickmarks,
.revisions-tooltip {
display: none !important;
}
.revisions.pinned .revisions-controls {
position: relative;
}

File diff suppressed because one or more lines are too long

View File

@ -1706,38 +1706,21 @@ h2 .nav-tab {
float: right;
}
.about-wrap .feature-section.two-col div,
.about-wrap .feature-section.three-col div {
margin-right: 0;
margin-left: 4.999999999%;
float: right;
}
.about-wrap .feature-section.three-col h4 {
text-align: right;
}
.about-wrap .feature-section.three-col img {
margin-right: 5px;
.about-wrap .feature-section.col .last-feature {
margin-left: 0;
}
.about-wrap .feature-section.three-col .last-feature {
margin-left: 0;
}
.about-wrap .feature-section img {
margin: 0 0 10px 0.7%;
}
.about-wrap .feature-section.images-stagger-right img,
.about-wrap .feature-section.images-stagger-right .video {
.about-wrap .feature-section div p img {
float: left;
margin: 0 2em 12px 5px;
}
.about-wrap .feature-section.images-stagger-left img {
float: right;
margin: 0 5px 12px 2em;
margin-left: 0;
margin-right: 10px;
}
.about-wrap li.wp-person,
@ -1747,25 +1730,6 @@ h2 .nav-tab {
margin-left: 10px;
}
@media only screen and (max-width: 900px) {
.about-wrap .feature-section.images-stagger-right .video.image-66 {
margin-right: 3px;
}
}
@media only screen and (max-width: 768px) {
.about-wrap .feature-section .image-66 {
float: none;
}
.about-wrap .feature-section.images-stagger-right .image-66 {
margin-right: 3px;
}
.about-wrap .feature-section.images-stagger-left .image-66 {
margin-left: 3px;
}
}
/*------------------------------------------------------------------------------
23.0 - Misc

File diff suppressed because one or more lines are too long

View File

@ -5775,52 +5775,6 @@ h2 .nav-tab {
-webkit-border-radius: 3px;
}
.about-wrap .about-passwords {
margin: 20px 0;
padding: 1px 20px 10px;
background-color: #f9f9f9;
}
.about-wrap .about-auto-update {
text-align: center;
background-color: #f9f9ef;
clear: both;
padding: 10px;
}
.about-wrap .about-auto-update.cool {
background-color: #eff9ef;
}
.about-wrap .about-password-meter input {
font-size: 250%;
width: 100%;
display: block;
width: 100%;
padding: 5px;
}
.about-wrap .about-password-meter #pass-strength-result {
font-weight: normal !important;
display:block !important;
font-size: 150%;
width: 100%;
padding: 17px 0;
margin-bottom: 15px;
}
.about-wrap .feature-section img {
border: 0;
background: transparent;
box-shadow: none;
-webkit-box-shadow: none;
max-width: 20%;
}
.about-wrap .feature-section div p img {
float: right;
margin-left: 10px;
}
/* Typography */
@ -5855,8 +5809,8 @@ h2 .nav-tab {
}
.about-wrap h3 {
font-size: 24px;
margin-bottom: 1em;
font-size: 1.5em;
line-height: 1.5em;
padding-top: 20px;
}
@ -5864,8 +5818,6 @@ h2 .nav-tab {
padding-bottom: 20px;
}
.about-wrap .feature-section
.about-wrap .feature-section h4 {
margin-bottom: 0.6em;
}
@ -5931,69 +5883,12 @@ h2 .nav-tab {
/* Changelog / Update screen */
.about-wrap .feature-section img,
.about-wrap .feature-section .video {
border: none;
margin: 0 1.94% 10px 0;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.about-wrap .feature-section .video video {
max-width: 100%;
}
.about-wrap .feature-section.three-col img {
margin: 0.5em 0 0.5em 5px;
max-width: 100%;
float: none;
}
.ie8 .about-wrap .feature-section.three-col img {
margin-left: 0;
}
.about-wrap .feature-section.images-stagger-right img,
.about-wrap .feature-section.images-stagger-right .video {
float: right;
margin: 0 5px 12px 2em;
}
.about-wrap .feature-section.images-stagger-left img {
float: left;
margin: 0 2em 12px 5px;
}
.about-wrap .feature-section .image-100 {
margin: 0 0 2em 0;
width: 100%;
}
.about-wrap .feature-section .image-66 {
width: 65%;
}
.about-wrap .feature-section .image-66.video {
max-width: 600px;
}
.about-wrap .feature-section .image-50 {
max-width: 50%;
}
.about-wrap .feature-section img.image-30 {
max-width: 31.2381%;
}
.ie8 .about-wrap .feature-section img {
border-width: 1px;
border-style: solid;
}
.about-wrap .images-stagger-right img.image-30:nth-child(2) {
margin-left: 1em;
}
.about-wrap .feature-section.col {
margin-bottom: 0;
}
@ -6002,10 +5897,6 @@ h2 .nav-tab {
margin: 0 0 0.6em 0;
}
.about-wrap .feature-section.col .last-feature {
margin-right: 0;
}
.about-wrap .feature-section.two-col div {
width: 47%;
margin-right: 4.999999999%;
@ -6018,79 +5909,74 @@ h2 .nav-tab {
float: left;
}
.about-wrap .three-col.about-updates div:nth-of-type(1),
.about-wrap .three-col.about-updates div:nth-of-type(3) {
.about-wrap .three-col.about-updates .col-1,
.about-wrap .three-col.about-updates .col-3 {
width: 37%;
margin: 0;
}
.about-wrap .three-col.about-updates div:nth-of-type(2) {
.about-wrap .three-col.about-updates .col-2 {
width: 16%;
margin: 0 5%;
}
.about-wrap .feature-section.col .last-feature {
margin-right: 0;
}
.about-wrap .three-col.about-updates img {
margin: 0;
}
.about-wrap .three-col-images {
text-align: center;
}
.about-wrap .three-col-images img {
margin: 0 0 10px;
}
.about-wrap .three-col-images .last-feature {
float: right;
}
.about-wrap .three-col-images .first-feature {
float: left;
}
.about-wrap .changelog .feature-section {
overflow: hidden;
}
.about-wrap .about-passwords {
margin: 20px 0;
padding: 1px 20px 10px;
background-color: #f9f9f9;
}
.about-wrap .about-auto-update {
text-align: center;
background-color: #f9f9ef;
clear: both;
padding: 10px;
}
.about-wrap .about-auto-update.cool {
background-color: #eff9ef;
}
.about-wrap .about-password-meter input {
font-size: 250%;
line-height: 1;
width: 100%;
display: block;
width: 100%;
padding: 5px;
}
.about-wrap .about-password-meter #pass-strength-result {
display: block !important;
font-size: 150%;
width: 100%;
padding: 17px 0;
margin-bottom: 15px;
}
.about-wrap .feature-section div p img {
float: right;
margin-left: 10px;
max-width: 20%;
}
.about-wrap .changelog li {
list-style-type: disc;
margin-left: 3em;
}
@media only screen and (max-width: 900px) {
.about-wrap .feature-section.images-stagger-left img,
.about-wrap .feature-section.images-stagger-right img,
.about-wrap .feature-section.images-stagger-right .video {
clear: both;
}
.about-wrap .feature-section .video.image-66 {
float: none;
width: 98%;
max-width: 98%;
}
.about-wrap .feature-section.images-stagger-right .video.image-66 {
margin-left: 3px;
}
}
@media only screen and (max-width: 768px) {
.about-wrap .feature-section .image-66 {
float: none;
width: 98%;
max-width: 98%;
}
.about-wrap .feature-section.images-stagger-right .image-66 {
margin-left: 3px;
}
.about-wrap .feature-section.images-stagger-left .image-66 {
margin-right: 3px;
}
}
/* Return to Dashboard Home link */

File diff suppressed because one or more lines are too long