sc-docs 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. data/.gitignore +4 -0
  2. data/.gitmodules +3 -0
  3. data/Gemfile +5 -0
  4. data/Gemfile.lock +48 -0
  5. data/LICENSE +21 -0
  6. data/README.md +59 -0
  7. data/bin/sc-docs +5 -0
  8. data/lib/sc_docs.rb +3 -0
  9. data/lib/sc_docs/cli.rb +54 -0
  10. data/lib/sc_docs/docs/Buildfile +8 -0
  11. data/lib/sc_docs/docs/README +8 -0
  12. data/lib/sc_docs/docs/apps/docs/Buildfile +15 -0
  13. data/lib/sc_docs/docs/apps/docs/controllers/classes.js +27 -0
  14. data/lib/sc_docs/docs/apps/docs/controllers/search_controller.js +62 -0
  15. data/lib/sc_docs/docs/apps/docs/controllers/selected_class.js +143 -0
  16. data/lib/sc_docs/docs/apps/docs/core.js +148 -0
  17. data/lib/sc_docs/docs/apps/docs/main.js +41 -0
  18. data/lib/sc_docs/docs/apps/docs/models/class.js +63 -0
  19. data/lib/sc_docs/docs/apps/docs/models/entity.js +29 -0
  20. data/lib/sc_docs/docs/apps/docs/models/method.js +79 -0
  21. data/lib/sc_docs/docs/apps/docs/models/property.js +48 -0
  22. data/lib/sc_docs/docs/apps/docs/resources/images/method_icon.png +0 -0
  23. data/lib/sc_docs/docs/apps/docs/resources/images/property_icon.png +0 -0
  24. data/lib/sc_docs/docs/apps/docs/resources/loading.rhtml +9 -0
  25. data/lib/sc_docs/docs/apps/docs/resources/main_page.css +156 -0
  26. data/lib/sc_docs/docs/apps/docs/resources/main_page.js +91 -0
  27. data/lib/sc_docs/docs/apps/docs/resources/templates/details.handlebars +81 -0
  28. data/lib/sc_docs/docs/apps/docs/resources/templates/extensions/signature.js +0 -0
  29. data/lib/sc_docs/docs/apps/docs/system/jquery_ui.js +62 -0
  30. data/lib/sc_docs/docs/apps/docs/system/showdown.js +1297 -0
  31. data/lib/sc_docs/docs/apps/docs/theme.js +29 -0
  32. data/lib/sc_docs/docs/apps/docs/views/detail_list.js +24 -0
  33. data/lib/sc_docs/docs/apps/docs/views/master_list.js +35 -0
  34. data/lib/sc_docs/docs/apps/docs/views/methods_collection.js +80 -0
  35. data/lib/sc_docs/docs/apps/docs/views/properties_collection.js +9 -0
  36. data/lib/sc_docs/generator.rb +145 -0
  37. data/lib/sc_docs/server.rb +21 -0
  38. data/lib/sc_docs/templates/docs.sproutcore.com/allclasses.tmpl +31 -0
  39. data/lib/sc_docs/templates/docs.sproutcore.com/allfiles.tmpl +66 -0
  40. data/lib/sc_docs/templates/docs.sproutcore.com/class.tmpl +437 -0
  41. data/lib/sc_docs/templates/docs.sproutcore.com/index.tmpl +52 -0
  42. data/lib/sc_docs/templates/docs.sproutcore.com/output/css/api.css +619 -0
  43. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/apidocs.jpg +0 -0
  44. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/apidocs.png +0 -0
  45. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/clearinput.png +0 -0
  46. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/cross.png +0 -0
  47. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/ddiagonal.png +0 -0
  48. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/diagonal.png +0 -0
  49. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/docbullet.jpg +0 -0
  50. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/docbullet.png +0 -0
  51. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/glow.png +0 -0
  52. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/logo.png +0 -0
  53. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/pixels.png +0 -0
  54. data/lib/sc_docs/templates/docs.sproutcore.com/output/img/search.png +0 -0
  55. data/lib/sc_docs/templates/docs.sproutcore.com/output/js/api.js +134 -0
  56. data/lib/sc_docs/templates/docs.sproutcore.com/output/js/jquery-bbq.js +18 -0
  57. data/lib/sc_docs/templates/docs.sproutcore.com/output/js/lib/jquery-1.5.1.min.js +16 -0
  58. data/lib/sc_docs/templates/docs.sproutcore.com/output/js/lib/modernizr-1.7.min.js +2 -0
  59. data/lib/sc_docs/templates/docs.sproutcore.com/output/js/plugin.js +1 -0
  60. data/lib/sc_docs/templates/docs.sproutcore.com/output/js/script.js +5 -0
  61. data/lib/sc_docs/templates/docs.sproutcore.com/publish.js +200 -0
  62. data/lib/sc_docs/templates/docs.sproutcore.com/static/default.css +300 -0
  63. data/lib/sc_docs/templates/docs.sproutcore.com/static/header.html +19 -0
  64. data/lib/sc_docs/templates/docs.sproutcore.com/static/index.html +19 -0
  65. data/lib/sc_docs/templates/docs.sproutcore.com/symbol.tmpl +35 -0
  66. data/lib/sc_docs/templates/sc_fixture/publish.js +632 -0
  67. data/lib/sc_docs/version.rb +4 -0
  68. data/sc_docs.gemspec +27 -0
  69. data/vendor/jsdoc/README.txt +109 -0
  70. data/vendor/jsdoc/app/frame.js +33 -0
  71. data/vendor/jsdoc/app/frame/Chain.js +102 -0
  72. data/vendor/jsdoc/app/frame/Dumper.js +144 -0
  73. data/vendor/jsdoc/app/frame/Hash.js +84 -0
  74. data/vendor/jsdoc/app/frame/Link.js +173 -0
  75. data/vendor/jsdoc/app/frame/Namespace.js +10 -0
  76. data/vendor/jsdoc/app/frame/Opt.js +134 -0
  77. data/vendor/jsdoc/app/frame/Reflection.js +26 -0
  78. data/vendor/jsdoc/app/frame/String.js +93 -0
  79. data/vendor/jsdoc/app/frame/Testrun.js +129 -0
  80. data/vendor/jsdoc/app/handlers/FOODOC.js +26 -0
  81. data/vendor/jsdoc/app/handlers/XMLDOC.js +26 -0
  82. data/vendor/jsdoc/app/handlers/XMLDOC/DomReader.js +159 -0
  83. data/vendor/jsdoc/app/handlers/XMLDOC/XMLDoc.js +16 -0
  84. data/vendor/jsdoc/app/handlers/XMLDOC/XMLParse.js +292 -0
  85. data/vendor/jsdoc/app/lib/JSDOC.js +106 -0
  86. data/vendor/jsdoc/app/lib/JSDOC/DocComment.js +204 -0
  87. data/vendor/jsdoc/app/lib/JSDOC/DocTag.js +294 -0
  88. data/vendor/jsdoc/app/lib/JSDOC/JsDoc.js +140 -0
  89. data/vendor/jsdoc/app/lib/JSDOC/JsPlate.js +109 -0
  90. data/vendor/jsdoc/app/lib/JSDOC/Lang.js +144 -0
  91. data/vendor/jsdoc/app/lib/JSDOC/Parser.js +146 -0
  92. data/vendor/jsdoc/app/lib/JSDOC/PluginManager.js +33 -0
  93. data/vendor/jsdoc/app/lib/JSDOC/Symbol.js +644 -0
  94. data/vendor/jsdoc/app/lib/JSDOC/SymbolSet.js +243 -0
  95. data/vendor/jsdoc/app/lib/JSDOC/TextStream.js +41 -0
  96. data/vendor/jsdoc/app/lib/JSDOC/Token.js +18 -0
  97. data/vendor/jsdoc/app/lib/JSDOC/TokenReader.js +332 -0
  98. data/vendor/jsdoc/app/lib/JSDOC/TokenStream.js +133 -0
  99. data/vendor/jsdoc/app/lib/JSDOC/Util.js +32 -0
  100. data/vendor/jsdoc/app/lib/JSDOC/Walker.js +507 -0
  101. data/vendor/jsdoc/app/main.js +111 -0
  102. data/vendor/jsdoc/app/plugins/commentSrcJson.js +20 -0
  103. data/vendor/jsdoc/app/plugins/frameworkPrototype.js +16 -0
  104. data/vendor/jsdoc/app/plugins/functionCall.js +10 -0
  105. data/vendor/jsdoc/app/plugins/publishSrcHilite.js +62 -0
  106. data/vendor/jsdoc/app/plugins/symbolLink.js +10 -0
  107. data/vendor/jsdoc/app/plugins/tagParamConfig.js +31 -0
  108. data/vendor/jsdoc/app/plugins/tagSynonyms.js +43 -0
  109. data/vendor/jsdoc/app/run.js +297 -0
  110. data/vendor/jsdoc/app/t/TestDoc.js +144 -0
  111. data/vendor/jsdoc/app/t/runner.js +13 -0
  112. data/vendor/jsdoc/app/test.js +342 -0
  113. data/vendor/jsdoc/app/test/addon.js +24 -0
  114. data/vendor/jsdoc/app/test/anon_inner.js +14 -0
  115. data/vendor/jsdoc/app/test/augments.js +31 -0
  116. data/vendor/jsdoc/app/test/augments2.js +26 -0
  117. data/vendor/jsdoc/app/test/borrows.js +46 -0
  118. data/vendor/jsdoc/app/test/borrows2.js +23 -0
  119. data/vendor/jsdoc/app/test/config.js +22 -0
  120. data/vendor/jsdoc/app/test/constructs.js +18 -0
  121. data/vendor/jsdoc/app/test/encoding.js +10 -0
  122. data/vendor/jsdoc/app/test/encoding_other.js +12 -0
  123. data/vendor/jsdoc/app/test/event.js +54 -0
  124. data/vendor/jsdoc/app/test/exports.js +14 -0
  125. data/vendor/jsdoc/app/test/functions_anon.js +39 -0
  126. data/vendor/jsdoc/app/test/functions_nested.js +33 -0
  127. data/vendor/jsdoc/app/test/global.js +13 -0
  128. data/vendor/jsdoc/app/test/globals.js +25 -0
  129. data/vendor/jsdoc/app/test/ignore.js +10 -0
  130. data/vendor/jsdoc/app/test/inner.js +16 -0
  131. data/vendor/jsdoc/app/test/jsdoc_test.js +477 -0
  132. data/vendor/jsdoc/app/test/lend.js +33 -0
  133. data/vendor/jsdoc/app/test/memberof.js +19 -0
  134. data/vendor/jsdoc/app/test/memberof2.js +38 -0
  135. data/vendor/jsdoc/app/test/memberof3.js +33 -0
  136. data/vendor/jsdoc/app/test/memberof_constructor.js +17 -0
  137. data/vendor/jsdoc/app/test/module.js +17 -0
  138. data/vendor/jsdoc/app/test/multi_methods.js +25 -0
  139. data/vendor/jsdoc/app/test/name.js +19 -0
  140. data/vendor/jsdoc/app/test/namespace_nested.js +23 -0
  141. data/vendor/jsdoc/app/test/nocode.js +13 -0
  142. data/vendor/jsdoc/app/test/oblit_anon.js +20 -0
  143. data/vendor/jsdoc/app/test/overview.js +20 -0
  144. data/vendor/jsdoc/app/test/param_inline.js +37 -0
  145. data/vendor/jsdoc/app/test/params_optional.js +8 -0
  146. data/vendor/jsdoc/app/test/prototype.js +17 -0
  147. data/vendor/jsdoc/app/test/prototype_nested.js +9 -0
  148. data/vendor/jsdoc/app/test/prototype_oblit.js +13 -0
  149. data/vendor/jsdoc/app/test/prototype_oblit_constructor.js +24 -0
  150. data/vendor/jsdoc/app/test/public.js +10 -0
  151. data/vendor/jsdoc/app/test/scripts/code.js +5 -0
  152. data/vendor/jsdoc/app/test/scripts/notcode.txt +5 -0
  153. data/vendor/jsdoc/app/test/shared.js +42 -0
  154. data/vendor/jsdoc/app/test/shared2.js +2 -0
  155. data/vendor/jsdoc/app/test/shortcuts.js +22 -0
  156. data/vendor/jsdoc/app/test/static_this.js +13 -0
  157. data/vendor/jsdoc/app/test/synonyms.js +31 -0
  158. data/vendor/jsdoc/app/test/tosource.js +23 -0
  159. data/vendor/jsdoc/app/test/variable_redefine.js +14 -0
  160. data/vendor/jsdoc/changes.txt +127 -0
  161. data/vendor/jsdoc/conf/sample.conf +31 -0
  162. metadata +240 -0
