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.

Files changed (225) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -1
  3. data/LICENSE +2 -2
  4. data/README.md +2 -2
  5. data/Rakefile +1 -1
  6. data/bin/yard +0 -0
  7. data/bin/yardoc +0 -0
  8. data/bin/yri +0 -0
  9. data/docs/GettingStarted.md +88 -6
  10. data/docs/images/handlers-class-diagram.png +0 -0
  11. data/docs/images/overview-class-diagram.png +0 -0
  12. data/docs/images/parser-class-diagram.png +0 -0
  13. data/docs/templates/default/fulldoc/html/full_list_tag.erb +6 -4
  14. data/lib/yard/autoload.rb +3 -0
  15. data/lib/yard/cli/yardoc.rb +1 -1
  16. data/lib/yard/code_objects/base.rb +4 -1
  17. data/lib/yard/code_objects/extra_file_object.rb +3 -1
  18. data/lib/yard/code_objects/proxy.rb +2 -2
  19. data/lib/yard/docstring.rb +11 -6
  20. data/lib/yard/handlers/base.rb +1 -2
  21. data/lib/yard/handlers/c/base.rb +19 -0
  22. data/lib/yard/handlers/c/handler_methods.rb +42 -8
  23. data/lib/yard/handlers/c/init_handler.rb +1 -1
  24. data/lib/yard/handlers/c/method_handler.rb +3 -3
  25. data/lib/yard/handlers/ruby/decorator_handler_methods.rb +132 -0
  26. data/lib/yard/handlers/ruby/legacy/private_class_method_handler.rb +1 -1
  27. data/lib/yard/handlers/ruby/private_class_method_handler.rb +6 -39
  28. data/lib/yard/handlers/ruby/private_constant_handler.rb +36 -30
  29. data/lib/yard/handlers/ruby/public_class_method_handler.rb +13 -0
  30. data/lib/yard/handlers/ruby/struct_handler_methods.rb +1 -0
  31. data/lib/yard/handlers/ruby/visibility_handler.rb +5 -8
  32. data/lib/yard/logging.rb +1 -0
  33. data/lib/yard/parser/ruby/ruby_parser.rb +2 -2
  34. data/lib/yard/parser/source_parser.rb +6 -6
  35. data/lib/yard/rake/yardoc_task.rb +2 -2
  36. data/lib/yard/serializers/file_system_serializer.rb +33 -1
  37. data/lib/yard/server/commands/display_file_command.rb +8 -3
  38. data/lib/yard/server/commands/display_object_command.rb +7 -3
  39. data/lib/yard/server/doc_server_helper.rb +2 -8
  40. data/lib/yard/server/doc_server_serializer.rb +2 -4
  41. data/lib/yard/server/router.rb +1 -1
  42. data/lib/yard/server/templates/default/fulldoc/html/css/custom.css +57 -8
  43. data/lib/yard/server/templates/default/layout/html/breadcrumb.erb +2 -10
  44. data/lib/yard/server/templates/default/layout/html/script_setup.erb +1 -2
  45. data/lib/yard/server/templates/default/method_details/html/permalink.erb +3 -3
  46. data/lib/yard/server/templates/doc_server/processing/html/processing.erb +4 -4
  47. data/lib/yard/tags/directives.rb +1 -0
  48. data/lib/yard/tags/library.rb +9 -7
  49. data/lib/yard/tags/overload_tag.rb +4 -1
  50. data/lib/yard/templates/helpers/html_helper.rb +4 -3
  51. data/lib/yard/templates/template_options.rb +3 -0
  52. data/lib/yard/version.rb +1 -1
  53. data/spec/cli/command_parser_spec.rb +14 -14
  54. data/spec/cli/command_spec.rb +11 -11
  55. data/spec/cli/config_spec.rb +32 -32
  56. data/spec/cli/diff_spec.rb +86 -90
  57. data/spec/cli/display_spec.rb +6 -6
  58. data/spec/cli/gems_spec.rb +28 -28
  59. data/spec/cli/graph_spec.rb +8 -8
  60. data/spec/cli/help_spec.rb +8 -8
  61. data/spec/cli/i18n_spec.rb +33 -37
  62. data/spec/cli/list_spec.rb +2 -2
  63. data/spec/cli/markup_types_spec.rb +3 -3
  64. data/spec/cli/server_spec.rb +74 -88
  65. data/spec/cli/stats_spec.rb +14 -14
  66. data/spec/cli/yardoc_spec.rb +316 -321
  67. data/spec/cli/yri_spec.rb +45 -45
  68. data/spec/code_objects/base_spec.rb +174 -173
  69. data/spec/code_objects/class_object_spec.rb +65 -65
  70. data/spec/code_objects/code_object_list_spec.rb +13 -11
  71. data/spec/code_objects/constants_spec.rb +68 -58
  72. data/spec/code_objects/extra_file_object_spec.rb +71 -59
  73. data/spec/code_objects/macro_object_spec.rb +64 -64
  74. data/spec/code_objects/method_object_spec.rb +80 -72
  75. data/spec/code_objects/module_object_spec.rb +47 -47
  76. data/spec/code_objects/namespace_object_spec.rb +51 -51
  77. data/spec/code_objects/proxy_spec.rb +54 -54
  78. data/spec/config_spec.rb +104 -104
  79. data/spec/core_ext/array_spec.rb +5 -5
  80. data/spec/core_ext/file_spec.rb +33 -33
  81. data/spec/core_ext/hash_spec.rb +5 -5
  82. data/spec/core_ext/insertion_spec.rb +18 -18
  83. data/spec/core_ext/module_spec.rb +6 -6
  84. data/spec/core_ext/string_spec.rb +17 -17
  85. data/spec/core_ext/symbol_hash_spec.rb +42 -39
  86. data/spec/docstring_parser_spec.rb +65 -65
  87. data/spec/docstring_spec.rb +137 -130
  88. data/spec/handlers/alias_handler_spec.rb +39 -39
  89. data/spec/handlers/attribute_handler_spec.rb +35 -35
  90. data/spec/handlers/base_spec.rb +60 -51
  91. data/spec/handlers/c/alias_handler_spec.rb +6 -6
  92. data/spec/handlers/c/attribute_handler_spec.rb +12 -12
  93. data/spec/handlers/c/class_handler_spec.rb +35 -22
  94. data/spec/handlers/c/constant_handler_spec.rb +24 -22
  95. data/spec/handlers/c/init_handler_spec.rb +10 -10
  96. data/spec/handlers/c/method_handler_spec.rb +150 -65
  97. data/spec/handlers/c/mixin_handler_spec.rb +5 -5
  98. data/spec/handlers/c/module_handler_spec.rb +27 -15
  99. data/spec/handlers/c/override_comment_handler_spec.rb +14 -14
  100. data/spec/handlers/c/path_handler_spec.rb +8 -8
  101. data/spec/handlers/c/spec_helper.rb +10 -0
  102. data/spec/handlers/c/struct_handler_spec.rb +3 -3
  103. data/spec/handlers/class_condition_handler_spec.rb +18 -18
  104. data/spec/handlers/class_handler_spec.rb +97 -97
  105. data/spec/handlers/class_method_handler_shared_examples.rb +132 -0
  106. data/spec/handlers/class_variable_handler_spec.rb +3 -3
  107. data/spec/handlers/constant_handler_spec.rb +32 -29
  108. data/spec/handlers/decorator_handler_methods_spec.rb +405 -0
  109. data/spec/handlers/dsl_handler_spec.rb +108 -109
  110. data/spec/handlers/examples/constant_handler_001.rb.txt +4 -1
  111. data/spec/handlers/examples/visibility_handler_001.rb.txt +4 -0
  112. data/spec/handlers/exception_handler_spec.rb +23 -23
  113. data/spec/handlers/extend_handler_spec.rb +9 -9
  114. data/spec/handlers/legacy_base_spec.rb +60 -60
  115. data/spec/handlers/method_condition_handler_spec.rb +5 -5
  116. data/spec/handlers/method_handler_spec.rb +92 -92
  117. data/spec/handlers/mixin_handler_spec.rb +25 -25
  118. data/spec/handlers/module_function_handler_spec.rb +24 -24
  119. data/spec/handlers/module_handler_spec.rb +15 -15
  120. data/spec/handlers/private_class_method_handler_spec.rb +4 -48
  121. data/spec/handlers/private_constant_handler_spec.rb +8 -8
  122. data/spec/handlers/processor_spec.rb +12 -12
  123. data/spec/handlers/public_class_method_handler_spec.rb +10 -0
  124. data/spec/handlers/ruby/base_spec.rb +16 -16
  125. data/spec/handlers/ruby/legacy/base_spec.rb +20 -18
  126. data/spec/handlers/spec_helper.rb +1 -1
  127. data/spec/handlers/visibility_handler_spec.rb +25 -21
  128. data/spec/handlers/yield_handler_spec.rb +28 -28
  129. data/spec/i18n/locale_spec.rb +16 -16
  130. data/spec/i18n/message_spec.rb +8 -8
  131. data/spec/i18n/messages_spec.rb +14 -14
  132. data/spec/i18n/pot_generator_spec.rb +32 -32
  133. data/spec/i18n/text_spec.rb +22 -22
  134. data/spec/logging_spec.rb +12 -12
  135. data/spec/options_spec.rb +56 -56
  136. data/spec/parser/base_spec.rb +9 -9
  137. data/spec/parser/c_parser_spec.rb +50 -50
  138. data/spec/parser/ruby/ast_node_spec.rb +7 -7
  139. data/spec/parser/ruby/legacy/statement_list_spec.rb +106 -106
  140. data/spec/parser/ruby/legacy/token_list_spec.rb +27 -27
  141. data/spec/parser/ruby/ruby_parser_spec.rb +123 -113
  142. data/spec/parser/source_parser_spec.rb +224 -224
  143. data/spec/parser/tag_parsing_spec.rb +6 -7
  144. data/spec/rake/yardoc_task_spec.rb +38 -48
  145. data/spec/registry_spec.rb +143 -143
  146. data/spec/registry_store_spec.rb +165 -165
  147. data/spec/rubygems/doc_manager_spec.rb +38 -38
  148. data/spec/serializers/file_system_serializer_spec.rb +53 -33
  149. data/spec/serializers/yardoc_serializer_spec.rb +15 -15
  150. data/spec/server/adapter_spec.rb +15 -15
  151. data/spec/server/commands/base_spec.rb +29 -29
  152. data/spec/server/commands/library_command_spec.rb +12 -12
  153. data/spec/server/commands/static_file_command_spec.rb +28 -28
  154. data/spec/server/doc_server_helper_spec.rb +8 -8
  155. data/spec/server/doc_server_serializer_spec.rb +23 -18
  156. data/spec/server/rack_adapter_spec.rb +6 -6
  157. data/spec/server/router_spec.rb +39 -39
  158. data/spec/server/static_caching_spec.rb +16 -16
  159. data/spec/server/webrick_servlet_spec.rb +6 -7
  160. data/spec/server_spec.rb +3 -3
  161. data/spec/spec_helper.rb +11 -2
  162. data/spec/tags/default_factory_spec.rb +64 -64
  163. data/spec/tags/default_tag_spec.rb +5 -5
  164. data/spec/tags/directives_spec.rb +121 -121
  165. data/spec/tags/library_spec.rb +14 -14
  166. data/spec/tags/overload_tag_spec.rb +24 -24
  167. data/spec/tags/ref_tag_list_spec.rb +12 -12
  168. data/spec/templates/class_spec.rb +3 -3
  169. data/spec/templates/constant_spec.rb +4 -4
  170. data/spec/templates/engine_spec.rb +47 -48
  171. data/spec/templates/examples/class001.html +129 -101
  172. data/spec/templates/examples/class002.html +31 -27
  173. data/spec/templates/examples/method001.html +54 -47
  174. data/spec/templates/examples/method002.html +33 -28
  175. data/spec/templates/examples/method003.html +70 -64
  176. data/spec/templates/examples/method004.html +13 -9
  177. data/spec/templates/examples/method005.html +38 -32
  178. data/spec/templates/examples/module001.html +343 -339
  179. data/spec/templates/examples/module002.html +147 -124
  180. data/spec/templates/examples/module003.html +94 -81
  181. data/spec/templates/examples/module004.html +40 -33
  182. data/spec/templates/helpers/base_helper_spec.rb +91 -95
  183. data/spec/templates/helpers/html_helper_spec.rb +276 -279
  184. data/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +16 -15
  185. data/spec/templates/helpers/markup/rdoc_markup_spec.rb +27 -34
  186. data/spec/templates/helpers/markup_helper_spec.rb +57 -57
  187. data/spec/templates/helpers/method_helper_spec.rb +20 -20
  188. data/spec/templates/helpers/shared_signature_examples.rb +33 -31
  189. data/spec/templates/helpers/text_helper_spec.rb +6 -6
  190. data/spec/templates/method_spec.rb +7 -7
  191. data/spec/templates/module_spec.rb +7 -7
  192. data/spec/templates/onefile_spec.rb +7 -7
  193. data/spec/templates/section_spec.rb +66 -69
  194. data/spec/templates/spec_helper.rb +1 -1
  195. data/spec/templates/tag_spec.rb +5 -5
  196. data/spec/templates/template_spec.rb +158 -158
  197. data/spec/verifier_spec.rb +52 -52
  198. data/templates/default/fulldoc/html/css/full_list.css +32 -31
  199. data/templates/default/fulldoc/html/css/style.css +212 -77
  200. data/templates/default/fulldoc/html/frames.erb +6 -15
  201. data/templates/default/fulldoc/html/full_list.erb +14 -21
  202. data/templates/default/fulldoc/html/full_list_class.erb +1 -1
  203. data/templates/default/fulldoc/html/full_list_file.erb +6 -4
  204. data/templates/default/fulldoc/html/full_list_method.erb +8 -6
  205. data/templates/default/fulldoc/html/js/app.js +100 -76
  206. data/templates/default/fulldoc/html/js/full_list.js +170 -135
  207. data/templates/default/fulldoc/html/setup.rb +50 -7
  208. data/templates/default/layout/html/breadcrumb.erb +0 -2
  209. data/templates/default/layout/html/headers.erb +2 -1
  210. data/templates/default/layout/html/layout.erb +16 -10
  211. data/templates/default/layout/html/script_setup.erb +1 -2
  212. data/templates/default/layout/html/search.erb +7 -2
  213. data/templates/default/layout/html/setup.rb +16 -0
  214. data/templates/default/method/html/header.erb +7 -6
  215. data/templates/default/module/html/attribute_summary.erb +1 -1
  216. data/templates/default/module/html/box_info.erb +24 -18
  217. data/templates/default/module/html/constant_summary.erb +9 -11
  218. data/templates/default/module/html/item_summary.erb +1 -1
  219. data/templates/default/module/html/method_summary.erb +1 -1
  220. data/templates/guide/fulldoc/html/setup.rb +1 -1
  221. data/yard.gemspec +1 -2
  222. metadata +10 -7
  223. data/spec/handlers/examples/private_class_method_handler_001.rb.txt +0 -9
  224. data/spec/handlers/examples/private_class_method_handler_002.rb.txt +0 -18
  225. data/spec/handlers/examples/private_class_method_handler_003.rb.txt +0 -11
