|
35 | 35 | .syntaxhighlighter table tr, |
36 | 36 | .syntaxhighlighter table tbody |
37 | 37 | { |
38 | | - margin: 0 !important; |
39 | | - padding: 0 !important; |
40 | | - border: 0 !important; |
41 | | - outline: 0 !important; |
42 | | - background: none !important; |
43 | | - text-align: left !important; |
44 | | - float: none !important; |
45 | | - vertical-align: baseline !important; |
46 | | - position: static !important; |
47 | | - left: auto !important; |
48 | | - top: auto !important; |
49 | | - right: auto !important; |
50 | | - bottom: auto !important; |
51 | | - height: auto !important; |
52 | | - width: 100% !important; |
53 | | - line-height: 1.1em !important; |
54 | | - font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; |
55 | | - font-weight: normal !important; |
56 | | - font-style: normal !important; |
57 | | - font-size: 1em !important; |
58 | | - min-height: inherit !important; /* For IE8, FF & WebKit */ |
59 | | - min-height: auto !important; /* For IE7 */ |
| 38 | + margin: 0 !important; |
| 39 | + padding: 0 !important; |
| 40 | + border: 0 !important; |
| 41 | + outline: 0 !important; |
| 42 | + background: none !important; |
| 43 | + text-align: left !important; |
| 44 | + float: none !important; |
| 45 | + vertical-align: baseline !important; |
| 46 | + position: static !important; |
| 47 | + left: auto !important; |
| 48 | + top: auto !important; |
| 49 | + right: auto !important; |
| 50 | + bottom: auto !important; |
| 51 | + height: auto !important; |
| 52 | + width: 100% !important; |
| 53 | + line-height: 1.1em !important; |
| 54 | + font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important; |
| 55 | + font-weight: normal !important; |
| 56 | + font-style: normal !important; |
| 57 | + font-size: 1em !important; |
| 58 | + min-height: inherit !important; /* For IE8, FF & WebKit */ |
| 59 | + min-height: auto !important; /* For IE7 */ |
60 | 60 | } |
61 | 61 |
|
62 | 62 | .syntaxhighlighter |
63 | 63 | { |
64 | | - width: 100% !important; /* 99% fixes IE8 horizontal scrollbar */ |
65 | | - margin: 1em 0 1em 0 !important; |
66 | | - padding: 1px !important; /* adds a little border on top and bottom */ |
67 | | - position: relative !important; |
| 64 | + width: 100% !important; /* 99% fixes IE8 horizontal scrollbar */ |
| 65 | + margin: 1em 0 1em 0 !important; |
| 66 | + padding: 1px !important; /* adds a little border on top and bottom */ |
| 67 | + position: relative !important; |
68 | 68 | } |
69 | 69 |
|
70 | 70 | .syntaxhighlighter .bold |
71 | 71 | { |
72 | | - font-weight: bold !important; |
| 72 | + font-weight: bold !important; |
73 | 73 | } |
74 | 74 |
|
75 | 75 | .syntaxhighlighter .italic |
76 | 76 | { |
77 | | - font-style: italic !important; |
| 77 | + font-style: italic !important; |
78 | 78 | } |
79 | 79 |
|
80 | 80 | .syntaxhighlighter .line |
|
87 | 87 |
|
88 | 88 | .syntaxhighlighter .line .content |
89 | 89 | { |
90 | | - padding-left: .5em !important; |
91 | | - white-space: pre !important; /**强制不换行 */ |
| 90 | + padding-left: .5em !important; |
| 91 | + white-space: pre !important; /**强制不换行 */ |
92 | 92 | } |
93 | 93 |
|
94 | 94 | .syntaxhighlighter .line .spaces |
|
97 | 97 |
|
98 | 98 | .syntaxhighlighter .line table |
99 | 99 | { |
100 | | - border-collapse: collapse !important; |
| 100 | + border-collapse: collapse !important; |
101 | 101 | } |
102 | 102 |
|
103 | 103 | .syntaxhighlighter .line td |
104 | 104 | { |
105 | | - vertical-align: top !important; |
| 105 | + vertical-align: top !important; |
106 | 106 | } |
107 | 107 |
|
108 | 108 | .syntaxhighlighter .line .number |
109 | 109 | { |
110 | | - width: 3em !important; |
| 110 | + width: 3em !important; |
111 | 111 | } |
112 | 112 |
|
113 | 113 | .syntaxhighlighter .line .number code |
114 | 114 | { |
115 | | - width: 2.7em !important; |
116 | | - padding-right: .3em !important; |
117 | | - text-align: right !important; |
118 | | - display: block !important; |
| 115 | + width: 2.7em !important; |
| 116 | + padding-right: .3em !important; |
| 117 | + text-align: right !important; |
| 118 | + display: block !important; |
119 | 119 | } |
120 | 120 |
|
121 | 121 | /* Disable border and margin on the lines when no gutter option is set */ |
122 | 122 | .syntaxhighlighter.nogutter .line .content |
123 | 123 | { |
124 | | - border-left: none !important; |
| 124 | + border-left: none !important; |
125 | 125 | } |
126 | 126 |
|
127 | 127 | .syntaxhighlighter .bar |
128 | 128 | { |
129 | | - display: none !important; |
| 129 | + display: none !important; |
130 | 130 | } |
131 | 131 |
|
132 | 132 | .syntaxhighlighter .bar.show |
133 | 133 | { |
134 | | - display: block !important; |
| 134 | + display: block !important; |
135 | 135 | } |
136 | 136 |
|
137 | 137 | .syntaxhighlighter.collapsed .bar |
138 | 138 | { |
139 | | - display: block !important; |
| 139 | + display: block !important; |
140 | 140 | } |
141 | 141 |
|
142 | 142 | /* Adjust some properties when collapsed */ |
143 | 143 |
|
144 | 144 | .syntaxhighlighter.collapsed .lines |
145 | 145 | { |
146 | | - display: none !important; |
| 146 | + display: none !important; |
147 | 147 | } |
148 | 148 |
|
149 | 149 | .syntaxhighlighter .lines.no-wrap |
150 | 150 | { |
151 | | - overflow: auto !important; |
152 | | - overflow-y: hidden !important; |
153 | | - white-space: nowrap!important; |
| 151 | + overflow: auto !important; |
| 152 | + overflow-y: hidden !important; |
| 153 | + white-space: nowrap!important; |
154 | 154 | } |
155 | 155 |
|
156 | 156 | /* Styles for the toolbar */ |
157 | 157 |
|
158 | 158 | .syntaxhighlighter .toolbar |
159 | 159 | { |
160 | | - position: absolute !important; |
161 | | - right: 0px !important; |
162 | | - top: 0px !important; |
163 | | - font-size: 1px !important; |
164 | | - padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */ |
| 160 | + position: absolute !important; |
| 161 | + right: 0px !important; |
| 162 | + top: 0px !important; |
| 163 | + font-size: 1px !important; |
| 164 | + padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */ |
165 | 165 | } |
166 | 166 |
|
167 | 167 | .syntaxhighlighter.collapsed .toolbar |
168 | 168 | { |
169 | | - font-size: 80% !important; |
170 | | - padding: .2em 0 .5em .5em !important; |
171 | | - position: static !important; |
| 169 | + font-size: 80% !important; |
| 170 | + padding: .2em 0 .5em .5em !important; |
| 171 | + position: static !important; |
172 | 172 | } |
173 | 173 |
|
174 | 174 | .syntaxhighlighter .toolbar a.item, |
175 | 175 | .syntaxhighlighter .toolbar .item |
176 | 176 | { |
177 | | - display: block !important; |
178 | | - float: left !important; |
179 | | - margin-left: 8px !important; |
180 | | - background-repeat: no-repeat !important; |
181 | | - overflow: hidden !important; |
182 | | - text-indent: -5000px !important; |
| 177 | + display: block !important; |
| 178 | + float: left !important; |
| 179 | + margin-left: 8px !important; |
| 180 | + background-repeat: no-repeat !important; |
| 181 | + overflow: hidden !important; |
| 182 | + text-indent: -5000px !important; |
183 | 183 | } |
184 | 184 |
|
185 | 185 | .syntaxhighlighter.collapsed .toolbar .item |
186 | 186 | { |
187 | | - display: none !important; |
| 187 | + display: none !important; |
188 | 188 | } |
189 | 189 |
|
190 | 190 | .syntaxhighlighter.collapsed .toolbar .item.expandSource |
191 | 191 | { |
192 | | - background-image: url(magnifier.png) !important; |
193 | | - display: inline !important; |
194 | | - text-indent: 0 !important; |
195 | | - width: auto !important; |
196 | | - float: none !important; |
197 | | - height: 16px !important; |
198 | | - padding-left: 20px !important; |
| 192 | + background-image: url(magnifier.png) !important; |
| 193 | + display: inline !important; |
| 194 | + text-indent: 0 !important; |
| 195 | + width: auto !important; |
| 196 | + float: none !important; |
| 197 | + height: 16px !important; |
| 198 | + padding-left: 20px !important; |
199 | 199 | } |
200 | 200 |
|
201 | 201 | .syntaxhighlighter .toolbar .item.viewSource |
202 | 202 | { |
203 | | - background-image: url(page_white_code.png) !important; |
| 203 | + background-image: url(page_white_code.png) !important; |
204 | 204 | } |
205 | 205 |
|
206 | 206 | .syntaxhighlighter .toolbar .item.printSource |
207 | 207 | { |
208 | | - background-image: url(printer.png) !important; |
| 208 | + background-image: url(printer.png) !important; |
209 | 209 | } |
210 | 210 |
|
211 | 211 | .syntaxhighlighter .toolbar .item.copyToClipboard |
212 | 212 | { |
213 | | - text-indent: 0 !important; |
214 | | - background: none !important; |
215 | | - overflow: visible !important; |
| 213 | + text-indent: 0 !important; |
| 214 | + background: none !important; |
| 215 | + overflow: visible !important; |
216 | 216 | } |
217 | 217 |
|
218 | 218 | .syntaxhighlighter .toolbar .item.about |
219 | 219 | { |
220 | | - background-image: url(help.png) !important; |
| 220 | + background-image: url(help.png) !important; |
221 | 221 | } |
222 | 222 |
|
223 | 223 | /** |
|
232 | 232 | .syntaxhighlighter.printing .line.highlighted.alt1 .content, |
233 | 233 | .syntaxhighlighter.printing .line.highlighted.alt2 .content, |
234 | 234 | { |
235 | | - background: none !important; |
| 235 | + background: none !important; |
236 | 236 | } |
237 | 237 |
|
238 | 238 | /* Gutter line numbers */ |
239 | 239 | .syntaxhighlighter.printing .line .number |
240 | 240 | { |
241 | | - color: #bbb !important; |
| 241 | + color: #bbb !important; |
242 | 242 | } |
243 | 243 |
|
244 | 244 | /* Add border to the lines */ |
245 | 245 | .syntaxhighlighter.printing .line .content |
246 | 246 | { |
247 | | - color: #000 !important; |
| 247 | + color: #000 !important; |
248 | 248 | } |
249 | 249 |
|
250 | 250 | /* Toolbar when visible */ |
251 | 251 | .syntaxhighlighter.printing .toolbar |
252 | 252 | { |
253 | | - display: none !important; |
| 253 | + display: none !important; |
254 | 254 | } |
255 | 255 |
|
256 | 256 | .syntaxhighlighter.printing a |
257 | 257 | { |
258 | | - text-decoration: none !important; |
| 258 | + text-decoration: none !important; |
259 | 259 | } |
260 | 260 |
|
261 | 261 | .syntaxhighlighter.printing .plain, |
262 | 262 | .syntaxhighlighter.printing .plain a |
263 | 263 | { |
264 | | - color: #000 !important; |
| 264 | + color: #000 !important; |
265 | 265 | } |
266 | 266 |
|
267 | 267 | .syntaxhighlighter.printing .comments, |
268 | 268 | .syntaxhighlighter.printing .comments a |
269 | 269 | { |
270 | | - color: #008200 !important; |
| 270 | + color: #008200 !important; |
271 | 271 | } |
272 | 272 |
|
273 | 273 | .syntaxhighlighter.printing .string, |
274 | 274 | .syntaxhighlighter.printing .string a |
275 | 275 | { |
276 | | - color: blue !important; |
| 276 | + color: blue !important; |
277 | 277 | } |
278 | 278 |
|
279 | 279 | .syntaxhighlighter.printing .keyword |
280 | 280 | { |
281 | | - color: #069 !important; |
282 | | - font-weight: bold !important; |
| 281 | + color: #069 !important; |
| 282 | + font-weight: bold !important; |
283 | 283 | } |
284 | 284 |
|
285 | 285 | .syntaxhighlighter.printing .preprocessor |
286 | 286 | { |
287 | | - color: gray !important; |
| 287 | + color: gray !important; |
288 | 288 | } |
289 | 289 |
|
290 | 290 | .syntaxhighlighter.printing .variable |
291 | 291 | { |
292 | | - color: #a70 !important; |
| 292 | + color: #a70 !important; |
293 | 293 | } |
294 | 294 |
|
295 | 295 | .syntaxhighlighter.printing .value |
296 | 296 | { |
297 | | - color: #090 !important; |
| 297 | + color: #090 !important; |
298 | 298 | } |
299 | 299 |
|
300 | 300 | .syntaxhighlighter.printing .functions |
301 | 301 | { |
302 | | - color: #ff1493 !important; |
| 302 | + color: #ff1493 !important; |
303 | 303 | } |
304 | 304 |
|
305 | 305 | .syntaxhighlighter.printing .constants |
306 | 306 | { |
307 | | - color: #0066CC !important; |
| 307 | + color: #0066CC !important; |
308 | 308 | } |
309 | 309 |
|
310 | 310 | .syntaxhighlighter.printing .script |
311 | 311 | { |
312 | | - font-weight: bold !important; |
| 312 | + font-weight: bold !important; |
313 | 313 | } |
314 | 314 |
|
315 | 315 | .syntaxhighlighter.printing .color1, |
316 | 316 | .syntaxhighlighter.printing .color1 a |
317 | 317 | { |
318 | | - color: #808080 !important; |
| 318 | + color: #808080 !important; |
319 | 319 | } |
320 | 320 |
|
321 | 321 | .syntaxhighlighter.printing .color2, |
322 | 322 | .syntaxhighlighter.printing .color2 a |
323 | 323 | { |
324 | | - color: #ff1493 !important; |
| 324 | + color: #ff1493 !important; |
325 | 325 | } |
326 | 326 |
|
327 | 327 | .syntaxhighlighter.printing .color3, |
328 | 328 | .syntaxhighlighter.printing .color3 a |
329 | 329 | { |
330 | | - color: red !important; |
| 330 | + color: red !important; |
331 | 331 | } |
0 commit comments