@@ -0,0 +1,619 @@
1
+ /* Reset
2
+ --------------------------------------------- */
3
+
4
+ html, body, div, span, object, iframe,
5
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
6
+ a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
7
+ small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
8
+ fieldset, form, label, legend,
9
+ table, caption, tbody, tfoot, thead, tr, th, td,
10
+ article, aside, canvas, details, figcaption, figure,
11
+ footer, header, hgroup, menu, nav, section, summary,
12
+ time, mark, audio, video {
13
+ margin: 0;
14
+ padding: 0;
15
+ border: 0;
16
+ font-size: 100%;
17
+ font: inherit;
18
+ vertical-align: baseline;
19
+ }
20
+
21
+ article, aside, details, figcaption, figure,
22
+ footer, header, hgroup, menu, nav, section {
23
+ display: block;
24
+ }
25
+
26
+ ol, ul {
27
+ list-style: none;
28
+ }
29
+
30
+ blockquote, q {
31
+ quotes: none;
32
+ }
33
+
34
+ blockquote:before, blockquote:after,
35
+ q:before, q:after {
36
+ content: "";
37
+ content: none;
38
+ }
39
+
40
+ table {
41
+ border-collapse: collapse;
42
+ border-spacing: 0;
43
+ }
44
+ /* Base
45
+ --------------------------------------------- */
46
+
47
+ html {
48
+ height: 100%;
49
+ min-height: 100%;
50
+ overflow-y: scroll;
51
+ }
52
+
53
+ body {
54
+ height: 100%;
55
+ min-height: 100%;
56
+ color: #444;
57
+ font: 12px/1.5 "Helvetica Neue", Arial, sans-serif;
58
+ }
59
+ .container {
60
+ width: 960px;
61
+ margin: 0 auto;
62
+ }
63
+
64
+ /*
65
+ html.js .container {
66
+ opacity: 0;
67
+ }
68
+
69
+ html.ready .container {
70
+ opacity: 1;
71
+ -webkit-transition: all 1s ease-in-out;
72
+ -moz-transition: all 1s ease-in-out;
73
+ -o-transition: all 1s ease-in-out;
74
+ -ms-transition: all 1s ease-in-out;
75
+ transition: all 1s ease-in-out;
76
+ }
77
+ */
78
+
79
+ i {
80
+ font-style: italic;
81
+ font-family: Georgia, Times, "Times New Roman", serif;
82
+ }
83
+ /* Banner
84
+ --------------------------------------------- */
85
+
86
+ header[role="banner"] {
87
+ width: 100%;
88
+ height: 50px;
89
+ position: fixed;
90
+ overflow: hidden;
91
+ border-bottom: 1px solid #000;
92
+ border-bottom: 1px solid rgba(0, 0, 0, 0.9);
93
+ z-index: 999;
94
+ background: rgba(0, 0, 0) url(../img/cross.png);
95
+ background: url(../img/pixels.png) repeat-x, url(../img/cross.png) rgba(0, 0, 0, 0.7);
96
+ background: url(../img/pixels.png) repeat-x, url(../img/cross.png) rgba(0, 0, 0, 0.7);
97
+ background: url(../img/pixels.png) repeat-x, url(../img/cross.png) rgba(0, 0, 0, 0.7);
98
+ background: url(../img/pixels.png) repeat-x, url(../img/cross.png) rgba(0, 0, 0, 0.7);
99
+ background: url(../img/pixels.png) repeat-x, url(../img/cross.png) rgba(0, 0, 0, 0.7);
100
+ background: url(../img/pixels.png) repeat-x, url(../img/cross.png) rgba(0, 0, 0, 0.7);
101
+ -webkit-box-shadow: 0 1px 9px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
102
+ -moz-box-shadow: 0 1px 9px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
103
+ box-shadow: 0 1px 9px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
104
+ }
105
+
106
+ /*
107
+ html.js header[role="banner"] {
108
+ top: -5em;
109
+ }
110
+
111
+ html.ready header[role="banner"] {
112
+ top: 0;
113
+ }
114
+ */
115
+
116
+ #logo,
117
+ [role="banner"] nav,
118
+ [role="banner"] form {
119
+ float: left;
120
+ }
121
+
122
+ /* Logo */
123
+
124
+ #logo {
125
+ margin-top: 11px;
126
+ width: 160px;
127
+ }
128
+
129
+ /* Navigation */
130
+
131
+ [role="banner"] nav {
132
+ width: 600px;
133
+ text-align: center;
134
+ }
135
+
136
+ [role="banner"] nav li {
137
+ display: inline-block;
138
+ padding: 16px 15px;
139
+ color: #fff;
140
+ font-weight: bold;
141
+ text-transform: uppercase;
142
+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
143
+ }
144
+
145
+ [role="banner"] nav li.active {
146
+ background: url(../img/glow.png) no-repeat 50% 0;
147
+ }
148
+
149
+ [role="banner"] nav li.disabled {
150
+ opacity: 0.25;
151
+ }
152
+
153
+ [role="banner"] nav a:link,
154
+ [role="banner"] nav a:visited {
155
+ color: #fff;
156
+ }
157
+
158
+ .blue [role="banner"] nav a:hover,
159
+ .blue [role="banner"] nav .active a {
160
+ color: #beff9d;
161
+ }
162
+
163
+ /* Links */
164
+
165
+ a:link,
166
+ a:visited {
167
+ text-decoration: none;
168
+ }
169
+
170
+ /* .blue a:link,*/
171
+ /* .blue a:visited {*/
172
+ /* color: #4098e1;*/
173
+ /* }*/
174
+
175
+ /* .blue a:hover {*/
176
+ /* color: #3972a0;*/
177
+ /* }*/
178
+
179
+ /* Search */
180
+
181
+ #list input {
182
+ width: 200px;
183
+ height: 12px;
184
+ margin-top: 13px;
185
+ padding: 5px 8px 5px 27px;
186
+ border: 1px solid #aaa;
187
+ color: #333;
188
+ background: #eee url(/img/search.png) no-repeat 7px 5px;
189
+ -webkit-border-radius: 13px;
190
+ -moz-border-radius: 13px;
191
+ border-radius: 13px;
192
+ -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
193
+ -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
194
+ box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
195
+ }
196
+
197
+ #list input:focus{
198
+ outline: 0;
199
+ background-color: #fff;
200
+ color: #000;
201
+ }
202
+
203
+ #list form a.search-reset {
204
+ top:19px;
205
+ right: 25px;
206
+ background:url("/img/clearinput.png") no-repeat;
207
+ _background:url("/img/clearinput.png.gif") no-repeat;
208
+ position: absolute;
209
+ border: 0;
210
+ padding: 6px;
211
+ }
212
+
213
+ /* API Docs */
214
+ #docs section {
215
+ border: 0;
216
+
217
+ }
218
+
219
+ #docs #list {
220
+ position:fixed;
221
+ border-right: 1px solid #b2b2b2;
222
+ top: 50px;
223
+ bottom:45px;
224
+ width: 274px;
225
+ overflow:hidden;
226
+ overflow-x: auto;
227
+ height: 100%;
228
+ }
229
+ section#list header {
230
+ padding: 13px 0 10px;;
231
+ background: #e4e4e4 url(/img/diagonal.png);
232
+ background: url(/img/ddiagonal.png), -moz-linear-gradient(top, #f4f4f4, #e4e4e4 62%);
233
+ background: url(/img/ddiagonal.png), -ms-linear-gradient(top, #f4f4f4, #e4e4e4 62%);
234
+ background: url(/img/ddiagonal.png), -o-linear-gradient(top, #f4f4f4, #e4e4e4 62%);
235
+ background: url(/img/ddiagonal.png), -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), color-stop(62%, #e4e4e4));
236
+ background: url(/img/ddiagonal.png), -webkit-linear-gradient(top, #f4f4f4, #e4e4e4 62%);
237
+ background: url(/img/ddiagonal.png), linear-gradient(top, #f4f4f4, #e4e4e4 62%);
238
+ width: 274px;
239
+ }
240
+ #docs #list div {
241
+ overflow: auto;
242
+ position: absolute;
243
+ top: 48px;
244
+ bottom: 96px;
245
+ width: 100%;
246
+ }
247
+ #docs section div#clear {
248
+ height: 52px;
249
+ }
250
+ #list h2 {
251
+ text-align: center;
252
+ font-weight: bold;
253
+ font-size: 15px;
254
+ margin: 10px;
255
+ }
256
+ #list [role="search"] input {
257
+ display: block;
258
+ margin: 0 auto;
259
+ }
260
+ #list ul {
261
+ padding-bottom: 45px;
262
+ }
263
+ #list span {
264
+ display: block;
265
+ cursor: pointer;
266
+ }
267
+ #list a {
268
+ display: block;
269
+ color: #000;
270
+ padding: 5px 20px;
271
+ border-top:1px solid #f7f7f7;
272
+ border-bottom:1px solid #f7f7f7;
273
+ text-decoration: none;
274
+ }
275
+ #list .active a {
276
+ background-color: #75cc5b;
277
+ border-top: 1px solid #5A8942;
278
+ border-bottom: 1px solid #5A8942;
279
+ background: -moz-linear-gradient(top, #94DA7B, #75cc5b 62%);
280
+ background: -ms-linear-gradient(top, #94DA7B, #75cc5b 62%);
281
+ background: -o-linear-gradient(top, #94DA7B, #75cc5b 62%);
282
+ background: -webkit-gradient(linear, left top, left bottom, from(#94DA7B), color-stop(62%, #75cc5b));
283
+ background: -webkit-linear-gradient(top, #94DA7B, #75cc5b 62%);
284
+ background: linear-gradient(top, #94DA7B, #75cc5b 62%);
285
+ }
286
+ #list a:hover {
287
+ font-weight: bold;
288
+ }
289
+ #list .odd a {
290
+ background-color: #f7f7f7;
291
+ }
292
+ #docs section div.fineprint {
293
+ position: relative;
294
+ margin-top: 25px;
295
+ }
296
+ #docs #documentation {
297
+ position: absolute;
298
+ top: 50px;
299
+ bottom: 0;
300
+ left: 274px;
301
+ right: 0;
302
+ padding-left: 20px;
303
+ padding-right: 30px;
304
+ overflow: auto;
305
+ }
306
+ #docs div[role="main"] {
307
+ padding-top: 0;
308
+ height: 100%;
309
+ }
310
+ #docs header {
311
+ border-bottom: 1px solid #000;
312
+ }
313
+ #docs footer {
314
+ position:fixed;
315
+ width: 274px;
316
+ bottom:0;
317
+ background:#ddd;
318
+ height: 45px;
319
+ border-top: 1px solid #b2b2b2;
320
+
321
+ background: #e7e7e7 url(/img/diagonal.png);
322
+ background: url(/img/ddiagonal.png), -moz-linear-gradient(top, #f4f4f4, #e7e7e7 62%);
323
+ background: url(/img/ddiagonal.png), -ms-linear-gradient(top, #f4f4f4, #e7e7e7 62%);
324
+ background: url(/img/ddiagonal.png), -o-linear-gradient(top, #f4f4f4, #e7e7e7 62%);
325
+ background: url(/img/ddiagonal.png), -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), color-stop(62%, #e7e7e7));
326
+ background: url(/img/ddiagonal.png), -webkit-linear-gradient(top, #f4f4f4, #e7e7e7 62%);
327
+ background: url(/img/ddiagonal.png), linear-gradient(top, #f4f4f4, #e7e7e7 62%);
328
+ }
329
+ #docs footer .button {
330
+ display: block;
331
+ margin:10px auto;
332
+ height: 15px;
333
+ width: 165px;
334
+ }
335
+ /* Class Docs */
336
+ .classTitle {
337
+ font-weight: bold;
338
+ font-size: 24px;
339
+ margin: 0 0 20px -20px;
340
+ border: 1px 0 0 solid #D7E3D1;
341
+ background: #fff url(/img/apidocs.png) no-repeat 31px 31px;
342
+ padding: 25px 57px 0px 65px;
343
+ border-left: 1px solid #B2B2B2;
344
+ }
345
+ .classes {
346
+ float: left;
347
+ width: 40%;
348
+ margin: 0 50px 0 0;
349
+ }
350
+ .classname {
351
+ margin-top: 15px;
352
+ margin-bottom: 0;
353
+ }
354
+ #documentation h2 {
355
+ width: 40%;
356
+ font-size: 18px;
357
+ margin-top: 25px;
358
+ }
359
+ #documentation h3 {
360
+ font-size: 14px;
361
+ font-weight: bold;
362
+ margin: 10px 0;
363
+ }
364
+ #documentation h2 a{
365
+ color: #62C439;
366
+ }
367
+ h1 {
368
+ font-weight: bold;
369
+ font-size: 18px;
370
+ margin: 10px 0;
371
+ }
372
+ h2 {
373
+ font-weight: bold;
374
+ font-size: 24px;
375
+ margin-bottom: 20px;
376
+ }
377
+ #properties {
378
+ overflow: hidden;
379
+ }
380
+ .methods , #properties ul{
381
+ list-style-image: url(/img/docbullet.png);
382
+ margin-left: 20px;
383
+ margin-bottom: 20px;
384
+ }
385
+ a, a:visited {
386
+ color: #4AA021;
387
+ }
388
+ .methodname, .property {
389
+ font-weight: bold;
390
+ font-size: 16px;
391
+ }
392
+ .description {
393
+ margin-bottom: 8px;
394
+ }
395
+ dt.heading {
396
+ float: none;
397
+ font-weight: bold;
398
+ font-size: 14px;
399
+ background-image: none;
400
+ padding-left: 0;
401
+ }
402
+ dt, .returns dd {
403
+ clear: left;
404
+ float: left;
405
+ background: url(/img/docbullet.png) no-repeat left center ;
406
+ padding-left: 10px;
407
+ }
408
+ dt .light {
409
+ font-weight: bold;
410
+ }
411
+ dd {
412
+ float: left;
413
+ margin-left: 10px;
414
+ }
415
+ .parameters, .returns, .inheritsList, .detailList{
416
+ padding: 20px;
417
+ border: 1px solid #D7E3D1;
418
+ background-color: #F0F6EC;
419
+ margin: 10px 0 10px 0;
420
+ overflow: hidden;
421
+ }
422
+ .fixedFont {
423
+ margin-top: 20px;
424
+ }
425
+ .definedin,.extends {
426
+ font-style: italic;
427
+ display: block;
428
+ margin: 10px 0;
429
+ }
430
+ .definedin a, .extends a {
431
+ font-style: normal;
432
+ }
433
+
434
+ #documentation p {
435
+ margin: 10px 0 10px 0;
436
+ }
437
+ #documentation ul {
438
+ list-style-type: square;
439
+ }
440
+ #documentation ol {
441
+ list-style-type: decimal;
442
+
443
+ }
444
+ #documentation ol li , #documentation ul li {
445
+ margin-left: 18px;
446
+ margin-top: 10px;
447
+ }
448
+ code {
449
+ /* padding: 3px;*/
450
+ /* color: #fff;*/
451
+ /* background: #000;*/
452
+ background: rgba(0, 0, 0, 0.75);
453
+ /* -webkit-border-radius: 4px;*/
454
+ /* -moz-border-radius: 4px;*/
455
+ /* border-radius: 4px;*/
456
+ /* -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 1px 4px #000;*/
457
+ /* -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 1px 4px #000;*/
458
+ /* box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 1px 4px #000;*/
459
+ /* white-space: pre;*/
460
+ /* white-space: pre-wrap;*/
461
+ /* word-wrap: break-word;*/
462
+ }
463
+ /* Buttons */
464
+
465
+ .button {
466
+ display: inline-block;
467
+ border-width: 1px;
468
+ border-style: solid;
469
+ font-weight: bold;
470
+ text-transform: uppercase;
471
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
472
+ -webkit-border-radius: 4px;
473
+ -moz-border-radius: 4px;
474
+ border-radius: 4px;
475
+ }
476
+
477
+ .button.primary {
478
+ padding: 9px 15px;
479
+ font-size: 14px;
480
+ -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
481
+ -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
482
+ box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
483
+ }
484
+
485
+ .button.primary:active {
486
+ -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
487
+ -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
488
+ box-shadow: 0 0 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
489
+ }
490
+
491
+
492
+ .blue .button.primary {
493
+ border-color: #3e7fb4;
494
+ color: #29404f;
495
+ background: #73baf5;
496
+ background: -moz-linear-gradient(top, #a2d5ff, #83c3f7 50%, #73baf5 51%, #51a6ec);
497
+ background: -ms-linear-gradient(top, #a2d5ff, #83c3f7 50%, #73baf5 51%, #51a6ec);
498
+ background: -o-linear-gradient(top, #a2d5ff, #83c3f7 50%, #73baf5 51%, #51a6ec);
499
+ background: -webkit-gradient(linear, left top, left bottom, from(#a2d5ff), color-stop(50%, #83c3f7), color-stop(51%, #73baf5), to(#51a6ec));
500
+ background: -webkit-linear-gradient(top, #a2d5ff, #83c3f7 50%, #73baf5 51%, #51a6ec);
501
+ background: linear-gradient(top, #a2d5ff, #83c3f7 50%, #73baf5 51%, #51a6ec);
502
+ }
503
+
504
+ .blue .button.primary:hover {
505
+ background: #97d0ff;
506
+ background: -moz-linear-gradient(top, #97d0ff, #51a6ec);
507
+ background: -ms-linear-gradient(top, #97d0ff, #51a6ec);
508
+ background: -o-linear-gradient(top, #97d0ff, #51a6ec);
509
+ background: -webkit-gradient(linear, left top, left bottom, from(#97d0ff), to(#51a6ec));
510
+ background: -webkit-linear-gradient(top, #97d0ff, #51a6ec);
511
+ background: linear-gradient(top, #97d0ff, #51a6ec);
512
+ }
513
+
514
+ .blue .button.primary:active {
515
+ background: #51a6ec;
516
+ background: -moz-linear-gradient(top, #51a6ec, #97d0ff);
517
+ background: -ms-linear-gradient(top, #51a6ec, #97d0ff);
518
+ background: -o-linear-gradient(top, #51a6ec, #97d0ff);
519
+ background: -webkit-gradient(linear, left top, left bottom, from(#51a6ec), to(#97d0ff));
520
+ background: -webkit-linear-gradient(top, #51a6ec, #97d0ff);
521
+ background: linear-gradient(top, #51a6ec, #97d0ff);
522
+ }
523
+
524
+ .button.primary span {
525
+ padding-left: 26px;
526
+ background-repeat: no-repeat;
527
+ }
528
+
529
+ .blue .button.primary span {
530
+ background-position: 0 -36px;
531
+ }
532
+
533
+ a.button.secondary {
534
+ padding: 4px 15px;
535
+ border-color: #a8a8a8;
536
+ color: #606060;
537
+ font-size: 11px;
538
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
539
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
540
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
541
+ background: #d3d3d3;
542
+ background: -moz-linear-gradient(top, #ebebeb, #dbdbdb 50%, #d3d3d3 51%, #c3c3c3);
543
+ background: -ms-linear-gradient(top, #ebebeb, #dbdbdb 50%, #d3d3d3 51%, #c3c3c3);
544
+ background: -o-linear-gradient(top, #ebebeb, #dbdbdb 50%, #d3d3d3 51%, #c3c3c3);
545
+ background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), color-stop(50%, #dbdbdb), color-stop(51%, #d3d3d3), to(#c3c3c3));
546
+ background: -webkit-linear-gradient(top, #ebebeb, #dbdbdb 50%, #d3d3d3 51%, #c3c3c3);
547
+ background: linear-gradient(top, #ebebeb, #dbdbdb 50%, #d3d3d3 51%, #c3c3c3);
548
+ }
549
+
550
+ .button.secondary:hover {
551
+ background: #e7e7e7;
552
+ background: -moz-linear-gradient(top, #e7e7e7, #c3c3c3);
553
+ background: -ms-linear-gradient(top, #e7e7e7, #c3c3c3);
554
+ background: -o-linear-gradient(top, #e7e7e7, #c3c3c3);
555
+ background: -webkit-gradient(linear, left top, left bottom, from(#e7e7e7), to(#c3c3c3));
556
+ background: -webkit-linear-gradient(top, #e7e7e7, #c3c3c3);
557
+ background: linear-gradient(top, #e7e7e7, #c3c3c3);
558
+ }
559
+
560
+ .button.secondary:active {
561
+ background: #c3c3c3;
562
+ background: -moz-linear-gradient(top, #c3c3c3, #e7e7e7);
563
+ background: -ms-linear-gradient(top, #c3c3c3, #e7e7e7);
564
+ background: -o-linear-gradient(top, #c3c3c3, #e7e7e7);
565
+ background: -webkit-gradient(linear, left top, left bottom, from(#c3c3c3), to(#e7e7e7));
566
+ background: -webkit-linear-gradient(top, #c3c3c3, #e7e7e7);
567
+ background: linear-gradient(top, #c3c3c3, #e7e7e7);
568
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
569
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
570
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
571
+ }
572
+
573
+ .button.secondary.large {
574
+ line-height: 42px;
575
+ padding: 0 40px;
576
+ font-size: 16px;
577
+ }
578
+
579
+ .button.secondary.large .download-cloud {
580
+ padding-left: 34px;
581
+ background: url(../img/download_cloud.png) no-repeat;
582
+ }
583
+
584
+ /* Code */
585
+
586
+ pre,
587
+ code,
588
+ kbd,
589
+ samp {
590
+ font-family: monospace, sans-serif;
591
+ }
592
+
593
+ pre {
594
+ padding: 12px;
595
+ color: #fff;
596
+ background: #000;
597
+ background: rgba(0, 0, 0, 0.75);
598
+ -webkit-border-radius: 4px;
599
+ -moz-border-radius: 4px;
600
+ border-radius: 4px;
601
+ -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 1px 4px #000;
602
+ -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 1px 4px #000;
603
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 1px 4px #000;
604
+ white-space: pre;
605
+ white-space: pre-wrap;
606
+ word-wrap: break-word;
607
+ }
608
+
609
+ pre code { background: none; }
610
+ pre code, code { color: #fff;}
611
+ pre code .comment, code .comment { color: #726D73; }
612
+ pre code .const, pre.code .constant, code .const { color: #585CF6; }
613
+ pre code .symbol , code .symbol { color: #C5060B; }
614
+ pre code .class, pre code .number, code .number { color: #DA7E64; }
615
+ pre code .variable, pre code .this, code .variable { color: #889AB3; }
616
+ pre code .string , code .string { color: #A0AB82; }
617
+ pre code .keyword , code .keyword{ color: #D7B583; }
618
+ pre code .regexp code .regexp { color: #EEC981; }
619
+