| author | |
| committer | |
| log | ffc0c26b27b14fbaedc0def018fd962a93e420bc |
| tree | 739ead83b176eeffe47824884241400e2e3046a3 |
| parent | 2e26aaa70c2fd0fd9fdb036c71ab058e794f1f87 |
| signature |
2 files changed, 13 insertions(+), 1 deletions(-)
lib/std/special/docs/index.html+8-1| ... | ... | @@ -94,7 +94,10 @@ |
| 94 | 94 | background-color: #555; |
| 95 | 95 | color: #fff; |
| 96 | 96 | } |
| 97 | ||
| 97 | #listPkgs li a.active { | |
| 98 | background-color: #FFBB4D; | |
| 99 | color: #000; | |
| 100 | } | |
| 98 | 101 | #logo { |
| 99 | 102 | width: 8em; |
| 100 | 103 | padding: 0.5em 1em; |
| ... | ... | @@ -170,6 +173,10 @@ |
| 170 | 173 | background-color: #555; |
| 171 | 174 | color: #fff; |
| 172 | 175 | } |
| 176 | #listPkgs li a.active { | |
| 177 | background-color: #FFBB4D; | |
| 178 | color: #000; | |
| 179 | } | |
| 173 | 180 | #listSearchResults li.selected { |
| 174 | 181 | background-color: #000; |
| 175 | 182 | } |
lib/std/special/docs/main.js+5| ... | ... | @@ -220,6 +220,11 @@ |
| 220 | 220 | var aDom = liDom.children[0]; |
| 221 | 221 | aDom.textContent = list[i].name; |
| 222 | 222 | aDom.setAttribute('href', navLinkPkg(list[i].pkg)); |
| 223 | if (list[i].name === curNav.pkgNames[0]) { | |
| 224 | aDom.classList.add("active"); | |
| 225 | } else { | |
| 226 | aDom.classList.remove("active"); | |
| 227 | } | |
| 223 | 228 | } |
| 224 | 229 | |
| 225 | 230 | domSectPkgs.classList.remove("hidden"); |