rdoc 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rdoc might be problematic. Click here for more details.

Files changed (95) hide show
  1. data.tar.gz.sig +2 -0
  2. data/.document +4 -0
  3. data/History.txt +35 -0
  4. data/Manifest.txt +36 -15
  5. data/README.txt +11 -27
  6. data/Rakefile +3 -0
  7. data/lib/rdoc.rb +1 -1
  8. data/lib/rdoc/cache.rb +32 -0
  9. data/lib/rdoc/code_objects.rb +121 -59
  10. data/lib/rdoc/generator.rb +196 -133
  11. data/lib/rdoc/generator/darkfish.rb +471 -0
  12. data/lib/rdoc/generator/html.rb +71 -60
  13. data/lib/rdoc/generator/html/html.rb +115 -115
  14. data/lib/rdoc/generator/html/one_page_html.rb +56 -56
  15. data/lib/rdoc/generator/ri.rb +2 -0
  16. data/lib/rdoc/generator/template/darkfish/.document +0 -0
  17. data/lib/rdoc/generator/template/darkfish/classpage.rhtml +302 -0
  18. data/lib/rdoc/generator/template/darkfish/filepage.rhtml +114 -0
  19. data/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
  20. data/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  21. data/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
  22. data/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  23. data/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  24. data/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  25. data/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
  26. data/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
  27. data/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  28. data/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  29. data/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
  30. data/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  31. data/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  32. data/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  33. data/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  34. data/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  35. data/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  36. data/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  37. data/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  38. data/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  39. data/lib/rdoc/generator/template/darkfish/index.rhtml +57 -0
  40. data/lib/rdoc/generator/template/darkfish/js/darkfish.js +116 -0
  41. data/lib/rdoc/generator/template/darkfish/js/jquery.js +32 -0
  42. data/lib/rdoc/generator/template/darkfish/js/quicksearch.js +114 -0
  43. data/lib/rdoc/generator/template/darkfish/js/thickbox-compressed.js +10 -0
  44. data/lib/rdoc/generator/template/darkfish/rdoc.css +696 -0
  45. data/lib/rdoc/generator/xml.rb +19 -12
  46. data/lib/rdoc/generator/xml/rdf.rb +50 -50
  47. data/lib/rdoc/generator/xml/xml.rb +58 -58
  48. data/lib/rdoc/known_classes.rb +0 -1
  49. data/lib/rdoc/markup/preprocess.rb +4 -3
  50. data/lib/rdoc/markup/to_html.rb +4 -1
  51. data/lib/rdoc/markup/to_html_crossref.rb +28 -31
  52. data/lib/rdoc/options.rb +25 -20
  53. data/lib/rdoc/parser.rb +10 -2
  54. data/lib/rdoc/parser/c.rb +38 -29
  55. data/lib/rdoc/parser/f95.rb +32 -32
  56. data/lib/rdoc/parser/ruby.rb +5 -2
  57. data/lib/rdoc/parser/simple.rb +1 -0
  58. data/lib/rdoc/rdoc.rb +99 -47
  59. data/lib/rdoc/ri/cache.rb +6 -6
  60. data/lib/rdoc/ri/display.rb +22 -75
  61. data/lib/rdoc/ri/driver.rb +237 -78
  62. data/lib/rdoc/stats.rb +91 -28
  63. data/lib/rdoc/template.rb +6 -2
  64. data/test/test.ja.rdoc +8 -0
  65. data/test/test.ja.txt +8 -0
  66. data/test/test_attribute_manager.rb +9 -6
  67. data/test/test_rdoc_markup.rb +4 -2
  68. data/test/test_rdoc_markup_attribute_manager.rb +13 -3
  69. data/test/test_rdoc_markup_to_html.rb +18 -2
  70. data/test/test_rdoc_markup_to_html_crossref.rb +186 -249
  71. data/test/test_rdoc_parser.rb +17 -1
  72. data/test/test_rdoc_parser_c.rb +65 -10
  73. data/test/test_rdoc_parser_perl.rb +4 -2
  74. data/test/test_rdoc_parser_ruby.rb +6 -4
  75. data/test/test_rdoc_ri_attribute_formatter.rb +4 -2
  76. data/test/test_rdoc_ri_default_display.rb +8 -4
  77. data/test/test_rdoc_ri_driver.rb +4 -2
  78. data/test/test_rdoc_ri_formatter.rb +6 -4
  79. data/test/test_rdoc_ri_overstrike_formatter.rb +4 -2
  80. metadata +84 -33
  81. metadata.gz.sig +0 -0
  82. data/lib/rdoc/generator/chm.rb +0 -113
  83. data/lib/rdoc/generator/chm/chm.rb +0 -100
  84. data/lib/rdoc/generator/html/frameless.rb +0 -92
  85. data/lib/rdoc/generator/html/hefss.rb +0 -150
  86. data/lib/rdoc/generator/html/kilmer.rb +0 -151
  87. data/lib/rdoc/generator/html/kilmerfactory.rb +0 -427
  88. data/lib/rdoc/generator/texinfo.rb +0 -81
  89. data/lib/rdoc/generator/texinfo/class.texinfo.erb +0 -44
  90. data/lib/rdoc/generator/texinfo/file.texinfo.erb +0 -6
  91. data/lib/rdoc/generator/texinfo/method.texinfo.erb +0 -6
  92. data/lib/rdoc/generator/texinfo/texinfo.erb +0 -28
  93. data/test/rdoc_markup_to_html_crossref_reference.rb +0 -31
  94. data/test/test_rdoc_info_formatting.rb +0 -175
  95. data/test/test_rdoc_info_sections.rb +0 -136
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Thickbox 3 - One Box To Rule Them All.
3
+ * By Cody Lindley (http://www.codylindley.com)
4
+ * Copyright (c) 2007 cody lindley
5
+ * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
6
+ */
7
+
8
+ var tb_pathToImage = "../images/loadingAnimation.gif";
9
+
10
+ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(o).2S(9(){1u(\'a.18, 3n.18, 3i.18\');1w=1p 1t();1w.L=2H});9 1u(b){$(b).s(9(){6 t=X.Q||X.1v||M;6 a=X.u||X.23;6 g=X.1N||P;19(t,a,g);X.2E();H P})}9 19(d,f,g){3m{3(2t o.v.J.2i==="2g"){$("v","11").r({A:"28%",z:"28%"});$("11").r("22","2Z");3(o.1Y("1F")===M){$("v").q("<U 5=\'1F\'></U><4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}n{3(o.1Y("B")===M){$("v").q("<4 5=\'B\'></4><4 5=\'8\'></4>");$("#B").s(G)}}3(1K()){$("#B").1J("2B")}n{$("#B").1J("2z")}3(d===M){d=""}$("v").q("<4 5=\'K\'><1I L=\'"+1w.L+"\' /></4>");$(\'#K\').2y();6 h;3(f.O("?")!==-1){h=f.3l(0,f.O("?"))}n{h=f}6 i=/\\.2s$|\\.2q$|\\.2m$|\\.2l$|\\.2k$/;6 j=h.1C().2h(i);3(j==\'.2s\'||j==\'.2q\'||j==\'.2m\'||j==\'.2l\'||j==\'.2k\'){1D="";1G="";14="";1z="";1x="";R="";1n="";1r=P;3(g){E=$("a[@1N="+g+"]").36();25(D=0;((D<E.1c)&&(R===""));D++){6 k=E[D].u.1C().2h(i);3(!(E[D].u==f)){3(1r){1z=E[D].Q;1x=E[D].u;R="<1e 5=\'1X\'>&1d;&1d;<a u=\'#\'>2T &2R;</a></1e>"}n{1D=E[D].Q;1G=E[D].u;14="<1e 5=\'1U\'>&1d;&1d;<a u=\'#\'>&2O; 2N</a></1e>"}}n{1r=1b;1n="1t "+(D+1)+" 2L "+(E.1c)}}}S=1p 1t();S.1g=9(){S.1g=M;6 a=2x();6 x=a[0]-1M;6 y=a[1]-1M;6 b=S.z;6 c=S.A;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}13=b+30;1a=c+2G;$("#8").q("<a u=\'\' 5=\'1L\' Q=\'1o\'><1I 5=\'2F\' L=\'"+f+"\' z=\'"+b+"\' A=\'"+c+"\' 23=\'"+d+"\'/></a>"+"<4 5=\'2D\'>"+d+"<4 5=\'2C\'>"+1n+14+R+"</4></4><4 5=\'2A\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4>");$("#Z").s(G);3(!(14==="")){9 12(){3($(o).N("s",12)){$(o).N("s",12)}$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1D,1G,g);H P}$("#1U").s(12)}3(!(R==="")){9 1i(){$("#8").C();$("v").q("<4 5=\'8\'></4>");19(1z,1x,g);H P}$("#1X").s(1i)}o.1h=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}n 3(I==3k){3(!(R=="")){o.1h="";1i()}}n 3(I==3j){3(!(14=="")){o.1h="";12()}}};16();$("#K").C();$("#1L").s(G);$("#8").r({Y:"T"})};S.L=f}n{6 l=f.2r(/^[^\\?]+\\??/,\'\');6 m=2p(l);13=(m[\'z\']*1)+30||3h;1a=(m[\'A\']*1)+3g||3f;W=13-30;V=1a-3e;3(f.O(\'2j\')!=-1){1E=f.1B(\'3d\');$("#15").C();3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\' Q=\'1o\'>1l</a> 1k 1j 1s</4></4><U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\' > </U>")}n{$("#B").N();$("#8").q("<U 1W=\'0\' 2d=\'0\' L=\'"+1E[0]+"\' 5=\'15\' 1v=\'15"+1f.2c(1f.1y()*2b)+"\' 1g=\'1m()\' J=\'z:"+(W+29)+"p;A:"+(V+17)+"p;\'> </U>")}}n{3($("#8").r("Y")!="T"){3(m[\'1A\']!="1b"){$("#8").q("<4 5=\'2f\'><4 5=\'1H\'>"+d+"</4><4 5=\'2e\'><a u=\'#\' 5=\'Z\'>1l</a> 1k 1j 1s</4></4><4 5=\'F\' J=\'z:"+W+"p;A:"+V+"p\'></4>")}n{$("#B").N();$("#8").q("<4 5=\'F\' 3c=\'3b\' J=\'z:"+W+"p;A:"+V+"p;\'></4>")}}n{$("#F")[0].J.z=W+"p";$("#F")[0].J.A=V+"p";$("#F")[0].3a=0;$("#1H").11(d)}}$("#Z").s(G);3(f.O(\'37\')!=-1){$("#F").q($(\'#\'+m[\'26\']).1T());$("#8").24(9(){$(\'#\'+m[\'26\']).q($("#F").1T())});16();$("#K").C();$("#8").r({Y:"T"})}n 3(f.O(\'2j\')!=-1){16();3($.1q.35){$("#K").C();$("#8").r({Y:"T"})}}n{$("#F").34(f+="&1y="+(1p 33().32()),9(){16();$("#K").C();1u("#F a.18");$("#8").r({Y:"T"})})}}3(!m[\'1A\']){o.21=9(e){3(e==M){I=2w.2v}n{I=e.2u}3(I==27){G()}}}}31(e){}}9 1m(){$("#K").C();$("#8").r({Y:"T"})}9 G(){$("#2Y").N("s");$("#Z").N("s");$("#8").2X("2W",9(){$(\'#8,#B,#1F\').2V("24").N().C()});$("#K").C();3(2t o.v.J.2i=="2g"){$("v","11").r({A:"1Z",z:"1Z"});$("11").r("22","")}o.1h="";o.21="";H P}9 16(){$("#8").r({2U:\'-\'+20((13/2),10)+\'p\',z:13+\'p\'});3(!(1V.1q.2Q&&1V.1q.2P<7)){$("#8").r({38:\'-\'+20((1a/2),10)+\'p\'})}}9 2p(a){6 b={};3(!a){H b}6 c=a.1B(/[;&]/);25(6 i=0;i<c.1c;i++){6 d=c[i].1B(\'=\');3(!d||d.1c!=2){39}6 e=2a(d[0]);6 f=2a(d[1]);f=f.2r(/\\+/g,\' \');b[e]=f}H b}9 2x(){6 a=o.2M;6 w=1S.2o||1R.2o||(a&&a.1Q)||o.v.1Q;6 h=1S.1P||1R.1P||(a&&a.2n)||o.v.2n;1O=[w,h];H 1O}9 1K(){6 a=2K.2J.1C();3(a.O(\'2I\')!=-1&&a.O(\'3o\')!=-1){H 1b}}',62,211,'|||if|div|id|var||TB_window|function||||||||||||||else|document|px|append|css|click||href|body||||width|height|TB_overlay|remove|TB_Counter|TB_TempArray|TB_ajaxContent|tb_remove|return|keycode|style|TB_load|src|null|unbind|indexOf|false|title|TB_NextHTML|imgPreloader|block|iframe|ajaxContentH|ajaxContentW|this|display|TB_closeWindowButton||html|goPrev|TB_WIDTH|TB_PrevHTML|TB_iframeContent|tb_position||thickbox|tb_show|TB_HEIGHT|true|length|nbsp|span|Math|onload|onkeydown|goNext|Esc|or|close|tb_showIframe|TB_imageCount|Close|new|browser|TB_FoundURL|Key|Image|tb_init|name|imgLoader|TB_NextURL|random|TB_NextCaption|modal|split|toLowerCase|TB_PrevCaption|urlNoQuery|TB_HideSelect|TB_PrevURL|TB_ajaxWindowTitle|img|addClass|tb_detectMacXFF|TB_ImageOff|150|rel|arrayPageSize|innerHeight|clientWidth|self|window|children|TB_prev|jQuery|frameborder|TB_next|getElementById|auto|parseInt|onkeyup|overflow|alt|unload|for|inlineId||100||unescape|1000|round|hspace|TB_closeAjaxWindow|TB_title|undefined|match|maxHeight|TB_iframe|bmp|gif|png|clientHeight|innerWidth|tb_parseQuery|jpeg|replace|jpg|typeof|which|keyCode|event|tb_getPageSize|show|TB_overlayBG|TB_closeWindow|TB_overlayMacFFBGHack|TB_secondLine|TB_caption|blur|TB_Image|60|tb_pathToImage|mac|userAgent|navigator|of|documentElement|Prev|lt|version|msie|gt|ready|Next|marginLeft|trigger|fast|fadeOut|TB_imageOff|hidden||catch|getTime|Date|load|safari|get|TB_inline|marginTop|continue|scrollTop|TB_modal|class|TB_|45|440|40|630|input|188|190|substr|try|area|firefox'.split('|'),0,{}))
@@ -0,0 +1,696 @@
1
+ /*
2
+ * "Darkfish" Rdoc CSS
3
+ * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
4
+ *
5
+ * Author: Michael Granger <ged@FaerieMUD.org>
6
+ *
7
+ */
8
+
9
+ /* Base Green is: #6C8C22 */
10
+
11
+ *{ padding: 0; margin: 0; }
12
+
13
+ body {
14
+ background: #efefef;
15
+ font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
16
+ }
17
+ body.class, body.module, body.file {
18
+ margin-left: 40px;
19
+ }
20
+ body.file-popup {
21
+ font-size: 90%;
22
+ margin-left: 0;
23
+ }
24
+
25
+ h1 {
26
+ font-size: 300%;
27
+ text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
28
+ color: #6C8C22;
29
+ }
30
+ h2,h3,h4 { margin-top: 1.5em; }
31
+
32
+ a {
33
+ color: #6C8C22;
34
+ text-decoration: none;
35
+ }
36
+ a:hover {
37
+ border-bottom: 1px dotted #6C8C22;
38
+ }
39
+
40
+ pre {
41
+ background: #ddd;
42
+ padding: 0.5em 0;
43
+ }
44
+
45
+
46
+ /* @group Generic Classes */
47
+
48
+ .initially-hidden {
49
+ display: none;
50
+ }
51
+
52
+ .quicksearch-field {
53
+ width: 98%;
54
+ background: #ddd;
55
+ border: 1px solid #aaa;
56
+ height: 1.5em;
57
+ -webkit-border-radius: 4px;
58
+ }
59
+ .quicksearch-field:focus {
60
+ background: #f1edba;
61
+ }
62
+
63
+ .missing-docs {
64
+ font-size: 120%;
65
+ background: white url(images/wrench_orange.png) no-repeat 4px center;
66
+ color: #ccc;
67
+ line-height: 2em;
68
+ border: 1px solid #d00;
69
+ opacity: 1;
70
+ padding-left: 20px;
71
+ text-indent: 24px;
72
+ letter-spacing: 3px;
73
+ font-weight: bold;
74
+ -webkit-border-radius: 5px;
75
+ -moz-border-radius: 5px;
76
+ }
77
+
78
+ .target-section {
79
+ border: 2px solid #dcce90;
80
+ border-left-width: 8px;
81
+ padding: 0 1em;
82
+ background: #fff3c2;
83
+ }
84
+
85
+ /* @end */
86
+
87
+
88
+ /* @group Index Page, Standalone file pages */
89
+ body.indexpage {
90
+ margin: 1em 3em;
91
+ }
92
+ body.indexpage p,
93
+ body.indexpage div,
94
+ body.file p {
95
+ margin: 1em 0;
96
+ }
97
+
98
+ .indexpage ul,
99
+ .file #documentation ul {
100
+ line-height: 160%;
101
+ list-style: none;
102
+ }
103
+ .indexpage ul a,
104
+ .file #documentation ul a {
105
+ font-size: 16px;
106
+ }
107
+
108
+ .indexpage li,
109
+ .file #documentation li {
110
+ padding-left: 20px;
111
+ background: url(images/bullet_black.png) no-repeat left 4px;
112
+ }
113
+ .indexpage li.module {
114
+ background: url(images/package.png) no-repeat left 4px;
115
+ }
116
+ .indexpage li.class {
117
+ background: url(images/ruby.png) no-repeat left 4px;
118
+ }
119
+ .indexpage li.file {
120
+ background: url(images/page_white_text.png) no-repeat left 4px;
121
+ }
122
+
123
+ /* @end */
124
+
125
+ /* @group Top-Level Structure */
126
+
127
+ .class #metadata,
128
+ .file #metadata,
129
+ .module #metadata {
130
+ float: left;
131
+ width: 260px;
132
+ }
133
+
134
+ .class #documentation,
135
+ .file #documentation,
136
+ .module #documentation {
137
+ margin: 2em 1em 5em 300px;
138
+ min-width: 340px;
139
+ }
140
+
141
+ .file #metadata {
142
+ margin: 0.8em;
143
+ }
144
+
145
+ #validator-badges {
146
+ clear: both;
147
+ margin: 1em 1em 2em;
148
+ }
149
+
150
+ /* @end */
151
+
152
+ /* @group Metadata Section */
153
+ #metadata .section {
154
+ background-color: #dedede;
155
+ -moz-border-radius: 5px;
156
+ -webkit-border-radius: 5px;
157
+ border: 1px solid #aaa;
158
+ margin: 0 8px 16px;
159
+ font-size: 90%;
160
+ overflow: hidden;
161
+ }
162
+ #metadata h3.section-header {
163
+ margin: 0;
164
+ padding: 2px 8px;
165
+ background: #ccc;
166
+ color: #666;
167
+ -moz-border-radius-topleft: 4px;
168
+ -moz-border-radius-topright: 4px;
169
+ -webkit-border-top-left-radius: 4px;
170
+ -webkit-border-top-right-radius: 4px;
171
+ border-bottom: 1px solid #aaa;
172
+ }
173
+ #metadata ul,
174
+ #metadata dl,
175
+ #metadata p {
176
+ padding: 8px;
177
+ list-style: none;
178
+ }
179
+
180
+ #file-metadata ul {
181
+ padding-left: 28px;
182
+ list-style-image: url(images/page_green.png);
183
+ }
184
+
185
+ dl.svninfo {
186
+ color: #666;
187
+ margin: 0;
188
+ }
189
+ dl.svninfo dt {
190
+ font-weight: bold;
191
+ }
192
+
193
+ ul.link-list li {
194
+ white-space: nowrap;
195
+ }
196
+ ul.link-list .type {
197
+ font-size: 8px;
198
+ text-transform: uppercase;
199
+ color: white;
200
+ background: #969696;
201
+ padding: 2px 4px;
202
+ -webkit-border-radius: 5px;
203
+ }
204
+
205
+ /* @end */
206
+
207
+
208
+ /* @group Project Metadata Section */
209
+ #project-metadata {
210
+ margin-top: 3em;
211
+ }
212
+
213
+ .file #project-metadata {
214
+ margin-top: 0em;
215
+ }
216
+
217
+ #project-metadata .section {
218
+ border: 1px solid #aaa;
219
+ }
220
+ #project-metadata h3.section-header {
221
+ border-bottom: 1px solid #aaa;
222
+ position: relative;
223
+ }
224
+ #project-metadata h3.section-header .search-toggle {
225
+ position: absolute;
226
+ right: 5px;
227
+ }
228
+
229
+
230
+ #project-metadata form {
231
+ color: #777;
232
+ background: #ccc;
233
+ padding: 8px 8px 16px;
234
+ border-bottom: 1px solid #bbb;
235
+ }
236
+ #project-metadata fieldset {
237
+ border: 0;
238
+ }
239
+
240
+ #no-class-search-results {
241
+ margin: 0 auto 1em;
242
+ text-align: center;
243
+ font-size: 14px;
244
+ font-weight: bold;
245
+ color: #aaa;
246
+ }
247
+
248
+ /* @end */
249
+
250
+
251
+ /* @group Documentation Section */
252
+ #description {
253
+ font-size: 100%;
254
+ color: #333;
255
+ }
256
+
257
+ #description p {
258
+ margin: 1em 0.4em;
259
+ }
260
+
261
+ #description ul {
262
+ margin-left: 2em;
263
+ }
264
+ #description ul li {
265
+ line-height: 1.4em;
266
+ }
267
+
268
+ #description dl,
269
+ #documentation dl {
270
+ margin: 8px 1.5em;
271
+ border: 1px solid #ccc;
272
+ }
273
+ #description dl {
274
+ font-size: 14px;
275
+ }
276
+
277
+ #description dt,
278
+ #documentation dt {
279
+ padding: 2px 4px;
280
+ font-weight: bold;
281
+ background: #ddd;
282
+ }
283
+ #description dd,
284
+ #documentation dd {
285
+ padding: 2px 12px;
286
+ }
287
+ #description dd + dt,
288
+ #documentation dd + dt {
289
+ margin-top: 0.7em;
290
+ }
291
+
292
+ #documentation .section {
293
+ font-size: 90%;
294
+ }
295
+ #documentation h3.section-header {
296
+ margin-top: 2em;
297
+ padding: 0.75em 0.5em;
298
+ background-color: #dedede;
299
+ color: #333;
300
+ font-size: 150%;
301
+ border: 1px solid #bbb;
302
+ -moz-border-radius: 3px;
303
+ -webkit-border-radius: 3px;
304
+ }
305
+
306
+ #constants-list > dl,
307
+ #attributes-list > dl {
308
+ margin: 1em 0 2em;
309
+ border: 0;
310
+ }
311
+ #constants-list > dl dt,
312
+ #attributes-list > dl dt {
313
+ padding-left: 0;
314
+ font-weight: bold;
315
+ font-family: Monaco, "Andale Mono";
316
+ background: inherit;
317
+ }
318
+ #constants-list > dl dt a,
319
+ #attributes-list > dl dt a {
320
+ color: inherit;
321
+ }
322
+ #constants-list > dl dd,
323
+ #attributes-list > dl dd {
324
+ margin: 0 0 1em 0;
325
+ padding: 0;
326
+ color: #666;
327
+ }
328
+
329
+ /* @group Method Details */
330
+
331
+ #documentation .method-source-code {
332
+ display: none;
333
+ }
334
+
335
+ #documentation .method-detail {
336
+ margin: 0.5em 0;
337
+ padding: 0.5em 0;
338
+ cursor: pointer;
339
+ }
340
+ #documentation .method-detail:hover {
341
+ background-color: #f1edba;
342
+ }
343
+ #documentation .method-alias {
344
+ font-style: oblique;
345
+ }
346
+ #documentation .method-heading {
347
+ position: relative;
348
+ padding: 2px 4px 0 20px;
349
+ font-size: 125%;
350
+ font-weight: bold;
351
+ color: #333;
352
+ background: url(images/brick.png) no-repeat left bottom;
353
+ }
354
+ #documentation .method-heading a {
355
+ color: inherit;
356
+ }
357
+ #documentation .method-click-advice {
358
+ position: absolute;
359
+ top: 2px;
360
+ right: 5px;
361
+ font-size: 10px;
362
+ color: #9b9877;
363
+ visibility: hidden;
364
+ padding-right: 20px;
365
+ line-height: 20px;
366
+ background: url(images/zoom.png) no-repeat right top;
367
+ }
368
+ #documentation .method-detail:hover .method-click-advice {
369
+ visibility: visible;
370
+ }
371
+
372
+ #documentation .method-alias .method-heading {
373
+ color: #666;
374
+ background: url(images/brick_link.png) no-repeat left bottom;
375
+ }
376
+
377
+ #documentation .method-description,
378
+ #documentation .aliases {
379
+ margin: 0 20px;
380
+ line-height: 1.2em;
381
+ color: #666;
382
+ }
383
+ #documentation .aliases {
384
+ padding-top: 4px;
385
+ font-style: italic;
386
+ cursor: default;
387
+ }
388
+ #documentation .method-description p {
389
+ padding: 0;
390
+ }
391
+ #documentation .method-description p + p {
392
+ margin-bottom: 0.5em;
393
+ }
394
+
395
+ #documentation .attribute-method-heading {
396
+ background: url(images/tag_green.png) no-repeat left bottom;
397
+ }
398
+ #documentation #attribute-method-details .method-detail:hover {
399
+ background-color: transparent;
400
+ cursor: default;
401
+ }
402
+ #documentation .attribute-access-type {
403
+ font-size: 60%;
404
+ text-transform: uppercase;
405
+ vertical-align: super;
406
+ padding: 0 2px;
407
+ }
408
+ /* @end */
409
+
410
+ /* @end */
411
+
412
+
413
+
414
+ /* @group Source Code */
415
+
416
+ a.source-toggle {
417
+ font-size: 90%;
418
+ }
419
+ a.source-toggle img {
420
+
421
+ }
422
+
423
+ div.method-source-code {
424
+ background: #262626;
425
+ color: #efefef;
426
+ margin: 1em;
427
+ padding: 0.5em;
428
+ border: 1px dashed #999;
429
+ overflow: hidden;
430
+ }
431
+
432
+ div.method-source-code pre {
433
+ background: inherit;
434
+ padding: 0;
435
+ color: white;
436
+ overflow: hidden;
437
+ }
438
+
439
+ /* @group Ruby keyword styles */
440
+
441
+ .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
442
+
443
+ .ruby-constant { color: #7fffd4; background: transparent; }
444
+ .ruby-keyword { color: #00ffff; background: transparent; }
445
+ .ruby-ivar { color: #eedd82; background: transparent; }
446
+ .ruby-operator { color: #00ffee; background: transparent; }
447
+ .ruby-identifier { color: #ffdead; background: transparent; }
448
+ .ruby-node { color: #ffa07a; background: transparent; }
449
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
450
+ .ruby-regexp { color: #ffa07a; background: transparent; }
451
+ .ruby-value { color: #7fffd4; background: transparent; }
452
+
453
+ /* @end */
454
+ /* @end */
455
+
456
+
457
+ /* @group File Popup Contents */
458
+
459
+ .file #metadata,
460
+ .file-popup #metadata {
461
+ }
462
+
463
+ .file-popup dl {
464
+ font-size: 80%;
465
+ padding: 0.75em;
466
+ background-color: #dedede;
467
+ color: #333;
468
+ border: 1px solid #bbb;
469
+ -moz-border-radius: 3px;
470
+ -webkit-border-radius: 3px;
471
+ }
472
+ .file dt {
473
+ font-weight: bold;
474
+ padding-left: 22px;
475
+ line-height: 20px;
476
+ background: url(images/page_white_width.png) no-repeat left top;
477
+ }
478
+ .file dt.modified-date {
479
+ background: url(images/date.png) no-repeat left top;
480
+ }
481
+ .file dt.requires {
482
+ background: url(images/plugin.png) no-repeat left top;
483
+ }
484
+ .file dt.scs-url {
485
+ background: url(images/wrench.png) no-repeat left top;
486
+ }
487
+
488
+ .file dl dd {
489
+ margin: 0 0 1em 0;
490
+ }
491
+ .file #metadata dl dd ul {
492
+ list-style: circle;
493
+ margin-left: 20px;
494
+ padding-top: 0;
495
+ }
496
+ .file #metadata dl dd ul li {
497
+ }
498
+
499
+
500
+ .file h2 {
501
+ margin-top: 2em;
502
+ padding: 0.75em 0.5em;
503
+ background-color: #dedede;
504
+ color: #333;
505
+ font-size: 120%;
506
+ border: 1px solid #bbb;
507
+ -moz-border-radius: 3px;
508
+ -webkit-border-radius: 3px;
509
+ }
510
+
511
+ /* @end */
512
+
513
+
514
+
515
+
516
+ /* @group ThickBox Styles */
517
+ #TB_window {
518
+ font: 12px Arial, Helvetica, sans-serif;
519
+ color: #333333;
520
+ }
521
+
522
+ #TB_secondLine {
523
+ font: 10px Arial, Helvetica, sans-serif;
524
+ color:#666666;
525
+ }
526
+
527
+ #TB_window a:link {color: #666666;}
528
+ #TB_window a:visited {color: #666666;}
529
+ #TB_window a:hover {color: #000;}
530
+ #TB_window a:active {color: #666666;}
531
+ #TB_window a:focus{color: #666666;}
532
+
533
+ #TB_overlay {
534
+ position: fixed;
535
+ z-index:100;
536
+ top: 0px;
537
+ left: 0px;
538
+ height:100%;
539
+ width:100%;
540
+ }
541
+
542
+ .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
543
+ .TB_overlayBG {
544
+ background-color:#000;
545
+ filter:alpha(opacity=75);
546
+ -moz-opacity: 0.75;
547
+ opacity: 0.75;
548
+ }
549
+
550
+ * html #TB_overlay { /* ie6 hack */
551
+ position: absolute;
552
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
553
+ }
554
+
555
+ #TB_window {
556
+ position: fixed;
557
+ background: #ffffff;
558
+ z-index: 102;
559
+ color:#000000;
560
+ display:none;
561
+ border: 4px solid #525252;
562
+ text-align:left;
563
+ top:50%;
564
+ left:50%;
565
+ }
566
+
567
+ * html #TB_window { /* ie6 hack */
568
+ position: absolute;
569
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
570
+ }
571
+
572
+ #TB_window img#TB_Image {
573
+ display:block;
574
+ margin: 15px 0 0 15px;
575
+ border-right: 1px solid #ccc;
576
+ border-bottom: 1px solid #ccc;
577
+ border-top: 1px solid #666;
578
+ border-left: 1px solid #666;
579
+ }
580
+
581
+ #TB_caption{
582
+ height:25px;
583
+ padding:7px 30px 10px 25px;
584
+ float:left;
585
+ }
586
+
587
+ #TB_closeWindow{
588
+ height:25px;
589
+ padding:11px 25px 10px 0;
590
+ float:right;
591
+ }
592
+
593
+ #TB_closeAjaxWindow{
594
+ padding:7px 10px 5px 0;
595
+ margin-bottom:1px;
596
+ text-align:right;
597
+ float:right;
598
+ }
599
+
600
+ #TB_ajaxWindowTitle{
601
+ float:left;
602
+ padding:7px 0 5px 10px;
603
+ margin-bottom:1px;
604
+ font-size: 22px;
605
+ }
606
+
607
+ #TB_title{
608
+ background-color: #6C8C22;
609
+ color: #dedede;
610
+ height:40px;
611
+ }
612
+ #TB_title a {
613
+ color: white !important;
614
+ border-bottom: 1px dotted #dedede;
615
+ }
616
+
617
+ #TB_ajaxContent{
618
+ clear:both;
619
+ padding:2px 15px 15px 15px;
620
+ overflow:auto;
621
+ text-align:left;
622
+ line-height:1.4em;
623
+ }
624
+
625
+ #TB_ajaxContent.TB_modal{
626
+ padding:15px;
627
+ }
628
+
629
+ #TB_ajaxContent p{
630
+ padding:5px 0px 5px 0px;
631
+ }
632
+
633
+ #TB_load{
634
+ position: fixed;
635
+ display:none;
636
+ height:13px;
637
+ width:208px;
638
+ z-index:103;
639
+ top: 50%;
640
+ left: 50%;
641
+ margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
642
+ }
643
+
644
+ * html #TB_load { /* ie6 hack */
645
+ position: absolute;
646
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
647
+ }
648
+
649
+ #TB_HideSelect{
650
+ z-index:99;
651
+ position:fixed;
652
+ top: 0;
653
+ left: 0;
654
+ background-color:#fff;
655
+ border:none;
656
+ filter:alpha(opacity=0);
657
+ -moz-opacity: 0;
658
+ opacity: 0;
659
+ height:100%;
660
+ width:100%;
661
+ }
662
+
663
+ * html #TB_HideSelect { /* ie6 hack */
664
+ position: absolute;
665
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
666
+ }
667
+
668
+ #TB_iframeContent{
669
+ clear:both;
670
+ border:none;
671
+ margin-bottom:-1px;
672
+ margin-top:1px;
673
+ _margin-bottom:1px;
674
+ }
675
+
676
+ /* @end */
677
+
678
+ /* @group Debugging Section */
679
+
680
+ #debugging-toggle {
681
+ text-align: center;
682
+ }
683
+ #debugging-toggle img {
684
+ cursor: pointer;
685
+ }
686
+
687
+ #rdoc-debugging-section-dump {
688
+ display: none;
689
+ margin: 0 2em 2em;
690
+ background: #ccc;
691
+ border: 1px solid #999;
692
+ }
693
+
694
+
695
+
696
+ /* @end */