| 1 | |
| 2 | /* Main style for the table */ |
| 3 | |
| 4 | .dp-highlighter { |
| 5 | width: 100%; |
| 6 | overflow: auto; |
| 7 | line-height: 100% !important; |
| 8 | margin: 18px 0px 18px 0px; |
| 9 | } |
| 10 | |
| 11 | .dp-highlighter table { |
| 12 | width: 100%; |
| 13 | margin: 2px 0px 2px 0px; |
| 14 | border-collapse: collapse; |
| 15 | border-bottom: 2px solid #eee; |
| 16 | background-color: #fff; |
| 17 | } |
| 18 | |
| 19 | .dp-highlighter tbody.hide { display: none; } |
| 20 | .dp-highlighter tbody.show { display: table-row-group; _display: block; } |
| 21 | |
| 22 | .dp-highlighter td |
| 23 | { |
| 24 | font-family: Courier New; |
| 25 | font-size: 11px; |
| 26 | } |
| 27 | |
| 28 | /* Styles for the tools */ |
| 29 | |
| 30 | .dp-highlighter .tools-corner { |
| 31 | background-color: #eee; |
| 32 | font-size: 9px; |
| 33 | } |
| 34 | |
| 35 | .dp-highlighter .tools { |
| 36 | background-color: #eee; |
| 37 | padding: 3px 8px 3px 10px; |
| 38 | border-bottom: 1px solid gray; |
| 39 | font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif; |
| 40 | color: silver; |
| 41 | } |
| 42 | |
| 43 | .dp-highlighter .tools-corner { |
| 44 | background-color: #eee; |
| 45 | } |
| 46 | |
| 47 | .dp-highlighter .tools a { |
| 48 | font-size: 9px; |
| 49 | color: gray; |
| 50 | text-decoration: none; |
| 51 | } |
| 52 | |
| 53 | .dp-highlighter .tools a:hover { |
| 54 | color: red; |
| 55 | text-decoration: underline; |
| 56 | } |
| 57 | |
| 58 | /* Gutter with line number */ |
| 59 | |
| 60 | .dp-highlighter .gutter { |
| 61 | padding-right: 5px; |
| 62 | padding-left: 10px; |
| 63 | width: 5px; |
| 64 | background-color: #eee; |
| 65 | border-right: 1px solid gray; |
| 66 | color: gray; |
| 67 | text-align: right; |
| 68 | vertical-align: top; |
| 69 | } |
| 70 | |
| 71 | /* Single line style */ |
| 72 | |
| 73 | .dp-highlighter .line1, .line2 { |
| 74 | padding-left: 10px; |
| 75 | border-bottom: 1px solid #F7F7F7; |
| 76 | white-space:nowrap; |
| 77 | } |
| 78 | |
| 79 | .dp-highlighter .line2 { |
| 80 | background-color: #F7F7F7; |
| 81 | } |
| 82 | |
| 83 | /* About dialog styles */ |
| 84 | |
| 85 | .dp-about { |
| 86 | background-color: #fff; |
| 87 | margin: 0px; |
| 88 | } |
| 89 | |
| 90 | .dp-about table { |
| 91 | width: 100%; |
| 92 | height: 100%; |
| 93 | font-size: 11px; |
| 94 | font-family: Tahoma, Verdana, Arial, sans-serif !important; |
| 95 | } |
| 96 | |
| 97 | .dp-about td { |
| 98 | padding: 10px; |
| 99 | vertical-align: top; |
| 100 | } |
| 101 | |
| 102 | .dp-about .copy { |
| 103 | border-bottom: 1px solid #ACA899; |
| 104 | height: 95%; |
| 105 | } |
| 106 | |
| 107 | .dp-about .title { |
| 108 | color: red; |
| 109 | font-weight: bold; |
| 110 | } |
| 111 | |
| 112 | .dp-about .para { |
| 113 | margin-bottom: 4px; |
| 114 | } |
| 115 | |
| 116 | .dp-about .footer { |
| 117 | background-color: #ECEADB; |
| 118 | border-top: 1px solid #fff; |
| 119 | text-align: right; |
| 120 | } |
| 121 | |
| 122 | .dp-about .close { |
| 123 | font-size: 11px; |
| 124 | font-family: Tahoma, Verdana, Arial, sans-serif !important; |
| 125 | background-color: #ECEADB; |
| 126 | width: 60px; |
| 127 | height: 22px; |
| 128 | } |
| 129 | |
| 130 | /* Language specific styles */ |
| 131 | |
| 132 | .dp-c {} |
| 133 | .dp-c .comment { color: green; } |
| 134 | .dp-c .string { color: blue; } |
| 135 | .dp-c .preprocessor { color: gray; } |
| 136 | .dp-c .keyword { color: blue; } |
| 137 | .dp-c .vars { color: #d00; } |
| 138 | |
| 139 | .dp-vb {} |
| 140 | .dp-vb .comment { color: green; } |
| 141 | .dp-vb .string { color: blue; } |
| 142 | .dp-vb .preprocessor { color: gray; } |
| 143 | .dp-vb .keyword { color: blue; } |
| 144 | |
| 145 | .dp-sql {} |
| 146 | .dp-sql .comment { color: green; } |
| 147 | .dp-sql .string { color: red; } |
| 148 | .dp-sql .keyword { color: blue; } |
| 149 | .dp-sql .func { color: #ff1493; } |
| 150 | .dp-sql .op { color: #808080; } |
| 151 | |
| 152 | .dp-xml {} |
| 153 | .dp-xml .cdata { color: #ff1493; } |
| 154 | .dp-xml .comments { color: green; } |
| 155 | .dp-xml .tag { color: blue; } |
| 156 | .dp-xml .tag-name { color: black; font-weight: bold; } |
| 157 | .dp-xml .attribute { color: red; } |
| 158 | .dp-xml .attribute-value { color: blue; } |
| 159 | |
| 160 | .dp-delphi {} |
| 161 | .dp-delphi .comment { color: #008200; font-style: italic; } |
| 162 | .dp-delphi .string { color: blue; } |
| 163 | .dp-delphi .number { color: blue; } |
| 164 | .dp-delphi .directive { color: #008284; } |
| 165 | .dp-delphi .keyword { font-weight: bold; color: navy; } |
| 166 | .dp-delphi .vars { color: #000; } |
| 167 | |
| 168 | .dp-py {} |
| 169 | .dp-py .comment { color: green; } |
| 170 | .dp-py .string { color: red; } |
| 171 | .dp-py .docstring { color: brown; } |
| 172 | .dp-py .keyword { color: blue; font-weight: bold;} |
| 173 | .dp-py .builtins { color: #ff1493; } |
| 174 | .dp-py .magicmethods { color: #808080; } |
| 175 | .dp-py .exceptions { color: brown; } |
| 176 | .dp-py .types { color: brown; font-style: italic; } |
| 177 | .dp-py .commonlibs { color: #8A2BE2; font-style: italic; } |