{cursor: text} only for user-selectable elements

This commit is contained in:
rlx 2013-07-19 09:31:09 +00:00
parent 564ce69a78
commit 8c6803dc0e

View file

@ -26,6 +26,9 @@ body {
code, pre { code, pre {
font-family: Menlo, Monaco, DejaVu Sans Mono, Lucida Console, Consolas, Bitstream Vera Sans Mono, monospace; font-family: Menlo, Monaco, DejaVu Sans Mono, Lucida Console, Consolas, Bitstream Vera Sans Mono, monospace;
} }
div {
cursor: default;
}
div, input, textarea { div, input, textarea {
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif; font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif;
font-size: 11px; font-size: 11px;
@ -72,15 +75,23 @@ td {
} }
.OxSelectable { .OxSelectable {
cursor: text;
-moz-user-select: text; -moz-user-select: text;
-o-user-select: text; -o-user-select: text;
-webkit-user-select: text; -webkit-user-select: text;
} }
.OxSelectable * {
cursor: text;
}
body.OxDragging .OxSelectable { body.OxDragging .OxSelectable {
cursor: default;
-moz-user-select: none; -moz-user-select: none;
-o-user-select: none; -o-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
} }
body.OxDragging .OxSelectable * {
cursor: default;
}
/* /*
================================================================================ ================================================================================
@ -1058,6 +1069,7 @@ OxRange
.OxRange > .OxTrack > div > img { .OxRange > .OxTrack > div > img {
float: left; float: left;
height: 14px; height: 14px;
cursor: default;
-webkit-user-select: none; -webkit-user-select: none;
-o-user-select: none; -o-user-select: none;
-moz-user-select: none; -moz-user-select: none;
@ -1676,7 +1688,6 @@ Menus
} }
.OxMainMenu > .OxTitle { .OxMainMenu > .OxTitle {
float: left; float: left;
cursor: default;
} }
.OxMainMenu.OxLarge > .OxTitle { .OxMainMenu.OxLarge > .OxTitle {
height: 21px; height: 21px;
@ -1745,9 +1756,6 @@ Menus
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
.OxMenu .OxItem {
cursor: default;
}
.OxMenu.OxLarge .OxItem { .OxMenu.OxLarge .OxItem {
height: 20px; height: 20px;
} }
@ -1757,9 +1765,6 @@ Menus
.OxMenu.OxSmall .OxItem { .OxMenu.OxSmall .OxItem {
height: 12px; height: 12px;
} }
.OxMenu .OxItem.OxDisabled {
cursor: default;
}
.OxMenu.OxLarge .OxItem .OxCell { .OxMenu.OxLarge .OxItem .OxCell {
height: 20px; height: 20px;
font-size: 14px; font-size: 14px;
@ -1847,7 +1852,6 @@ Menus
} }
.OxMenu .OxScrollbar { .OxMenu .OxScrollbar {
text-align: center; text-align: center;
cursor: default;
display: none; display: none;
} }
.OxMenu.OxLarge .OxScrollbar { .OxMenu.OxLarge .OxScrollbar {
@ -2117,6 +2121,7 @@ SyntaxHightlighter
} }
.OxSyntaxHighlighter > .OxLineNumbers { .OxSyntaxHighlighter > .OxLineNumbers {
text-align: right; text-align: right;
cursor: default;
-moz-user-select: none; -moz-user-select: none;
-o-user-select: none; -o-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
@ -2243,7 +2248,6 @@ Video
text-overflow: ellipsis; text-overflow: ellipsis;
text-shadow: rgba(0, 0, 0, 1) 1px 1px 1px; text-shadow: rgba(0, 0, 0, 1) 1px 1px 1px;
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
cursor: default;
overflow: hidden; overflow: hidden;
z-index: 7; z-index: 7;
-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
@ -2498,7 +2502,6 @@ Video
padding-top: 2px; padding-top: 2px;
font-size: 9px; font-size: 9px;
text-align: right; text-align: right;
cursor: default;
} }
.OxVideoPlayer .OxSettings > .OxItem > img { .OxVideoPlayer .OxSettings > .OxItem > img {
width: 9px; width: 9px;