@@ -1,103 +1,103 @@
1
1
  require File.dirname(__FILE__) + '/spec_helper'
2
2
 
3
3
  describe YARD::Verifier do
4
- describe '#parse_expressions' do
5
- it "should create #__execute method" do
4
+ describe "#parse_expressions" do
5
+ it "creates #__execute method" do
6
6
  v = Verifier.new("expr1")
7
- v.should respond_to(:__execute)
7
+ expect(v).to respond_to(:__execute)
8
8
  end
9
9
 
10
- it "should parse @tagname into tag('tagname')" do
11
- obj = mock(:object)
12
- obj.should_receive(:tag).with('return')
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 "should parse @@tagname into object.tags('tagname')" do
17
- obj = mock(:object)
18
- obj.should_receive(:tags).with('return')
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 "should allow namespaced tag using @{} syntax" do
23
- obj = mock(:object)
24
- obj.should_receive(:tag).with('yard.return')
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 "should allow namespaced tags using @{} syntax" do
29
- obj = mock(:object)
30
- obj.should_receive(:tags).with('yard.return')
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 "should call methods on tag object" do
35
- obj = mock(:object)
36
- obj2 = mock(:tag)
37
- obj.should_receive(:tag).with('return').and_return obj2
38
- obj2.should_receive(:foo)
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 "should send any missing methods to object" do
43
- obj = mock(:object)
44
- obj.should_receive(:has_tag?).with('return')
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 "should allow multiple expressions" do
49
- obj = mock(:object)
50
- obj.should_receive(:tag).with('return').and_return(true)
51
- obj.should_receive(:tag).with('param').and_return(false)
52
- Verifier.new('@return', '@param').call(obj).should == false
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 '#o' do
57
- it "should alias object to o" do
58
- obj = mock(:object)
59
- obj.should_receive(:a).ordered
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 '#call' do
65
- it "should mock a nonexistent tag so that exceptions are not raised" do
66
- obj = mock(:object)
67
- obj.should_receive(:tag).and_return(nil)
68
- Verifier.new('@return.text').call(obj).should == false
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 "should not fail if no expressions were added" do
72
- lambda { Verifier.new.call(nil) }.should_not raise_error
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 "should always ignore proxy objects and return true" do
75
+ it "always ignores proxy objects and return true" do
76
76
  v = Verifier.new('tag(:x)')
