rdoc_chm 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/History.txt +24 -0
  2. data/Manifest.txt +41 -7
  3. data/README.rdoc +40 -0
  4. data/Rakefile +43 -22
  5. data/lib/rdoc/generator/chm.rb +71 -65
  6. data/lib/rdoc/generator/template/chm/.document +0 -0
  7. data/lib/rdoc/generator/template/chm/chm_index.rhtml +27 -0
  8. data/lib/rdoc/generator/template/chm/classindex.rhtml +28 -0
  9. data/lib/rdoc/generator/template/chm/classpage.rhtml +204 -0
  10. data/lib/rdoc/generator/template/chm/contents.rhtml +53 -0
  11. data/lib/rdoc/generator/template/chm/fileindex.rhtml +31 -0
  12. data/lib/rdoc/generator/template/chm/filepage.rhtml +74 -0
  13. data/lib/rdoc/generator/template/chm/hpp_file.rhtml +18 -0
  14. data/lib/rdoc/generator/template/chm/images/brick.png +0 -0
  15. data/lib/rdoc/generator/template/chm/images/brick_link.png +0 -0
  16. data/lib/rdoc/generator/template/chm/images/bug.png +0 -0
  17. data/lib/rdoc/generator/template/chm/images/bullet_black.png +0 -0
  18. data/lib/rdoc/generator/template/chm/images/bullet_toggle_minus.png +0 -0
  19. data/lib/rdoc/generator/template/chm/images/bullet_toggle_plus.png +0 -0
  20. data/lib/rdoc/generator/template/chm/images/date.png +0 -0
  21. data/lib/rdoc/generator/template/chm/images/find.png +0 -0
  22. data/lib/rdoc/generator/template/chm/images/loadingAnimation.gif +0 -0
  23. data/lib/rdoc/generator/template/chm/images/macFFBgHack.png +0 -0
  24. data/lib/rdoc/generator/template/chm/images/package.png +0 -0
  25. data/lib/rdoc/generator/template/chm/images/page_green.png +0 -0
  26. data/lib/rdoc/generator/template/chm/images/page_white_text.png +0 -0
  27. data/lib/rdoc/generator/template/chm/images/page_white_width.png +0 -0
  28. data/lib/rdoc/generator/template/chm/images/plugin.png +0 -0
  29. data/lib/rdoc/generator/template/chm/images/ruby.png +0 -0
  30. data/lib/rdoc/generator/template/chm/images/tag_green.png +0 -0
  31. data/lib/rdoc/generator/template/chm/images/wrench.png +0 -0
  32. data/lib/rdoc/generator/template/chm/images/wrench_orange.png +0 -0
  33. data/lib/rdoc/generator/template/chm/images/zoom.png +0 -0
  34. data/lib/rdoc/generator/template/chm/index.rhtml +89 -0
  35. data/lib/rdoc/generator/template/chm/js/darkfish.js +116 -0
  36. data/lib/rdoc/generator/template/chm/js/jquery.js +32 -0
  37. data/lib/rdoc/generator/template/chm/js/quicksearch.js +114 -0
  38. data/lib/rdoc/generator/template/chm/js/thickbox-compressed.js +10 -0
  39. data/lib/rdoc/generator/template/chm/rdoc.css +698 -0
  40. metadata +51 -36
  41. data.tar.gz.sig +0 -0
  42. data/README.txt +0 -35
  43. data/lib/rdoc/generator/chm/chm.rb +0 -100
  44. metadata.gz.sig +0 -0
