cryptorecord 0.9.1
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.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.rubocop.yml +11 -0
- data/.travis.yml +14 -0
- data/Gemfile +11 -0
- data/LICENSE.txt +340 -0
- data/README.md +137 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/cryptorecord.gemspec +37 -0
- data/exe/openpgpkeysrecord +36 -0
- data/exe/sshfprecord +55 -0
- data/exe/tlsarecord +49 -0
- data/lib/cryptorecord.rb +5 -0
- data/lib/cryptorecord/.yardoc/checksums +0 -0
- data/lib/cryptorecord/.yardoc/complete +0 -0
- data/lib/cryptorecord/.yardoc/object_types +0 -0
- data/lib/cryptorecord/.yardoc/objects/root.dat +0 -0
- data/lib/cryptorecord/.yardoc/proxy_types +0 -0
- data/lib/cryptorecord/doc/_index.html +85 -0
- data/lib/cryptorecord/doc/class_list.html +51 -0
- data/lib/cryptorecord/doc/css/common.css +1 -0
- data/lib/cryptorecord/doc/css/full_list.css +58 -0
- data/lib/cryptorecord/doc/css/style.css +499 -0
- data/lib/cryptorecord/doc/file_list.html +51 -0
- data/lib/cryptorecord/doc/frames.html +17 -0
- data/lib/cryptorecord/doc/index.html +85 -0
- data/lib/cryptorecord/doc/js/app.js +248 -0
- data/lib/cryptorecord/doc/js/full_list.js +216 -0
- data/lib/cryptorecord/doc/js/jquery.js +4 -0
- data/lib/cryptorecord/doc/method_list.html +51 -0
- data/lib/cryptorecord/doc/top-level-namespace.html +100 -0
- data/lib/cryptorecord/exceptions.rb +16 -0
- data/lib/cryptorecord/openpgpkeys.rb +142 -0
- data/lib/cryptorecord/sshfp.rb +143 -0
- data/lib/cryptorecord/tlsa.rb +167 -0
- data/lib/cryptorecord/version.rb +24 -0
- metadata +131 -0
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'cryptorecord'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cryptorecord/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "cryptorecord"
|
8
|
+
spec.version = Cryptorecord::VERSION
|
9
|
+
spec.authors = ["Wolfgang Hotwagner"]
|
10
|
+
spec.email = ["code@feedyourhead.at"]
|
11
|
+
|
12
|
+
spec.summary = "cryptorecord is a ruby-gem that helps creating crypto-related dns-records like tlsa/sshfp/openpgpkey"
|
13
|
+
spec.description = <<-DESCRIPTION
|
14
|
+
This gem provides an API and scripts for creating crypto-related dns-records(e.g. DANE).
|
15
|
+
At the moment the following records are supported:
|
16
|
+
* TLSA
|
17
|
+
* SSHFP
|
18
|
+
* OPENPGPKEYS
|
19
|
+
|
20
|
+
This API does not create nor provide any public keys or certificates. It uses existing keys
|
21
|
+
to create the dns-records.
|
22
|
+
DESCRIPTION
|
23
|
+
spec.homepage = "https://github.com/whotwagner/cryptorecord"
|
24
|
+
spec.licenses = ["GPL"]
|
25
|
+
|
26
|
+
|
27
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
28
|
+
f.match(%r{^(test|spec|features|resources)/})
|
29
|
+
end
|
30
|
+
spec.bindir = "exe"
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
|
+
spec.require_paths = ["lib"]
|
33
|
+
|
34
|
+
spec.add_development_dependency "bundler", "~> 1.13"
|
35
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
36
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
37
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'optparse'
|
5
|
+
require 'ostruct'
|
6
|
+
|
7
|
+
require 'cryptorecord/openpgpkeys'
|
8
|
+
|
9
|
+
options = OpenStruct.new
|
10
|
+
|
11
|
+
OptionParser.new do |opt|
|
12
|
+
opt.banner = "Usage: #{$PROGRAM_NAME} -u <email> -f <gpgkeyfile>"
|
13
|
+
opt.on('-h', '--help', 'This help screen') do
|
14
|
+
warn opt
|
15
|
+
exit
|
16
|
+
end
|
17
|
+
opt.on('-f', '--publickeyfile PGP-PUBLICKEY-FILE',
|
18
|
+
'PGP-Publickey-File') { |o| options.keyfile = o }
|
19
|
+
opt.on('-u', '--uid EMAIL', 'email-address') { |o| options.uid = o }
|
20
|
+
# this won't work with older ruby-versions
|
21
|
+
options[:help] = opt.help
|
22
|
+
end.parse!
|
23
|
+
|
24
|
+
unless defined? options.keyfile
|
25
|
+
warn 'Usage-Error: No keyfile provided'
|
26
|
+
exit 1
|
27
|
+
end
|
28
|
+
|
29
|
+
unless defined? options.uid
|
30
|
+
warn 'Usage-Error: No uid provided'
|
31
|
+
exit 1
|
32
|
+
end
|
33
|
+
|
34
|
+
openpgpkeys = Cryptorecord::Openpgpkeys.new(options.to_h)
|
35
|
+
openpgpkeys.read_file(options.keyfile)
|
36
|
+
puts openpgpkeys
|
data/exe/sshfprecord
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'optparse'
|
5
|
+
require 'ostruct'
|
6
|
+
|
7
|
+
require 'cryptorecord/sshfp'
|
8
|
+
|
9
|
+
def read_local_hostkeys(options)
|
10
|
+
Dir['/etc/ssh/ssh_host_*_key.pub'].each do |file_name|
|
11
|
+
next if File.directory? file_name
|
12
|
+
options.keyfile = file_name
|
13
|
+
options.digest = 1
|
14
|
+
sshfp = Cryptorecord::Sshfp.new(options.to_h)
|
15
|
+
puts sshfp
|
16
|
+
options.digest = 2
|
17
|
+
sshfp = Cryptorecord::Sshfp.new(options.to_h)
|
18
|
+
puts sshfp
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
options = OpenStruct.new
|
23
|
+
|
24
|
+
##### DEFAULTS ####
|
25
|
+
options.digest = 2
|
26
|
+
options.read = 0
|
27
|
+
###################
|
28
|
+
|
29
|
+
OptionParser.new do |opt|
|
30
|
+
opt.banner = "Usage: #{$PROGRAM_NAME} [ options ]"
|
31
|
+
opt.on('-h', '--help', 'This help screen') do
|
32
|
+
warn opt
|
33
|
+
exit
|
34
|
+
end
|
35
|
+
opt.on('-f', '--hostkeyfile SSH-HOST-KEY-FILE',
|
36
|
+
'SSH-Hostkey-File') { |o| options.keyfile = o }
|
37
|
+
opt.on('-H', '--host HOST', 'host') { |o| options.host = o }
|
38
|
+
opt.on('-d', '--digest DIGEST', 'HASH-Algorithm') { |o| options.digest = o }
|
39
|
+
opt.on('-r', '--read-local-hostkeys',
|
40
|
+
'Read all local Hostkeys.(like ssh-keygen -r)') { options.read = 1 }
|
41
|
+
# this won't work with older ruby-versions
|
42
|
+
options[:help] = opt.help
|
43
|
+
end.parse!
|
44
|
+
|
45
|
+
unless defined? options.keyfile && options.read == 1
|
46
|
+
warn 'Usage-Error: No sshkeyfile was provided'
|
47
|
+
exit 1
|
48
|
+
end
|
49
|
+
|
50
|
+
if options.read == 1
|
51
|
+
read_local_hostkeys(options)
|
52
|
+
else
|
53
|
+
sshfp = Cryptorecord::Sshfp.new(options.to_h)
|
54
|
+
puts sshfp
|
55
|
+
end
|
data/exe/tlsarecord
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'optparse'
|
5
|
+
require 'ostruct'
|
6
|
+
|
7
|
+
require 'cryptorecord/tlsa'
|
8
|
+
|
9
|
+
options = OpenStruct.new
|
10
|
+
|
11
|
+
##### DEFAULTS ####
|
12
|
+
options.selector = 0
|
13
|
+
options.usage = 3
|
14
|
+
options.mtype = 0
|
15
|
+
###################
|
16
|
+
|
17
|
+
OptionParser.new do |opt|
|
18
|
+
opt.banner = "Usage: #{$PROGRAM_NAME} [ options ]"
|
19
|
+
opt.on('-h', '--help', 'This help screen') do
|
20
|
+
warn opt
|
21
|
+
exit
|
22
|
+
end
|
23
|
+
opt.on('-f', '--certfile CERTIFICATE-FILE',
|
24
|
+
'Certificatefile') { |o| options.certfile = o }
|
25
|
+
opt.on('-H', '--host HOST', 'host') { |o| options.host = o }
|
26
|
+
opt.on('-p', '--port PORTNUMBER', 'port') { |o| options.port = o }
|
27
|
+
opt.on('-P', '--protocol PROTOCOL',
|
28
|
+
'protocol(tcp,udp,sctp..)') { |o| options.proto = o }
|
29
|
+
opt.on('-s', '--selector SELECTOR',
|
30
|
+
'Selector for the association. 0 = Full Cert,'\
|
31
|
+
'1 = SubjectPublicKeyInfo') { |o| options.selector = o }
|
32
|
+
opt.on('-u', '--usage USAGE',
|
33
|
+
'Usage for the association.0 = PKIX-CA,'\
|
34
|
+
'1 = PKIX-EE, 2 = DANE-TA, 3 = DANE-EE') { |o| options.usage = o }
|
35
|
+
opt.on('-t', '--mtype MTYPE',
|
36
|
+
'The Matching Type of the association.'\
|
37
|
+
'0 = Exact Match, 1 = SHA-256, 2 = SHA-512') { |o| options.mtype = o }
|
38
|
+
# this won't work with older ruby-versions
|
39
|
+
options[:help] = opt.help
|
40
|
+
end.parse!
|
41
|
+
|
42
|
+
unless defined? options.certfile
|
43
|
+
warn 'Usage-Error: No certificate was provided'
|
44
|
+
exit 1
|
45
|
+
end
|
46
|
+
|
47
|
+
tlsa = Cryptorecord::Tlsa.new(options.to_h)
|
48
|
+
tlsa.read_file(options.certfile)
|
49
|
+
puts tlsa
|
data/lib/cryptorecord.rb
ADDED
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,85 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Documentation by YARD 0.9.12
|
8
|
+
|
9
|
+
</title>
|
10
|
+
|
11
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8">
|
16
|
+
pathId = null;
|
17
|
+
relpath = '';
|
18
|
+
</script>
|
19
|
+
|
20
|
+
|
21
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
24
|
+
|
25
|
+
|
26
|
+
</head>
|
27
|
+
<body>
|
28
|
+
<div class="nav_wrap">
|
29
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
30
|
+
<div id="resizer"></div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div id="main" tabindex="-1">
|
34
|
+
<div id="header">
|
35
|
+
<div id="menu">
|
36
|
+
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search">
|
40
|
+
|
41
|
+
<a class="full_list_link" id="class_list_link"
|
42
|
+
href="class_list.html">
|
43
|
+
|
44
|
+
<svg width="24" height="24">
|
45
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
46
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
47
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
48
|
+
</svg>
|
49
|
+
</a>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
<div class="clear"></div>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.12</h1>
|
56
|
+
<div id="listing">
|
57
|
+
<h1 class="alphaindex">Alphabetic Index</h1>
|
58
|
+
|
59
|
+
<div class="clear"></div>
|
60
|
+
<h2>Namespace Listing A-Z</h2>
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
<table>
|
66
|
+
<tr>
|
67
|
+
<td valign='top' width="33%">
|
68
|
+
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
|
73
|
+
</div>
|
74
|
+
|
75
|
+
</div>
|
76
|
+
|
77
|
+
<div id="footer">
|
78
|
+
Generated on Sat May 5 14:24:03 2018 by
|
79
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
80
|
+
0.9.12 (ruby-2.5.1).
|
81
|
+
</div>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
</body>
|
85
|
+
</html>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
|
+
<meta charset="utf-8" />
|
6
|
+
|
7
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
16
|
+
|
17
|
+
|
18
|
+
<title>Class List</title>
|
19
|
+
<base id="base_target" target="_parent" />
|
20
|
+
</head>
|
21
|
+
<body>
|
22
|
+
<div id="content">
|
23
|
+
<div class="fixed_header">
|
24
|
+
<h1 id="full_list_header">Class List</h1>
|
25
|
+
<div id="full_list_nav">
|
26
|
+
|
27
|
+
<span><a target="_self" href="class_list.html">
|
28
|
+
Classes
|
29
|
+
</a></span>
|
30
|
+
|
31
|
+
<span><a target="_self" href="method_list.html">
|
32
|
+
Methods
|
33
|
+
</a></span>
|
34
|
+
|
35
|
+
<span><a target="_self" href="file_list.html">
|
36
|
+
Files
|
37
|
+
</a></span>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="search">Search: <input type="text" /></div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<ul id="full_list" class="class">
|
45
|
+
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
46
|
+
|
47
|
+
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</body>
|
51
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
/* Override this file with custom rules */
|
@@ -0,0 +1,58 @@
|
|
1
|
+
body {
|
2
|
+
margin: 0;
|
3
|
+
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
|
+
font-size: 13px;
|
5
|
+
height: 101%;
|
6
|
+
overflow-x: hidden;
|
7
|
+
background: #fafafa;
|
8
|
+
}
|
9
|
+
|
10
|
+
h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
11
|
+
.clear { clear: both; }
|
12
|
+
.fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; }
|
13
|
+
#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
|
14
|
+
#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcH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R8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
|
15
|
+
#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; }
|
16
|
+
#full_list ul { padding: 0; }
|
17
|
+
#full_list li { padding: 0; margin: 0; list-style: none; }
|
18
|
+
#full_list li .item { padding: 5px 5px 5px 12px; }
|
19
|
+
#noresults { padding: 7px 12px; background: #fff; }
|
20
|
+
#content.insearch #noresults { margin-left: 7px; }
|
21
|
+
li.collapsed ul { display: none; }
|
22
|
+
li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
|
23
|
+
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
|
24
|
+
li { color: #888; cursor: pointer; }
|
25
|
+
li.deprecated { text-decoration: line-through; font-style: italic; }
|
26
|
+
li.odd { background: #f0f0f0; }
|
27
|
+
li.even { background: #fafafa; }
|
28
|
+
.item:hover { background: #ddd; }
|
29
|
+
li small:before { content: "("; }
|
30
|
+
li small:after { content: ")"; }
|
31
|
+
li small.search_info { display: none; }
|
32
|
+
a, a:visited { text-decoration: none; color: #05a; }
|
33
|
+
li.clicked > .item { background: #05a; color: #ccc; }
|
34
|
+
li.clicked > .item a, li.clicked > .item a:visited { color: #eee; }
|
35
|
+
li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; }
|
36
|
+
li.collapsed.clicked a.toggle { background-position: top right; }
|
37
|
+
#search input { border: 1px solid #bbb; border-radius: 3px; }
|
38
|
+
#full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; }
|
39
|
+
#full_list_nav a, #nav a:visited { color: #358; }
|
40
|
+
#full_list_nav a:hover { background: transparent; color: #5af; }
|
41
|
+
#full_list_nav span:after { content: ' | '; }
|
42
|
+
#full_list_nav span:last-child:after { content: ''; }
|
43
|
+
|
44
|
+
#content h1 { margin-top: 0; }
|
45
|
+
li { white-space: nowrap; cursor: normal; }
|
46
|
+
li small { display: block; font-size: 0.8em; }
|
47
|
+
li small:before { content: ""; }
|
48
|
+
li small:after { content: ""; }
|
49
|
+
li small.search_info { display: none; }
|
50
|
+
#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
|
51
|
+
#content.insearch #search { background-position: center right; }
|
52
|
+
#search input { width: 110px; }
|
53
|
+
|
54
|
+
#full_list.insearch ul { display: block; }
|
55
|
+
#full_list.insearch .item { display: none; }
|
56
|
+
#full_list.insearch .found { display: block; padding-left: 11px !important; }
|
57
|
+
#full_list.insearch li a.toggle { display: none; }
|
58
|
+
#full_list.insearch li small.search_info { display: block; }
|
@@ -0,0 +1,499 @@
|
|
1
|
+
html {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
}
|
5
|
+
body {
|
6
|
+
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
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;
|
45
|
+
}
|
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%; }
|
85
|
+
h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
|
86
|
+
h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
|
87
|
+
h1.title { margin-bottom: 10px; }
|
88
|
+
h1.alphaindex { margin-top: 0; font-size: 22px; }
|
89
|
+
h2 {
|
90
|
+
padding: 0;
|
91
|
+
padding-bottom: 3px;
|
92
|
+
border-bottom: 1px #aaa solid;
|
93
|
+
font-size: 1.4em;
|
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;
|
107
|
+
}
|
108
|
+
.clear { clear: both; }
|
109
|
+
.inline { display: inline; }
|
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
|
+
}
|
116
|
+
.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
|
117
|
+
.docstring h1 { font-size: 1.2em; }
|
118
|
+
.docstring h2 { font-size: 1.1em; }
|
119
|
+
.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
|
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
|
+
}
|
125
|
+
.rdoc-term { padding-right: 25px; font-weight: bold; }
|
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
|
+
}
|
130
|
+
|
131
|
+
/* style for <table> */
|
132
|
+
#filecontents table, .docstring table { border-collapse: collapse; }
|
133
|
+
#filecontents table th, #filecontents table td,
|
134
|
+
.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
|
135
|
+
#filecontents table tr:nth-child(odd),
|
136
|
+
.docstring table tr:nth-child(odd) { background: #eee; }
|
137
|
+
#filecontents table tr:nth-child(even),
|
138
|
+
.docstring table tr:nth-child(even) { background: #fff; }
|
139
|
+
#filecontents table th, .docstring table th { background: #fff; }
|
140
|
+
|
141
|
+
/* style for <ul> */
|
142
|
+
#filecontents li > p, .docstring li > p { margin: 0px; }
|
143
|
+
#filecontents ul, .docstring ul { padding-left: 20px; }
|
144
|
+
/* style for <dl> */
|
145
|
+
#filecontents dl, .docstring dl { border: 1px solid #ccc; }
|
146
|
+
#filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
|
147
|
+
#filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
|
148
|
+
#filecontents dd > p, .docstring dd > p { margin: 0px; }
|
149
|
+
|
150
|
+
.note {
|
151
|
+
color: #222;
|
152
|
+
margin: 20px 0;
|
153
|
+
padding: 10px;
|
154
|
+
border: 1px solid #eee;
|
155
|
+
border-radius: 3px;
|
156
|
+
display: block;
|
157
|
+
}
|
158
|
+
.docstring .note {
|
159
|
+
border-left-color: #ccc;
|
160
|
+
border-left-width: 5px;
|
161
|
+
}
|
162
|
+
.note.todo { background: #ffffc5; border-color: #ececaa; }
|
163
|
+
.note.returns_void { background: #efefef; }
|
164
|
+
.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
165
|
+
.note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
166
|
+
.note.private { background: #ffffc5; border-color: #ececaa; }
|
167
|
+
.note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
|
168
|
+
.summary_signature + .note.title { margin-left: 7px; }
|
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; }
|
171
|
+
.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
172
|
+
.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
|
173
|
+
.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
174
|
+
.note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
|
175
|
+
.note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
|
176
|
+
.discussion .note { margin-top: 6px; }
|
177
|
+
.discussion .note:first-child { margin-top: 0; }
|
178
|
+
|
179
|
+
h3.inherited {
|
180
|
+
font-style: italic;
|
181
|
+
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
182
|
+
font-weight: normal;
|
183
|
+
padding: 0;
|
184
|
+
margin: 0;
|
185
|
+
margin-top: 12px;
|
186
|
+
margin-bottom: 3px;
|
187
|
+
font-size: 13px;
|
188
|
+
}
|
189
|
+
p.inherited {
|
190
|
+
padding: 0;
|
191
|
+
margin: 0;
|
192
|
+
margin-left: 25px;
|
193
|
+
}
|
194
|
+
|
195
|
+
.box_info dl {
|
196
|
+
margin: 0;
|
197
|
+
border: 0;
|
198
|
+
width: 100%;
|
199
|
+
font-size: 1em;
|
200
|
+
display: flex;
|
201
|
+
display: -webkit-flex;
|
202
|
+
display: -ms-flexbox;
|
203
|
+
}
|
204
|
+
.box_info dl dt {
|
205
|
+
flex-shrink: 0;
|
206
|
+
-webkit-flex-shrink: 1;
|
207
|
+
-ms-flex-shrink: 1;
|
208
|
+
width: 100px;
|
209
|
+
text-align: right;
|
210
|
+
font-weight: bold;
|
211
|
+
border: 1px solid #aaa;
|
212
|
+
border-width: 1px 0px 0px 1px;
|
213
|
+
padding: 6px 0;
|
214
|
+
padding-right: 10px;
|
215
|
+
}
|
216
|
+
.box_info dl dd {
|
217
|
+
flex-grow: 1;
|
218
|
+
-webkit-flex-grow: 1;
|
219
|
+
-ms-flex: 1;
|
220
|
+
max-width: 420px;
|
221
|
+
padding: 6px 0;
|
222
|
+
padding-right: 20px;
|
223
|
+
border: 1px solid #aaa;
|
224
|
+
border-width: 1px 1px 0 0;
|
225
|
+
overflow: hidden;
|
226
|
+
position: relative;
|
227
|
+
}
|
228
|
+
.box_info dl:last-child > * {
|
229
|
+
border-bottom: 1px solid #aaa;
|
230
|
+
}
|
231
|
+
.box_info dl:nth-child(odd) > * { background: #eee; }
|
232
|
+
.box_info dl:nth-child(even) > * { background: #fff; }
|
233
|
+
.box_info dl > * { margin: 0; }
|
234
|
+
|
235
|
+
ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
236
|
+
.index_inline_list { padding-left: 0; font-size: 1.1em; }
|
237
|
+
|
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; }
|
247
|
+
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
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; }
|
250
|
+
|
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
|
+
}
|
260
|
+
.summary_desc tt { font-size: 0.9em; }
|
261
|
+
dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
|
262
|
+
dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
|
263
|
+
dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
|
264
|
+
dl.constants .discussion *:first-child { margin-top: 0; }
|
265
|
+
dl.constants .discussion *:last-child { margin-bottom: 0; }
|
266
|
+
|
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; }
|
270
|
+
p.signature, h3.signature {
|
271
|
+
font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
|
272
|
+
padding: 6px 10px; margin-top: 1em;
|
273
|
+
background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
|
274
|
+
}
|
275
|
+
p.signature tt,
|
276
|
+
h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
|
277
|
+
p.signature .overload,
|
278
|
+
h3.signature .overload { display: block; }
|
279
|
+
p.signature .extras,
|
280
|
+
h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
|
281
|
+
p.signature .not_defined_here,
|
282
|
+
h3.signature .not_defined_here,
|
283
|
+
p.signature .aliases,
|
284
|
+
h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
|
285
|
+
p.signature .aliases .names,
|
286
|
+
h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
|
287
|
+
|
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; }
|
290
|
+
.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
|
291
|
+
.tags ul li { margin-bottom: 3px; }
|
292
|
+
.tags ul .name { font-family: monospace; font-weight: bold; }
|
293
|
+
.tags ul .note { padding: 3px 6px; }
|
294
|
+
.tags { margin-bottom: 12px; }
|
295
|
+
|
296
|
+
.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
|
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; }
|
299
|
+
|
300
|
+
.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
|
301
|
+
.tags .overload .overload_item .signature {
|
302
|
+
padding: 2px 8px;
|
303
|
+
background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
|
304
|
+
}
|
305
|
+
.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
|
306
|
+
.tags .overload .docstring { margin-top: 15px; }
|
307
|
+
|
308
|
+
.defines { display: none; }
|
309
|
+
|
310
|
+
#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
|
311
|
+
|
312
|
+
.showSource { font-size: 0.9em; }
|
313
|
+
.showSource a, .showSource a:visited { text-decoration: none; color: #666; }
|
314
|
+
|
315
|
+
#content a, #content a:visited { text-decoration: none; color: #05a; }
|
316
|
+
#content a:hover { background: #ffffa5; }
|
317
|
+
|
318
|
+
ul.summary {
|
319
|
+
list-style: none;
|
320
|
+
font-family: monospace;
|
321
|
+
font-size: 1em;
|
322
|
+
line-height: 1.5em;
|
323
|
+
padding-left: 0px;
|
324
|
+
}
|
325
|
+
ul.summary a, ul.summary a:visited {
|
326
|
+
text-decoration: none; font-size: 1.1em;
|
327
|
+
}
|
328
|
+
ul.summary li { margin-bottom: 5px; }
|
329
|
+
.summary .summary_signature {
|
330
|
+
padding: 4px 8px;
|
331
|
+
background: #f8f8f8;
|
332
|
+
border: 1px solid #f0f0f0;
|
333
|
+
border-radius: 5px;
|
334
|
+
}
|
335
|
+
.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
|
336
|
+
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
337
|
+
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
338
|
+
#content .summary_signature:hover a,
|
339
|
+
#content .summary_signature:hover a:visited {
|
340
|
+
background: transparent;
|
341
|
+
color: #049;
|
342
|
+
}
|
343
|
+
|
344
|
+
p.inherited a { font-family: monospace; font-size: 0.9em; }
|
345
|
+
p.inherited { word-spacing: 5px; font-size: 1.2em; }
|
346
|
+
|
347
|
+
p.children { font-size: 1.2em; }
|
348
|
+
p.children a { font-size: 0.9em; }
|
349
|
+
p.children strong { font-size: 0.8em; }
|
350
|
+
p.children strong.modules { padding-left: 5px; }
|
351
|
+
|
352
|
+
ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
|
353
|
+
ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
|
354
|
+
ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAa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AAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHtJREFUeNqMzrEJAkEURdGzuhgZbSoYWcAWoBVsB4JgZAGmphsZCZYzTQgWNCYrDN9RvMmHx+X916SUBFbo8CzD1idXrLErw1mQttgXtyrOcQ/Ny5p4Qh+2XqLYYazsPWNTiuMkRxa4vcV+evuNAUOLIx5+c2hyzv7hNQC67Q+/HHmlEwAAAABJRU5ErkJggg==) no-repeat top center; }
|
355
|
+
ul.fullTree li:first-child { padding-top: 0; background: transparent; }
|
356
|
+
ul.fullTree li:last-child { padding-bottom: 0; }
|
357
|
+
.showAll ul.fullTree { display: block; }
|
358
|
+
.showAll .inheritName { display: none; }
|
359
|
+
|
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;
|
364
|
+
border: 1px solid #d8d8e5;
|
365
|
+
border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
|
366
|
+
background: #F1F8FF;
|
367
|
+
box-shadow: -1px 1px 3px #ddd;
|
368
|
+
}
|
369
|
+
#search a:hover { background: #f5faff; color: #06b; fill: #06b; }
|
370
|
+
#search a.active {
|
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;
|
385
|
+
}
|
386
|
+
|
387
|
+
#menu { font-size: 1.3em; color: #bbb; }
|
388
|
+
#menu .title, #menu a { font-size: 0.7em; }
|
389
|
+
#menu .title a { font-size: 1em; }
|
390
|
+
#menu .title { color: #555; }
|
391
|
+
#menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
392
|
+
#menu a:hover { color: #05a; }
|
393
|
+
|
394
|
+
#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
|
395
|
+
#footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
396
|
+
#footer a:hover { color: #05a; }
|
397
|
+
|
398
|
+
#listing ul.alpha { font-size: 1.1em; }
|
399
|
+
#listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
|
400
|
+
#listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
|
401
|
+
#listing ul.alpha ul { margin: 0; padding-left: 15px; }
|
402
|
+
#listing ul small { color: #666; font-size: 0.7em; }
|
403
|
+
|
404
|
+
li.r1 { background: #f0f0f0; }
|
405
|
+
li.r2 { background: #fafafa; }
|
406
|
+
|
407
|
+
#content ul.summary li.deprecated .summary_signature a,
|
408
|
+
#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
|
409
|
+
|
410
|
+
#toc {
|
411
|
+
position: relative;
|
412
|
+
float: right;
|
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;
|
423
|
+
}
|
424
|
+
#toc .title { margin: 0; }
|
425
|
+
#toc ol { padding-left: 1.8em; }
|
426
|
+
#toc li { font-size: 1.1em; line-height: 1.7em; }
|
427
|
+
#toc > ol > li { font-size: 1.1em; font-weight: bold; }
|
428
|
+
#toc ol > ol { font-size: 0.9em; }
|
429
|
+
#toc ol ol > ol { padding-left: 2.3em; }
|
430
|
+
#toc ol + li { margin-top: 0.3em; }
|
431
|
+
#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
|
432
|
+
#toc.hidden:hover { background: #fafafa; }
|
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
|
+
}
|
442
|
+
|
443
|
+
/* syntax highlighting */
|
444
|
+
.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
|
445
|
+
#filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
|
446
|
+
#filecontents pre.code, .docstring pre.code { display: block; }
|
447
|
+
.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
|
448
|
+
#filecontents pre.code, .docstring pre.code,
|
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; }
|
460
|
+
pre.code .info.file { color: #555; }
|
461
|
+
pre.code .val { color: #036A07; }
|
462
|
+
pre.code .tstring_content,
|
463
|
+
pre.code .heredoc_beg, pre.code .heredoc_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,
|
468
|
+
pre.code .tstring, pre.code .dstring { color: #036A07; }
|
469
|
+
pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
|
470
|
+
pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
|
471
|
+
pre.code .dot + pre.code .id,
|
472
|
+
pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
|
473
|
+
pre.code .comment { color: #0066FF; }
|
474
|
+
pre.code .const, pre.code .constant { color: #585CF6; }
|
475
|
+
pre.code .label,
|
476
|
+
pre.code .symbol { color: #C5060B; }
|
477
|
+
pre.code .kw,
|
478
|
+
pre.code .rubyid_require,
|
479
|
+
pre.code .rubyid_extend,
|
480
|
+
pre.code .rubyid_include { color: #0000FF; }
|
481
|
+
pre.code .ivar { color: #318495; }
|
482
|
+
pre.code .gvar,
|
483
|
+
pre.code .rubyid_backref,
|
484
|
+
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
485
|
+
pre.code .regexp, .dregexp { color: #036A07; }
|
486
|
+
pre.code a { border-bottom: 1px dotted #bbf; }
|
487
|
+
/* inline code */
|
488
|
+
p > code {
|
489
|
+
padding: 1px 3px 1px 3px;
|
490
|
+
border: 1px solid #E1E1E8;
|
491
|
+
background: #F7F7F9;
|
492
|
+
border-radius: 4px;
|
493
|
+
}
|
494
|
+
|
495
|
+
/* Color fix for links */
|
496
|
+
#content .summary_desc pre.code .id > .object_link a, /* identifier */
|
497
|
+
#content .docstring pre.code .id > .object_link a { color: #0085FF; }
|
498
|
+
#content .summary_desc pre.code .const > .object_link a, /* constant */
|
499
|
+
#content .docstring pre.code .const > .object_link a { color: #585CF6; }
|