Mark menu items tied to invalid taxonomies and post types as invalid. props ocean90, see #13958.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2011-06-11 00:55:48 +00:00
parent 73c4a0929f
commit d648585363
5 changed files with 52 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -387,6 +387,16 @@ body {
-khtml-border-radius: 3px;
}
#menu-to-edit .menu-item-invalid .menu-item-handle {
background-color: #f6c9cc; /* Fallback */
background-image: -ms-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Firefox */
background-image: -o-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#f6c9cc), to(#fdf8ff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #f6c9cc, #fdf8ff); /* new Webkit */
background-image: linear-gradient(bottom, #f6c9cc, #fdf8ff); /* proposed W3C Markup */
}
.menu-item-edit-active .menu-item-handle {
-moz-border-radius: 3px 3px 0 0;
-webkit-border-bottom-right-radius: 0;