diff --git a/docs/ActiveRecordWhereAssoc.html b/docs/ActiveRecordWhereAssoc.html index 4e6a311..47568f4 100644 --- a/docs/ActiveRecordWhereAssoc.html +++ b/docs/ActiveRecordWhereAssoc.html @@ -42,7 +42,7 @@

@@ -88,7 +88,7 @@

diff --git a/docs/ActiveRecordWhereAssoc/RelationReturningMethods.html b/docs/ActiveRecordWhereAssoc/RelationReturningMethods.html index 0537eba..57f30be 100644 --- a/docs/ActiveRecordWhereAssoc/RelationReturningMethods.html +++ b/docs/ActiveRecordWhereAssoc/RelationReturningMethods.html @@ -42,7 +42,7 @@

@@ -58,14 +58,25 @@

@@ -337,10 +348,12 @@

Public Instance Methods

-
- where_assoc_exists(association_name, conditions = nil, options = {}, &block) - click to toggle source +
+
+ where_assoc_exists(association_name, conditions = nil, options = {}, &block) + click to toggle source +
@@ -391,10 +404,12 @@

Public Instance Methods

-
- where_assoc_not_exists(association_name, conditions = nil, options = {}, &block) - click to toggle source +
+
+ where_assoc_not_exists(association_name, conditions = nil, options = {}, &block) + click to toggle source +
@@ -469,10 +484,12 @@

Public Instance Methods

-
- where_assoc_count(left_operand, operator, association_name, conditions = nil, options = {}, &block) - click to toggle source +
+
+ where_assoc_count(left_operand, operator, association_name, conditions = nil, options = {}, &block) + click to toggle source +
@@ -588,7 +605,7 @@

Public Instance Methods

diff --git a/docs/ActiveRecordWhereAssoc/SqlReturningMethods.html b/docs/ActiveRecordWhereAssoc/SqlReturningMethods.html index 3d011fa..286bc9e 100644 --- a/docs/ActiveRecordWhereAssoc/SqlReturningMethods.html +++ b/docs/ActiveRecordWhereAssoc/SqlReturningMethods.html @@ -42,7 +42,7 @@

@@ -110,10 +110,12 @@

Public Instance Methods

-
- assoc_exists_sql(association_name, conditions = nil, options = {}, &block) - click to toggle source +
+
+ assoc_exists_sql(association_name, conditions = nil, options = {}, &block) + click to toggle source +
@@ -140,10 +142,12 @@

Public Instance Methods

-
- assoc_not_exists_sql(association_name, conditions = nil, options = {}, &block) - click to toggle source +
+
+ assoc_not_exists_sql(association_name, conditions = nil, options = {}, &block) + click to toggle source +
@@ -163,10 +167,12 @@

Public Instance Methods

-
- compare_assoc_count_sql(left_operand, operator, association_name, conditions = nil, options = {}, &block) - click to toggle source +
+
+ compare_assoc_count_sql(left_operand, operator, association_name, conditions = nil, options = {}, &block) + click to toggle source +
@@ -193,10 +199,12 @@

Public Instance Methods

-
- only_assoc_count_sql(association_name, conditions = nil, options = {}, &block) - click to toggle source +
+
+ only_assoc_count_sql(association_name, conditions = nil, options = {}, &block) + click to toggle source +
@@ -230,7 +238,7 @@

Public Instance Methods

diff --git a/docs/css/rdoc.css b/docs/css/rdoc.css index ebe2e93..2cc55e0 100644 --- a/docs/css/rdoc.css +++ b/docs/css/rdoc.css @@ -17,6 +17,14 @@ body { background: #fafafa; font-family: Lato, sans-serif; font-weight: 300; + + /* Layout */ + display: grid; + grid-template-columns: auto 1fr; +} + +body > :last-child { + grid-column: 1 / 3; } h1 span, @@ -79,6 +87,17 @@ pre { border-radius: 0.2em; } +em { + text-decoration-color: rgba(52, 48, 64, 0.25); + text-decoration-line: underline; + text-decoration-style: dotted; +} + +strong, +em { + background-color: rgba(158, 178, 255, 0.1); +} + table { margin: 0; border-spacing: 0; @@ -181,17 +200,25 @@ table tr:nth-child(even) td { /* @group Top-Level Structure */ nav { - float: left; - width: 260px; font-family: Helvetica, sans-serif; font-size: 14px; border-right: 1px solid #ccc; + position: sticky; + top: 0; + overflow: auto; + + /* Layout */ + width: 260px; /* fallback */ + width: max(50px, 20vw); + min-width: 50px; + max-width: 80vw; + height: calc(100vh - 100px); /* reduce the footer height */ + resize: horizontal; } main { display: block; - margin: 0 2em 5em 260px; - padding-left: 20px; + margin: 1em; min-width: 340px; font-size: 16px; } @@ -210,7 +237,6 @@ main h6 { } #validator-badges { - clear: both; margin: 1em 1em 2em; font-size: smaller; } @@ -305,6 +331,28 @@ dl.note-list dt { background: url(../images/arrow_up.png) no-repeat right center; } +.nav-section details > summary { + display: block; +} + +.nav-section details > summary::-webkit-details-marker { + display: none; +} + +.nav-section details > summary::before { + content: ""; +} + +.nav-section details > summary::after { + content: "\25B6"; /* BLACK RIGHT-POINTING TRIANGLE */ + font-size: 0.8em; + margin-left: 0.4em; +} + +.nav-section details[open] > summary::after { + content: "\25BD"; /* WHITE DOWN-POINTING TRIANGLE */ +} + /* @end */ /* @group Documentation Section */ @@ -482,7 +530,7 @@ main header h3 { main .method-source-code { max-height: 0; - overflow: hidden; + overflow: auto; transition-duration: 200ms; transition-delay: 0ms; transition-property: all; @@ -530,7 +578,7 @@ main .method-click-advice { line-height: 20px; background: url(../images/zoom.png) no-repeat right top; } -main .method-heading:hover .method-click-advice { +main .method-header:hover .method-click-advice { visibility: visible; } diff --git a/docs/index.html b/docs/index.html index d01381e..2726d68 100644 --- a/docs/index.html +++ b/docs/index.html @@ -43,7 +43,7 @@

@@ -62,10 +62,11 @@

Class and Module Index

+
  • ActiveRecordWhereAssoc +
  • @@ -78,7 +79,7 @@

    Class and Module Index

    diff --git a/docs/js/darkfish.js b/docs/js/darkfish.js index 111bbf8..19a85c5 100644 --- a/docs/js/darkfish.js +++ b/docs/js/darkfish.js @@ -54,7 +54,7 @@ function hookSearch() { var html = ''; // TODO add relative path to