From 98a808f73960f99be6fa1fae201552c750483aaa Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 14 Nov 2008 19:32:13 +0000 Subject: [PATCH] Prevent text selection/highlighting when clicking on the menu or dragging postboxes git-svn-id: https://develop.svn.wordpress.org/trunk@9689 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/wp-admin.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 7f3f49dc52..102b210835 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -857,7 +857,12 @@ a#view-site-link { height: 46px; } -#wphead a, #adminmenu a, #sidemenu a, #taglist a, #catlist a, #show-settings a { +#wphead a, +#adminmenu a, +#sidemenu a, +#taglist a, +#catlist a, +#show-settings a { text-decoration: none; } @@ -898,6 +903,13 @@ ul#adminmenu li.write-new-button a { } /* side admin menu */ +#adminmenu * { + -webkit-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; +} + #adminmenu .wp-submenu { display: none; list-style: none; @@ -1622,6 +1634,10 @@ table.form-table td .updated { .ui-sortable .postbox h3 { cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; } .ui-sortable .postbox .hndle span {