autoc 1.3 → 1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +4 -0
  3. data/doc/AutoC.html +55 -55
  4. data/doc/AutoC/Code.html +60 -57
  5. data/doc/AutoC/Collection.html +134 -124
  6. data/doc/AutoC/HashMap.html +147 -185
  7. data/doc/AutoC/HashSet.html +114 -325
  8. data/doc/AutoC/Iterators.html +126 -0
  9. data/doc/AutoC/Iterators/Bidirectional.html +204 -0
  10. data/doc/AutoC/Iterators/Unidirectional.html +200 -0
  11. data/doc/AutoC/List.html +81 -76
  12. data/doc/AutoC/Maps.html +290 -0
  13. data/doc/AutoC/Module.html +72 -69
  14. data/doc/AutoC/Module/File.html +55 -52
  15. data/doc/AutoC/Module/Header.html +55 -52
  16. data/doc/AutoC/Module/Source.html +63 -60
  17. data/doc/AutoC/Priority.html +57 -57
  18. data/doc/AutoC/Queue.html +75 -74
  19. data/doc/AutoC/Reference.html +92 -91
  20. data/doc/AutoC/Sets.html +520 -0
  21. data/doc/AutoC/String.html +70 -69
  22. data/doc/AutoC/TreeMap.html +1565 -0
  23. data/doc/AutoC/TreeSet.html +1447 -0
  24. data/doc/AutoC/Type.html +184 -110
  25. data/doc/AutoC/UserDefinedType.html +102 -102
  26. data/doc/AutoC/Vector.html +100 -91
  27. data/doc/_index.html +97 -33
  28. data/doc/class_list.html +24 -31
  29. data/doc/css/full_list.css +32 -31
  30. data/doc/css/style.css +220 -78
  31. data/doc/file.CHANGES.html +37 -30
  32. data/doc/file.README.html +29 -30
  33. data/doc/file_list.html +29 -31
  34. data/doc/frames.html +7 -16
  35. data/doc/index.html +29 -30
  36. data/doc/js/app.js +100 -76
  37. data/doc/js/full_list.js +170 -135
  38. data/doc/method_list.html +877 -431
  39. data/doc/top-level-namespace.html +35 -35
  40. data/lib/autoc.rb +4 -2
  41. data/lib/autoc/collection.rb +10 -4
  42. data/lib/autoc/collection/hash_map.rb +22 -41
  43. data/lib/autoc/collection/hash_set.rb +13 -120
  44. data/lib/autoc/collection/iterator.rb +39 -0
  45. data/lib/autoc/collection/list.rb +7 -5
  46. data/lib/autoc/collection/map.rb +41 -0
  47. data/lib/autoc/collection/queue.rb +8 -8
  48. data/lib/autoc/collection/set.rb +134 -0
  49. data/lib/autoc/collection/tree_map.rb +464 -0
  50. data/lib/autoc/collection/tree_set.rb +611 -0
  51. data/lib/autoc/collection/vector.rb +8 -4
  52. data/lib/autoc/string.rb +1 -1
  53. data/lib/autoc/type.rb +3 -0
  54. data/test/test.rb +2 -2
  55. data/test/test_auto.c +7141 -0
  56. data/test/test_auto.h +753 -0
  57. data/test/test_int_tree_set.rb +111 -0
  58. data/test/test_value_hash_map.rb +1 -1
  59. data/test/test_value_hash_set.rb +1 -1
  60. data/test/test_value_tree_map.rb +176 -0
  61. data/test/test_value_tree_set.rb +173 -0
  62. metadata +21 -5
@@ -1,8 +1,8 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1
+ <!DOCTYPE html>
3
2
  <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
+ <meta charset="utf-8" />
6
6
 
7
7
  <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
8
 
@@ -19,38 +19,31 @@
19
19
  <base id="base_target" target="_parent" />
20
20
  </head>
21
21
  <body>
