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
This commit is contained in:
azaozz 2008-11-14 19:32:13 +00:00
parent e9dc3d0fa7
commit 8e5094bf70
1 changed files with 17 additions and 1 deletions

View File

@ -857,7 +857,12 @@ a#view-site-link {
height: 46px; 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; text-decoration: none;
} }
@ -898,6 +903,13 @@ ul#adminmenu li.write-new-button a {
} }
/* side admin menu */ /* side admin menu */
#adminmenu * {
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
}
#adminmenu .wp-submenu { #adminmenu .wp-submenu {
display: none; display: none;
list-style: none; list-style: none;
@ -1622,6 +1634,10 @@ table.form-table td .updated {
.ui-sortable .postbox h3 { .ui-sortable .postbox h3 {
cursor: pointer; cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
user-select: none;
} }
.ui-sortable .postbox .hndle span { .ui-sortable .postbox .hndle span {