lib/rdoc/generator/template/darkfish/css/rdoc.css in rdoc-6.1.1 vs lib/rdoc/generator/template/darkfish/css/rdoc.css in rdoc-6.1.2
- old
+ new
@@ -7,10 +7,12 @@
*/
/* vim: ft=css et sw=2 ts=2 sts=2 */
/* Base Green is: #6C8C22 */
+.hide { display: none !important; }
+
* { padding: 0; margin: 0; }
body {
background: #fafafa;
font-family: Lato, sans-serif;
@@ -46,10 +48,20 @@
h5:hover span,
h6:hover span {
display: inline;
}
+h1:target,
+h2:target,
+h3:target,
+h4:target,
+h5:target,
+h6:target {
+ margin-left: -10px;
+ border-left: 10px solid #f1edba;
+}
+
:link,
:visited {
color: #6C8C22;
text-decoration: none;
}
@@ -439,10 +451,19 @@
}
/* @group Method Details */
main .method-source-code {
- display: none;
+ max-height: 0;
+ overflow: hidden;
+ transition-duration: 200ms;
+ transition-delay: 0ms;
+ transition-property: all;
+ transition-timing-function: ease-in-out;
+}
+
+main .method-source-code.active-menu {
+ max-height: 100vh;
}
main .method-description .method-calls-super {
color: #333;
font-weight: bold;