yard 0.8.7.6 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of yard might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -1
- data/LICENSE +2 -2
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/bin/yard +0 -0
- data/bin/yardoc +0 -0
- data/bin/yri +0 -0
- data/docs/GettingStarted.md +88 -6
- data/docs/images/handlers-class-diagram.png +0 -0
- data/docs/images/overview-class-diagram.png +0 -0
- data/docs/images/parser-class-diagram.png +0 -0
- data/docs/templates/default/fulldoc/html/full_list_tag.erb +6 -4
- data/lib/yard/autoload.rb +3 -0
- data/lib/yard/cli/yardoc.rb +1 -1
- data/lib/yard/code_objects/base.rb +4 -1
- data/lib/yard/code_objects/extra_file_object.rb +3 -1
- data/lib/yard/code_objects/proxy.rb +2 -2
- data/lib/yard/docstring.rb +11 -6
- data/lib/yard/handlers/base.rb +1 -2
- data/lib/yard/handlers/c/base.rb +19 -0
- data/lib/yard/handlers/c/handler_methods.rb +42 -8
- data/lib/yard/handlers/c/init_handler.rb +1 -1
- data/lib/yard/handlers/c/method_handler.rb +3 -3
- data/lib/yard/handlers/ruby/decorator_handler_methods.rb +132 -0
- data/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +1 -1
- data/lib/yard/handlers/ruby/private_class_method_handler.rb +6 -39
- data/lib/yard/handlers/ruby/private_constant_handler.rb +36 -30
- data/lib/yard/handlers/ruby/public_class_method_handler.rb +13 -0
- data/lib/yard/handlers/ruby/struct_handler_methods.rb +1 -0
- data/lib/yard/handlers/ruby/visibility_handler.rb +5 -8
- data/lib/yard/logging.rb +1 -0
- data/lib/yard/parser/ruby/ruby_parser.rb +2 -2
- data/lib/yard/parser/source_parser.rb +6 -6
- data/lib/yard/rake/yardoc_task.rb +2 -2
- data/lib/yard/serializers/file_system_serializer.rb +33 -1
- data/lib/yard/server/commands/display_file_command.rb +8 -3
- data/lib/yard/server/commands/display_object_command.rb +7 -3
- data/lib/yard/server/doc_server_helper.rb +2 -8
- data/lib/yard/server/doc_server_serializer.rb +2 -4
- data/lib/yard/server/router.rb +1 -1
- data/lib/yard/server/templates/default/fulldoc/html/css/custom.css +57 -8
- data/lib/yard/server/templates/default/layout/html/breadcrumb.erb +2 -10
- data/lib/yard/server/templates/default/layout/html/script_setup.erb +1 -2
- data/lib/yard/server/templates/default/method_details/html/permalink.erb +3 -3
- data/lib/yard/server/templates/doc_server/processing/html/processing.erb +4 -4
- data/lib/yard/tags/directives.rb +1 -0
- data/lib/yard/tags/library.rb +9 -7
- data/lib/yard/tags/overload_tag.rb +4 -1
- data/lib/yard/templates/helpers/html_helper.rb +4 -3
- data/lib/yard/templates/template_options.rb +3 -0
- data/lib/yard/version.rb +1 -1
- data/spec/cli/command_parser_spec.rb +14 -14
- data/spec/cli/command_spec.rb +11 -11
- data/spec/cli/config_spec.rb +32 -32
- data/spec/cli/diff_spec.rb +86 -90
- data/spec/cli/display_spec.rb +6 -6
- data/spec/cli/gems_spec.rb +28 -28
- data/spec/cli/graph_spec.rb +8 -8
- data/spec/cli/help_spec.rb +8 -8
- data/spec/cli/i18n_spec.rb +33 -37
- data/spec/cli/list_spec.rb +2 -2
- data/spec/cli/markup_types_spec.rb +3 -3
- data/spec/cli/server_spec.rb +74 -88
- data/spec/cli/stats_spec.rb +14 -14
- data/spec/cli/yardoc_spec.rb +316 -321
- data/spec/cli/yri_spec.rb +45 -45
- data/spec/code_objects/base_spec.rb +174 -173
- data/spec/code_objects/class_object_spec.rb +65 -65
- data/spec/code_objects/code_object_list_spec.rb +13 -11
- data/spec/code_objects/constants_spec.rb +68 -58
- data/spec/code_objects/extra_file_object_spec.rb +71 -59
- data/spec/code_objects/macro_object_spec.rb +64 -64
- data/spec/code_objects/method_object_spec.rb +80 -72
- data/spec/code_objects/module_object_spec.rb +47 -47
- data/spec/code_objects/namespace_object_spec.rb +51 -51
- data/spec/code_objects/proxy_spec.rb +54 -54
- data/spec/config_spec.rb +104 -104
- data/spec/core_ext/array_spec.rb +5 -5
- data/spec/core_ext/file_spec.rb +33 -33
- data/spec/core_ext/hash_spec.rb +5 -5
- data/spec/core_ext/insertion_spec.rb +18 -18
- data/spec/core_ext/module_spec.rb +6 -6
- data/spec/core_ext/string_spec.rb +17 -17
- data/spec/core_ext/symbol_hash_spec.rb +42 -39
- data/spec/docstring_parser_spec.rb +65 -65
- data/spec/docstring_spec.rb +137 -130
- data/spec/handlers/alias_handler_spec.rb +39 -39
- data/spec/handlers/attribute_handler_spec.rb +35 -35
- data/spec/handlers/base_spec.rb +60 -51
- data/spec/handlers/c/alias_handler_spec.rb +6 -6
- data/spec/handlers/c/attribute_handler_spec.rb +12 -12
- data/spec/handlers/c/class_handler_spec.rb +35 -22
- data/spec/handlers/c/constant_handler_spec.rb +24 -22
- data/spec/handlers/c/init_handler_spec.rb +10 -10
- data/spec/handlers/c/method_handler_spec.rb +150 -65
- data/spec/handlers/c/mixin_handler_spec.rb +5 -5
- data/spec/handlers/c/module_handler_spec.rb +27 -15
- data/spec/handlers/c/override_comment_handler_spec.rb +14 -14
- data/spec/handlers/c/path_handler_spec.rb +8 -8
- data/spec/handlers/c/spec_helper.rb +10 -0
- data/spec/handlers/c/struct_handler_spec.rb +3 -3
- data/spec/handlers/class_condition_handler_spec.rb +18 -18
- data/spec/handlers/class_handler_spec.rb +97 -97
- data/spec/handlers/class_method_handler_shared_examples.rb +132 -0
- data/spec/handlers/class_variable_handler_spec.rb +3 -3
- data/spec/handlers/constant_handler_spec.rb +32 -29
- data/spec/handlers/decorator_handler_methods_spec.rb +405 -0
- data/spec/handlers/dsl_handler_spec.rb +108 -109
- data/spec/handlers/examples/constant_handler_001.rb.txt +4 -1
- data/spec/handlers/examples/visibility_handler_001.rb.txt +4 -0
- data/spec/handlers/exception_handler_spec.rb +23 -23
- data/spec/handlers/extend_handler_spec.rb +9 -9
- data/spec/handlers/legacy_base_spec.rb +60 -60
- data/spec/handlers/method_condition_handler_spec.rb +5 -5
- data/spec/handlers/method_handler_spec.rb +92 -92
- data/spec/handlers/mixin_handler_spec.rb +25 -25
- data/spec/handlers/module_function_handler_spec.rb +24 -24
- data/spec/handlers/module_handler_spec.rb +15 -15
- data/spec/handlers/private_class_method_handler_spec.rb +4 -48
- data/spec/handlers/private_constant_handler_spec.rb +8 -8
- data/spec/handlers/processor_spec.rb +12 -12
- data/spec/handlers/public_class_method_handler_spec.rb +10 -0
- data/spec/handlers/ruby/base_spec.rb +16 -16
- data/spec/handlers/ruby/legacy/base_spec.rb +20 -18
- data/spec/handlers/spec_helper.rb +1 -1
- data/spec/handlers/visibility_handler_spec.rb +25 -21
- data/spec/handlers/yield_handler_spec.rb +28 -28
- data/spec/i18n/locale_spec.rb +16 -16
- data/spec/i18n/message_spec.rb +8 -8
- data/spec/i18n/messages_spec.rb +14 -14
- data/spec/i18n/pot_generator_spec.rb +32 -32
- data/spec/i18n/text_spec.rb +22 -22
- data/spec/logging_spec.rb +12 -12
- data/spec/options_spec.rb +56 -56
- data/spec/parser/base_spec.rb +9 -9
- data/spec/parser/c_parser_spec.rb +50 -50
- data/spec/parser/ruby/ast_node_spec.rb +7 -7
- data/spec/parser/ruby/legacy/statement_list_spec.rb +106 -106
- data/spec/parser/ruby/legacy/token_list_spec.rb +27 -27
- data/spec/parser/ruby/ruby_parser_spec.rb +123 -113
- data/spec/parser/source_parser_spec.rb +224 -224
- data/spec/parser/tag_parsing_spec.rb +6 -7
- data/spec/rake/yardoc_task_spec.rb +38 -48
- data/spec/registry_spec.rb +143 -143
- data/spec/registry_store_spec.rb +165 -165
- data/spec/rubygems/doc_manager_spec.rb +38 -38
- data/spec/serializers/file_system_serializer_spec.rb +53 -33
- data/spec/serializers/yardoc_serializer_spec.rb +15 -15
- data/spec/server/adapter_spec.rb +15 -15
- data/spec/server/commands/base_spec.rb +29 -29
- data/spec/server/commands/library_command_spec.rb +12 -12
- data/spec/server/commands/static_file_command_spec.rb +28 -28
- data/spec/server/doc_server_helper_spec.rb +8 -8
- data/spec/server/doc_server_serializer_spec.rb +23 -18
- data/spec/server/rack_adapter_spec.rb +6 -6
- data/spec/server/router_spec.rb +39 -39
- data/spec/server/static_caching_spec.rb +16 -16
- data/spec/server/webrick_servlet_spec.rb +6 -7
- data/spec/server_spec.rb +3 -3
- data/spec/spec_helper.rb +11 -2
- data/spec/tags/default_factory_spec.rb +64 -64
- data/spec/tags/default_tag_spec.rb +5 -5
- data/spec/tags/directives_spec.rb +121 -121
- data/spec/tags/library_spec.rb +14 -14
- data/spec/tags/overload_tag_spec.rb +24 -24
- data/spec/tags/ref_tag_list_spec.rb +12 -12
- data/spec/templates/class_spec.rb +3 -3
- data/spec/templates/constant_spec.rb +4 -4
- data/spec/templates/engine_spec.rb +47 -48
- data/spec/templates/examples/class001.html +129 -101
- data/spec/templates/examples/class002.html +31 -27
- data/spec/templates/examples/method001.html +54 -47
- data/spec/templates/examples/method002.html +33 -28
- data/spec/templates/examples/method003.html +70 -64
- data/spec/templates/examples/method004.html +13 -9
- data/spec/templates/examples/method005.html +38 -32
- data/spec/templates/examples/module001.html +343 -339
- data/spec/templates/examples/module002.html +147 -124
- data/spec/templates/examples/module003.html +94 -81
- data/spec/templates/examples/module004.html +40 -33
- data/spec/templates/helpers/base_helper_spec.rb +91 -95
- data/spec/templates/helpers/html_helper_spec.rb +276 -279
- data/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +16 -15
- data/spec/templates/helpers/markup/rdoc_markup_spec.rb +27 -34
- data/spec/templates/helpers/markup_helper_spec.rb +57 -57
- data/spec/templates/helpers/method_helper_spec.rb +20 -20
- data/spec/templates/helpers/shared_signature_examples.rb +33 -31
- data/spec/templates/helpers/text_helper_spec.rb +6 -6
- data/spec/templates/method_spec.rb +7 -7
- data/spec/templates/module_spec.rb +7 -7
- data/spec/templates/onefile_spec.rb +7 -7
- data/spec/templates/section_spec.rb +66 -69
- data/spec/templates/spec_helper.rb +1 -1
- data/spec/templates/tag_spec.rb +5 -5
- data/spec/templates/template_spec.rb +158 -158
- data/spec/verifier_spec.rb +52 -52
- data/templates/default/fulldoc/html/css/full_list.css +32 -31
- data/templates/default/fulldoc/html/css/style.css +212 -77
- data/templates/default/fulldoc/html/frames.erb +6 -15
- data/templates/default/fulldoc/html/full_list.erb +14 -21
- data/templates/default/fulldoc/html/full_list_class.erb +1 -1
- data/templates/default/fulldoc/html/full_list_file.erb +6 -4
- data/templates/default/fulldoc/html/full_list_method.erb +8 -6
- data/templates/default/fulldoc/html/js/app.js +100 -76
- data/templates/default/fulldoc/html/js/full_list.js +170 -135
- data/templates/default/fulldoc/html/setup.rb +50 -7
- data/templates/default/layout/html/breadcrumb.erb +0 -2
- data/templates/default/layout/html/headers.erb +2 -1
- data/templates/default/layout/html/layout.erb +16 -10
- data/templates/default/layout/html/script_setup.erb +1 -2
- data/templates/default/layout/html/search.erb +7 -2
- data/templates/default/layout/html/setup.rb +16 -0
- data/templates/default/method/html/header.erb +7 -6
- data/templates/default/module/html/attribute_summary.erb +1 -1
- data/templates/default/module/html/box_info.erb +24 -18
- data/templates/default/module/html/constant_summary.erb +9 -11
- data/templates/default/module/html/item_summary.erb +1 -1
- data/templates/default/module/html/method_summary.erb +1 -1
- data/templates/guide/fulldoc/html/setup.rb +1 -1
- data/yard.gemspec +1 -2
- metadata +10 -7
- data/spec/handlers/examples/private_class_method_handler_001.rb.txt +0 -9
- data/spec/handlers/examples/private_class_method_handler_002.rb.txt +0 -18
- data/spec/handlers/examples/private_class_method_handler_003.rb.txt +0 -11
data/spec/verifier_spec.rb
CHANGED
@@ -1,103 +1,103 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/spec_helper'
|
2
2
|
|
3
3
|
describe YARD::Verifier do
|
4
|
-
describe
|
5
|
-
it "
|
4
|
+
describe "#parse_expressions" do
|
5
|
+
it "creates #__execute method" do
|
6
6
|
v = Verifier.new("expr1")
|
7
|
-
v.
|
7
|
+
expect(v).to respond_to(:__execute)
|
8
8
|
end
|
9
9
|
|
10
|
-
it "
|
11
|
-
obj =
|
12
|
-
obj.
|
10
|
+
it "parses @tagname into tag('tagname')" do
|
11
|
+
obj = double(:object)
|
12
|
+
expect(obj).to receive(:tag).with('return')
|
13
13
|
Verifier.new('@return').call(obj)
|
14
14
|
end
|
15
15
|
|
16
|
-
it "
|
17
|
-
obj =
|
18
|
-
obj.
|
16
|
+
it "parses @@tagname into object.tags('tagname')" do
|
17
|
+
obj = double(:object)
|
18
|
+
expect(obj).to receive(:tags).with('return')
|
19
19
|
Verifier.new('@@return').call(obj)
|
20
20
|
end
|
21
21
|
|
22
|
-
it "
|
23
|
-
obj =
|
24
|
-
obj.
|
22
|
+
it "allows namespaced tag using @{} syntax" do
|
23
|
+
obj = double(:object)
|
24
|
+
expect(obj).to receive(:tag).with('yard.return')
|
25
25
|
Verifier.new('@{yard.return}').call(obj)
|
26
26
|
end
|
27
27
|
|
28
|
-
it "
|
29
|
-
obj =
|
30
|
-
obj.
|
28
|
+
it "allows namespaced tags using @{} syntax" do
|
29
|
+
obj = double(:object)
|
30
|
+
expect(obj).to receive(:tags).with('yard.return')
|
31
31
|
Verifier.new('@@{yard.return}').call(obj)
|
32
32
|
end
|
33
33
|
|
34
|
-
it "
|
35
|
-
obj =
|
36
|
-
obj2 =
|
37
|
-
obj.
|
38
|
-
obj2.
|
34
|
+
it "calls methods on tag object" do
|
35
|
+
obj = double(:object)
|
36
|
+
obj2 = double(:tag)
|
37
|
+
expect(obj).to receive(:tag).with('return').and_return obj2
|
38
|
+
expect(obj2).to receive(:foo)
|
39
39
|
Verifier.new('@return.foo').call(obj)
|
40
40
|
end
|
41
41
|
|
42
|
-
it "
|
43
|
-
obj =
|
44
|
-
obj.
|
42
|
+
it "sends any missing methods to object" do
|
43
|
+
obj = double(:object)
|
44
|
+
expect(obj).to receive(:has_tag?).with('return')
|
45
45
|
Verifier.new('has_tag?("return")').call(obj)
|
46
46
|
end
|
47
47
|
|
48
|
-
it "
|
49
|
-
obj =
|
50
|
-
obj.
|
51
|
-
obj.
|
52
|
-
Verifier.new('@return', '@param').call(obj).
|
48
|
+
it "allows multiple expressions" do
|
49
|
+
obj = double(:object)
|
50
|
+
expect(obj).to receive(:tag).with('return').and_return(true)
|
51
|
+
expect(obj).to receive(:tag).with('param').and_return(false)
|
52
|
+
expect(Verifier.new('@return', '@param').call(obj)).to be false
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
describe
|
57
|
-
it "
|
58
|
-
obj =
|
59
|
-
obj.
|
56
|
+
describe "#o" do
|
57
|
+
it "aliases object to o" do
|
58
|
+
obj = double(:object)
|
59
|
+
expect(obj).to receive(:a).ordered
|
60
60
|
Verifier.new('o.a').call(obj)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
describe
|
65
|
-
it "
|
66
|
-
obj =
|
67
|
-
obj.
|
68
|
-
Verifier.new('@return.text').call(obj).
|
64
|
+
describe "#call" do
|
65
|
+
it "doubles a nonexistent tag so that exceptions are not raised" do
|
66
|
+
obj = double(:object)
|
67
|
+
expect(obj).to receive(:tag).and_return(nil)
|
68
|
+
expect(Verifier.new('@return.text').call(obj)).to be false
|
69
69
|
end
|
70
70
|
|
71
|
-
it "
|
72
|
-
|
71
|
+
it "does not fail if no expressions were added" do
|
72
|
+
expect { Verifier.new.call(nil) }.not_to raise_error
|
73
73
|
end
|
74
74
|
|
75
|
-
it "
|
75
|
+
it "always ignores proxy objects and return true" do
|
76
76
|
v = Verifier.new('tag(:x)')
|
77
|
-
|
77
|
+
expect { expect(v.call(P('foo'))).to be true }.not_to raise_error
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
|
-
describe
|
82
|
-
it "
|
83
|
-
Verifier.new('@return.text', '@private').expressions.
|
81
|
+
describe "#expressions" do
|
82
|
+
it "maintains a list of all unparsed expressions" do
|
83
|
+
expect(Verifier.new('@return.text', '@private').expressions).to eq ['@return.text', '@private']
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
-
describe
|
88
|
-
it "
|
89
|
-
obj =
|
90
|
-
obj.
|
87
|
+
describe "#expressions=" do
|
88
|
+
it "recompiles expressions when attribute is modified" do
|
89
|
+
obj = double(:object)
|
90
|
+
expect(obj).to receive(:tag).with('return')
|
91
91
|
v = Verifier.new
|
92
92
|
v.expressions = ['@return']
|
93
93
|
v.call(obj)
|
94
94
|
end
|
95
95
|
end
|
96
96
|
|
97
|
-
describe
|
98
|
-
it "
|
99
|
-
obj =
|
100
|
-
obj.
|
97
|
+
describe "#add_expressions" do
|
98
|
+
it "adds new expressions and recompile" do
|
99
|
+
obj = double(:object)
|
100
|
+
expect(obj).to receive(:tag).with('return')
|
101
101
|
v = Verifier.new
|
102
102
|
v.add_expressions '@return'
|
103
103
|
v.call(obj)
|
@@ -4,54 +4,55 @@ body {
|
|
4
4
|
font-size: 13px;
|
5
5
|
height: 101%;
|
6
6
|
overflow-x: hidden;
|
7
|
+
background: #fafafa;
|
7
8
|
}
|
8
9
|
|
9
10
|
h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
10
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; }
|
11
13
|
#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
|
12
14
|
#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
|
13
|
-
#full_list { padding: 0; list-style: none; margin-left: 0; }
|
15
|
+
#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; }
|
14
16
|
#full_list ul { padding: 0; }
|
15
|
-
#full_list li { padding:
|
16
|
-
#
|
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; }
|
17
20
|
#content.insearch #noresults { margin-left: 7px; }
|
18
|
-
|
19
|
-
ul.collapsed.search_uncollapsed { display: block; }
|
20
|
-
ul.collapsed.search_uncollapsed li { display: list-item; }
|
21
|
+
li.collapsed ul { display: none; }
|
21
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; }
|
22
23
|
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
|
23
24
|
li { color: #888; cursor: pointer; }
|
24
25
|
li.deprecated { text-decoration: line-through; font-style: italic; }
|
25
|
-
li.
|
26
|
-
li.
|
27
|
-
|
26
|
+
li.odd { background: #f0f0f0; }
|
27
|
+
li.even { background: #fafafa; }
|
28
|
+
.item:hover { background: #ddd; }
|
28
29
|
li small:before { content: "("; }
|
29
30
|
li small:after { content: ")"; }
|
30
31
|
li small.search_info { display: none; }
|
31
|
-
a
|
32
|
-
li.clicked { background: #05a; color: #ccc; }
|
33
|
-
li.clicked a
|
34
|
-
li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
|
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; }
|
35
36
|
li.collapsed.clicked a.toggle { background-position: top right; }
|
36
|
-
#search input { border: 1px solid #bbb;
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
|
41
|
-
|
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: ''; }
|
42
43
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
.frames #nav { display: block; }
|
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
53
|
|
54
|
-
#full_list.insearch
|
55
|
-
#full_list.insearch
|
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; }
|
56
57
|
#full_list.insearch li a.toggle { display: none; }
|
57
58
|
#full_list.insearch li small.search_info { display: block; }
|
@@ -1,9 +1,71 @@
|
|
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;
|
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 { display: none; }
|
59
|
+
}
|
60
|
+
|
61
|
+
@media (min-width: 920px) {
|
62
|
+
body { height: 100%; overflow: hidden; }
|
63
|
+
#main { height: 100%; overflow: auto; }
|
64
|
+
#search { display: none; }
|
65
|
+
#search_frame { display: none; }
|
5
66
|
}
|
6
|
-
|
67
|
+
|
68
|
+
#main img { max-width: 100%; }
|
7
69
|
h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
|
8
70
|
h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
|
9
71
|
h1.title { margin-bottom: 10px; }
|
@@ -14,16 +76,36 @@ h2 {
|
|
14
76
|
border-bottom: 1px #aaa solid;
|
15
77
|
font-size: 1.4em;
|
16
78
|
margin: 1.8em 0 0.5em;
|
79
|
+
position: relative;
|
80
|
+
}
|
81
|
+
h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; }
|
82
|
+
h2 small a {
|
83
|
+
display: block;
|
84
|
+
height: 20px;
|
85
|
+
border: 1px solid #aaa;
|
86
|
+
border-bottom: 0;
|
87
|
+
border-top-left-radius: 5px;
|
88
|
+
background: #f8f8f8;
|
89
|
+
position: relative;
|
90
|
+
padding: 2px 7px;
|
17
91
|
}
|
18
|
-
h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right; }
|
19
92
|
.clear { clear: both; }
|
20
93
|
.inline { display: inline; }
|
21
94
|
.inline p:first-child { display: inline; }
|
95
|
+
.docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; }
|
96
|
+
.docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt {
|
97
|
+
color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em;
|
98
|
+
border-radius: 4px;
|
99
|
+
}
|
22
100
|
.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
|
23
101
|
.docstring h1 { font-size: 1.2em; }
|
24
102
|
.docstring h2 { font-size: 1.1em; }
|
25
103
|
.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
|
26
|
-
.summary_desc .object_link, .docstring .object_link {
|
104
|
+
.summary_desc .object_link a, .docstring .object_link a {
|
105
|
+
font-family: monospace; font-size: 1.05em;
|
106
|
+
color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em;
|
107
|
+
border-radius: 4px;
|
108
|
+
}
|
27
109
|
.rdoc-term { padding-right: 25px; font-weight: bold; }
|
28
110
|
.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
|
29
111
|
|
@@ -48,17 +130,25 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
48
130
|
|
49
131
|
.note {
|
50
132
|
color: #222;
|
51
|
-
|
52
|
-
|
133
|
+
margin: 20px 0;
|
134
|
+
padding: 10px;
|
135
|
+
border: 1px solid #eee;
|
136
|
+
border-radius: 3px;
|
53
137
|
display: block;
|
54
138
|
}
|
139
|
+
.docstring .note {
|
140
|
+
border-left-color: #ccc;
|
141
|
+
border-left-width: 5px;
|
142
|
+
}
|
55
143
|
.note.todo { background: #ffffc5; border-color: #ececaa; }
|
56
144
|
.note.returns_void { background: #efefef; }
|
57
145
|
.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
146
|
+
.note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
58
147
|
.note.private { background: #ffffc5; border-color: #ececaa; }
|
59
|
-
.note.title { padding:
|
148
|
+
.note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
|
60
149
|
.summary_signature + .note.title { margin-left: 7px; }
|
61
150
|
h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
|
151
|
+
.note.title { background: #efefef; }
|
62
152
|
.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
63
153
|
.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
|
64
154
|
.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
@@ -83,48 +173,64 @@ p.inherited {
|
|
83
173
|
margin-left: 25px;
|
84
174
|
}
|
85
175
|
|
86
|
-
|
176
|
+
.box_info dl {
|
177
|
+
margin: 0;
|
87
178
|
border: 0;
|
88
|
-
width:
|
179
|
+
width: 100%;
|
89
180
|
font-size: 1em;
|
181
|
+
display: flex;
|
182
|
+
display: -webkit-flex;
|
183
|
+
display: -ms-flexbox;
|
90
184
|
}
|
91
|
-
|
92
|
-
|
93
|
-
|
185
|
+
.box_info dl dt {
|
186
|
+
flex-shrink: 0;
|
187
|
+
-webkit-flex-shrink: 1;
|
188
|
+
-ms-flex-shrink: 1;
|
94
189
|
width: 100px;
|
95
|
-
margin: 0;
|
96
190
|
text-align: right;
|
97
191
|
font-weight: bold;
|
98
|
-
background: transparent;
|
99
192
|
border: 1px solid #aaa;
|
100
193
|
border-width: 1px 0px 0px 1px;
|
101
194
|
padding: 6px 0;
|
102
195
|
padding-right: 10px;
|
103
196
|
}
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
197
|
+
.box_info dl dd {
|
198
|
+
flex-grow: 1;
|
199
|
+
-webkit-flex-grow: 1;
|
200
|
+
-ms-flex: 1;
|
201
|
+
max-width: 420px;
|
109
202
|
padding: 6px 0;
|
110
203
|
padding-right: 20px;
|
111
204
|
border: 1px solid #aaa;
|
112
205
|
border-width: 1px 1px 0 0;
|
206
|
+
overflow: hidden;
|
207
|
+
position: relative;
|
113
208
|
}
|
114
|
-
|
209
|
+
.box_info dl:last-child > * {
|
115
210
|
border-bottom: 1px solid #aaa;
|
116
211
|
}
|
117
|
-
|
212
|
+
.box_info dl:nth-child(odd) > * { background: #eee; }
|
213
|
+
.box_info dl:nth-child(even) > * { background: #fff; }
|
214
|
+
.box_info dl > * { margin: 0; }
|
118
215
|
|
119
216
|
ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
120
217
|
.index_inline_list { padding-left: 0; font-size: 1.1em; }
|
121
218
|
.index_inline_list li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
|
122
219
|
|
123
|
-
dl.constants { margin-left:
|
220
|
+
dl.constants { margin-left: 10px; }
|
124
221
|
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
125
222
|
dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
|
223
|
+
dl.constants .docstring .note:first-child { margin-top: 5px; }
|
126
224
|
|
127
|
-
.summary_desc {
|
225
|
+
.summary_desc {
|
226
|
+
margin-left: 32px;
|
227
|
+
display: block;
|
228
|
+
font-family: sans-serif;
|
229
|
+
font-size: 1.1em;
|
230
|
+
margin-top: 8px;
|
231
|
+
line-height: 1.5145em;
|
232
|
+
margin-bottom: 0.8em;
|
233
|
+
}
|
128
234
|
.summary_desc tt { font-size: 0.9em; }
|
129
235
|
dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
|
130
236
|
dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
|
@@ -132,12 +238,13 @@ dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
|
|
132
238
|
dl.constants .discussion *:first-child { margin-top: 0; }
|
133
239
|
dl.constants .discussion *:last-child { margin-bottom: 0; }
|
134
240
|
|
135
|
-
.method_details { border-top: 1px dotted #
|
136
|
-
.method_details.first { border: 0; }
|
241
|
+
.method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
|
242
|
+
.method_details.first { border: 0; margin-top: 5px; }
|
243
|
+
.method_details.first h3.signature { margin-top: 1em; }
|
137
244
|
p.signature, h3.signature {
|
138
245
|
font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
|
139
|
-
padding: 6px 10px; margin-top:
|
140
|
-
background: #
|
246
|
+
padding: 6px 10px; margin-top: 1em;
|
247
|
+
background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
|
141
248
|
}
|
142
249
|
p.signature tt,
|
143
250
|
h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
|
@@ -152,7 +259,8 @@ h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; f
|
|
152
259
|
p.signature .aliases .names,
|
153
260
|
h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
|
154
261
|
|
155
|
-
.tags .tag_title { font-size:
|
262
|
+
.tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
|
263
|
+
.tags .tag_title tt { color: initial; padding: initial; background: initial; }
|
156
264
|
.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
|
157
265
|
.tags ul li { margin-bottom: 3px; }
|
158
266
|
.tags ul .name { font-family: monospace; font-weight: bold; }
|
@@ -160,12 +268,13 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
|
|
160
268
|
.tags { margin-bottom: 12px; }
|
161
269
|
|
162
270
|
.tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
|
163
|
-
.tags .examples .inline p { padding: 0; margin: 0;
|
271
|
+
.tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
|
272
|
+
.tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
|
164
273
|
|
165
274
|
.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
|
166
275
|
.tags .overload .overload_item .signature {
|
167
276
|
padding: 2px 8px;
|
168
|
-
background: #
|
277
|
+
background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
|
169
278
|
}
|
170
279
|
.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
|
171
280
|
.tags .overload .docstring { margin-top: 15px; }
|
@@ -175,34 +284,35 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
|
|
175
284
|
#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
|
176
285
|
|
177
286
|
.showSource { font-size: 0.9em; }
|
178
|
-
.showSource a
|
287
|
+
.showSource a, .showSource a:visited { text-decoration: none; color: #666; }
|
179
288
|
|
180
|
-
#content a
|
289
|
+
#content a, #content a:visited { text-decoration: none; color: #05a; }
|
181
290
|
#content a:hover { background: #ffffa5; }
|
182
|
-
div.docstring, p.docstring { margin-right: 6em; }
|
183
291
|
|
184
292
|
ul.summary {
|
185
293
|
list-style: none;
|
186
294
|
font-family: monospace;
|
187
295
|
font-size: 1em;
|
188
296
|
line-height: 1.5em;
|
297
|
+
padding-left: 0px;
|
189
298
|
}
|
190
|
-
ul.summary a
|
299
|
+
ul.summary a, ul.summary a:visited {
|
191
300
|
text-decoration: none; font-size: 1.1em;
|
192
301
|
}
|
193
302
|
ul.summary li { margin-bottom: 5px; }
|
194
303
|
.summary .summary_signature {
|
195
|
-
padding:
|
196
|
-
background: #
|
197
|
-
|
304
|
+
padding: 4px 8px;
|
305
|
+
background: #f8f8f8;
|
306
|
+
border: 1px solid #f0f0f0;
|
307
|
+
border-radius: 5px;
|
198
308
|
}
|
199
|
-
.summary_signature:hover { background: #
|
309
|
+
.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
|
200
310
|
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
201
311
|
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
202
|
-
#content .summary_signature:hover a
|
312
|
+
#content .summary_signature:hover a,
|
203
313
|
#content .summary_signature:hover a:visited {
|
204
314
|
background: transparent;
|
205
|
-
color: #
|
315
|
+
color: #049;
|
206
316
|
}
|
207
317
|
|
208
318
|
p.inherited a { font-family: monospace; font-size: 0.9em; }
|
@@ -221,37 +331,42 @@ ul.fullTree li:last-child { padding-bottom: 0; }
|
|
221
331
|
.showAll ul.fullTree { display: block; }
|
222
332
|
.showAll .inheritName { display: none; }
|
223
333
|
|
224
|
-
#search { position: absolute; right:
|
225
|
-
#search a
|
226
|
-
display: block; float: left;
|
227
|
-
padding: 8px
|
334
|
+
#search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
|
335
|
+
#search a {
|
336
|
+
display: block; float: left;
|
337
|
+
padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
|
228
338
|
border: 1px solid #d8d8e5;
|
229
|
-
-
|
230
|
-
|
231
|
-
|
232
|
-
-webkit-box-shadow: -1px 1px 3px #ddd;
|
339
|
+
border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
|
340
|
+
background: #F1F8FF;
|
341
|
+
box-shadow: -1px 1px 3px #ddd;
|
233
342
|
}
|
234
|
-
#search a:hover { background: #f5faff; color: #06b; }
|
343
|
+
#search a:hover { background: #f5faff; color: #06b; fill: #06b; }
|
235
344
|
#search a.active {
|
236
|
-
background: #568; padding-bottom: 20px; color: #fff;
|
237
|
-
|
238
|
-
|
345
|
+
background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
|
346
|
+
border: 1px solid #457;
|
347
|
+
border-top-left-radius: 5px; border-top-right-radius: 5px;
|
348
|
+
}
|
349
|
+
#search a.inactive { color: #999; fill: #999; }
|
350
|
+
.inheritanceTree, .toggleDefines {
|
351
|
+
float: right;
|
352
|
+
border-left: 1px solid #aaa;
|
353
|
+
position: absolute; top: 0; right: 0;
|
354
|
+
height: 100%;
|
355
|
+
background: #f6f6f6;
|
356
|
+
padding: 5px;
|
357
|
+
min-width: 55px;
|
358
|
+
text-align: center;
|
239
359
|
}
|
240
|
-
#search a.inactive { color: #999; }
|
241
|
-
.frames #search { display: none; }
|
242
|
-
.inheritanceTree, .toggleDefines { float: right; }
|
243
360
|
|
244
|
-
#menu { font-size: 1.3em; color: #bbb;
|
361
|
+
#menu { font-size: 1.3em; color: #bbb; }
|
245
362
|
#menu .title, #menu a { font-size: 0.7em; }
|
246
363
|
#menu .title a { font-size: 1em; }
|
247
364
|
#menu .title { color: #555; }
|
248
|
-
#menu a
|
365
|
+
#menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
249
366
|
#menu a:hover { color: #05a; }
|
250
|
-
#menu .noframes { display: inline; }
|
251
|
-
.frames #menu .noframes { display: inline; float: right; }
|
252
367
|
|
253
368
|
#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
|
254
|
-
#footer a
|
369
|
+
#footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
255
370
|
#footer a:hover { color: #05a; }
|
256
371
|
|
257
372
|
#listing ul.alpha { font-size: 1.1em; }
|
@@ -268,33 +383,35 @@ li.r2 { background: #fafafa; }
|
|
268
383
|
background: #fff;
|
269
384
|
display: none;
|
270
385
|
position: absolute;
|
271
|
-
top:
|
272
|
-
right:
|
386
|
+
top: 40px;
|
387
|
+
right: 12px;
|
273
388
|
width: 500px;
|
389
|
+
max-width: 80%;
|
274
390
|
height: 80%;
|
275
391
|
overflow-y: scroll;
|
276
392
|
border: 1px solid #999;
|
277
393
|
border-collapse: collapse;
|
278
|
-
|
279
|
-
-
|
280
|
-
-moz-border-radius: 2px;
|
281
|
-
-webkit-border-radius: 2px;
|
394
|
+
box-shadow: -7px 5px 25px #aaa;
|
395
|
+
border-radius: 2px;
|
282
396
|
}
|
283
397
|
|
284
|
-
#content ul.summary li.deprecated .summary_signature a
|
398
|
+
#content ul.summary li.deprecated .summary_signature a,
|
285
399
|
#content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
|
286
400
|
|
287
401
|
#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
402
|
position: relative;
|
403
|
+
float: right;
|
294
404
|
overflow-x: auto;
|
405
|
+
right: -3px;
|
406
|
+
margin-left: 20px;
|
407
|
+
margin-bottom: 20px;
|
408
|
+
padding: 20px; padding-right: 30px;
|
409
|
+
max-width: 300px;
|
410
|
+
z-index: 5000;
|
411
|
+
background: #fefefe;
|
412
|
+
border: 1px solid #ddd;
|
413
|
+
box-shadow: -2px 2px 6px #bbb;
|
295
414
|
}
|
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
415
|
#toc .title { margin: 0; }
|
299
416
|
#toc ol { padding-left: 1.8em; }
|
300
417
|
#toc li { font-size: 1.1em; line-height: 1.7em; }
|
@@ -302,8 +419,17 @@ li.r2 { background: #fafafa; }
|
|
302
419
|
#toc ol > ol { font-size: 0.9em; }
|
303
420
|
#toc ol ol > ol { padding-left: 2.3em; }
|
304
421
|
#toc ol + li { margin-top: 0.3em; }
|
305
|
-
#toc.hidden { padding: 10px; background: #
|
422
|
+
#toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
|
423
|
+
#toc.hidden:hover { background: #fafafa; }
|
306
424
|
#filecontents h1 + #toc.nofloat { margin-top: 0; }
|
425
|
+
@media (max-width: 560px) {
|
426
|
+
#toc {
|
427
|
+
margin-left: 0;
|
428
|
+
margin-top: 16px;
|
429
|
+
float: none;
|
430
|
+
max-width: none;
|
431
|
+
}
|
432
|
+
}
|
307
433
|
|
308
434
|
/* syntax highlighting */
|
309
435
|
.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
|
@@ -311,8 +437,17 @@ li.r2 { background: #fafafa; }
|
|
311
437
|
#filecontents pre.code, .docstring pre.code { display: block; }
|
312
438
|
.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
|
313
439
|
#filecontents pre.code, .docstring pre.code,
|
314
|
-
.tags pre.example {
|
315
|
-
|
440
|
+
.tags pre.example {
|
441
|
+
padding: 9px 14px;
|
442
|
+
margin-top: 4px;
|
443
|
+
border: 1px solid #e1e1e8;
|
444
|
+
background: #f7f7f9;
|
445
|
+
border-radius: 4px;
|
446
|
+
font-size: 1em;
|
447
|
+
overflow-x: auto;
|
448
|
+
line-height: 1.2em;
|
449
|
+
}
|
450
|
+
pre.code { color: #000; tab-size: 2; }
|
316
451
|
pre.code .info.file { color: #555; }
|
317
452
|
pre.code .val { color: #036A07; }
|
318
453
|
pre.code .tstring_content,
|