| 1 | |
|---|
| 2 | /************* CSS for dp.SyntaxHighlighter ***************************/ |
|---|
| 3 | |
|---|
| 4 | /* Main style for the table */ |
|---|
| 5 | |
|---|
| 6 | .dp-highlighter { |
|---|
| 7 | width: 95%; |
|---|
| 8 | overflow: auto; |
|---|
| 9 | line-height: 100% !important; |
|---|
| 10 | margin: 0px 0px 10px 0px; |
|---|
| 11 | } |
|---|
| 12 | |
|---|
| 13 | .dp-highlighter table { |
|---|
| 14 | width: 100%; |
|---|
| 15 | margin: 0px 0px 2px 0px; |
|---|
| 16 | border-collapse: collapse; |
|---|
| 17 | border-bottom: 2px solid #eee; |
|---|
| 18 | background-color:#fff; |
|---|
| 19 | } |
|---|
| 20 | |
|---|
| 21 | .dp-highlighter tbody.hide { display: none; } |
|---|
| 22 | .dp-highlighter tbody.show { display: table-row-group; _display: block; } |
|---|
| 23 | |
|---|
| 24 | .dp-highlighter td |
|---|
| 25 | { |
|---|
| 26 | font-family: Courier New; |
|---|
| 27 | font-size: 12px; |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | /* Styles for the tools */ |
|---|
| 31 | |
|---|
| 32 | .dp-highlighter .tools-corner { |
|---|
| 33 | background-color: #eee; |
|---|
| 34 | font-size: 9px; |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | .dp-highlighter .tools { |
|---|
| 38 | background-color: #eee; |
|---|
| 39 | padding: 3px 8px 3px 10px; |
|---|
| 40 | border-bottom: 1px solid gray; |
|---|
| 41 | font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif; |
|---|
| 42 | color: silver; |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | .dp-highlighter .tools-corner { |
|---|
| 46 | background-color: #eee; |
|---|
| 47 | } |
|---|
| 48 | |
|---|
| 49 | .dp-highlighter .tools a { |
|---|
| 50 | font-size: 9px; |
|---|
| 51 | color: #aaaaaa; |
|---|
| 52 | text-decoration: none; |
|---|
| 53 | } |
|---|
| 54 | |
|---|
| 55 | .dp-highlighter .tools a:hover { |
|---|
| 56 | color: red; |
|---|
| 57 | text-decoration: underline; |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | /* Gutter with line number */ |
|---|
| 61 | |
|---|
| 62 | .dp-highlighter .gutter { |
|---|
| 63 | padding-right: 5px; |
|---|
| 64 | padding-left: 10px; |
|---|
| 65 | width: 5px; |
|---|
| 66 | background-color: #eee; |
|---|
| 67 | border-right: 1px solid #cccccc; |
|---|
| 68 | color: gray; |
|---|
| 69 | text-align: right; |
|---|
| 70 | vertical-align: top; |
|---|
| 71 | } |
|---|
| 72 | |
|---|
| 73 | /* Single line style */ |
|---|
| 74 | |
|---|
| 75 | .dp-highlighter .line1, .line2 { |
|---|
| 76 | padding-left: 10px; |
|---|
| 77 | /* |
|---|
| 78 | border-bottom: 1px solid #F7F7F7; |
|---|
| 79 | */ |
|---|
| 80 | white-space:nowrap; |
|---|
| 81 | } |
|---|
| 82 | |
|---|
| 83 | .dp-highlighter .line2 { |
|---|
| 84 | /* |
|---|
| 85 | background-color: #F7F7F7; |
|---|
| 86 | */ |
|---|
| 87 | } |
|---|
| 88 | |
|---|
| 89 | .dp-xml {} |
|---|
| 90 | .dp-xml .cdata { color: #ff1493; } |
|---|
| 91 | .dp-xml .comments { color: green; } |
|---|
| 92 | .dp-xml .tag { color: blue; } |
|---|
| 93 | .dp-xml .tag-name { color: black; font-weight: bold; } |
|---|
| 94 | .dp-xml .attribute { color: red; } |
|---|
| 95 | .dp-xml .attribute-value { color: blue; } |
|---|
| 96 | |
|---|
| 97 | .dp-c {} |
|---|
| 98 | .dp-c .comment { color: green; } |
|---|
| 99 | .dp-c .string { color: blue; } |
|---|
| 100 | .dp-c .preprocessor { color: gray; } |
|---|
| 101 | .dp-c .keyword { color: blue; } |
|---|
| 102 | .dp-c .vars { color: #d00; } |
|---|
| 103 | |
|---|