77
- lambda { v.call(P('foo')).should == true }.should_not raise_error
77
+ expect { expect(v.call(P('foo'))).to be true }.not_to raise_error
78
78
  end
79
79
  end
80
80
 
81
- describe '#expressions' do
82
- it "should maintain a list of all unparsed expressions" do
83
- Verifier.new('@return.text', '@private').expressions.should == ['@return.text', '@private']
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 '#expressions=' do
88
- it "should recompile expressions when attribute is modified" do
89
- obj = mock(:object)
90
- obj.should_receive(:tag).with('return')
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 '#add_expressions' do
98
- it "should add new expressions and recompile" do
99
- obj = mock(:object)
100
- obj.should_receive(:tag).with('return')
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: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
16
- #noresults { padding: 7px 12px; }
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
- ul.collapsed ul, ul.collapsed li { display: none; }
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.r1 { background: #f0f0f0; }
26
- li.r2 { background: #fafafa; }
27
- li:hover { background: #ddd; }
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:link, a:visited { text-decoration: none; color: #05a; }
32
- li.clicked { background: #05a; color: #ccc; }
33
- li.clicked a:link, li.clicked a:visited { color: #eee; }
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; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
37
- #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
38
- #nav a:link, #nav a:visited { color: #358; }
39
- #nav a:hover { background: transparent; color: #5af; }
40
- .frames #nav span:after { content: ' | '; }
41
- .frames #nav span:last-child:after { content: ''; }
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
- .frames #content h1 { margin-top: 0; }
44
- .frames li { white-space: nowrap; cursor: normal; }
45
- .frames li small { display: block; font-size: 0.8em; }
46
- .frames li small:before { content: ""; }
47
- .frames li small:after { content: ""; }
48
- .frames li small.search_info { display: none; }
49
- .frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
50
- .frames #content.insearch #search { background-position: center right; }
51
- .frames #search input { width: 110px; }
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 li { display: none; }
55
- #full_list.insearch li.found { display: list-item; padding-left: 10px; }
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
- body.frames { padding: 0 5px; }
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 { font-family: monospace; }
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
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
52
- background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
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: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
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
- #filecontents dl.box, dl.box {
176
+ .box_info dl {
177
+ margin: 0;
87
178
  border: 0;
88
- width: 520px;
179
+ width: 100%;
89
180
  font-size: 1em;
181
+ display: flex;
182
+ display: -webkit-flex;
183
+ display: -ms-flexbox;
90
184
  }
91
- #filecontents dl.box dt, dl.box dt {
92
- float: left;
93
- display: block;
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
- #filecontents dl.box dd, dl.box dd {
105
- float: left;
106
- display: block;
107
- width: 380px;
108
- margin: 0;
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
- #filecontents dl.box .last, dl.box .last {
209
+ .box_info dl:last-child > * {
115
210
  border-bottom: 1px solid #aaa;
116
211
  }
117
- #filecontents dl.box .r1, dl.box .r1 { background: #eee; }
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: 40px; }
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 { margin-left: 32px; display: block; font-family: sans-serif; }
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 #aaa; margin-top: 15px; padding-top: 0; }
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: 18px;
140
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
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: 1em; margin-bottom: 0; font-weight: bold; }
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; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
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: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
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:link, .showSource a:visited { text-decoration: none; color: #666; }
287
+ .showSource a, .showSource a:visited { text-decoration: none; color: #666; }
179
288
 
180
- #content a:link, #content a:visited { text-decoration: none; color: #05a; }
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:link, ul.summary a:visited {
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: 1px 10px;
196
- background: #eaeaff; border: 1px solid #dfdfe5;
197
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
304
+ padding: 4px 8px;
305
+ background: #f8f8f8;
306
+ border: 1px solid #f0f0f0;
307
+ border-radius: 5px;
198
308
  }
199
- .summary_signature:hover { background: #eeeeff; cursor: pointer; }
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:link,
312
+ #content .summary_signature:hover a,
203
313
  #content .summary_signature:hover a:visited {
204
314
  background: transparent;
205
- color: #48f;
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: 14px; top: 0px; }
225
- #search a:link, #search a:visited {
226
- display: block; float: left; margin-right: 4px;
227
- padding: 8px 10px; text-decoration: none; color: #05a;
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
- -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
230
- -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
231
- background: #eaf0ff;
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; border: 1px solid #457;
237
- -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
238
- -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
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; top: -5px; position: relative; }
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:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
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:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
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: 36px;
272
- right: 18px;
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
- -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;
394
+ box-shadow: -7px 5px 25px #aaa;
395
+ border-radius: 2px;
282
396
  }
283
397
 
284
- #content ul.summary li.deprecated .summary_signature a:link,
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: #f6f6f6; -webkit-box-shadow: none; -moz-box-shadow: none; }
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 { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
315
- pre.code { color: #000; }
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,