1
0
Fork 0
forked from 0x2620/oxjs

add docco-style Ox.SourceViewer, Ox.ExamplePage and Ox.ExamplePanel, and a demo

This commit is contained in:
rolux 2012-04-04 16:59:58 +02:00
commit ef0e161ab0
16 changed files with 224002 additions and 3 deletions

View file

@ -1899,6 +1899,35 @@ Scrollbars
border-radius: 6px;
}
/*
================================================================================
SourceViewer
================================================================================
*/
.OxSourceViewer table {
border-collapse: collapse;
}
.OxSourceViewer td {
vertical-align: top;
}
.OxSourceViewer .OxComment {
padding: 4px 8px 4px 8px;
border-right-width: 1px;
border-right-style: solid;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
line-height: 16px;
//white-space: pre;
-moz-user-select: text;
-webkit-user-select: text;
}
.OxSourceViewer .OxComment pre {
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
line-height: 16px;
margin: 0;
}
/*
================================================================================
SyntaxHightlighter
@ -1909,7 +1938,7 @@ SyntaxHightlighter
display: table-cell;
padding: 4px;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
//line-height: 14px;
line-height: 16px;
}
.OxSyntaxHighlighter > .OxLineNumbers {
text-align: right;