@@ -0,0 +1,114 @@
1
+ /**
2
+ *
3
+ * JQuery QuickSearch - Hook up a form field to hide non-matching elements.
4
+ * $Id: quicksearch.js 53 2009-01-07 02:52:03Z deveiant $
5
+ *
6
+ * Author: Michael Granger <mgranger@laika.com>
7
+ *
8
+ */
9
+ jQuery.fn.quicksearch = function( target, searchElems, options ) {
10
+ // console.debug( "Quicksearch fn" );
11
+
12
+ var settings = {
13
+ delay: 250,
14
+ clearButton: false,
15
+ highlightMatches: false,
16
+ focusOnLoad: false,
17
+ noSearchResultsIndicator: null
18
+ };
19
+ if ( options ) $.extend( settings, options );
20
+
21
+ return jQuery(this).each( function() {
22
+ // console.debug( "Creating a new quicksearch on %o for %o", this, searchElems );
23
+ new jQuery.quicksearch( this, searchElems, settings );
24
+ });
25
+ };
26
+
27
+
28
+ jQuery.quicksearch = function( searchBox, searchElems, settings ) {
29
+ var timeout;
30
+ var boxdiv = $(searchBox).parents('div').eq(0);
31
+
32
+ function init() {
33
+ setupKeyEventHandlers();
34
+ focusOnLoad();
35
+ };
36
+
37
+ function setupKeyEventHandlers() {
38
+ // console.debug( "Hooking up the 'keypress' event to %o", searchBox );
39
+ $(searchBox).
40
+ unbind( 'keyup' ).
41
+ keyup( function(e) { return onSearchKey( e.keyCode ); });
42
+ $(searchBox).
43
+ unbind( 'keypress' ).
44
+ keypress( function(e) {
45
+ switch( e.which ) {
46
+ // Execute the search on Enter, Tab, or Newline
47
+ case 9:
48
+ case 13:
49
+ case 10:
50
+ clearTimeout( timeout );
51
+ e.preventDefault();
52
+ doQuickSearch();
53
+ break;
54
+
55
+ // Allow backspace
56
+ case 8:
57
+ return true;
58
+ break;
59
+
60
+ // Only allow valid search characters
61
+ default:
62
+ return validQSChar( e.charCode );
63
+ }
64
+ });
65
+ };
66
+
67
+ function focusOnLoad() {
68
+ if ( !settings.focusOnLoad ) return false;
69
+ $(searchBox).focus();
70
+ };
71
+
72
+ function onSearchKey ( code ) {
73
+ clearTimeout( timeout );
74
+ // console.debug( "...scheduling search." );
75
+ timeout = setTimeout( doQuickSearch, settings.delay );
76
+ };
77
+
78
+ function validQSChar( code ) {
79
+ var c = String.fromCharCode( code );
80
+ return (
81
+ (c == ':') ||
82
+ (c >= 'a' && c <= 'z') ||
83
+ (c >= 'A' && c <= 'Z')
84
+ );
85
+ };
86
+
87
+ function doQuickSearch() {
88
+ var searchText = searchBox.value;
89
+ var pat = new RegExp( searchText, "im" );
90
+ var shownCount = 0;
91
+
92
+ if ( settings.noSearchResultsIndicator ) {
93
+ $('#' + settings.noSearchResultsIndicator).hide();
94
+ }
95
+
96
+ // All elements start out hidden
97
+ $(searchElems).each( function(index) {
98
+ var str = $(this).text();
99
+
100
+ if ( pat.test(str) ) {
101
+ shownCount += 1;
102
+ $(this).fadeIn();
103
+ } else {
104
+ $(this).hide();
105
+ }
106
+ });
107
+
108
+ if ( shownCount == 0 && settings.noSearchResultsIndicator ) {
109
+ $('#' + settings.noSearchResultsIndicator).slideDown();
110
+ }
111
+ };
112
+
113
+ init();
114
+ };
@@ -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,698 @@
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 5em;
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: #262626;
434
+ padding: 0;
435
+ color: white;
436
+ overflow: hidden;
437
+ }
438
+ IMG.hidden {
439
+ display: none;
440
+ }
441
+ /* @group Ruby keyword styles */
442
+
443
+ .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
444
+
445
+ .ruby-constant { color: #7fffd4; background: transparent; }
446
+ .ruby-keyword { color: #00ffff; background: transparent; }
447
+ .ruby-ivar { color: #eedd82; background: transparent; }
448
+ .ruby-operator { color: #00ffee; background: transparent; }
449
+ .ruby-identifier { color: #ffdead; background: transparent; }
450
+ .ruby-node { color: #ffa07a; background: transparent; }
451
+ .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
452
+ .ruby-regexp { color: #ffa07a; background: transparent; }
453
+ .ruby-value { color: #7fffd4; background: transparent; }
454
+
455
+ /* @end */
456
+ /* @end */
457
+
458
+
459
+ /* @group File Popup Contents */
460
+
461
+ .file #metadata,
462
+ .file-popup #metadata {
463
+ }
464
+
465
+ .file-popup dl {
466
+ font-size: 80%;
467
+ padding: 0.75em;
468
+ background-color: #dedede;
469
+ color: #333;
470
+ border: 1px solid #bbb;
471
+ -moz-border-radius: 3px;
472
+ -webkit-border-radius: 3px;
473
+ }
474
+ .file dt {
475
+ font-weight: bold;
476
+ padding-left: 22px;
477
+ line-height: 20px;
478
+ background: url(images/page_white_width.png) no-repeat left top;
479
+ }
480
+ .file dt.modified-date {
481
+ background: url(images/date.png) no-repeat left top;
482
+ }
483
+ .file dt.requires {
484
+ background: url(images/plugin.png) no-repeat left top;
485
+ }
486
+ .file dt.scs-url {
487
+ background: url(images/wrench.png) no-repeat left top;
488
+ }
489
+
490
+ .file dl dd {
491
+ margin: 0 0 1em 0;
492
+ }
493
+ .file #metadata dl dd ul {
494
+ list-style: circle;
495
+ margin-left: 20px;
496
+ padding-top: 0;
497
+ }
498
+ .file #metadata dl dd ul li {
499
+ }
500
+
501
+
502
+ .file h2 {
503
+ margin-top: 2em;
504
+ padding: 0.75em 0.5em;
505
+ background-color: #dedede;
506
+ color: #333;
507
+ font-size: 120%;
508
+ border: 1px solid #bbb;
509
+ -moz-border-radius: 3px;
510
+ -webkit-border-radius: 3px;
511
+ }
512
+
513
+ /* @end */
514
+
515
+
516
+
517
+
518
+ /* @group ThickBox Styles */
519
+ #TB_window {
520
+ font: 12px Arial, Helvetica, sans-serif;
521
+ color: #333333;
522
+ }
523
+
524
+ #TB_secondLine {
525
+ font: 10px Arial, Helvetica, sans-serif;
526
+ color:#666666;
527
+ }
528
+
529
+ #TB_window a:link {color: #666666;}
530
+ #TB_window a:visited {color: #666666;}
531
+ #TB_window a:hover {color: #000;}
532
+ #TB_window a:active {color: #666666;}
533
+ #TB_window a:focus{color: #666666;}
534
+
535
+ #TB_overlay {
536
+ position: fixed;
537
+ z-index:100;
538
+ top: 0px;
539
+ left: 0px;
540
+ height:100%;
541
+ width:100%;
542
+ }
543
+
544
+ .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
545
+ .TB_overlayBG {
546
+ background-color:#000;
547
+ filter:alpha(opacity=75);
548
+ -moz-opacity: 0.75;
549
+ opacity: 0.75;
550
+ }
551
+
552
+ * html #TB_overlay { /* ie6 hack */
553
+ position: absolute;
554
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
555
+ }
556
+
557
+ #TB_window {
558
+ position: fixed;
559
+ background: #ffffff;
560
+ z-index: 102;
561
+ color:#000000;
562
+ display:none;
563
+ border: 4px solid #525252;
564
+ text-align:left;
565
+ top:50%;
566
+ left:50%;
567
+ }
568
+
569
+ * html #TB_window { /* ie6 hack */
570
+ position: absolute;
571
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
572
+ }
573
+
574
+ #TB_window img#TB_Image {
575
+ display:block;
576
+ margin: 15px 0 0 15px;
577
+ border-right: 1px solid #ccc;
578
+ border-bottom: 1px solid #ccc;
579
+ border-top: 1px solid #666;
580
+ border-left: 1px solid #666;
581
+ }
582
+
583
+ #TB_caption{
584
+ height:25px;
585
+ padding:7px 30px 10px 25px;
586
+ float:left;
587
+ }
588
+
589
+ #TB_closeWindow{
590
+ height:25px;
591
+ padding:11px 25px 10px 0;
592
+ float:right;
593
+ }
594
+
595
+ #TB_closeAjaxWindow{
596
+ padding:7px 10px 5px 0;
597
+ margin-bottom:1px;
598
+ text-align:right;
599
+ float:right;
600
+ }
601
+
602
+ #TB_ajaxWindowTitle{
603
+ float:left;
604
+ padding:7px 0 5px 10px;
605
+ margin-bottom:1px;
606
+ font-size: 22px;
607
+ }
608
+
609
+ #TB_title{
610
+ background-color: #6C8C22;
611
+ color: #dedede;
612
+ height:40px;
613
+ }
614
+ #TB_title a {
615
+ color: white !important;
616
+ border-bottom: 1px dotted #dedede;
617
+ }
618
+
619
+ #TB_ajaxContent{
620
+ clear:both;
621
+ padding:2px 15px 15px 15px;
622
+ overflow:auto;
623
+ text-align:left;
624
+ line-height:1.4em;
625
+ }
626
+
627
+ #TB_ajaxContent.TB_modal{
628
+ padding:15px;
629
+ }
630
+
631
+ #TB_ajaxContent p{
632
+ padding:5px 0px 5px 0px;
633
+ }
634
+
635
+ #TB_load{
636
+ position: fixed;
637
+ display:none;
638
+ height:13px;
639
+ width:208px;
640
+ z-index:103;
641
+ top: 50%;
642
+ left: 50%;
643
+ margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
644
+ }
645
+
646
+ * html #TB_load { /* ie6 hack */
647
+ position: absolute;
648
+ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
649
+ }
650
+
651
+ #TB_HideSelect{
652
+ z-index:99;
653
+ position:fixed;
654
+ top: 0;
655
+ left: 0;
656
+ background-color:#fff;
657
+ border:none;
658
+ filter:alpha(opacity=0);
659
+ -moz-opacity: 0;
660
+ opacity: 0;
661
+ height:100%;
662
+ width:100%;
663
+ }
664
+
665
+ * html #TB_HideSelect { /* ie6 hack */
666
+ position: absolute;
667
+ height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
668
+ }
669
+
670
+ #TB_iframeContent{
671
+ clear:both;
672
+ border:none;
673
+ margin-bottom:-1px;
674
+ margin-top:1px;
675
+ _margin-bottom:1px;
676
+ }
677
+
678
+ /* @end */
679
+
680
+ /* @group Debugging Section */
681
+
682
+ #debugging-toggle {
683
+ text-align: center;
684
+ }
685
+ #debugging-toggle img {
686
+ cursor: pointer;
687
+ }
688
+
689
+ #rdoc-debugging-section-dump {
690
+ display: none;
691
+ margin: 0 2em 2em;
692
+ background: #ccc;
693
+ border: 1px solid #999;
694
+ }
695
+
696
+
697
+
698
+ /* @end */