forked from 0x2620/oxjs
add docco-style Ox.SourceViewer, Ox.ExamplePage and Ox.ExamplePanel, and a demo
This commit is contained in:
parent
7b7bedb65a
commit
ef0e161ab0
16 changed files with 224002 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue