]> git.plutz.net Git - lobster/commitdiff
copied trailbtn styles from old version
authorPaul Hänsch <paul@plutz.net>
Sun, 14 Feb 2021 10:35:08 +0000 (11:35 +0100)
committerPaul Hänsch <paul@plutz.net>
Sun, 14 Feb 2021 10:35:08 +0000 (11:35 +0100)
therapies/therapy.css

index 79a3e0c1f71998934d950974ceb9bec72cc44fa9..046b961082c6964cc9d3518e0464cd9060e15cde 100644 (file)
@@ -1,5 +1,19 @@
 * { position: static; }
 
+.trailbtn { display: none; }
+.trailbtn + .trailbox { display: none; }
+.trailbtn:checked + .trailbox { display: inline-block; }
+.trailbtn:checked + .trailbox + .trailbtn { display: block; }
+.trailbtn:checked + .trailbox + .trailbtn:before {
+   display: block; content: '+';
+   width: 3ex; text-align: center;
+   margin-top: .25em; padding: .25em 0;
+   background-color: #FFF;
+   border-width: 1px; border-style: solid;
+}
+.trailbtn:checked + .trailbox + .trailbtn:checked,
+.trailbtn:checked { display: none; }
+
 .trailbtn:checked + fieldset.trailbox { display: block;}
 
 .trailbtn:checked + .trailbox + .trailbtn {