]> git.plutz.net Git - confetti/blobdiff - templates/therapy.css.sh
improved placement of color choosers (no touching browser controls by accident ;...
[confetti] / templates / therapy.css.sh
index b14c457e7248c65866b81e72360f98d4ede0b5f9..4b87bcc4ec5f50c0c8a0ad62b91b3be82cfd9514 100755 (executable)
@@ -45,6 +45,7 @@ div.prescription span {
   display: inline-block;
   width: 50%;
   margin-right: -.75ex;
   display: inline-block;
   width: 50%;
   margin-right: -.75ex;
+  vertical-align: top;
 }
 div.prescription span label { font-weight: bold; margin-right: 1ex;}
 div.prescription span.prescno,
 }
 div.prescription span label { font-weight: bold; margin-right: 1ex;}
 div.prescription span.prescno,
@@ -52,6 +53,7 @@ div.prescription span.catalogue {
   width: 33%;
   font-weight: bold;
   margin-bottom: .5em;
   width: 33%;
   font-weight: bold;
   margin-bottom: .5em;
+  padding: .5ex 1ex;
 }
 
 div.prescription label.checkbox,
 }
 
 div.prescription label.checkbox,
@@ -91,44 +93,43 @@ div.prescription label[for=prescreviewed].checked {
 }
 
 fieldset.color {
 }
 
 fieldset.color {
-  margin: .5em 2% 0 2%;
+  position: absolute;
+  bottom: 0; right: 0; width: 2em;
+  margin: .5em .5em .125em 2%;
   border: none;
   padding: 0;
 }
   border: none;
   padding: 0;
 }
+fieldset.color > input.color + label {
+  width: 2em; height: 2em;
+}
 .dotmark {
 .dotmark {
-  max-width: 96%;
-  margin: .125em 2%; padding: 0;
+  max-width: 90%;
+  margin: .5em 1em .125em 2%; padding: 0;
   text-align: left;
   text-align: left;
-  border: 1px dotted black;
+  border: 1px solid black;
 }
 .dotmark.ov {
   position: absolute;
 }
 .dotmark.ov {
   position: absolute;
-  bottom: 5px; right: 0;
+  left: 0; bottom: .25em;
   z-index: 1;
   z-index: 1;
-  border: none;
 }
 }
+
 @media(min-width: 800px){
   h1, label.tab, div.tab, fieldset.tab,
   div.patient, div.prescription {
     width: 38%;
     margin-right: 0;
   }
 @media(min-width: 800px){
   h1, label.tab, div.tab, fieldset.tab,
   div.patient, div.prescription {
     width: 38%;
     margin-right: 0;
   }
-  fieldset.color{
-    position: fixed;
-    max-width: 56%;
-    right: 0;
-    top: 0em;
-  }
+  fieldset.color { position: fixed; }
   .dotmark {
     position: fixed;
   .dotmark {
     position: fixed;
-    max-width: 56%;
-    max-height: 480px;
-    right: 0;
-    top: 2em;
+    max-width: 52%;
+    max-height: 98%;
+    right: 2em; bottom: .25em;
   }
   .dotmark.ov {
     position: fixed;
   }
   .dotmark.ov {
     position: fixed;
-    bottom: auto;
+    right: 2em; left: auto;
   }
 }
 
   }
 }
 
@@ -237,7 +238,7 @@ div.tab > fieldset.note {
 div.tab > fieldset.note > textarea {
   display: block;
   width: 95%; height: 8em;
 div.tab > fieldset.note > textarea {
   display: block;
   width: 95%; height: 8em;
-  margin: -8em 0 .5em 1.25em;
+  margin: -8em 0 .5em 2em;
   font: normal 1em sans-serif;
 }
 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
   font: normal 1em sans-serif;
 }
 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }