ihoka-friendly 0.6.3 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. data/.document +2 -0
  2. data/.gitignore +27 -0
  3. data/.ruby-version +1 -0
  4. data/APACHE-LICENSE +202 -0
  5. data/CHANGELOG.md +6 -0
  6. data/Gemfile +3 -0
  7. data/Gemfile.lock +38 -0
  8. data/README.md +13 -22
  9. data/Rakefile +25 -0
  10. data/TODO.md +5 -0
  11. data/VERSION +1 -0
  12. data/examples/friendly.yml +7 -0
  13. data/ihoka-friendly.gemspec +31 -0
  14. data/lib/friendly/document/mixin.rb +2 -2
  15. data/lib/friendly/indexer.rb +1 -1
  16. data/lib/tasks/friendly.rake +7 -0
  17. data/spec/config.yml.example +7 -0
  18. data/spec/fakes/data_store_fake.rb +29 -0
  19. data/spec/fakes/database_fake.rb +12 -0
  20. data/spec/fakes/dataset_fake.rb +28 -0
  21. data/spec/fakes/document.rb +18 -0
  22. data/spec/fakes/serializer_fake.rb +12 -0
  23. data/spec/fakes/time_fake.rb +12 -0
  24. data/spec/integration/ad_hoc_scopes_spec.rb +42 -0
  25. data/spec/integration/basic_object_lifecycle_spec.rb +115 -0
  26. data/spec/integration/batch_insertion_spec.rb +29 -0
  27. data/spec/integration/convenience_api_spec.rb +25 -0
  28. data/spec/integration/count_spec.rb +12 -0
  29. data/spec/integration/default_value_spec.rb +30 -0
  30. data/spec/integration/dirty_tracking_spec.rb +43 -0
  31. data/spec/integration/find_via_cache_spec.rb +101 -0
  32. data/spec/integration/finder_spec.rb +71 -0
  33. data/spec/integration/has_many_spec.rb +18 -0
  34. data/spec/integration/index_spec.rb +57 -0
  35. data/spec/integration/named_scope_spec.rb +34 -0
  36. data/spec/integration/offline_indexing_spec.rb +53 -0
  37. data/spec/integration/pagination_spec.rb +63 -0
  38. data/spec/integration/scope_chaining_spec.rb +22 -0
  39. data/spec/integration/table_creator_spec.rb +64 -0
  40. data/spec/integration/write_through_cache_spec.rb +53 -0
  41. data/spec/spec.opts +1 -0
  42. data/spec/spec_helper.rb +109 -0
  43. data/spec/unit/associations/association_spec.rb +57 -0
  44. data/spec/unit/associations/set_spec.rb +43 -0
  45. data/spec/unit/attribute_spec.rb +125 -0
  46. data/spec/unit/cache_by_id_spec.rb +102 -0
  47. data/spec/unit/cache_spec.rb +21 -0
  48. data/spec/unit/data_store_spec.rb +201 -0
  49. data/spec/unit/document/attributes_spec.rb +130 -0
  50. data/spec/unit/document_spec.rb +318 -0
  51. data/spec/unit/document_table_spec.rb +126 -0
  52. data/spec/unit/friendly_spec.rb +25 -0
  53. data/spec/unit/index_spec.rb +196 -0
  54. data/spec/unit/memcached_spec.rb +114 -0
  55. data/spec/unit/query_spec.rb +104 -0
  56. data/spec/unit/scope_proxy_spec.rb +44 -0
  57. data/spec/unit/scope_spec.rb +113 -0
  58. data/spec/unit/storage_factory_spec.rb +59 -0
  59. data/spec/unit/storage_proxy_spec.rb +244 -0
  60. data/spec/unit/translator_spec.rb +91 -0
  61. data/website/index.html +210 -0
  62. data/website/scripts/clipboard.swf +0 -0
  63. data/website/scripts/shBrushAS3.js +61 -0
  64. data/website/scripts/shBrushBash.js +66 -0
  65. data/website/scripts/shBrushCSharp.js +67 -0
  66. data/website/scripts/shBrushColdFusion.js +102 -0
  67. data/website/scripts/shBrushCpp.js +99 -0
  68. data/website/scripts/shBrushCss.js +93 -0
  69. data/website/scripts/shBrushDelphi.js +57 -0
  70. data/website/scripts/shBrushDiff.js +43 -0
  71. data/website/scripts/shBrushErlang.js +54 -0
  72. data/website/scripts/shBrushGroovy.js +69 -0
  73. data/website/scripts/shBrushJScript.js +52 -0
  74. data/website/scripts/shBrushJava.js +59 -0
  75. data/website/scripts/shBrushJavaFX.js +60 -0
  76. data/website/scripts/shBrushPerl.js +74 -0
  77. data/website/scripts/shBrushPhp.js +91 -0
  78. data/website/scripts/shBrushPlain.js +35 -0
  79. data/website/scripts/shBrushPowerShell.js +76 -0
  80. data/website/scripts/shBrushPython.js +66 -0
  81. data/website/scripts/shBrushRuby.js +57 -0
  82. data/website/scripts/shBrushScala.js +53 -0
  83. data/website/scripts/shBrushSql.js +68 -0
  84. data/website/scripts/shBrushVb.js +58 -0
  85. data/website/scripts/shBrushXml.js +71 -0
  86. data/website/scripts/shCore.js +30 -0
  87. data/website/scripts/shLegacy.js +30 -0
  88. data/website/styles/friendly.css +103 -0
  89. data/website/styles/help.png +0 -0
  90. data/website/styles/ie.css +35 -0
  91. data/website/styles/magnifier.png +0 -0
  92. data/website/styles/page_white_code.png +0 -0
  93. data/website/styles/page_white_copy.png +0 -0
  94. data/website/styles/print.css +29 -0
  95. data/website/styles/printer.png +0 -0
  96. data/website/styles/screen.css +257 -0
  97. data/website/styles/shCore.css +330 -0
  98. data/website/styles/shThemeDefault.css +173 -0
  99. data/website/styles/shThemeDjango.css +176 -0
  100. data/website/styles/shThemeEclipse.css +190 -0
  101. data/website/styles/shThemeEmacs.css +175 -0
  102. data/website/styles/shThemeFadeToGrey.css +177 -0
  103. data/website/styles/shThemeMidnight.css +175 -0
  104. data/website/styles/shThemeRDark.css +175 -0
  105. metadata +302 -383
