]> git.plutz.net Git - lobster/blobdiff - therapies/therapy.css
margins for color bars
[lobster] / therapies / therapy.css
index 15412b9d3b8889b3ceaf1652e97e5f7372ca559e..248d765365026c2e7c0c7ccea8b73de1dcad43a3 100644 (file)
@@ -1,3 +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 {
@@ -10,8 +26,6 @@
 }
 .trailbtn:checked + .trailbox + .trailbtn[type=submit]:before {content: none;}
 
-
-* { box-sizing: border-box; }
 body {
   overflow: scroll;
   position: relative;
@@ -35,6 +49,23 @@ form > button[type=submit]:hover {
   background-color: #FEE;
 }
 
+form#report {
+  position: static;
+  width: 100%;
+  margin:0; padding: 0;
+  box-shadow: none;
+}
+
+form#report button#backbutton {
+  display: inline;
+  position: absolute;
+  top: 1.75em; left: 2%;
+  font-size: 1.125em;
+  background: transparent;
+  padding: 0;
+  border: none; box-shadow: none;
+}
+
 input.tab { display: none; }
 input.tab + label.tab { display: block; }
 input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
@@ -164,28 +195,29 @@ input.stickynote + .stickynote:nth-of-type(2n) {
 }
 
 input.stickynote + .stickynote > * { display: none; }
+input.stickynote + .stickynote > textarea {
+  display: block;
+  position: absolute;
+  left; 0; right: 0; bottom: 0; top: 0;
+  width: 100%; height: 100%;
+  background-color: #FF8;
+  padding: 2em 1em;
+}
 input.stickynote + .stickynote > label {
   position: absolute;
-  top: 0; bottom: 0; right: .5ex;
+  top: 0; bottom: 0; right: .5ex; left: 0;
   display: block;
   text-align: right;
   font-weight: bold;
+  z-index: 1;
 }
 input.stickynote + .stickynote:hover {
-  left: -1ex;
+  width: auto; left: 0em; right: 2em;
 }
 input.stickynote:checked + .stickynote {
   width: auto; left: 1em; right: 1em;
 }
 input.stickynote:checked + .stickynote > * { display: block; }
-input.stickynote:checked + .stickynote > textarea {
-  display: block;
-  position: absolute;
-  left; 0; right: 0; bottom: 0; top: 0;
-  width: 100%; height: 100%;
-  background-color: #FF8;
-  padding: 2em 1em;
-}
 input.stickynote:checked + .stickynote > button[type="submit"] {
   display: block;
   position: absolute;
@@ -214,11 +246,11 @@ fieldset.penwidth,
 fieldset.color {
   position: absolute;
   right: 0; width: 2em;
-  margin: .5em .5em .125em 2%;
+  margin-bottom: .375em;
   border: none;
   padding: 0;
 }
-fieldset.penwidth { bottom: 19em; }
+fieldset.penwidth { bottom: 17em; }
 fieldset.penwidth > input {display: none;}
 fieldset.penwidth > input + label { display: none;}
 fieldset.penwidth > input:checked + label {
@@ -254,6 +286,7 @@ fieldset.color > input.color + label {
     width: 38%;
     margin-right: 0;
   }
+  input.stickynote + .stickynote:hover { right: calc(50% + 1em); }
   input.stickynote:checked + .stickynote { right: 50%; }
   fieldset.penwidth,
   fieldset.color { position: fixed; }
@@ -371,8 +404,9 @@ div:nth-child(n+2) > a:first-of-type {
 }
 #report div.tab > fieldset.note > textarea {
   display: block;
-  width: 93%; height: 8em;
-  margin: -8em 0 .5em 2em;
+  width: 93%; width: calc(100% - 1.25em);
+  height: 8em;
+  margin: -8em 0 .5em 1.25em;
   font: normal 1em sans-serif;
 }
 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }