when_easter 0.2.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/Gemfile +14 -0
  2. data/Gemfile.lock +40 -0
  3. data/LICENSE.txt +20 -0
  4. data/README.md +20 -2
  5. data/Rakefile +50 -16
  6. data/VERSION +1 -1
  7. data/bin/find_distance +5 -0
  8. data/bin/when_easter +2 -2
  9. data/bin/when_greek_easter +2 -2
  10. data/bin/when_roman_easter +2 -2
  11. data/features/step_definitions/when_easter_steps.rb +68 -0
  12. data/features/support/env.rb +13 -0
  13. data/features/when_easter.feature +54 -0
  14. data/lib/when_easter.rb +64 -66
  15. data/spec/spec_helper.rb +12 -0
  16. data/spec/when_easter_spec.rb +9 -0
  17. data/when_easter.gemspec +30 -38
  18. metadata +97 -45
  19. data/doc/Rakefile.html +0 -110
  20. data/doc/VERSION.html +0 -88
  21. data/doc/WhenEaster.html +0 -380
  22. data/doc/bin/when_easter.html +0 -56
  23. data/doc/bin/when_greek_easter.html +0 -56
  24. data/doc/bin/when_roman_easter.html +0 -56
  25. data/doc/created.rid +0 -7
  26. data/doc/images/brick.png +0 -0
  27. data/doc/images/brick_link.png +0 -0
  28. data/doc/images/bug.png +0 -0
  29. data/doc/images/bullet_black.png +0 -0
  30. data/doc/images/bullet_toggle_minus.png +0 -0
  31. data/doc/images/bullet_toggle_plus.png +0 -0
  32. data/doc/images/date.png +0 -0
  33. data/doc/images/find.png +0 -0
  34. data/doc/images/loadingAnimation.gif +0 -0
  35. data/doc/images/macFFBgHack.png +0 -0
  36. data/doc/images/package.png +0 -0
  37. data/doc/images/page_green.png +0 -0
  38. data/doc/images/page_white_text.png +0 -0
  39. data/doc/images/page_white_width.png +0 -0
  40. data/doc/images/plugin.png +0 -0
  41. data/doc/images/ruby.png +0 -0
  42. data/doc/images/tag_green.png +0 -0
  43. data/doc/images/wrench.png +0 -0
  44. data/doc/images/wrench_orange.png +0 -0
  45. data/doc/images/zoom.png +0 -0
  46. data/doc/index.html +0 -68
  47. data/doc/js/darkfish.js +0 -116
  48. data/doc/js/jquery.js +0 -32
  49. data/doc/js/quicksearch.js +0 -114
  50. data/doc/js/thickbox-compressed.js +0 -10
  51. data/doc/lib/when_easter_rb.html +0 -52
  52. data/doc/rdoc.css +0 -759