22
- <script type="text/javascript" charset="utf-8">
23
- var hasFrames = false;
24
- try {
25
- hasFrames = window.top.frames.main ? true : false;
26
- } catch (e) { }
27
- if (hasFrames) {
28
- document.getElementById('base_target').target = 'main';
29
- document.body.className = 'frames';
30
- }
31
- </script>
32
22
  <div id="content">
33
- <h1 id="full_list_header">Class List</h1>
34
- <div id="nav">
35
-
36
- <span><a target="_self" href="class_list.html">
37
- Classes
38
- </a></span>
39
-
40
- <span><a target="_self" href="method_list.html">
41
- Methods
42
- </a></span>
43
-
44
- <span><a target="_self" href="file_list.html">
45
- Files
46
- </a></span>
47
-
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>
48
42
  </div>
49
- <div id="search">Search: <input type="text" /></div>
50
43
 
51
44
  <ul id="full_list" class="class">
52
- <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
53
- <li><a class='toggle'></a> <span class='object_link'><a href="AutoC.html" title="AutoC (module)">AutoC</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="AutoC/Code.html" title="AutoC::Code (class)">Code</a></span> &lt; Object<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/Collection.html" title="AutoC::Collection (class)">Collection</a></span> &lt; Type<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/HashMap.html" title="AutoC::HashMap (class)">HashMap</a></span> &lt; Collection<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/HashSet.html" title="AutoC::HashSet (class)">HashSet</a></span> &lt; Collection<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/List.html" title="AutoC::List (class)">List</a></span> &lt; Collection<small class='search_info'>AutoC</small></li><li><a class='toggle'></a> <span class='object_link'><a href="AutoC/Module.html" title="AutoC::Module (class)">Module</a></span> &lt; Object<small class='search_info'>AutoC</small></li><ul><li><span class='object_link'><a href="AutoC/Module/File.html" title="AutoC::Module::File (class)">File</a></span> &lt; Object<small class='search_info'>AutoC::Module</small></li><li><span class='object_link'><a href="AutoC/Module/Header.html" title="AutoC::Module::Header (class)">Header</a></span> &lt; File<small class='search_info'>AutoC::Module</small></li><li><span class='object_link'><a href="AutoC/Module/Source.html" title="AutoC::Module::Source (class)">Source</a></span> &lt; File<small class='search_info'>AutoC::Module</small></li></ul><li><span class='object_link'><a href="AutoC/Priority.html" title="AutoC::Priority (module)">Priority</a></span><small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/Queue.html" title="AutoC::Queue (class)">Queue</a></span> &lt; Collection<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/Reference.html" title="AutoC::Reference (class)">Reference</a></span> &lt; Type<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/String.html" title="AutoC::String (class)">String</a></span> &lt; Type<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/Type.html" title="AutoC::Type (class)">Type</a></span> &lt; Code<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span> &lt; Type<small class='search_info'>AutoC</small></li><li><span class='object_link'><a href="AutoC/Vector.html" title="AutoC::Vector (class)">Vector</a></span> &lt; Collection<small class='search_info'>AutoC</small></li></ul>
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
+ <li id='object_AutoC' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="AutoC.html" title="AutoC (module)">AutoC</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_AutoC::Code' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Code.html" title="AutoC::Code (class)">Code</a></span> &lt; Object<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Collection' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Collection.html" title="AutoC::Collection (class)">Collection</a></span> &lt; Type<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::HashMap' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/HashMap.html" title="AutoC::HashMap (class)">HashMap</a></span> &lt; Collection<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::HashSet' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/HashSet.html" title="AutoC::HashSet (class)">HashSet</a></span> &lt; Collection<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Iterators' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="AutoC/Iterators.html" title="AutoC::Iterators (module)">Iterators</a></span><small class='search_info'>AutoC</small></div><ul><li id='object_AutoC::Iterators::Bidirectional' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="AutoC/Iterators/Bidirectional.html" title="AutoC::Iterators::Bidirectional (module)">Bidirectional</a></span><small class='search_info'>AutoC::Iterators</small></div></li><li id='object_AutoC::Iterators::Unidirectional' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="AutoC/Iterators/Unidirectional.html" title="AutoC::Iterators::Unidirectional (module)">Unidirectional</a></span><small class='search_info'>AutoC::Iterators</small></div></li></ul></li><li id='object_AutoC::List' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/List.html" title="AutoC::List (class)">List</a></span> &lt; Collection<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Maps' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Maps.html" title="AutoC::Maps (module)">Maps</a></span><small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Module' class='collapsed even'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="AutoC/Module.html" title="AutoC::Module (class)">Module</a></span> &lt; Object<small class='search_info'>AutoC</small></div><ul><li id='object_AutoC::Module::File' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="AutoC/Module/File.html" title="AutoC::Module::File (class)">File</a></span> &lt; Object<small class='search_info'>AutoC::Module</small></div></li><li id='object_AutoC::Module::Header' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="AutoC/Module/Header.html" title="AutoC::Module::Header (class)">Header</a></span> &lt; File<small class='search_info'>AutoC::Module</small></div></li><li id='object_AutoC::Module::Source' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="AutoC/Module/Source.html" title="AutoC::Module::Source (class)">Source</a></span> &lt; File<small class='search_info'>AutoC::Module</small></div></li></ul></li><li id='object_AutoC::Priority' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Priority.html" title="AutoC::Priority (module)">Priority</a></span><small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Queue' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Queue.html" title="AutoC::Queue (class)">Queue</a></span> &lt; Collection<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Reference' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Reference.html" title="AutoC::Reference (class)">Reference</a></span> &lt; Type<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Sets' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Sets.html" title="AutoC::Sets (module)">Sets</a></span><small class='search_info'>AutoC</small></div></li><li id='object_AutoC::String' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/String.html" title="AutoC::String (class)">String</a></span> &lt; Type<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::TreeMap' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/TreeMap.html" title="AutoC::TreeMap (class)">TreeMap</a></span> &lt; Collection<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::TreeSet' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/TreeSet.html" title="AutoC::TreeSet (class)">TreeSet</a></span> &lt; Collection<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Type' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Type.html" title="AutoC::Type (class)">Type</a></span> &lt; Code<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::UserDefinedType' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span> &lt; Type<small class='search_info'>AutoC</small></div></li><li id='object_AutoC::Vector' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="AutoC/Vector.html" title="AutoC::Vector (class)">Vector</a></span> &lt; Collection<small class='search_info'>AutoC</small></div></li></ul></li>
54
47
 
