Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475.

git-svn-id: https://develop.svn.wordpress.org/trunk@19578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-12-09 19:20:47 +00:00
parent d26f0a4c40
commit 8f50557a1b
4 changed files with 10 additions and 5 deletions
+8 -3
View File
@@ -529,9 +529,7 @@
#wpadminbar.nojs #wp-admin-bar-wp-logo:hover > .ab-item .ab-icon,
#wpadminbar #wp-admin-bar-wp-logo.hover > .ab-item .ab-icon {
background-image: url(../images/admin-bar-sprite.png?d=20111130);
background-position: 0 -104px;
background-repeat: no-repeat;
}
/**
@@ -559,12 +557,19 @@
/**
* Add New icon
*/
#wp-admin-bar-new-content > .ab-item .ab-icon {
#wpadminbar #wp-admin-bar-new-content > .ab-item .ab-icon {
background-image: url(../images/admin-bar-sprite.png?d=20111130);
background-position: -2px -182px;
background-repeat: no-repeat;
}
/**
* Add New icon
*/
#wpadminbar.nojs #wp-admin-bar-new-content:hover > .ab-item .ab-icon,
#wpadminbar #wp-admin-bar-new-content.hover > .ab-item .ab-icon {
background-position: -2px -203px;
}
/**
* IE 6-targeted rules