jrun-rstack 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.txt +0 -0
- data/LICENSE.txt +20 -0
- data/README.textile +57 -0
- data/Rakefile +13 -0
- data/bin/rstack +18 -0
- data/lib/rstack/configuration.rb +67 -0
- data/lib/rstack/generator.rb +58 -0
- data/lib/rstack/tasks/doc.rb +15 -0
- data/lib/rstack/tasks/gem.rb +52 -0
- data/lib/rstack/tasks/rspec.rb +24 -0
- data/lib/rstack/version.rb +9 -0
- data/lib/rstack.rb +25 -0
- data/spec/configuration_spec.rb +49 -0
- data/spec/generator_spec.rb +76 -0
- data/spec/spec_helper.rb +20 -0
- data/spec/tasks/doc_spec.rb +13 -0
- data/templates/README.txt +1 -0
- data/templates/Rakefile +11 -0
- data/templates/cruise_config.rb +10 -0
- data/templates/main.rb +1 -0
- data/templates/spec_helper.rb +14 -0
- data/templates/version.rb +8 -0
- data/vendor/allison-2.0.2/CHANGELOG +16 -0
- data/vendor/allison-2.0.2/LICENSE +184 -0
- data/vendor/allison-2.0.2/Manifest +23 -0
- data/vendor/allison-2.0.2/README +66 -0
- data/vendor/allison-2.0.2/allison.gemspec +45 -0
- data/vendor/allison-2.0.2/bin/allison +9 -0
- data/vendor/allison-2.0.2/cache/BODY +571 -0
- data/vendor/allison-2.0.2/cache/CLASS_INDEX +4 -0
- data/vendor/allison-2.0.2/cache/CLASS_PAGE +1 -0
- data/vendor/allison-2.0.2/cache/FILE_INDEX +4 -0
- data/vendor/allison-2.0.2/cache/FILE_PAGE +1 -0
- data/vendor/allison-2.0.2/cache/FONTS +1 -0
- data/vendor/allison-2.0.2/cache/FR_INDEX_BODY +1 -0
- data/vendor/allison-2.0.2/cache/INDEX +1 -0
- data/vendor/allison-2.0.2/cache/JAVASCRIPT +317 -0
- data/vendor/allison-2.0.2/cache/METHOD_INDEX +4 -0
- data/vendor/allison-2.0.2/cache/METHOD_LIST +1 -0
- data/vendor/allison-2.0.2/cache/PROJECT +1 -0
- data/vendor/allison-2.0.2/cache/SRC_PAGE +1 -0
- data/vendor/allison-2.0.2/cache/STYLE +321 -0
- data/vendor/allison-2.0.2/contrib/Rakefile +147 -0
- data/vendor/allison-2.0.2/lib/allison.css +315 -0
- data/vendor/allison-2.0.2/lib/allison.js +317 -0
- data/vendor/allison-2.0.2/lib/allison.rb +276 -0
- metadata +157 -0
@@ -0,0 +1,317 @@
|
|
1
|
+
|
2
|
+
// Allison template
|
3
|
+
// Copyright 2007 Cloudburst LLC, all rights reserved
|
4
|
+
// Redistribution or modification prohibited
|
5
|
+
|
6
|
+
var href_base = '%style_url%'.replace(/(.*\/).*/, '$1'); // inline js is good for something
|
7
|
+
|
8
|
+
function $(id) {
|
9
|
+
if (document.getElementById)
|
10
|
+
elem = document.getElementById(id);
|
11
|
+
else if ( document.all )
|
12
|
+
elem = eval("document.all." + id);
|
13
|
+
else
|
14
|
+
return false;
|
15
|
+
return elem;
|
16
|
+
}
|
17
|
+
|
18
|
+
function toggle(id) {
|
19
|
+
elem = $(id);
|
20
|
+
elemStyle = elem.style;
|
21
|
+
if (elemStyle.display == "block") {
|
22
|
+
elemStyle.display = "none"
|
23
|
+
} else {
|
24
|
+
elemStyle.display = "block"
|
25
|
+
}
|
26
|
+
return true;
|
27
|
+
}
|
28
|
+
|
29
|
+
function toggleText(id) {
|
30
|
+
elem = $(id)
|
31
|
+
if (m = elem.innerHTML.match(/(Hide)(.*)/)) {
|
32
|
+
elem.innerHTML = "Show" + m[2];
|
33
|
+
} else if (m = elem.innerHTML.match(/(Show)(.*)/)) {
|
34
|
+
elem.innerHTML = "Hide" + m[2];
|
35
|
+
}
|
36
|
+
return true;
|
37
|
+
}
|
38
|
+
|
39
|
+
function span(s, klass) {
|
40
|
+
return '<span class="' + klass + '">' + s + '</span>';
|
41
|
+
}
|
42
|
+
|
43
|
+
function highlightSymbols() {
|
44
|
+
pres = document.getElementsByTagName('pre');
|
45
|
+
for(var i = 0; i < pres.length; i++) {
|
46
|
+
pre = pres[i];
|
47
|
+
spans = pre.getElementsByTagName('span');
|
48
|
+
for(var k = 0; k < spans.length; k++) {
|
49
|
+
span = spans[k];
|
50
|
+
if (span.className.match(/ruby-identifier/)) {
|
51
|
+
if (span.innerHTML.match(/^:/)) {
|
52
|
+
span.className += " ruby-symbol";
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
function hasClass(obj) {
|
60
|
+
var result = false;
|
61
|
+
if (obj.getAttributeNode("class") != null) {
|
62
|
+
result = obj.getAttributeNode("class").value;
|
63
|
+
}
|
64
|
+
return result;
|
65
|
+
}
|
66
|
+
|
67
|
+
function stripe() {
|
68
|
+
var even = true;
|
69
|
+
var color = "#e4ebed";
|
70
|
+
var tables = document.getElementsByTagName('table');
|
71
|
+
if (tables.length == 0) { return; }
|
72
|
+
for (var h = 0; h < tables.length; h++) {
|
73
|
+
var trs = tables[h].getElementsByTagName("tr");
|
74
|
+
for (var i = 0; i < trs.length; i++) {
|
75
|
+
var tds = trs[i].getElementsByTagName("td");
|
76
|
+
for (var j = 0; j < tds.length; j++) {
|
77
|
+
if (hasClass(tds[j]) != "first") {
|
78
|
+
var mytd = tds[j];
|
79
|
+
if (even) {
|
80
|
+
mytd.style.backgroundColor = color;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
even = ! even;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
function ajaxGet(url) {
|
90
|
+
url = (href_base + url).replace('/./', '/')
|
91
|
+
var req = false;
|
92
|
+
|
93
|
+
if (window.ActiveXObject) {
|
94
|
+
try {
|
95
|
+
// stupid hack because IE7 disables local Ajax with the native xmlhttprequest object
|
96
|
+
// for security purposes. Yet ActiveX still works. Thanks, Microsoft. I hate you. Die.
|
97
|
+
req = new ActiveXObject("MSXML2.XMLHTTP.3.0");
|
98
|
+
} catch (e) {
|
99
|
+
try {
|
100
|
+
/* IE 6 and maybe 5, don't know, don't care */
|
101
|
+
req = new ActiveXObject("Msxml2.XMLHTTP");
|
102
|
+
} catch (e) {
|
103
|
+
try {
|
104
|
+
req = new ActiveXObject("Microsoft.XMLHTTP");
|
105
|
+
} catch (e) {
|
106
|
+
req = false;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
/* real browsers */
|
113
|
+
if (!req && window.XMLHttpRequest) {
|
114
|
+
try {
|
115
|
+
req = new XMLHttpRequest();
|
116
|
+
} catch (e) {
|
117
|
+
req = false;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
if (req) {
|
122
|
+
req.open('GET', url, false);
|
123
|
+
req.send(null);
|
124
|
+
return req.responseText;
|
125
|
+
} else {
|
126
|
+
return "Ajax error";
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
|
131
|
+
function addEvent(elm, evType, fn, useCapture) {
|
132
|
+
if (elm.addEventListener) {
|
133
|
+
elm.addEventListener(evType, fn, useCapture);
|
134
|
+
return true;
|
135
|
+
} else if (elm.attachEvent) {
|
136
|
+
var r = elm.attachEvent('on' + evType, fn);
|
137
|
+
return r;
|
138
|
+
} else {
|
139
|
+
elm['on' + evType] = fn;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
function insertIndices() {
|
144
|
+
pages = ["class", "file", "method"]
|
145
|
+
for (x in pages) {
|
146
|
+
$(pages[x]).innerHTML += ajaxGet('fr_' + pages[x] + '_index.html').replace(/(href=")/g, '$1' + href_base);
|
147
|
+
}
|
148
|
+
/* mouseoverify method links */
|
149
|
+
links = $('method').getElementsByTagName('a');
|
150
|
+
for (var x = 0; x < links.length; x++) {
|
151
|
+
if (m = links[x].innerHTML.match(/(.*)\s\((.*)\)/)) {
|
152
|
+
links[x].innerHTML = m[1] + '<br>';
|
153
|
+
links[x].title = m[2];
|
154
|
+
}
|
155
|
+
}
|
156
|
+
/* this is stupid */
|
157
|
+
$('class').style.display = "block";
|
158
|
+
$('file').style.display = "block";
|
159
|
+
|
160
|
+
/* has to be here because IE7 does not guarantee the onLoad callback order */
|
161
|
+
abbreviateIndicesInner(["class", "file"], 25, "a");
|
162
|
+
/* same, linkTitle() depends on the class link list */
|
163
|
+
linkTitle();
|
164
|
+
}
|
165
|
+
|
166
|
+
function abbreviateIndices() {
|
167
|
+
var ids = ["defined_in", "child_of", "includes", "requires", "method", "methods"];
|
168
|
+
abbreviateIndicesInner(ids, 25, 'a');
|
169
|
+
abbreviateIndicesInner(ids, 25, 'span');
|
170
|
+
}
|
171
|
+
|
172
|
+
function abbreviateIndicesInner(indices, amount, tag) {
|
173
|
+
for (var x = 0; x < indices.length; x++) {
|
174
|
+
var the_index = $(indices[x]);
|
175
|
+
if (the_index) {
|
176
|
+
links = the_index.getElementsByTagName(tag);
|
177
|
+
for (var y = 0; y < links.length; y++) {
|
178
|
+
var link = links[y];
|
179
|
+
if (link.getElementsByTagName('span').length == 0 && link.getElementsByTagName('a').length == 0) {
|
180
|
+
// avoid nesting
|
181
|
+
link.innerHTML = link.innerHTML.replace(/<br>|\n/gi, '');
|
182
|
+
link.title = link.innerHTML;
|
183
|
+
link.innerHTML = abbreviate(link.innerHTML, amount) + '<br>';
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
function linkTitle() {
|
191
|
+
|
192
|
+
/* grab the correct title element from the index */
|
193
|
+
var index_page = ajaxGet('index.html');
|
194
|
+
title_text = index_page.match(/<title>(.*)<\/title>/m)[1];
|
195
|
+
document.title = title_text + " - " + document.title;
|
196
|
+
var p = $('header').getElementsByTagName('p')[0]
|
197
|
+
if (p.innerHTML.match(/^\s*$/)) {
|
198
|
+
p.innerHTML = title_text;
|
199
|
+
} else {
|
200
|
+
p.innerHTML = title_text + ": " + p.innerHTML;
|
201
|
+
}
|
202
|
+
|
203
|
+
/* set the link properly */
|
204
|
+
title_link = index_page.match(/<a\s+href="(.*?)"/)[1];
|
205
|
+
var element = $('title');
|
206
|
+
var item_type = "";
|
207
|
+
var item_name = "";
|
208
|
+
if (m = element.innerHTML.match(/(Class:|Module:|File:)\s*(.*)/)) {
|
209
|
+
item_type = m[1];
|
210
|
+
item_name = m[2];
|
211
|
+
} else {
|
212
|
+
item_name = element.innerHTML;
|
213
|
+
}
|
214
|
+
element.innerHTML = '<a href="' + href_base + title_link + '">' + item_type + " " + abbreviate(item_name, 45) + '</a>';
|
215
|
+
element.getElementsByTagName('a')[0].title = item_name
|
216
|
+
|
217
|
+
/* breadcrumb navigation */
|
218
|
+
items = item_name.split("::");
|
219
|
+
items_new = item_name.split("::");
|
220
|
+
file_links = $('class').getElementsByTagName('a');
|
221
|
+
for (var x = 0; x < items.length - 1; x++ ){
|
222
|
+
var item = items[x];
|
223
|
+
link = ("/classes/" + items.slice(0,x).join("/") + "/" + item + ".html").replace('//', '/');
|
224
|
+
regex = new RegExp(RegExp.escape(link) + '$');
|
225
|
+
for (var y = 0; y < file_links.length; y++) {
|
226
|
+
if (file_links[y].href.match(regex)) {
|
227
|
+
items_new[x] = '<a href="' + href_base + link + '">' + item + '</a>';
|
228
|
+
break;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
232
|
+
$('item_name').innerHTML = item_type + ' ' + items_new.join(" :: ");
|
233
|
+
}
|
234
|
+
|
235
|
+
function abbreviate(s, size) {
|
236
|
+
while (s.length > size) {
|
237
|
+
var old_s = s;
|
238
|
+
s = s.replace(/\s|\n/mg, '');
|
239
|
+
s = s.replace(/([A-Z])[a-z]+/m, '$1');
|
240
|
+
if (!s || old_s == s) {
|
241
|
+
return "..." + s.substring(s.length - size, s.length);
|
242
|
+
}
|
243
|
+
}
|
244
|
+
return s;
|
245
|
+
}
|
246
|
+
|
247
|
+
function disableSubmit(event) {
|
248
|
+
var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
|
249
|
+
if (keyCode == 13) {
|
250
|
+
return false;
|
251
|
+
} else {
|
252
|
+
return true;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
function filterList(id, s, event) {
|
257
|
+
|
258
|
+
/* some weak escaping */
|
259
|
+
s = s.replace(/[^\w\d\.\_\-\/\:\=\[\]\?\!]/g, '');
|
260
|
+
s = RegExp.escape(s);
|
261
|
+
|
262
|
+
var show_all = false;
|
263
|
+
if (s.match(/^\s*$/)) {
|
264
|
+
show_all = true;
|
265
|
+
}
|
266
|
+
|
267
|
+
links = $(id).getElementsByTagName('a')
|
268
|
+
regex = new RegExp(s, 'i');
|
269
|
+
|
270
|
+
for (var x = 0; x < links.length; x++) {
|
271
|
+
var link = links[x];
|
272
|
+
if (show_all) {
|
273
|
+
link.style.display = 'inline';
|
274
|
+
} else {
|
275
|
+
if (link.innerHTML.match(regex)) {
|
276
|
+
link.style.display = 'inline';
|
277
|
+
} else {
|
278
|
+
link.style.display = 'none';
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
return true;
|
283
|
+
}
|
284
|
+
|
285
|
+
RegExp.escape = function(text) {
|
286
|
+
if (!arguments.callee.sRE) {
|
287
|
+
var specials = ['/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\\\'];
|
288
|
+
arguments.callee.sRE = new RegExp(
|
289
|
+
'(\\\\' + specials.join('|\\\\') + ')', 'g'
|
290
|
+
);
|
291
|
+
}
|
292
|
+
return text.replace(arguments.callee.sRE, '\\\\$1');
|
293
|
+
}
|
294
|
+
|
295
|
+
function hacks() {
|
296
|
+
// show the spacer if necessary,
|
297
|
+
divs = document.getElementsByTagName('div');
|
298
|
+
for(var x = 0; x < divs.length; x++) {
|
299
|
+
if (divs[x].className && divs[x].className.match(/top/)) {
|
300
|
+
document.getElementById('spacer').style.display = 'block';
|
301
|
+
}
|
302
|
+
}
|
303
|
+
// remove extra colons from tables
|
304
|
+
tds = document.getElementsByTagName('td');
|
305
|
+
for(var x = 0; x < tds.length; x++) {
|
306
|
+
str = tds[x].innerHTML
|
307
|
+
if (str.charAt(str.length - 1) == ":") {
|
308
|
+
tds[x].innerHTML = str.slice(0, str.length - 1)
|
309
|
+
}
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
addEvent(window, 'load', insertIndices, false);
|
314
|
+
addEvent(window, 'load', abbreviateIndices, false);
|
315
|
+
addEvent(window, 'load', stripe, false);
|
316
|
+
addEvent(window, 'load', highlightSymbols, false);
|
317
|
+
addEvent(window, 'load', hacks, false);
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
allison
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1,321 @@
|
|
1
|
+
|
2
|
+
/*;
|
3
|
+
Allison template;
|
4
|
+
Copyright 2007 Cloudburst LLC, all rights reserved;
|
5
|
+
Redistribution or modification prohibited;
|
6
|
+
*/;
|
7
|
+
|
8
|
+
/* default styles */
|
9
|
+
|
10
|
+
* {
|
11
|
+
margin: 0;
|
12
|
+
padding: 0;
|
13
|
+
border: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
.clear {
|
26
|
+
clear: both;
|
27
|
+
}
|
28
|
+
|
29
|
+
a {
|
30
|
+
color: #304878;
|
31
|
+
font-weight: bold;
|
32
|
+
text-decoration: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
a:hover {
|
36
|
+
text-decoration: underline;
|
37
|
+
}
|
38
|
+
|
39
|
+
html, body {
|
40
|
+
color: #000;
|
41
|
+
font-size: 13px;
|
42
|
+
font-family: helvetica, verdana, sans;
|
43
|
+
background-color: #fff;
|
44
|
+
text-align: center;
|
45
|
+
margin: 0;
|
46
|
+
padding: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
p, ul, ol {
|
50
|
+
line-height: 16px;
|
51
|
+
} li {
|
52
|
+
margin: 3px;
|
53
|
+
_margin-left: 40px;
|
54
|
+
} p, pre, table, ol, ul {
|
55
|
+
margin: 16px;
|
56
|
+
} #item_name {
|
57
|
+
margin-top: -8px;
|
58
|
+
}
|
59
|
+
|
60
|
+
h1 {
|
61
|
+
font-size: 22px;
|
62
|
+
margin-top: 16px;
|
63
|
+
} h2, h3 {
|
64
|
+
font-size: 18px;
|
65
|
+
margin: 6px;
|
66
|
+
margin-right: 0;
|
67
|
+
padding-top: 12px;
|
68
|
+
}
|
69
|
+
|
70
|
+
/* center everything */
|
71
|
+
|
72
|
+
#container {
|
73
|
+
margin: 20px auto 0 auto;
|
74
|
+
width: 900px;
|
75
|
+
text-align: left;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* header stuff */
|
79
|
+
|
80
|
+
#header {
|
81
|
+
padding: 6px;
|
82
|
+
padding-top: 3px;
|
83
|
+
width: 888px;
|
84
|
+
height: 52px;
|
85
|
+
_height: 58px;
|
86
|
+
margin-bottom: 12px;
|
87
|
+
vertical-align: baseline;
|
88
|
+
background-color: #181848;
|
89
|
+
overflow: hidden;
|
90
|
+
} .curve {
|
91
|
+
background-color: #181848;
|
92
|
+
margin: 0;
|
93
|
+
padding: 0;
|
94
|
+
height: 1px;
|
95
|
+
overflow: hidden /* again, ie problem */;
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
#preheader_curve_5{border-left: 1px solid #fff; border-right: 1px solid #fff; width: 898px; _width: 888px; }
|
103
|
+
#preheader_curve_4{border-left: 1px solid #fff; border-right: 1px solid #fff; width: 898px; _width: 888px; }
|
104
|
+
#preheader_curve_3{border-left: 2px solid #fff; border-right: 2px solid #fff; width: 896px; _width: 888px; }
|
105
|
+
#preheader_curve_2{border-left: 3px solid #fff; border-right: 3px solid #fff; width: 894px; _width: 888px; }
|
106
|
+
#preheader_curve_1{border-left: 4px solid #fff; border-right: 4px solid #fff; width: 892px; _width: 888px; }
|
107
|
+
#preheader_curve_0{border-left: 6px solid #fff; border-right: 6px solid #fff; width: 888px; _width: 888px; }
|
108
|
+
|
109
|
+
#header h1 {
|
110
|
+
color: #fff;
|
111
|
+
font-size: 30px;
|
112
|
+
margin: 4px 0 0 0;
|
113
|
+
} #header p {
|
114
|
+
margin: 0;
|
115
|
+
padding: 0;
|
116
|
+
padding-left: 3px;
|
117
|
+
font-size: 16px;
|
118
|
+
color: #fff;
|
119
|
+
} #header a {
|
120
|
+
color: #fff;
|
121
|
+
text-decoration: none;
|
122
|
+
font-weight: bold;
|
123
|
+
}
|
124
|
+
|
125
|
+
/* basic layout and navigation bars */
|
126
|
+
|
127
|
+
#left {
|
128
|
+
background-color: #181848;
|
129
|
+
width: 220px;
|
130
|
+
float: left;
|
131
|
+
_width: 208px;
|
132
|
+
margin-bottom: 24px;
|
133
|
+
} #left a {
|
134
|
+
line-height: 14px;
|
135
|
+
}
|
136
|
+
|
137
|
+
/* navigation bar colors and text styles */
|
138
|
+
|
139
|
+
.navigation {
|
140
|
+
width: 196px;
|
141
|
+
margin: 6px;
|
142
|
+
padding: 6px;
|
143
|
+
text-align: left;
|
144
|
+
background-color: #fff;
|
145
|
+
overflow: hidden;
|
146
|
+
} .navigation h3 {
|
147
|
+
font-weight: bold;
|
148
|
+
margin-bottom: 5px;
|
149
|
+
} .navigation span, .navigation a {
|
150
|
+
margin-left: 6px;
|
151
|
+
} #includes .navigation span, #includes .navigation a {
|
152
|
+
margin-left: 0;
|
153
|
+
} .darker {
|
154
|
+
background-color: #e4ebed;
|
155
|
+
} #spacer {
|
156
|
+
background-color: #fff;
|
157
|
+
height: 18px;
|
158
|
+
display: none;
|
159
|
+
}
|
160
|
+
|
161
|
+
/* content area */
|
162
|
+
|
163
|
+
#content {
|
164
|
+
padding: 20px;
|
165
|
+
width: 640px;
|
166
|
+
float: left;
|
167
|
+
min-height: 450px;
|
168
|
+
margin: 0;
|
169
|
+
margin-bottom: -4px;
|
170
|
+
} #content img {
|
171
|
+
padding-top: 6px;
|
172
|
+
padding-bottom: 12px;
|
173
|
+
}
|
174
|
+
|
175
|
+
#content h1, h2 {
|
176
|
+
border-top: 1px solid #e4ebed;
|
177
|
+
} #content h1 {
|
178
|
+
padding-top: 18px;
|
179
|
+
} #content #item_name { /* why does this need to be fully qualified? */
|
180
|
+
padding-top: 0;
|
181
|
+
border: none;
|
182
|
+
}
|
183
|
+
|
184
|
+
/* footer */
|
185
|
+
|
186
|
+
#footer {
|
187
|
+
text-align: center;
|
188
|
+
background-color: #fff;
|
189
|
+
padding: 18px;
|
190
|
+
border-top: 1px solid #e4ebed;
|
191
|
+
color: #ccd5dc;
|
192
|
+
} #footer a {
|
193
|
+
font-weight: normal;
|
194
|
+
color: #ccd5dc;
|
195
|
+
}
|
196
|
+
|
197
|
+
/* for that dumb redirect index page I can't avoid */
|
198
|
+
|
199
|
+
#redirect {
|
200
|
+
text-align: center;
|
201
|
+
} #redirect a {
|
202
|
+
color: #181848;
|
203
|
+
}
|
204
|
+
|
205
|
+
/* tables */
|
206
|
+
|
207
|
+
table {
|
208
|
+
width: 585px;
|
209
|
+
margin-right: 0;
|
210
|
+
border-collapse: collapse;
|
211
|
+
border: 1px solid #e4ebed;
|
212
|
+
} td, th {
|
213
|
+
background-color: #fff;
|
214
|
+
text-align: left;
|
215
|
+
padding: 6px;
|
216
|
+
line-height: 14px;
|
217
|
+
font-size: 13px;
|
218
|
+
} td.normal {
|
219
|
+
font-family: Courier, Courier New, monospace;
|
220
|
+
font-size: 12px;
|
221
|
+
} td.highlight {
|
222
|
+
color: #304878;
|
223
|
+
}
|
224
|
+
|
225
|
+
/* method_block details */
|
226
|
+
|
227
|
+
div.method_block {
|
228
|
+
border-bottom: 1px solid #e4ebed;
|
229
|
+
margin-left: 20px;
|
230
|
+
margin-bottom: -17px;
|
231
|
+
margin-top: 17px;
|
232
|
+
} div.method_block h3 {
|
233
|
+
color: #181848;
|
234
|
+
margin-left: 0;
|
235
|
+
padding: 0;
|
236
|
+
} #content div.method_block h1, #content #description h1 {
|
237
|
+
margin-left: 6px;
|
238
|
+
color: #ccd5dc;
|
239
|
+
} div.method_block a.small { /* where is this used? */
|
240
|
+
font-size: 3px;
|
241
|
+
line-height: 3px;
|
242
|
+
}
|
243
|
+
|
244
|
+
/* index includes on the navigation bar */
|
245
|
+
|
246
|
+
div.index a {
|
247
|
+
font-size: 13px;
|
248
|
+
} #method {
|
249
|
+
display: none;
|
250
|
+
} #file, #class {
|
251
|
+
display: block;
|
252
|
+
} div.list_header {
|
253
|
+
float: left;
|
254
|
+
} div.list_header_link {
|
255
|
+
float: right;
|
256
|
+
padding-top: 3px;
|
257
|
+
} div.list_header_link a {
|
258
|
+
font-weight: normal;
|
259
|
+
} div.navigation h3, .list_header_link {
|
260
|
+
margin: 0;
|
261
|
+
margin-top: 6px;
|
262
|
+
margin-bottom: 6px;
|
263
|
+
padding: 0;
|
264
|
+
}
|
265
|
+
|
266
|
+
.index label {
|
267
|
+
font-size: 13px;
|
268
|
+
} .index form input {
|
269
|
+
width: 136px;
|
270
|
+
} .index form {
|
271
|
+
margin-bottom: 6px;
|
272
|
+
}
|
273
|
+
|
274
|
+
ol, ul {
|
275
|
+
margin-left: 6px;
|
276
|
+
}
|
277
|
+
|
278
|
+
p.source_link a {
|
279
|
+
text-align: right;
|
280
|
+
font-weight: normal;
|
281
|
+
} div.source {
|
282
|
+
display: none;
|
283
|
+
} pre, tt {
|
284
|
+
color: #181848;
|
285
|
+
font-weight: normal;
|
286
|
+
font-family: Courier, Courier New, monospace;
|
287
|
+
font-size: 12px;
|
288
|
+
} pre {
|
289
|
+
line-height: 14px;
|
290
|
+
margin-left: 12px;
|
291
|
+
overflow: auto;
|
292
|
+
/* next 4 lines because IE sucks */
|
293
|
+
_position: relative;
|
294
|
+
_width: 587px;
|
295
|
+
_overflow-x:scroll;
|
296
|
+
_overflow-y:visible;
|
297
|
+
} b tt, tt b {
|
298
|
+
font-weight: bold;
|
299
|
+
} div.source g {
|
300
|
+
margin-left: 0;
|
301
|
+
} p.source_link {
|
302
|
+
text-align: center;
|
303
|
+
}
|
304
|
+
|
305
|
+
/* source code highlighting */
|
306
|
+
|
307
|
+
.source pre {
|
308
|
+
color: black;
|
309
|
+
}
|
310
|
+
pre .ruby-value, pre .ruby-symbol {
|
311
|
+
color: #1104bb;
|
312
|
+
} pre .ruby-value.str, pre .ruby-node {
|
313
|
+
color: #181848;
|
314
|
+
} pre .ruby-ivar, pre .ruby-cvar {
|
315
|
+
} pre .ruby-comment {
|
316
|
+
color: #009500;
|
317
|
+
} pre .ruby-constant {
|
318
|
+
color: #cd8802;
|
319
|
+
} pre .ruby-keyword {
|
320
|
+
color: #8d04aa;
|
321
|
+
}
|