55
48
  </ul>
56
49
  </div>
@@ -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;
5
55
  }
6
- body.frames { padding: 0 5px; }
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; }
66
+ }
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,71 @@ 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
- .index_inline_list li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
122
218
 
123
- dl.constants { margin-left: 40px; }
219
+ .index_inline_list li {
220
+ list-style: none;
221
+ display: inline-block;
222
+ padding: 0 12px;
223
+ line-height: 30px;
224
+ margin-bottom: 5px;
225
+ }
226
+
227
+ dl.constants { margin-left: 10px; }
124
228
  dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
125
229
  dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
230
+ dl.constants .docstring .note:first-child { margin-top: 5px; }
126
231
 
127
- .summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
232
+ .summary_desc {
233
+ margin-left: 32px;
234
+ display: block;
235
+ font-family: sans-serif;
236
+ font-size: 1.1em;
237
+ margin-top: 8px;
238
+ line-height: 1.5145em;
239
+ margin-bottom: 0.8em;
240
+ }
128
241
  .summary_desc tt { font-size: 0.9em; }
129
242
  dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
130
243
  dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
@@ -132,12 +245,13 @@ dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
132
245
  dl.constants .discussion *:first-child { margin-top: 0; }
133
246
  dl.constants .discussion *:last-child { margin-bottom: 0; }
134
247
 
135
- .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
136
- .method_details.first { border: 0; }
248
+ .method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
249
+ .method_details.first { border: 0; margin-top: 5px; }
250
+ .method_details.first h3.signature { margin-top: 1em; }
137
251
  p.signature, h3.signature {
138
252
  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;
253
+ padding: 6px 10px; margin-top: 1em;
254
+ background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
141
255
  }
