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: https://develop.svn.wordpress.org/trunk@19366 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f4fe632477
commit
a5a82ec053
File diff suppressed because one or more lines are too long
@ -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
@ -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
@ -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;
|
||||
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
margin: 0 -5px;
|
||||
|
||||
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 |
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user