| 1 |
/* Main style for the table */ |
| 2 |
|
| 3 |
.dp-highlighter |
| 4 |
{ |
| 5 |
font-family: "Courier New" , Courier, mono; |
| 6 |
font-size: 12px; |
| 7 |
border: 1px solid #2B91AF; |
| 8 |
background-color: #fff; |
| 9 |
width: 99%; |
| 10 |
overflow: auto; |
| 11 |
margin: 18px 0px 18px 0px; |
| 12 |
} |
| 13 |
|
| 14 |
.dp-highlighter .bar |
| 15 |
{ |
| 16 |
padding-left: 45px; |
| 17 |
} |
| 18 |
|
| 19 |
.dp-highlighter.collapsed .bar, .dp-highlighter.nogutter .bar |
| 20 |
{ |
| 21 |
padding-left: 0px; |
| 22 |
} |
| 23 |
|
| 24 |
.dp-highlighter ol |
| 25 |
{ |
| 26 |
margin: 0px 0px 1px 45px; /* 1px bottom margin seems to fix occasional Firefox scrolling */ |
| 27 |
padding: 0px; |
| 28 |
color: #2B91AF; |
| 29 |
} |
| 30 |
|
| 31 |
.dp-highlighter.nogutter ol |
| 32 |
{ |
| 33 |
list-style-type: none; |
| 34 |
margin-left: 0px; |
| 35 |
} |
| 36 |
|
| 37 |
.dp-highlighter ol li, .dp-highlighter .columns div |
| 38 |
{ |
| 39 |
border-left: 3px solid #6CE26C; |
| 40 |
background-color: #fff; |
| 41 |
padding-left: 10px; |
| 42 |
line-height: 14px; |
| 43 |
} |
| 44 |
|
| 45 |
.dp-highlighter.nogutter ol li, .dp-highlighter.nogutter .columns div |
| 46 |
{ |
| 47 |
border: 0; |
| 48 |
} |
| 49 |
|
| 50 |
.dp-highlighter .columns |
| 51 |
{ |
| 52 |
color: gray; |
| 53 |
overflow: hidden; |
| 54 |
width: 100%; |
| 55 |
} |
| 56 |
|
| 57 |
.dp-highlighter .columns div |
| 58 |
{ |
| 59 |
padding-bottom: 5px; |
| 60 |
} |
| 61 |
|
| 62 |
.dp-highlighter ol li.alt |
| 63 |
{ |
| 64 |
background-color: #f8f8f8; |
| 65 |
} |
| 66 |
|
| 67 |
.dp-highlighter ol li span |
| 68 |
{ |
| 69 |
color: Black; |
| 70 |
} |
| 71 |
|
| 72 |
/* Adjust some properties when collapsed */ |
| 73 |
|
| 74 |
.dp-highlighter.collapsed ol |
| 75 |
{ |
| 76 |
margin: 0px; |
| 77 |
} |
| 78 |
|
| 79 |
.dp-highlighter.collapsed ol li |
| 80 |
{ |
| 81 |
display: none; |
| 82 |
} |
| 83 |
|
| 84 |
/* Additional modifications when in print-view */ |
| 85 |
|
| 86 |
.dp-highlighter.printing |
| 87 |
{ |
| 88 |
border: none; |
| 89 |
} |
| 90 |
|
| 91 |
.dp-highlighter.printing .tools |
| 92 |
{ |
| 93 |
display: none !important; |
| 94 |
} |
| 95 |
|
| 96 |
.dp-highlighter.printing li |
| 97 |
{ |
| 98 |
display: list-item !important; |
| 99 |
} |
| 100 |
|
| 101 |
/* Styles for the tools */ |
| 102 |
|
| 103 |
.dp-highlighter .tools |
| 104 |
{ |
| 105 |
padding: 3px 8px 3px 10px; |
| 106 |
border-bottom: 1px solid #2B91AF; |
| 107 |
font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif; |
| 108 |
color: silver; |
| 109 |
} |
| 110 |
|
| 111 |
.dp-highlighter.collapsed .tools |
| 112 |
{ |
| 113 |
border-bottom: 0; |
| 114 |
} |
| 115 |
|
| 116 |
.dp-highlighter .tools a |
| 117 |
{ |
| 118 |
font-size: 9px; |
| 119 |
color: gray; |
| 120 |
text-decoration: none; |
| 121 |
margin-right: 10px; |
| 122 |
} |
| 123 |
|
| 124 |
.dp-highlighter .tools a:hover |
| 125 |
{ |
| 126 |
color: red; |
| 127 |
text-decoration: underline; |
| 128 |
} |
| 129 |
|
| 130 |
/* About dialog styles */ |
| 131 |
|
| 132 |
.dp-about { background-color: #fff; margin: 0px; padding: 0px; } |
| 133 |
.dp-about table { width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; } |
| 134 |
.dp-about td { padding: 10px; vertical-align: top; } |
| 135 |
.dp-about .copy { border-bottom: 1px solid #ACA899; height: 95%; } |
| 136 |
.dp-about .title { color: red; font-weight: bold; } |
| 137 |
.dp-about .para { margin: 0 0 4px 0; } |
| 138 |
.dp-about .footer { background-color: #ECEADB; border-top: 1px solid #fff; text-align: right; } |
| 139 |
.dp-about .close { font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; width: 60px; height: 22px; } |
| 140 |
|
| 141 |
/* Language specific styles */ |
| 142 |
|
| 143 |
.dp-c {} |
| 144 |
.dp-c .comment { color: green; } |
| 145 |
.dp-c .string { color: blue; } |
| 146 |
.dp-c .preprocessor { color: gray; } |
| 147 |
.dp-c .keyword { color: blue; } |
| 148 |
.dp-c .vars { color: #d00; } |
| 149 |
|
| 150 |
.dp-vb {} |
| 151 |
.dp-vb .comment { color: green; } |
| 152 |
.dp-vb .string { color: blue; } |
| 153 |
.dp-vb .preprocessor { color: gray; } |
| 154 |
.dp-vb .keyword { color: blue; } |
| 155 |
|
| 156 |
.dp-sql {} |
| 157 |
.dp-sql .comment { color: green; } |
| 158 |
.dp-sql .string { color: red; } |
| 159 |
.dp-sql .keyword { color: blue; } |
| 160 |
.dp-sql .func { color: #ff1493; } |
| 161 |
.dp-sql .op { color: #808080; } |
| 162 |
|
| 163 |
.dp-xml {} |
| 164 |
.dp-xml .cdata { color: #ff1493; } |
| 165 |
.dp-xml .comments { color: green; } |
| 166 |
.dp-xml .tag { font-weight: bold; color: blue; } |
| 167 |
.dp-xml .tag-name { color: black; font-weight: bold; } |
| 168 |
.dp-xml .attribute { color: red; } |
| 169 |
.dp-xml .attribute-value { color: blue; } |
| 170 |
|
| 171 |
.dp-delphi {} |
| 172 |
.dp-delphi .comment { color: #008200; font-style: italic; } |
| 173 |
.dp-delphi .string { color: blue; } |
| 174 |
.dp-delphi .number { color: blue; } |
| 175 |
.dp-delphi .directive { color: #008284; } |
| 176 |
.dp-delphi .keyword { font-weight: bold; color: navy; } |
| 177 |
.dp-delphi .vars { color: #000; } |
| 178 |
|
| 179 |
.dp-py {} |
| 180 |
.dp-py .comment { color: green; } |
| 181 |
.dp-py .string { color: red; } |
| 182 |
.dp-py .docstring { color: green; } |
| 183 |
.dp-py .keyword { color: blue; font-weight: bold;} |
| 184 |
.dp-py .builtins { color: #ff1493; } |
| 185 |
.dp-py .magicmethods { color: #808080; } |
| 186 |
.dp-py .exceptions { color: brown; } |
| 187 |
.dp-py .types { color: brown; font-style: italic; } |
| 188 |
.dp-py .commonlibs { color: #8A2BE2; font-style: italic; } |
| 189 |
|
| 190 |
.dp-rb {} |
| 191 |
.dp-rb .comment { color: #c00; } |
| 192 |
.dp-rb .string { color: #f0c; } |
| 193 |
.dp-rb .symbol { color: #02b902; } |
| 194 |
.dp-rb .keyword { color: #069; } |
| 195 |
.dp-rb .variable { color: #6cf; } |
| 196 |
|
| 197 |
.dp-css {} |
| 198 |
.dp-css .comment { color: green; } |
| 199 |
.dp-css .string { color: red; } |
| 200 |
.dp-css .keyword { color: blue; } |
| 201 |
.dp-css .colors { color: darkred; } |
| 202 |
.dp-css .vars { color: #d00; } |
| 203 |
|
| 204 |
.dp-j {} |
| 205 |
.dp-j .comment { color: rgb(63,127,95); } |
| 206 |
.dp-j .string { color: rgb(42,0,255); } |
| 207 |
.dp-j .keyword { color: rgb(127,0,85); font-weight: bold } |
| 208 |
.dp-j .annotation { color: #646464; } |
| 209 |
.dp-j .number { color: #C00000; } |
| 210 |
|
| 211 |
.dp-cpp {} |
| 212 |
.dp-cpp .comment { color: #e00; } |
| 213 |
.dp-cpp .string { color: red; } |
| 214 |
.dp-cpp .preprocessor { color: #CD00CD; font-weight: bold; } |
| 215 |
.dp-cpp .keyword { color: #5697D9; font-weight: bold; } |
| 216 |
.dp-cpp .datatypes { color: #2E8B57; font-weight: bold; } |
| 217 |
|
| 218 |
.dp-g {} |
| 219 |
.dp-g .comment { color: rgb(63,127,95); } |
| 220 |
.dp-g .string { color: rgb(42,0,255); } |
| 221 |
.dp-g .keyword { color: rgb(127,0,85); font-weight: bold } |
| 222 |
.dp-g .type { color: rgb(0,127,0); font-weight: bold } |
| 223 |
.dp-g .modifier { color: rgb(100,0,100); font-weight: bold } |
| 224 |
.dp-g .constant { color: rgb(255,0,0); font-weight: bold } |
| 225 |
.dp-g .method { color: rgb(255,96,0); font-weight: bold } |
| 226 |
.dp-g .number { color: #C00000; } |