From 8e5094bf701febbcb8627238084ef076b6b18033 Mon Sep 17 00:00:00 2001 From: azaozz 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: http://svn.automattic.com/wordpress/trunk@9689 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 {