gce-host 0.4.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/docs/GCE.html +45 -44
- data/docs/GCE/Host.html +79 -79
- data/docs/GCE/Host/CLI.html +63 -62
- data/docs/GCE/Host/Config.html +251 -196
- data/docs/GCE/Host/ConfigError.html +44 -43
- data/docs/GCE/Host/GCEClient.html +49 -48
- data/docs/GCE/Host/GCEClient/Error.html +44 -43
- data/docs/GCE/Host/GCEClient/NotFound.html +44 -43
- data/docs/GCE/Host/HashUtil.html +41 -41
- data/docs/GCE/Host/HostData.html +102 -101
- data/docs/GCE/Host/RoleData.html +113 -89
- data/docs/GCE/Host/StringUtil.html +47 -47
- data/docs/_index.html +28 -31
- data/docs/class_list.html +24 -31
- data/docs/css/full_list.css +32 -31
- data/docs/css/style.css +244 -91
- data/docs/file.LICENSE.html +28 -31
- data/docs/file.README.html +29 -32
- data/docs/file_list.html +29 -31
- data/docs/frames.html +7 -16
- data/docs/index.html +29 -32
- data/docs/js/app.js +106 -77
- data/docs/js/full_list.js +170 -135
- data/docs/method_list.html +401 -251
- data/docs/top-level-namespace.html +34 -36
- data/lib/gce/host/config.rb +13 -2
- data/lib/gce/host/gce_client.rb +8 -2
- data/lib/gce/host/role_data.rb +5 -2
- data/lib/gce/host/version.rb +1 -1
- metadata +1 -1
data/docs/css/style.css
CHANGED
@@ -1,9 +1,87 @@
|
|
1
|
+
html {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
}
|
1
5
|
body {
|
2
|
-
padding: 0 20px;
|
3
6
|
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
7
|
font-size: 13px;
|
8
|
+
width: 100%;
|
9
|
+
margin: 0;
|
10
|
+
padding: 0;
|
11
|
+
display: flex;
|
12
|
+
display: -webkit-flex;
|
13
|
+
display: -ms-flexbox;
|
14
|
+
}
|
15
|
+
|
16
|
+
#nav {
|
17
|
+
position: relative;
|
18
|
+
width: 100%;
|
19
|
+
height: 100%;
|
20
|
+
border: 0;
|
21
|
+
border-right: 1px dotted #eee;
|
22
|
+
overflow: auto;
|
23
|
+
}
|
24
|
+
.nav_wrap {
|
25
|
+
margin: 0;
|
26
|
+
padding: 0;
|
27
|
+
width: 20%;
|
28
|
+
height: 100%;
|
29
|
+
position: relative;
|
30
|
+
display: flex;
|
31
|
+
display: -webkit-flex;
|
32
|
+
display: -ms-flexbox;
|
33
|
+
flex-shrink: 0;
|
34
|
+
-webkit-flex-shrink: 0;
|
35
|
+
-ms-flex: 1 0;
|
36
|
+
}
|
37
|
+
#resizer {
|
38
|
+
position: absolute;
|
39
|
+
right: -5px;
|
40
|
+
top: 0;
|
41
|
+
width: 10px;
|
42
|
+
height: 100%;
|
43
|
+
cursor: col-resize;
|
44
|
+
z-index: 9999;
|
5
45
|
}
|
6
|
-
|
46
|
+
#main {
|
47
|
+
flex: 5 1;
|
48
|
+
-webkit-flex: 5 1;
|
49
|
+
-ms-flex: 5 1;
|
50
|
+
outline: none;
|
51
|
+
position: relative;
|
52
|
+
background: #fff;
|
53
|
+
padding: 1.2em;
|
54
|
+
padding-top: 0.2em;
|
55
|
+
}
|
56
|
+
|
57
|
+
@media (max-width: 920px) {
|
58
|
+
.nav_wrap { width: 100%; top: 0; right: 0; overflow: visible; position: absolute; }
|
59
|
+
#resizer { display: none; }
|
60
|
+
#nav {
|
61
|
+
z-index: 9999;
|
62
|
+
background: #fff;
|
63
|
+
display: none;
|
64
|
+
position: absolute;
|
65
|
+
top: 40px;
|
66
|
+
right: 12px;
|
67
|
+
width: 500px;
|
68
|
+
max-width: 80%;
|
69
|
+
height: 80%;
|
70
|
+
overflow-y: scroll;
|
71
|
+
border: 1px solid #999;
|
72
|
+
border-collapse: collapse;
|
73
|
+
box-shadow: -7px 5px 25px #aaa;
|
74
|
+
border-radius: 2px;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
@media (min-width: 920px) {
|
79
|
+
body { height: 100%; overflow: hidden; }
|
80
|
+
#main { height: 100%; overflow: auto; }
|
81
|
+
#search { display: none; }
|
82
|
+
}
|
83
|
+
|
84
|
+
#main img { max-width: 100%; }
|
7
85
|
h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
|
8
86
|
h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
|
9
87
|
h1.title { margin-bottom: 10px; }
|
@@ -14,18 +92,41 @@ h2 {
|
|
14
92
|
border-bottom: 1px #aaa solid;
|
15
93
|
font-size: 1.4em;
|
16
94
|
margin: 1.8em 0 0.5em;
|
95
|
+
position: relative;
|
96
|
+
}
|
97
|
+
h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; }
|
98
|
+
h2 small a {
|
99
|
+
display: block;
|
100
|
+
height: 20px;
|
101
|
+
border: 1px solid #aaa;
|
102
|
+
border-bottom: 0;
|
103
|
+
border-top-left-radius: 5px;
|
104
|
+
background: #f8f8f8;
|
105
|
+
position: relative;
|
106
|
+
padding: 2px 7px;
|
17
107
|
}
|
18
|
-
h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right; }
|
19
108
|
.clear { clear: both; }
|
20
109
|
.inline { display: inline; }
|
21
110
|
.inline p:first-child { display: inline; }
|
111
|
+
.docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; }
|
112
|
+
.docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt {
|
113
|
+
color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em;
|
114
|
+
border-radius: 4px;
|
115
|
+
}
|
22
116
|
.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
|
23
117
|
.docstring h1 { font-size: 1.2em; }
|
24
118
|
.docstring h2 { font-size: 1.1em; }
|
25
119
|
.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
|
26
|
-
.summary_desc .object_link, .docstring .object_link {
|
120
|
+
.summary_desc .object_link a, .docstring .object_link a {
|
121
|
+
font-family: monospace; font-size: 1.05em;
|
122
|
+
color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em;
|
123
|
+
border-radius: 4px;
|
124
|
+
}
|
27
125
|
.rdoc-term { padding-right: 25px; font-weight: bold; }
|
28
126
|
.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
|
127
|
+
.summary_desc pre.code .object_link a, .docstring pre.code .object_link a {
|
128
|
+
padding: 0px; background: inherit; color: inherit; border-radius: inherit;
|
129
|
+
}
|
29
130
|
|
30
131
|
/* style for <table> */
|
31
132
|
#filecontents table, .docstring table { border-collapse: collapse; }
|
@@ -48,17 +149,25 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
48
149
|
|
49
150
|
.note {
|
50
151
|
color: #222;
|
51
|
-
|
52
|
-
|
152
|
+
margin: 20px 0;
|
153
|
+
padding: 10px;
|
154
|
+
border: 1px solid #eee;
|
155
|
+
border-radius: 3px;
|
53
156
|
display: block;
|
54
157
|
}
|
158
|
+
.docstring .note {
|
159
|
+
border-left-color: #ccc;
|
160
|
+
border-left-width: 5px;
|
161
|
+
}
|
55
162
|
.note.todo { background: #ffffc5; border-color: #ececaa; }
|
56
163
|
.note.returns_void { background: #efefef; }
|
57
164
|
.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
165
|
+
.note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
58
166
|
.note.private { background: #ffffc5; border-color: #ececaa; }
|
59
|
-
.note.title { padding:
|
167
|
+
.note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
|
60
168
|
.summary_signature + .note.title { margin-left: 7px; }
|
61
169
|
h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
|
170
|
+
.note.title { background: #efefef; }
|
62
171
|
.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
63
172
|
.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
|
64
173
|
.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
@@ -83,48 +192,71 @@ p.inherited {
|
|
83
192
|
margin-left: 25px;
|
84
193
|
}
|
85
194
|
|
86
|
-
|
195
|
+
.box_info dl {
|
196
|
+
margin: 0;
|
87
197
|
border: 0;
|
88
|
-
width:
|
198
|
+
width: 100%;
|
89
199
|
font-size: 1em;
|
200
|
+
display: flex;
|
201
|
+
display: -webkit-flex;
|
202
|
+
display: -ms-flexbox;
|
90
203
|
}
|
91
|
-
|
92
|
-
|
93
|
-
|
204
|
+
.box_info dl dt {
|
205
|
+
flex-shrink: 0;
|
206
|
+
-webkit-flex-shrink: 1;
|
207
|
+
-ms-flex-shrink: 1;
|
94
208
|
width: 100px;
|
95
|
-
margin: 0;
|
96
209
|
text-align: right;
|
97
210
|
font-weight: bold;
|
98
|
-
background: transparent;
|
99
211
|
border: 1px solid #aaa;
|
100
212
|
border-width: 1px 0px 0px 1px;
|
101
213
|
padding: 6px 0;
|
102
214
|
padding-right: 10px;
|
103
215
|
}
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
216
|
+
.box_info dl dd {
|
217
|
+
flex-grow: 1;
|
218
|
+
-webkit-flex-grow: 1;
|
219
|
+
-ms-flex: 1;
|
220
|
+
max-width: 420px;
|
109
221
|
padding: 6px 0;
|
110
222
|
padding-right: 20px;
|
111
223
|
border: 1px solid #aaa;
|
112
224
|
border-width: 1px 1px 0 0;
|
225
|
+
overflow: hidden;
|
226
|
+
position: relative;
|
113
227
|
}
|
114
|
-
|
228
|
+
.box_info dl:last-child > * {
|
115
229
|
border-bottom: 1px solid #aaa;
|
116
230
|
}
|
117
|
-
|
231
|
+
.box_info dl:nth-child(odd) > * { background: #eee; }
|
232
|
+
.box_info dl:nth-child(even) > * { background: #fff; }
|
233
|
+
.box_info dl > * { margin: 0; }
|
118
234
|
|
119
235
|
ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
120
236
|
.index_inline_list { padding-left: 0; font-size: 1.1em; }
|
121
|
-
.index_inline_list li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
|
122
237
|
|
123
|
-
|
238
|
+
.index_inline_list li {
|
239
|
+
list-style: none;
|
240
|
+
display: inline-block;
|
241
|
+
padding: 0 12px;
|
242
|
+
line-height: 30px;
|
243
|
+
margin-bottom: 5px;
|
244
|
+
}
|
245
|
+
|
246
|
+
dl.constants { margin-left: 10px; }
|
124
247
|
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
125
248
|
dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
|
249
|
+
dl.constants .docstring .note:first-child { margin-top: 5px; }
|
126
250
|
|
127
|
-
.summary_desc {
|
251
|
+
.summary_desc {
|
252
|
+
margin-left: 32px;
|
253
|
+
display: block;
|
254
|
+
font-family: sans-serif;
|
255
|
+
font-size: 1.1em;
|
256
|
+
margin-top: 8px;
|
257
|
+
line-height: 1.5145em;
|
258
|
+
margin-bottom: 0.8em;
|
259
|
+
}
|
128
260
|
.summary_desc tt { font-size: 0.9em; }
|
129
261
|
dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
|
130
262
|
dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
|
@@ -132,12 +264,13 @@ dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
|
|
132
264
|
dl.constants .discussion *:first-child { margin-top: 0; }
|
133
265
|
dl.constants .discussion *:last-child { margin-bottom: 0; }
|
134
266
|
|
135
|
-
.method_details { border-top: 1px dotted #
|
136
|
-
.method_details.first { border: 0; }
|
267
|
+
.method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
|
268
|
+
.method_details.first { border: 0; margin-top: 5px; }
|
269
|
+
.method_details.first h3.signature { margin-top: 1em; }
|
137
270
|
p.signature, h3.signature {
|
138
271
|
font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
|
139
|
-
padding: 6px 10px; margin-top:
|
140
|
-
background: #
|
272
|
+
padding: 6px 10px; margin-top: 1em;
|
273
|
+
background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
|
141
274
|
}
|
142
275
|
p.signature tt,
|
143
276
|
h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
|
@@ -152,7 +285,8 @@ h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; f
|
|
152
285
|
p.signature .aliases .names,
|
153
286
|
h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
|
154
287
|
|
155
|
-
.tags .tag_title { font-size:
|
288
|
+
.tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
|
289
|
+
.tags .tag_title tt { color: initial; padding: initial; background: initial; }
|
156
290
|
.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
|
157
291
|
.tags ul li { margin-bottom: 3px; }
|
158
292
|
.tags ul .name { font-family: monospace; font-weight: bold; }
|
@@ -160,12 +294,13 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
|
|
160
294
|
.tags { margin-bottom: 12px; }
|
161
295
|
|
162
296
|
.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
|
163
|
-
.tags .examples .inline p { padding: 0; margin: 0;
|
297
|
+
.tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
|
298
|
+
.tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
|
164
299
|
|
165
300
|
.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
|
166
301
|
.tags .overload .overload_item .signature {
|
167
302
|
padding: 2px 8px;
|
168
|
-
background: #
|
303
|
+
background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
|
169
304
|
}
|
170
305
|
.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
|
171
306
|
.tags .overload .docstring { margin-top: 15px; }
|
@@ -175,34 +310,35 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
|
|
175
310
|
#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
|
176
311
|
|
177
312
|
.showSource { font-size: 0.9em; }
|
178
|
-
.showSource a
|
313
|
+
.showSource a, .showSource a:visited { text-decoration: none; color: #666; }
|
179
314
|
|
180
|
-
#content a
|
315
|
+
#content a, #content a:visited { text-decoration: none; color: #05a; }
|
181
316
|
#content a:hover { background: #ffffa5; }
|
182
|
-
div.docstring, p.docstring { margin-right: 6em; }
|
183
317
|
|
184
318
|
ul.summary {
|
185
319
|
list-style: none;
|
186
320
|
font-family: monospace;
|
187
321
|
font-size: 1em;
|
188
322
|
line-height: 1.5em;
|
323
|
+
padding-left: 0px;
|
189
324
|
}
|
190
|
-
ul.summary a
|
325
|
+
ul.summary a, ul.summary a:visited {
|
191
326
|
text-decoration: none; font-size: 1.1em;
|
192
327
|
}
|
193
328
|
ul.summary li { margin-bottom: 5px; }
|
194
329
|
.summary .summary_signature {
|
195
|
-
padding:
|
196
|
-
background: #
|
197
|
-
|
330
|
+
padding: 4px 8px;
|
331
|
+
background: #f8f8f8;
|
332
|
+
border: 1px solid #f0f0f0;
|
333
|
+
border-radius: 5px;
|
198
334
|
}
|
199
|
-
.summary_signature:hover { background: #
|
335
|
+
.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
|
200
336
|
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
201
337
|
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
202
|
-
#content .summary_signature:hover a
|
338
|
+
#content .summary_signature:hover a,
|
203
339
|
#content .summary_signature:hover a:visited {
|
204
340
|
background: transparent;
|
205
|
-
color: #
|
341
|
+
color: #049;
|
206
342
|
}
|
207
343
|
|
208
344
|
p.inherited a { font-family: monospace; font-size: 0.9em; }
|
@@ -221,37 +357,42 @@ ul.fullTree li:last-child { padding-bottom: 0; }
|
|
221
357
|
.showAll ul.fullTree { display: block; }
|
222
358
|
.showAll .inheritName { display: none; }
|
223
359
|
|
224
|
-
#search { position: absolute; right:
|
225
|
-
#search a
|
226
|
-
display: block; float: left;
|
227
|
-
padding: 8px
|
360
|
+
#search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
|
361
|
+
#search a {
|
362
|
+
display: block; float: left;
|
363
|
+
padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
|
228
364
|
border: 1px solid #d8d8e5;
|
229
|
-
-
|
230
|
-
|
231
|
-
|
232
|
-
-webkit-box-shadow: -1px 1px 3px #ddd;
|
365
|
+
border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
|
366
|
+
background: #F1F8FF;
|
367
|
+
box-shadow: -1px 1px 3px #ddd;
|
233
368
|
}
|
234
|
-
#search a:hover { background: #f5faff; color: #06b; }
|
369
|
+
#search a:hover { background: #f5faff; color: #06b; fill: #06b; }
|
235
370
|
#search a.active {
|
236
|
-
background: #568; padding-bottom: 20px; color: #fff;
|
237
|
-
|
238
|
-
|
371
|
+
background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
|
372
|
+
border: 1px solid #457;
|
373
|
+
border-top-left-radius: 5px; border-top-right-radius: 5px;
|
374
|
+
}
|
375
|
+
#search a.inactive { color: #999; fill: #999; }
|
376
|
+
.inheritanceTree, .toggleDefines {
|
377
|
+
float: right;
|
378
|
+
border-left: 1px solid #aaa;
|
379
|
+
position: absolute; top: 0; right: 0;
|
380
|
+
height: 100%;
|
381
|
+
background: #f6f6f6;
|
382
|
+
padding: 5px;
|
383
|
+
min-width: 55px;
|
384
|
+
text-align: center;
|
239
385
|
}
|
240
|
-
#search a.inactive { color: #999; }
|
241
|
-
.frames #search { display: none; }
|
242
|
-
.inheritanceTree, .toggleDefines { float: right; }
|
243
386
|
|
244
|
-
#menu { font-size: 1.3em; color: #bbb;
|
387
|
+
#menu { font-size: 1.3em; color: #bbb; }
|
245
388
|
#menu .title, #menu a { font-size: 0.7em; }
|
246
389
|
#menu .title a { font-size: 1em; }
|
247
390
|
#menu .title { color: #555; }
|
248
|
-
#menu a
|
391
|
+
#menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
249
392
|
#menu a:hover { color: #05a; }
|
250
|
-
#menu .noframes { display: inline; }
|
251
|
-
.frames #menu .noframes { display: inline; float: right; }
|
252
393
|
|
253
394
|
#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
|
254
|
-
#footer a
|
395
|
+
#footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
255
396
|
#footer a:hover { color: #05a; }
|
256
397
|
|
257
398
|
#listing ul.alpha { font-size: 1.1em; }
|
@@ -263,38 +404,23 @@ ul.fullTree li:last-child { padding-bottom: 0; }
|
|
263
404
|
li.r1 { background: #f0f0f0; }
|
264
405
|
li.r2 { background: #fafafa; }
|
265
406
|
|
266
|
-
#
|
267
|
-
z-index: 9999;
|
268
|
-
background: #fff;
|
269
|
-
display: none;
|
270
|
-
position: absolute;
|
271
|
-
top: 36px;
|
272
|
-
right: 18px;
|
273
|
-
width: 500px;
|
274
|
-
height: 80%;
|
275
|
-
overflow-y: scroll;
|
276
|
-
border: 1px solid #999;
|
277
|
-
border-collapse: collapse;
|
278
|
-
-webkit-box-shadow: -7px 5px 25px #aaa;
|
279
|
-
-moz-box-shadow: -7px 5px 25px #aaa;
|
280
|
-
-moz-border-radius: 2px;
|
281
|
-
-webkit-border-radius: 2px;
|
282
|
-
}
|
283
|
-
|
284
|
-
#content ul.summary li.deprecated .summary_signature a:link,
|
407
|
+
#content ul.summary li.deprecated .summary_signature a,
|
285
408
|
#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
|
286
409
|
|
287
410
|
#toc {
|
288
|
-
padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
|
289
|
-
max-width: 300px;
|
290
|
-
-webkit-box-shadow: -2px 2px 6px #bbb;
|
291
|
-
-moz-box-shadow: -2px 2px 6px #bbb;
|
292
|
-
z-index: 5000;
|
293
411
|
position: relative;
|
412
|
+
float: right;
|
294
413
|
overflow-x: auto;
|
414
|
+
right: -3px;
|
415
|
+
margin-left: 20px;
|
416
|
+
margin-bottom: 20px;
|
417
|
+
padding: 20px; padding-right: 30px;
|
418
|
+
max-width: 300px;
|
419
|
+
z-index: 5000;
|
420
|
+
background: #fefefe;
|
421
|
+
border: 1px solid #ddd;
|
422
|
+
box-shadow: -2px 2px 6px #bbb;
|
295
423
|
}
|
296
|
-
#toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
297
|
-
#toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
|
298
424
|
#toc .title { margin: 0; }
|
299
425
|
#toc ol { padding-left: 1.8em; }
|
300
426
|
#toc li { font-size: 1.1em; line-height: 1.7em; }
|
@@ -302,8 +428,17 @@ li.r2 { background: #fafafa; }
|
|
302
428
|
#toc ol > ol { font-size: 0.9em; }
|
303
429
|
#toc ol ol > ol { padding-left: 2.3em; }
|
304
430
|
#toc ol + li { margin-top: 0.3em; }
|
305
|
-
#toc.hidden { padding: 10px; background: #
|
431
|
+
#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
|
432
|
+
#toc.hidden:hover { background: #fafafa; }
|
306
433
|
#filecontents h1 + #toc.nofloat { margin-top: 0; }
|
434
|
+
@media (max-width: 560px) {
|
435
|
+
#toc {
|
436
|
+
margin-left: 0;
|
437
|
+
margin-top: 16px;
|
438
|
+
float: none;
|
439
|
+
max-width: none;
|
440
|
+
}
|
441
|
+
}
|
307
442
|
|
308
443
|
/* syntax highlighting */
|
309
444
|
.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
|
@@ -311,13 +446,25 @@ li.r2 { background: #fafafa; }
|
|
311
446
|
#filecontents pre.code, .docstring pre.code { display: block; }
|
312
447
|
.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
|
313
448
|
#filecontents pre.code, .docstring pre.code,
|
314
|
-
.tags pre.example {
|
315
|
-
|
449
|
+
.tags pre.example {
|
450
|
+
padding: 9px 14px;
|
451
|
+
margin-top: 4px;
|
452
|
+
border: 1px solid #e1e1e8;
|
453
|
+
background: #f7f7f9;
|
454
|
+
border-radius: 4px;
|
455
|
+
font-size: 1em;
|
456
|
+
overflow-x: auto;
|
457
|
+
line-height: 1.2em;
|
458
|
+
}
|
459
|
+
pre.code { color: #000; tab-size: 2; }
|
316
460
|
pre.code .info.file { color: #555; }
|
317
461
|
pre.code .val { color: #036A07; }
|
318
462
|
pre.code .tstring_content,
|
319
463
|
pre.code .heredoc_beg, pre.code .heredoc_end,
|
320
|
-
pre.code .qwords_beg, pre.code .qwords_end,
|
464
|
+
pre.code .qwords_beg, pre.code .qwords_end, pre.code .qwords_sep,
|
465
|
+
pre.code .words_beg, pre.code .words_end, pre.code .words_sep,
|
466
|
+
pre.code .qsymbols_beg, pre.code .qsymbols_end, pre.code .qsymbols_sep,
|
467
|
+
pre.code .symbols_beg, pre.code .symbols_end, pre.code .symbols_sep,
|
321
468
|
pre.code .tstring, pre.code .dstring { color: #036A07; }
|
322
469
|
pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
|
323
470
|
pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
|
@@ -337,3 +484,9 @@ pre.code .rubyid_backref,
|
|
337
484
|
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
338
485
|
pre.code .regexp, .dregexp { color: #036A07; }
|
339
486
|
pre.code a { border-bottom: 1px dotted #bbf; }
|
487
|
+
|
488
|
+
/* Color fix for links */
|
489
|
+
#content .summary_desc pre.code .id > .object_link a, /* identifier */
|
490
|
+
#content .docstring pre.code .id > .object_link a { color: #0085FF; }
|
491
|
+
#content .summary_desc pre.code .const > .object_link a, /* constant */
|
492
|
+
#content .docstring pre.code .const > .object_link a { color: #585CF6; }
|