142
256
  p.signature tt,
143
257
  h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
@@ -152,7 +266,8 @@ h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; f
152
266
  p.signature .aliases .names,
153
267
  h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
154
268
 
155
- .tags .tag_title { font-size: 1em; margin-bottom: 0; font-weight: bold; }
269
+ .tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
270
+ .tags .tag_title tt { color: initial; padding: initial; background: initial; }
156
271
  .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
157
272
  .tags ul li { margin-bottom: 3px; }
158
273
  .tags ul .name { font-family: monospace; font-weight: bold; }
@@ -160,12 +275,13 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
160
275
  .tags { margin-bottom: 12px; }
161
276
 
162
277
  .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; }
278
+ .tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
279
+ .tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
164
280
 
165
281
  .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
166
282
  .tags .overload .overload_item .signature {
167
283
  padding: 2px 8px;
168
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
284
+ background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
169
285
  }
170
286
  .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
171
287
  .tags .overload .docstring { margin-top: 15px; }
@@ -175,34 +291,35 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
175
291
  #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
176
292
 
177
293
  .showSource { font-size: 0.9em; }
178
- .showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
294
+ .showSource a, .showSource a:visited { text-decoration: none; color: #666; }
179
295
 
180
- #content a:link, #content a:visited { text-decoration: none; color: #05a; }
296
+ #content a, #content a:visited { text-decoration: none; color: #05a; }
181
297
  #content a:hover { background: #ffffa5; }
182
- div.docstring, p.docstring { margin-right: 6em; }
183
298
 
184
299
  ul.summary {
185
300
  list-style: none;
186
301
  font-family: monospace;
187
302
  font-size: 1em;
188
303
  line-height: 1.5em;
304
+ padding-left: 0px;
189
305
  }
190
- ul.summary a:link, ul.summary a:visited {
306
+ ul.summary a, ul.summary a:visited {
191
307
  text-decoration: none; font-size: 1.1em;
192
308
  }
193
309
  ul.summary li { margin-bottom: 5px; }
194
310
  .summary .summary_signature {
195
- padding: 1px 10px;
196
- background: #eaeaff; border: 1px solid #dfdfe5;
197
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
311
+ padding: 4px 8px;
312
+ background: #f8f8f8;
313
+ border: 1px solid #f0f0f0;
314
+ border-radius: 5px;
198
315
  }
199
- .summary_signature:hover { background: #eeeeff; cursor: pointer; }
316
+ .summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
200
317
  ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
201
318
  ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
202
- #content .summary_signature:hover a:link,
319
+ #content .summary_signature:hover a,
203
320
  #content .summary_signature:hover a:visited {
204
321
  background: transparent;
205
- color: #48f;
322
+ color: #049;
206
323
  }
207
324
 
208
325
  p.inherited a { font-family: monospace; font-size: 0.9em; }
@@ -221,37 +338,42 @@ ul.fullTree li:last-child { padding-bottom: 0; }
221
338
  .showAll ul.fullTree { display: block; }
222
339
  .showAll .inheritName { display: none; }
223
340
 
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;
341
+ #search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
342
+ #search a {
343
+ display: block; float: left;
344
+ padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
228
345
  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;
346
+ border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
347
+ background: #F1F8FF;
348
+ box-shadow: -1px 1px 3px #ddd;
233
349
  }
234
- #search a:hover { background: #f5faff; color: #06b; }
350
+ #search a:hover { background: #f5faff; color: #06b; fill: #06b; }
235
351
  #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;
352
+ background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
353
+ border: 1px solid #457;
354
+ border-top-left-radius: 5px; border-top-right-radius: 5px;
355
+ }
356
+ #search a.inactive { color: #999; fill: #999; }
357
+ .inheritanceTree, .toggleDefines {
358
+ float: right;
359
+ border-left: 1px solid #aaa;
360
+ position: absolute; top: 0; right: 0;
361
+ height: 100%;
362
+ background: #f6f6f6;
363
+ padding: 5px;
364
+ min-width: 55px;
365
+ text-align: center;
239
366
  }