@@ -0,0 +1,330 @@
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
+ *
8
+ * @version
9
+ * 2.1.364 (October 15 2009)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2009 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * This file is part of SyntaxHighlighter.
16
+ *
17
+ * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
+ * it under the terms of the GNU Lesser General Public License as published by
19
+ * the Free Software Foundation, either version 3 of the License, or
20
+ * (at your option) any later version.
21
+ *
22
+ * SyntaxHighlighter is distributed in the hope that it will be useful,
23
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
+ * GNU General Public License for more details.
26
+ *
27
+ * You should have received a copy of the GNU General Public License
28
+ * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
29
+ */
30
+ .syntaxhighlighter,
31
+ .syntaxhighlighter div,
32
+ .syntaxhighlighter code,
33
+ .syntaxhighlighter table,
34
+ .syntaxhighlighter table td,
35
+ .syntaxhighlighter table tr,
36
+ .syntaxhighlighter table tbody
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: auto !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
+ }
61
+
62
+ .syntaxhighlighter
63
+ {
64
+ width: 99% !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
+ }
69
+
70
+ .syntaxhighlighter .bold
71
+ {
72
+ font-weight: bold !important;
73
+ }
74
+
75
+ .syntaxhighlighter .italic
76
+ {
77
+ font-style: italic !important;
78
+ }
79
+
80
+ .syntaxhighlighter .line
81
+ {
82
+ }
83
+
84
+ .syntaxhighlighter .no-wrap .line .content
85
+ {
86
+ white-space: pre !important;
87
+ }
88
+
89
+ .syntaxhighlighter .line table
90
+ {
91
+ border-collapse: collapse !important;
92
+ }
93
+
94
+ .syntaxhighlighter .line td
95
+ {
96
+ vertical-align: top !important;
97
+ }
98
+
99
+ .syntaxhighlighter .line .number
100
+ {
101
+ width: 3em !important;
102
+ }
103
+
104
+ .syntaxhighlighter .line .number code
105
+ {
106
+ width: 2.7em !important;
107
+ padding-right: .3em !important;
108
+ text-align: right !important;
109
+ display: block !important;
110
+ }
111
+
112
+ .syntaxhighlighter .line .content
113
+ {
114
+ padding-left: .5em !important;
115
+ }
116
+
117
+ .syntaxhighlighter .line .spaces
118
+ {
119
+ }
120
+
121
+ /* Disable border and margin on the lines when no gutter option is set */
122
+ .syntaxhighlighter.nogutter .line .content
123
+ {
124
+ border-left: none !important;
125
+ }
126
+
127
+ .syntaxhighlighter .bar
128
+ {
129
+ display: none !important;
130
+ }
131
+
132
+ .syntaxhighlighter .bar.show
133
+ {
134
+ display: block !important;
135
+ }
136
+
137
+ .syntaxhighlighter.collapsed .bar
138
+ {
139
+ display: block !important;
140
+ }
141
+
142
+ /* Adjust some properties when collapsed */
143
+
144
+ .syntaxhighlighter.collapsed .lines
145
+ {
146
+ display: none !important;
147
+ }
148
+
149
+ .syntaxhighlighter .lines.no-wrap
150
+ {
151
+ overflow: auto !important;
152
+ overflow-y: hidden !important;
153
+ }
154
+
155
+ /* Styles for the toolbar */
156
+
157
+ .syntaxhighlighter .toolbar
158
+ {
159
+ position: absolute !important;
160
+ right: 0px !important;
161
+ top: 0px !important;
162
+ font-size: 1px !important;
163
+ padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */
164
+ }
165
+
166
+ .syntaxhighlighter.collapsed .toolbar
167
+ {
168
+ font-size: 80% !important;
169
+ padding: .2em 0 .5em .5em !important;
170
+ position: static !important;
171
+ }
172
+
173
+ .syntaxhighlighter .toolbar a.item,
174
+ .syntaxhighlighter .toolbar .item
175
+ {
176
+ display: block !important;
177
+ float: left !important;
178
+ margin-left: 8px !important;
179
+ background-repeat: no-repeat !important;
180
+ overflow: hidden !important;
181
+ text-indent: -5000px !important;
182
+ }
183
+
184
+ .syntaxhighlighter.collapsed .toolbar .item
185
+ {
186
+ display: none !important;
187
+ }
188
+
189
+ .syntaxhighlighter.collapsed .toolbar .item.expandSource
190
+ {
191
+ background-image: url(magnifier.png) !important;
192
+ display: inline !important;
193
+ text-indent: 0 !important;
194
+ width: auto !important;
195
+ float: none !important;
196
+ height: 16px !important;
197
+ padding-left: 20px !important;
198
+ }
199
+
200
+ .syntaxhighlighter .toolbar .item.viewSource
201
+ {
202
+ background-image: url(page_white_code.png) !important;
203
+ }
204
+
205
+ .syntaxhighlighter .toolbar .item.printSource
206
+ {
207
+ background-image: url(printer.png) !important;
208
+ }
209
+
210
+ .syntaxhighlighter .toolbar .item.copyToClipboard
211
+ {
212
+ text-indent: 0 !important;
213
+ background: none !important;
214
+ overflow: visible !important;
215
+ }
216
+
217
+ .syntaxhighlighter .toolbar .item.about
218
+ {
219
+ background-image: url(help.png) !important;
220
+ }
221
+
222
+ /**
223
+ * Print view.
224
+ * Colors are based on the default theme without background.
225
+ */
226
+
227
+ .syntaxhighlighter.printing,
228
+ .syntaxhighlighter.printing .line.alt1 .content,
229
+ .syntaxhighlighter.printing .line.alt2 .content,
230
+ .syntaxhighlighter.printing .line.highlighted .number,
231
+ .syntaxhighlighter.printing .line.highlighted.alt1 .content,
232
+ .syntaxhighlighter.printing .line.highlighted.alt2 .content,
233
+ {
234
+ background: none !important;
235
+ }
236
+
237
+ /* Gutter line numbers */
238
+ .syntaxhighlighter.printing .line .number
239
+ {
240
+ color: #bbb !important;
241
+ }
242
+
243
+ /* Add border to the lines */
244
+ .syntaxhighlighter.printing .line .content
245
+ {
246
+ color: #000 !important;
247
+ }
248
+
249
+ /* Toolbar when visible */
250
+ .syntaxhighlighter.printing .toolbar
251
+ {
252
+ display: none !important;
253
+ }
254
+
255
+ .syntaxhighlighter.printing a
256
+ {
257
+ text-decoration: none !important;
258
+ }
259
+
260
+ .syntaxhighlighter.printing .plain,
261
+ .syntaxhighlighter.printing .plain a
262
+ {
263
+ color: #000 !important;
264
+ }
265
+
266
+ .syntaxhighlighter.printing .comments,
267
+ .syntaxhighlighter.printing .comments a
268
+ {
269
+ color: #008200 !important;
270
+ }
271
+
272
+ .syntaxhighlighter.printing .string,
273
+ .syntaxhighlighter.printing .string a
274
+ {
275
+ color: blue !important;
276
+ }
277
+
278
+ .syntaxhighlighter.printing .keyword
279
+ {
280
+ color: #069 !important;
281
+ font-weight: bold !important;
282
+ }
283
+
284
+ .syntaxhighlighter.printing .preprocessor
285
+ {
286
+ color: gray !important;
287
+ }
288
+
289
+ .syntaxhighlighter.printing .variable
290
+ {
291
+ color: #a70 !important;
292
+ }
293
+
294
+ .syntaxhighlighter.printing .value
295
+ {
296
+ color: #090 !important;
297
+ }
298
+
299
+ .syntaxhighlighter.printing .functions
300
+ {
301
+ color: #ff1493 !important;
302
+ }
303
+
304
+ .syntaxhighlighter.printing .constants
305
+ {
306
+ color: #0066CC !important;
307
+ }
308
+
309
+ .syntaxhighlighter.printing .script
310
+ {
311
+ font-weight: bold !important;
312
+ }
313
+
314
+ .syntaxhighlighter.printing .color1,
315
+ .syntaxhighlighter.printing .color1 a
316
+ {
317
+ color: #808080 !important;
318
+ }
319
+
320
+ .syntaxhighlighter.printing .color2,
321
+ .syntaxhighlighter.printing .color2 a
322
+ {
323
+ color: #ff1493 !important;
324
+ }
325
+
326
+ .syntaxhighlighter.printing .color3,
327
+ .syntaxhighlighter.printing .color3 a
328
+ {
329
+ color: red !important;
330
+ }
@@ -0,0 +1,173 @@
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
+ *
8
+ * @version
9
+ * 2.1.364 (October 15 2009)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2009 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * This file is part of SyntaxHighlighter.
16
+ *
17
+ * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
+ * it under the terms of the GNU Lesser General Public License as published by
19
+ * the Free Software Foundation, either version 3 of the License, or
20
+ * (at your option) any later version.
21
+ *
22
+ * SyntaxHighlighter is distributed in the hope that it will be useful,
23
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
+ * GNU General Public License for more details.
26
+ *
27
+ * You should have received a copy of the GNU General Public License
28
+ * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
29
+ */
30
+ /************************************
31
+ * Default Syntax Highlighter theme.
32
+ *
33
+ * Interface elements.
34
+ ************************************/
35
+
36
+ .syntaxhighlighter
37
+ {
38
+ background-color: #fff !important;
39
+ }
40
+
41
+ /* Highlighed line number */
42
+ .syntaxhighlighter .line.highlighted .number
43
+ {
44
+ color: black !important;
45
+ }
46
+
47
+ /* Highlighed line */
48
+ .syntaxhighlighter .line.highlighted.alt1,
49
+ .syntaxhighlighter .line.highlighted.alt2
50
+ {
51
+ background-color: #e0e0e0 !important;
52
+ }
53
+
54
+ /* Gutter line numbers */
55
+ .syntaxhighlighter .line .number
56
+ {
57
+ color: #afafaf !important;
58
+ }
59
+
60
+ /* Add border to the lines */
61
+ .syntaxhighlighter .line .content
62
+ {
63
+ border-left: 3px solid #6CE26C !important;
64
+ color: #000 !important;
65
+ }
66
+
67
+ .syntaxhighlighter.printing .line .content
68
+ {
69
+ border: 0 !important;
70
+ }
71
+
72
+ /* First line */
73
+ .syntaxhighlighter .line.alt1
74
+ {
75
+ background-color: #fff !important;
76
+ }
77
+
78
+ /* Second line */
79
+ .syntaxhighlighter .line.alt2
80
+ {
81
+ background-color: #F8F8F8 !important;
82
+ }
83
+
84
+ .syntaxhighlighter .toolbar
85
+ {
86
+ background-color: #F8F8F8 !important;
87
+ border: #E7E5DC solid 1px !important;
88
+ }
89
+
90
+ .syntaxhighlighter .toolbar a
91
+ {
92
+ color: #a0a0a0 !important;
93
+ }
94
+
95
+ .syntaxhighlighter .toolbar a:hover
96
+ {
97
+ color: red !important;
98
+ }
99
+
100
+ /************************************
101
+ * Actual syntax highlighter colors.
102
+ ************************************/
103
+ .syntaxhighlighter .plain,
104
+ .syntaxhighlighter .plain a
105
+ {
106
+ color: #000 !important;
107
+ }
108
+
109
+ .syntaxhighlighter .comments,
110
+ .syntaxhighlighter .comments a
111
+ {
112
+ color: #008200 !important;
113
+ }
114
+
115
+ .syntaxhighlighter .string,
116
+ .syntaxhighlighter .string a
117
+ {
118
+ color: blue !important;
119
+ }
120
+
121
+ .syntaxhighlighter .keyword
122
+ {
123
+ color: #069 !important;
124
+ font-weight: bold !important;
125
+ }
126
+
127
+ .syntaxhighlighter .preprocessor
128
+ {
129
+ color: gray !important;
130
+ }
131
+
132
+ .syntaxhighlighter .variable
133
+ {
134
+ color: #a70 !important;
135
+ }
136
+
137
+ .syntaxhighlighter .value
138
+ {
139
+ color: #090 !important;
140
+ }
141
+
142
+ .syntaxhighlighter .functions
143
+ {
144
+ color: #ff1493 !important;
145
+ }
146
+
147
+ .syntaxhighlighter .constants
148
+ {
149
+ color: #0066CC !important;
150
+ }
151
+
152
+ .syntaxhighlighter .script
153
+ {
154
+ background-color: yellow !important;
155
+ }
156
+
157
+ .syntaxhighlighter .color1,
158
+ .syntaxhighlighter .color1 a
159
+ {
160
+ color: #808080 !important;
161
+ }
162
+
163
+ .syntaxhighlighter .color2,
164
+ .syntaxhighlighter .color2 a
165
+ {
166
+ color: #ff1493 !important;
167
+ }
168
+
169
+ .syntaxhighlighter .color3,
170
+ .syntaxhighlighter .color3 a
171
+ {
172
+ color: red !important;
173
+ }
@@ -0,0 +1,176 @@
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
+ *
8
+ * @version
9
+ * 2.1.364 (October 15 2009)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2009 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * This file is part of SyntaxHighlighter.
16
+ *
17
+ * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
+ * it under the terms of the GNU Lesser General Public License as published by
19
+ * the Free Software Foundation, either version 3 of the License, or
20
+ * (at your option) any later version.
21
+ *
22
+ * SyntaxHighlighter is distributed in the hope that it will be useful,
23
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
+ * GNU General Public License for more details.
26
+ *
27
+ * You should have received a copy of the GNU General Public License
28
+ * along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
29
+ */
30
+ /**
31
+ * Django SyntaxHighlighter theme
32
+ */
33
+
34
+ /************************************
35
+ * Interface elements.
36
+ ************************************/
37
+
38
+ .syntaxhighlighter
39
+ {
40
+ background-color: #0B2F20 !important;
41
+ }
42
+
43
+ /* Gutter line numbers */
44
+ .syntaxhighlighter .line .number
45
+ {
46
+ color: #497958 !important;
47
+ }
48
+
49
+ /* Add border to the lines */
50
+ .syntaxhighlighter .line .content
51
+ {
52
+ border-left: 3px solid #41A83E !important;
53
+ color: #B9BDB6 !important;
54
+ }
55
+
56
+ .syntaxhighlighter.printing .line .content
57
+ {
58
+ border: 0 !important;
59
+ }
60
+
61
+ /* First line */
62
+ .syntaxhighlighter .line.alt1
63
+ {
64
+ }
65
+
66
+ /* Second line */
67
+ .syntaxhighlighter .line.alt2
68
+ {
69
+ background-color: #0a2b1d !important;
70
+ }
71
+
72
+ /* Highlighed line number */
73
+ .syntaxhighlighter .line.highlighted .number
74
+ {
75
+ background-color: #336442 !important;
76
+ color: #fff !important;
77
+ }
78
+
79
+ /* Highlighed line */
80
+ .syntaxhighlighter .line.highlighted.alt1,
81
+ .syntaxhighlighter .line.highlighted.alt2
82
+ {
83
+ background-color: #336442 !important;
84
+ }
85
+
86
+ .syntaxhighlighter .toolbar
87
+ {
88
+ background-color: #245032 !important;
89
+ border: #0B2F20 solid 1px !important;
90
+ }
91
+
92
+ .syntaxhighlighter .toolbar a
93
+ {
94
+ color: #C4B14A !important;
95
+ }
96
+
97
+ .syntaxhighlighter .toolbar a:hover
98
+ {
99
+ color: #FFE862 !important;
100
+ }
101
+
102
+ /************************************
103
+ * Actual syntax highlighter colors.
104
+ ************************************/
105
+ .syntaxhighlighter .plain,
106
+ .syntaxhighlighter .plain a
107
+ {
108
+ color: #F8F8F8 !important;
109
+ }
110
+
111
+ .syntaxhighlighter .comments,
112
+ .syntaxhighlighter .comments a
113
+ {
114
+ color: #336442 !important;
115
+ font-style: italic !important;
116
+ }
117
+
118
+ .syntaxhighlighter .string,
119
+ .syntaxhighlighter .string a
120
+ {
121
+ color: #9DF39F !important;
122
+ }
123
+
124
+ .syntaxhighlighter .keyword
125
+ {
126
+ color: #96DD3B !important;
127
+ font-weight: bold !important;
128
+ }
129
+
130
+ .syntaxhighlighter .preprocessor
131
+ {
132
+ color: #91BB9E !important;
133
+ }
134
+
135
+ .syntaxhighlighter .variable
136
+ {
137
+ color: #FFAA3E !important;
138
+ }
139
+
140
+ .syntaxhighlighter .value
141
+ {
142
+ color: #F7E741 !important;
143
+ }
144
+
145
+ .syntaxhighlighter .functions
146
+ {
147
+ color: #FFAA3E !important;
148
+ }
149
+
150
+ .syntaxhighlighter .constants
151
+ {
152
+ color: #E0E8FF !important;
153
+ }
154
+
155
+ .syntaxhighlighter .script
156
+ {
157
+ background-color: #497958 !important;
158
+ }
159
+
160
+ .syntaxhighlighter .color1,
161
+ .syntaxhighlighter .color1 a
162
+ {
163
+ color: #EB939A !important;
164
+ }
165
+
166
+ .syntaxhighlighter .color2,
167
+ .syntaxhighlighter .color2 a
168
+ {
169
+ color: #91BB9E !important;
170
+ }
171
+
172
+ .syntaxhighlighter .color3,
173
+ .syntaxhighlighter .color3 a
174
+ {
175
+ color: #EDEF7D !important;
176
+ }