1
0
Fork 0
forked from 0x2620/oxjs

exclusively handle selectability of text via .OxSelectable and body.OxDragging (to be set/unset in dragstart/dragend handlers)

This commit is contained in:
rlx 2013-07-19 08:42:25 +00:00
commit 564ce69a78
17 changed files with 53 additions and 39 deletions

View file

@ -19,18 +19,13 @@ blockquote {
body {
margin: 0;
overflow: hidden;
-moz-user-select: -moz-none;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
code, pre {
font-family: Menlo, Monaco, DejaVu Sans Mono, Lucida Console, Consolas, Bitstream Vera Sans Mono, monospace;
}
div {
-moz-user-select: -moz-none;
-o-user-select: none;
-webkit-user-select: none;
}
div, input, textarea {
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif;
font-size: 11px;
@ -81,6 +76,11 @@ td {
-o-user-select: text;
-webkit-user-select: text;
}
body.OxDragging .OxSelectable {
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
/*
================================================================================
@ -523,9 +523,6 @@ Document
.OxDocument {
padding: 8px;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxDocument div {
border-width: 0;
@ -533,9 +530,6 @@ Document
//font-family: Georgia, Palatino, DejaVu Serif, Book Antiqua, Palatino Linotype, Times New Roman, serif;
font-size: 12px;
line-height: 18px;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxDocument h1 {
font-weight: bold;
@ -916,9 +910,6 @@ OxEditableContent
.OxEditableContent {
outline: none;
word-wrap: break-word;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxEditableContent.OxEditing {
white-space: pre;
@ -934,9 +925,6 @@ OxEditableElement
//cursor: pointer;
padding: 0 0 0 1px;
word-wrap: break-word;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxEditableElement div.OxInput {
padding: 0 1px 0 0;
@ -1071,6 +1059,8 @@ OxRange
float: left;
height: 14px;
-webkit-user-select: none;
-o-user-select: none;
-moz-user-select: none;
}
.OxRange > .OxTrack > div > img.OxFirstChild {
border-top-left-radius: 7px;
@ -1371,6 +1361,7 @@ Lists
cursor: pointer;
border-radius: 4px;
//-moz-user-select: text;
//-o-user-select: text;
//-webkit-user-select: text;
}
.OxIconList .OxItem > .OxText > div > div,
@ -1686,9 +1677,6 @@ Menus
.OxMainMenu > .OxTitle {
float: left;
cursor: default;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
.OxMainMenu.OxLarge > .OxTitle {
height: 21px;
@ -1733,9 +1721,6 @@ Menus
z-index: 12;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
.OxMenu.OxRight {
border-top-right-radius: 4px;
@ -2100,8 +2085,6 @@ SourceViewer
border-right-style: solid;
font-size: 14px;
line-height: 20px;
-moz-user-select: text;
-webkit-user-select: text;
}
.OxSourceViewer td.OxComment > code {
padding: 1px 3px 1px 3px;
@ -2140,12 +2123,10 @@ SyntaxHightlighter
}
.OxSyntaxHighlighter > .OxSourceCode {
white-space: nowrap;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxSyntaxHighlighter > .OxSourceCode .OxLinebreak {
//-moz-user-select: none;
//-o-user-select: none;
//-webkit-user-select: none;
}