240
- #search a.inactive { color: #999; }
241
- .frames #search { display: none; }
242
- .inheritanceTree, .toggleDefines { float: right; }
243
367
 
244
- #menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
368
+ #menu { font-size: 1.3em; color: #bbb; }
245
369
  #menu .title, #menu a { font-size: 0.7em; }
246
370
  #menu .title a { font-size: 1em; }
247
371
  #menu .title { color: #555; }
248
- #menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
372
+ #menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
249
373
  #menu a:hover { color: #05a; }
250
- #menu .noframes { display: inline; }
251
- .frames #menu .noframes { display: inline; float: right; }
252
374
 
253
375
  #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; }
376
+ #footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
255
377
  #footer a:hover { color: #05a; }
256
378
 
257
379
  #listing ul.alpha { font-size: 1.1em; }
@@ -268,33 +390,35 @@ li.r2 { background: #fafafa; }
268
390
  background: #fff;
269
391
  display: none;
270
392
  position: absolute;
271
- top: 36px;
272
- right: 18px;
393
+ top: 40px;
394
+ right: 12px;
273
395
  width: 500px;
396
+ max-width: 80%;
274
397
  height: 80%;
275
398
  overflow-y: scroll;
276
399
  border: 1px solid #999;
277
400
  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;
401
+ box-shadow: -7px 5px 25px #aaa;
402
+ border-radius: 2px;
282
403
  }
283
404
 
284
- #content ul.summary li.deprecated .summary_signature a:link,
405
+ #content ul.summary li.deprecated .summary_signature a,
285
406
  #content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
286
407
 
287
408
  #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
409
  position: relative;
410
+ float: right;
294
411
  overflow-x: auto;
412
+ right: -3px;
413
+ margin-left: 20px;
414
+ margin-bottom: 20px;
415
+ padding: 20px; padding-right: 30px;
416
+ max-width: 300px;
417
+ z-index: 5000;
418
+ background: #fefefe;
419
+ border: 1px solid #ddd;
420
+ box-shadow: -2px 2px 6px #bbb;
295
421
  }
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
422
  #toc .title { margin: 0; }
299
423
  #toc ol { padding-left: 1.8em; }
300
424
  #toc li { font-size: 1.1em; line-height: 1.7em; }
@@ -302,8 +426,17 @@ li.r2 { background: #fafafa; }
302
426
  #toc ol > ol { font-size: 0.9em; }
303
427
  #toc ol ol > ol { padding-left: 2.3em; }
304
428
  #toc ol + li { margin-top: 0.3em; }
305
- #toc.hidden { padding: 10px; background: #f6f6f6; -webkit-box-shadow: none; -moz-box-shadow: none; }
429
+ #toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
430
+ #toc.hidden:hover { background: #fafafa; }
306
431
  #filecontents h1 + #toc.nofloat { margin-top: 0; }
432
+ @media (max-width: 560px) {
433
+ #toc {
434
+ margin-left: 0;
435
+ margin-top: 16px;
436
+ float: none;
437
+ max-width: none;
438
+ }
439
+ }
307
440
 
308
441
  /* syntax highlighting */
309
442
  .source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
@@ -311,8 +444,17 @@ li.r2 { background: #fafafa; }
311
444
  #filecontents pre.code, .docstring pre.code { display: block; }
312
445
  .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
313
446
  #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; }
447
+ .tags pre.example {
448
+ padding: 9px 14px;
449
+ margin-top: 4px;
450
+ border: 1px solid #e1e1e8;
451
+ background: #f7f7f9;
452
+ border-radius: 4px;
453
+ font-size: 1em;
454
+ overflow-x: auto;
455
+ line-height: 1.2em;
456
+ }
457
+ pre.code { color: #000; tab-size: 2; }
316
458
  pre.code .info.file { color: #555; }
317
459
  pre.code .val { color: #036A07; }
318
460
  pre.code .tstring_content,