1
0
Fork 0
forked from 0x2620/oxjs

Ox.tokenize, Ox.SyntaxHighlighter (+demo)

This commit is contained in:
rolux 2011-04-28 20:34:19 +02:00
commit 74b9a25387
8 changed files with 632 additions and 0 deletions

View file

@ -1437,6 +1437,34 @@ Scrollbars
-webkit-border-radius: 6px;
}
/*
================================================================================
SyntaxHightlighter
================================================================================
*/
.OxSyntaxHighlighter {
position: absolute;
overflow: auto;
}
.OxSyntaxHighlighter > div {
position: absolute;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
line-height: 14px;
}
.OxSyntaxHighlighter > .OxLineNumbers {
text-align: right;
}
.OxSyntaxHighlighter > .OxSourceCode {
//display: table-cell;
-moz-user-select: text;
-webkit-user-select: text;
}
.OxSyntaxHighlighter > .OxSourceCode .OxLinebreak {
-moz-user-select: none;
-webkit-user-select: none;
}
/*
================================================================================
Video