Undo clever gradient backgrounds for the WP welcome badge. Doesn't degrade well in Android and possibly other browsers. props Chexee, see #11651.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-11-20 18:59:49 +00:00
parent 249cee46a3
commit 3374c6e672
8 changed files with 10 additions and 38 deletions

File diff suppressed because one or more lines are too long

View File

@ -2142,19 +2142,6 @@ div.widgets-sortables,
.wp-badge {
color: #fff;
text-shadow: 0 -1px 0 rgba(22, 57, 81, 0.3);
-moz-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
-webkit-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
box-shadow: 0 0 5px rgba(0,0,0, 0.34);
background-color: #72a7cf;
background-image: url(../images/wp-badge.png?ver=20111110);
background-image: url(../images/wp-badge.png?ver=20111110), -ms-radial-gradient(center, #90c5ee, #72a7cf); /* IE10 */
background-image: url(../images/wp-badge.png?ver=20111110), -moz-radial-gradient(center, #90c5ee, #72a7cf); /* Firefox */
background-image: url(../images/wp-badge.png?ver=20111110), -o-radial-gradient(center, #90c5ee, #72a7cf); /* Opera */
background-image: url(../images/wp-badge.png?ver=20111110), -webkit-gradient(radial, center center, center center, from(#90c5ee), to(#72a7cf)); /* old Webkit */
background-image: url(../images/wp-badge.png?ver=20111110), -webkit-radial-gradient(center, #90c5ee, #72a7cf); /* new Webkit */
background-image: url(../images/wp-badge.png?ver=20111110), radial-gradient(center, #90c5ee, #72a7cf); /* proposed W3C Markup */
}
.about-wrap h2 .nav-tab {

File diff suppressed because one or more lines are too long

View File

@ -1769,19 +1769,6 @@ div.widgets-sortables,
.wp-badge {
color: #fff;
text-shadow: 0 -1px 0 rgba(22, 57, 81, 0.3);
-moz-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
-webkit-box-shadow: 0 0 5px rgba(0,0,0, 0.34);
box-shadow: 0 0 5px rgba(0,0,0, 0.34);
background-color: #72a7cf;
background-image: url(../images/wp-badge.png?ver=20111110);
background-image: url(../images/wp-badge.png?ver=20111110), -ms-radial-gradient(center, #90c5ee, #72a7cf); /* IE10 */
background-image: url(../images/wp-badge.png?ver=20111110), -moz-radial-gradient(center, #90c5ee, #72a7cf); /* Firefox */
background-image: url(../images/wp-badge.png?ver=20111110), -o-radial-gradient(center, #90c5ee, #72a7cf); /* Opera */
background-image: url(../images/wp-badge.png?ver=20111110), -webkit-gradient(radial, center center, center center, from(#90c5ee), to(#72a7cf)); /* old Webkit */
background-image: url(../images/wp-badge.png?ver=20111110), -webkit-radial-gradient(center, #90c5ee, #72a7cf); /* new Webkit */
background-image: url(../images/wp-badge.png?ver=20111110), radial-gradient(center, #90c5ee, #72a7cf); /* proposed W3C Markup */
}
.about-wrap h2 .nav-tab {

File diff suppressed because one or more lines are too long

View File

@ -4844,18 +4844,16 @@ input.button-highlighted,
}
.wp-badge {
padding-top: 142px;
height: 37px;
width: 160px;
height: 50px;
width: 173px;
font-weight: bold;
font-size: 14px;
text-align: center;
margin: 0 -5px;
-webkit-border-radius: 3px;
border-radius: 3px;
background-repeat: no-repeat;
background-position: center 20px, center center;
background: url('../images/wp-badge.png?ver=20111120') no-repeat;
}
.about-wrap .wp-badge {
position: absolute;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -433,13 +433,13 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111119' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111120' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111119' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20111119';
$colors_version = '20111120';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array('wp-admin'), $colors_version );