@@ -1,10 +0,0 @@
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,{}))
@@ -1,52 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
8
-
9
- <title>File: when_easter.rb [RDoc Documentation]</title>
10
-
11
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
12
-
13
- <script src="../js/jquery.js" type="text/javascript"
14
- charset="utf-8"></script>
15
- <script src="../js/thickbox-compressed.js" type="text/javascript"
16
- charset="utf-8"></script>
17
- <script src="../js/quicksearch.js" type="text/javascript"
18
- charset="utf-8"></script>
19
- <script src="../js/darkfish.js" type="text/javascript"
20
- charset="utf-8"></script>
21
- </head>
22
-
23
- <body class="file file-popup">
24
- <div id="metadata">
25
- <dl>
26
- <dt class="modified-date">Last Modified</dt>
27
- <dd class="modified-date">Tue Jun 28 09:29:46 +0200 2011</dd>
28
-
29
-
30
- <dt class="requires">Requires</dt>
31
- <dd class="requires">
32
- <ul>
33
-
34
- </ul>
35
- </dd>
36
-
37
-
38
-
39
- </dl>
40
- </div>
41
-
42
- <div id="documentation">
43
-
44
- <div class="description">
45
- <h2>Description</h2>
46
-
47
- </div>
48
-
49
- </div>
50
- </body>
51
- </html>
52
-
data/doc/rdoc.css DELETED
@@ -1,759 +0,0 @@
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
- :link,
33
- :visited {
34
- color: #6C8C22;
35
- text-decoration: none;
36
- }
37
- :link:hover,
38
- :visited:hover {
39
- border-bottom: 1px dotted #6C8C22;
40
- }
41
-
42
- pre {
43
- background: #ddd;
44
- padding: 0.5em 0;
45
- }
46
-
47
-
48
- /* @group Generic Classes */
49
-
50
- .initially-hidden {
51
- display: none;
52
- }
53
-
54
- .quicksearch-field {
55
- width: 98%;
56
- background: #ddd;
57
- border: 1px solid #aaa;
58
- height: 1.5em;
59
- -webkit-border-radius: 4px;
60
- }
61
- .quicksearch-field:focus {
62
- background: #f1edba;
63
- }
64
-
65
- .missing-docs {
66
- font-size: 120%;
67
- background: white url(images/wrench_orange.png) no-repeat 4px center;
68
- color: #ccc;
69
- line-height: 2em;
70
- border: 1px solid #d00;
71
- opacity: 1;
72
- padding-left: 20px;
73
- text-indent: 24px;
74
- letter-spacing: 3px;
75
- font-weight: bold;
76
- -webkit-border-radius: 5px;
77
- -moz-border-radius: 5px;
78
- }
79
-
80
- .target-section {
81
- border: 2px solid #dcce90;
82
- border-left-width: 8px;
83
- padding: 0 1em;
84
- background: #fff3c2;
85
- }
86
-
87
- /* @end */
88
-
89
-
90
- /* @group Index Page, Standalone file pages */
91
- body.indexpage {
92
- margin: 1em 3em;
93
- }
94
- body.indexpage p,
95
- body.indexpage div,
96
- body.file p {
97
- margin: 1em 0;
98
- }
99
-
100
- .indexpage ol,
101
- .file #documentation ol {
102
- line-height: 160%;
103
- }
104
-
105
- .indexpage ul,
106
- .file #documentation ul {
107
- line-height: 160%;
108
- list-style: none;
109
- }
110
- .indexpage ul :link,
111
- .indexpage ul :visited {
112
- font-size: 16px;
113
- }
114
-
115
- .indexpage li,
116
- .file #documentation li {
117
- padding-left: 20px;
118
- }
119
-
120
- .indexpage ol,
121
- .file #documentation ol {
122
- margin-left: 20px;
123
- }
124
-
125
- .indexpage ol > li,
126
- .file #documentation ol > li {
127
- padding-left: 0;
128
- }
129
-
130
- .indexpage ul > li,
131
- .file #documentation ul > li {
132
- background: url(images/bullet_black.png) no-repeat left 4px;
133
- }
134
- .indexpage li.module {
135
- background: url(images/package.png) no-repeat left 4px;
136
- }
137
- .indexpage li.class {
138
- background: url(images/ruby.png) no-repeat left 4px;
139
- }
140
- .indexpage li.file {
141
- background: url(images/page_white_text.png) no-repeat left 4px;
142
- }
143
- .file li p,
144
- .indexpage li p {
145
- margin: 0 0;
146
- }
147
-
148
- /* @end */
149
-
150
- /* @group Top-Level Structure */
151
-
152
- .class #metadata,
153
- .file #metadata,
154
- .module #metadata {
155
- float: left;
156
- width: 260px;
157
- }
158
-
159
- .class #documentation,
160
- .file #documentation,
161
- .module #documentation {
162
- margin: 2em 1em 5em 300px;
163
- min-width: 340px;
164
- }
165
-
166
- .file #metadata {
167
- margin: 0.8em;
168
- }
169
-
170
- #validator-badges {
171
- clear: both;
172
- margin: 1em 1em 2em;
173
- }
174
-
175
- /* @end */
176
-
177
- /* @group Metadata Section */
178
- #metadata .section {
179
- background-color: #dedede;
180
- -moz-border-radius: 5px;
181
- -webkit-border-radius: 5px;
182
- border: 1px solid #aaa;
183
- margin: 0 8px 16px;
184
- font-size: 90%;
185
- overflow: hidden;
186
- }
187
- #metadata h3.section-header {
188
- margin: 0;
189
- padding: 2px 8px;
190
- background: #ccc;
191
- color: #666;
192
- -moz-border-radius-topleft: 4px;
193
- -moz-border-radius-topright: 4px;
194
- -webkit-border-top-left-radius: 4px;
195
- -webkit-border-top-right-radius: 4px;
196
- border-bottom: 1px solid #aaa;
197
- }
198
- #metadata #home-section h3.section-header {
199
- border-bottom: 0;
200
- }
201
-
202
- #metadata ul,
203
- #metadata dl,
204
- #metadata p {
205
- padding: 8px;
206
- list-style: none;
207
- }
208
-
209
- #file-metadata ul {
210
- padding-left: 28px;
211
- list-style-image: url(images/page_green.png);
212
- }
213
-
214
- dl.svninfo {
215
- color: #666;
216
- margin: 0;
217
- }
218
- dl.svninfo dt {
219
- font-weight: bold;
220
- }
221
-
222
- ul.link-list li {
223
- white-space: nowrap;
224
- }
225
- ul.link-list .type {
226
- font-size: 8px;
227
- text-transform: uppercase;
228
- color: white;
229
- background: #969696;
230
- padding: 2px 4px;
231
- -webkit-border-radius: 5px;
232
- }
233
-
234
- /* @end */
235
-
236
-
237
- /* @group Project Metadata Section */
238
- #project-metadata {
239
- margin-top: 3em;
240
- }
241
-
242
- .file #project-metadata {
243
- margin-top: 0em;
244
- }
245
-
246
- #project-metadata .section {
247
- border: 1px solid #aaa;
248
- }
249
- #project-metadata h3.section-header {
250
- border-bottom: 1px solid #aaa;
251
- position: relative;
252
- }
253
- #project-metadata h3.section-header .search-toggle {
254
- position: absolute;
255
- right: 5px;
256
- }
257
-
258
-
259
- #project-metadata form {
260
- color: #777;
261
- background: #ccc;
262
- padding: 8px 8px 16px;
263
- border-bottom: 1px solid #bbb;
264
- }
265
- #project-metadata fieldset {
266
- border: 0;
267
- }
268
-
269
- #no-class-search-results {
270
- margin: 0 auto 1em;
271
- text-align: center;
272
- font-size: 14px;
273
- font-weight: bold;
274
- color: #aaa;
275
- }
276
-
277
- /* @end */
278
-
279
-
280
- /* @group Documentation Section */
281
- .description {
282
- font-size: 100%;
283
- color: #333;
284
- }
285
-
286
- .description p {
287
- margin: 1em 0.4em;
288
- }
289
-
290
- .description li p {
291
- margin: 0;
292
- }
293
-
294
- .description ul {
295
- margin-left: 1.5em;
296
- }
297
- .description ul li {
298
- line-height: 1.4em;
299
- }
300
-
301
- .description dl,
302
- #documentation dl {
303
- margin: 8px 1.5em;
304
- border: 1px solid #ccc;
305
- }
306
- .description dl {
307
- font-size: 14px;
308
- }
309
-
310
- .description dt,
311
- #documentation dt {
312
- padding: 2px 4px;
313
- font-weight: bold;
314
- background: #ddd;
315
- }
316
- .description dd,
317
- #documentation dd {
318
- padding: 2px 12px;
319
- }
320
- .description dd + dt,
321
- #documentation dd + dt {
322
- margin-top: 0.7em;
323
- }
324
-
325
- #documentation .section {
326
- font-size: 90%;
327
- }
328
-
329
- #documentation h2.section-header {
330
- margin-top: 2em;
331
- padding: 0.75em 0.5em;
332
- background: #ccc;
333
- color: #333;
334
- font-size: 175%;
335
- border: 1px solid #bbb;
336
- -moz-border-radius: 3px;
337
- -webkit-border-radius: 3px;
338
- }
339
-
340
- #documentation h3.section-header {
341
- margin-top: 2em;
342
- padding: 0.25em 0.5em;
343
- background-color: #dedede;
344
- color: #333;
345
- font-size: 150%;
346
- border: 1px solid #bbb;
347
- -moz-border-radius: 3px;
348
- -webkit-border-radius: 3px;
349
- }
350
-
351
- #constants-list > dl,
352
- #attributes-list > dl {
353
- margin: 1em 0 2em;
354
- border: 0;
355
- }
356
- #constants-list > dl dt,
357
- #attributes-list > dl dt {
358
- padding-left: 0;
359
- font-weight: bold;
360
- font-family: Monaco, "Andale Mono";
361
- background: inherit;
362
- }
363
- #constants-list > dl dt a,
364
- #attributes-list > dl dt a {
365
- color: inherit;
366
- }
367
- #constants-list > dl dd,
368
- #attributes-list > dl dd {
369
- margin: 0 0 1em 0;
370
- padding: 0;
371
- color: #666;
372
- }
373
-
374
- .documentation-section h2 {
375
- position: relative;
376
- }
377
-
378
- .documentation-section h2 a {
379
- position: absolute;
380
- top: 8px;
381
- right: 10px;
382
- font-size: 12px;
383
- color: #9b9877;
384
- visibility: hidden;
385
- }
386
-
387
- .documentation-section h2:hover a {
388
- visibility: visible;
389
- }
390
-
391
- /* @group Method Details */
392
-
393
- #documentation .method-source-code {
394
- display: none;
395
- }
396
-
397
- #documentation .method-detail {
398
- margin: 0.5em 0;
399
- padding: 0.5em 0;
400
- cursor: pointer;
401
- }
402
- #documentation .method-detail:hover {
403
- background-color: #f1edba;
404
- }
405
- #documentation .method-heading {
406
- position: relative;
407
- padding: 2px 4px 0 20px;
408
- font-size: 125%;
409
- font-weight: bold;
410
- color: #333;
411
- background: url(images/brick.png) no-repeat left bottom;
412
- }
413
- #documentation .method-heading :link,
414
- #documentation .method-heading :visited {
415
- color: inherit;
416
- }
417
- #documentation .method-click-advice {
418
- position: absolute;
419
- top: 2px;
420
- right: 5px;
421
- font-size: 10px;
422
- color: #9b9877;
423
- visibility: hidden;
424
- padding-right: 20px;
425
- line-height: 20px;
426
- background: url(images/zoom.png) no-repeat right top;
427
- }
428
- #documentation .method-detail:hover .method-click-advice {
429
- visibility: visible;
430
- }
431
-
432
- #documentation .method-alias .method-heading {
433
- color: #666;
434
- background: url(images/brick_link.png) no-repeat left bottom;
435
- }
436
-
437
- #documentation .method-description,
438
- #documentation .aliases {
439
- margin: 0 20px;
440
- color: #666;
441
- }
442
-
443
- #documentation .method-description p,
444
- #documentation .aliases p {
445
- line-height: 1.2em;
446
- }
447
-
448
- #documentation .aliases {
449
- padding-top: 4px;
450
- font-style: italic;
451
- cursor: default;
452
- }
453
- #documentation .method-description p {
454
- padding: 0;
455
- }
456
- #documentation .method-description p + p {
457
- margin-bottom: 0.5em;
458
- }
459
- #documentation .method-description ul {
460
- margin-left: 1.5em;
461
- }
462
-
463
- #documentation .attribute-method-heading {
464
- background: url(images/tag_green.png) no-repeat left bottom;
465
- }
466
- #documentation #attribute-method-details .method-detail:hover {
467
- background-color: transparent;
468
- cursor: default;
469
- }
470
- #documentation .attribute-access-type {
471
- font-size: 60%;
472
- text-transform: uppercase;
473
- vertical-align: super;
474
- padding: 0 2px;
475
- }
476
- /* @end */
477
-
478
- /* @end */
479
-
480
-
481
-
482
- /* @group Source Code */
483
-
484
- div.method-source-code {
485
- background: #262626;
486
- color: #efefef;
487
- margin: 1em;
488
- padding: 0.5em;
489
- border: 1px dashed #999;
490
- overflow: hidden;
491
- }
492
-
493
- div.method-source-code pre {
494
- background: inherit;
495
- padding: 0;
496
- color: white;
497
- overflow: auto;
498
- }
499
-
500
- /* @group Ruby keyword styles */
501
-
502
- .ruby-constant { color: #7fffd4; background: transparent; }
503
- .ruby-keyword { color: #00ffff; background: transparent; }
504
- .ruby-ivar { color: #eedd82; background: transparent; }
505
- .ruby-operator { color: #00ffee; background: transparent; }
506
- .ruby-identifier { color: #ffdead; background: transparent; }
507
- .ruby-node { color: #ffa07a; background: transparent; }
508
- .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
509
- .ruby-regexp { color: #ffa07a; background: transparent; }
510
- .ruby-value { color: #7fffd4; background: transparent; }
511
-
512
- /* @end */
513
- /* @end */
514
-
515
-
516
- /* @group File Popup Contents */
517
-
518
- .file #metadata,
519
- .file-popup #metadata {
520
- }
521
-
522
- .file-popup dl {
523
- font-size: 80%;
524
- padding: 0.75em;
525
- background-color: #dedede;
526
- color: #333;
527
- border: 1px solid #bbb;
528
- -moz-border-radius: 3px;
529
- -webkit-border-radius: 3px;
530
- }
531
- .file dt {
532
- font-weight: bold;
533
- padding-left: 22px;
534
- line-height: 20px;
535
- background: url(images/page_white_width.png) no-repeat left top;
536
- }
537
- .file dt.modified-date {
538
- background: url(images/date.png) no-repeat left top;
539
- }
540
- .file dt.requires {
541
- background: url(images/plugin.png) no-repeat left top;
542
- }
543
- .file dt.scs-url {
544
- background: url(images/wrench.png) no-repeat left top;
545
- }
546
-
547
- .file dl dd {
548
- margin: 0 0 1em 0;
549
- }
550
- .file #metadata dl dd ul {
551
- list-style: circle;
552
- margin-left: 20px;
553
- padding-top: 0;
554
- }
555
- .file #metadata dl dd ul li {
556
- }
557
-
558
-
559
- .file h2 {
560
- margin-top: 2em;
561
- padding: 0.75em 0.5em;
562
- background-color: #dedede;
563
- color: #333;
564
- font-size: 120%;
565
- border: 1px solid #bbb;
566
- -moz-border-radius: 3px;
567
- -webkit-border-radius: 3px;
568
- }
569
-
570
- /* @end */
571
-
572
-
573
-
574
-
575
- /* @group ThickBox Styles */
576
- #TB_window {
577
- font: 12px Arial, Helvetica, sans-serif;
578
- color: #333333;
579
- }
580
-
581
- #TB_secondLine {
582
- font: 10px Arial, Helvetica, sans-serif;
583
- color:#666666;
584
- }
585
-
586
- #TB_window :link,
587
- #TB_window :visited { color: #666666; }
588
- #TB_window :link:hover,
589
- #TB_window :visited:hover { color: #000; }
590
- #TB_window :link:active,
591
- #TB_window :visited:active { color: #666666; }
592
- #TB_window :link:focus,
593
- #TB_window :visited:focus { color: #666666; }
594
-
595
- #TB_overlay {
596
- position: fixed;
597
- z-index:100;
598
- top: 0px;
599
- left: 0px;
600
- height:100%;
601
- width:100%;
602
- }
603
-
604
- .TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
605
- .TB_overlayBG {
606
- background-color:#000;
607
- filter:alpha(opacity=75);
608
- -moz-opacity: 0.75;
609
- opacity: 0.75;
610
- }
611
-
612
- * html #TB_overlay { /* ie6 hack */
613
- position: absolute;
614
- height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
615
- }
616
-
617
- #TB_window {
618
- position: fixed;
619
- background: #ffffff;
620
- z-index: 102;
621
- color:#000000;
622
- display:none;
623
- border: 4px solid #525252;
624
- text-align:left;
625
- top:50%;
626
- left:50%;
627
- }
628
-
629
- * html #TB_window { /* ie6 hack */
630
- position: absolute;
631
- margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
632
- }
633
-
634
- #TB_window img#TB_Image {
635
- display:block;
636
- margin: 15px 0 0 15px;
637
- border-right: 1px solid #ccc;
638
- border-bottom: 1px solid #ccc;
639
- border-top: 1px solid #666;
640
- border-left: 1px solid #666;
641
- }
642
-
643
- #TB_caption{
644
- height:25px;
645
- padding:7px 30px 10px 25px;
646
- float:left;
647
- }
648
-
649
- #TB_closeWindow{
650
- height:25px;
651
- padding:11px 25px 10px 0;
652
- float:right;
653
- }
654
-
655
- #TB_closeAjaxWindow{
656
- padding:7px 10px 5px 0;
657
- margin-bottom:1px;
658
- text-align:right;
659
- float:right;
660
- }
661
-
662
- #TB_ajaxWindowTitle{
663
- float:left;
664
- padding:7px 0 5px 10px;
665
- margin-bottom:1px;
666
- font-size: 22px;
667
- }
668
-
669
- #TB_title{
670
- background-color: #6C8C22;
671
- color: #dedede;
672
- height:40px;
673
- }
674
- #TB_title :link,
675
- #TB_title :visited {
676
- color: white !important;
677
- border-bottom: 1px dotted #dedede;
678
- }
679
-
680
- #TB_ajaxContent{
681
- clear:both;
682
- padding:2px 15px 15px 15px;
683
- overflow:auto;
684
- text-align:left;
685
- line-height:1.4em;
686
- }
687
-
688
- #TB_ajaxContent.TB_modal{
689
- padding:15px;
690
- }
691
-
692
- #TB_ajaxContent p{
693
- padding:5px 0px 5px 0px;
694
- }
695
-
696
- #TB_load{
697
- position: fixed;
698
- display:none;
699
- height:13px;
700
- width:208px;
701
- z-index:103;
702
- top: 50%;
703
- left: 50%;
704
- margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
705
- }
706
-
707
- * html #TB_load { /* ie6 hack */
708
- position: absolute;
709
- margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
710
- }
711
-
712
- #TB_HideSelect{
713
- z-index:99;
714
- position:fixed;
715
- top: 0;
716
- left: 0;
717
- background-color:#fff;
718
- border:none;
719
- filter:alpha(opacity=0);
720
- -moz-opacity: 0;
721
- opacity: 0;
722
- height:100%;
723
- width:100%;
724
- }
725
-
726
- * html #TB_HideSelect { /* ie6 hack */
727
- position: absolute;
728
- height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
729
- }
730
-
731
- #TB_iframeContent{
732
- clear:both;
733
- border:none;
734
- margin-bottom:-1px;
735
- margin-top:1px;
736
- _margin-bottom:1px;
737
- }
738
-
739
- /* @end */
740
-
741
- /* @group Debugging Section */
742
-
743
- #debugging-toggle {
744
- text-align: center;
745
- }
746
- #debugging-toggle img {
747
- cursor: pointer;
748
- }
749
-
750
- #rdoc-debugging-section-dump {
751
- display: none;
752
- margin: 0 2em 2em;
753
- background: #ccc;
754
- border: 1px solid #999;
755
- }
756
-
757
-
758
-
759
- /* @end */