/**/
body {padding-bottom: 3em; }
+.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; }
+
.prescription {
display: inline-block;
width: 96%; max-width: 460px;
.prescription input[name=presctype] + label {
font-size: medium;
width: 22%;
- margin: 0; margin-right: -.75ex;
- vertical-align: bottom;
- padding: .125em .5ex .25em 3ex;
+ margin: 0; margin-right: -.5ex;
+ vertical-align: top;
+ padding: .25em .5ex .25em 3ex;
+ height: 2.5em;
+ border-top: 1px solid #DDD;
}
.prescription label.presctype {
text-align: right;
font-weight: bold;
+ font-size: .875em;
padding-right: 1ex;
padding-left: 0;
}
.description #quantity_weekly,
.description .quantity_weekly { width: 20%; height: 3em; text-align: center;}
- .description input[type=checkbox] { display: none; }
- .description input[type=checkbox] + p { display: none; }
- .description input:checked + p { display: inline-block; }
- .description input:checked + p + input { display: block;}
- .description input:checked + p + input:after {
- display: block; width: 3ex;
- background-color: #FFF;
- border: 1px solid black;
- margin-top: .25em;
- text-align: center;
- content: '+';
- }
- .description input:checked + p + input:checked,
- .description input:checked { display: none; }
-
.description .indicator_codes {display: inline-block; width: 20%; padding: 0; padding-top: 1.5ex;}
.description label[for=indicator],
.description label[for=icd10] { display: block; width: 100%;}
.description #indicator_reading { width: 100%; display: block;}
.description #indicator_reading { height: 4em;}
+ .description .issuer { display: inline-block; width: 50%; padding: 0; padding-top: 0; margin-left: 50%;}
+ .description .issuer label:first-of-type {
+ display: block;
+ position: relative;
+ width: 50%; left: -50%; top: 2.25em;
+ font-size: 1em;
+ text-align: right;
+ padding-right: 1ex;
+ }
+ .description .issuer input[type=radio] + label:before { content: none; }
+ .description .issuer input[type=radio] { display: none; }
+ .description .issuer input[type=radio] + label {
+ display: inline-block;
+ width: 50%;
+ padding: .25ex 0; margin: 0;
+ text-align: center;
+ border: 1px solid black;
+ }
+ .description .issuer input[type=radio]:checked + label {
+ font-weight: bold;
+ background-color: #FFF;
+ border-width: 1px;
+ border-bottom: 1px solid #FFF;
+ }
+ .description .issuer input[type=radio] + label + input + label + select,
+ .description .issuer input[type=radio] + label + select + input { display: none; }
+ .description .issuer input[type=radio]:checked + label + input + label + select,
+ .description .issuer input[type=radio]:checked + label + select + input {
+ display: block; width: 100%;
+ border: 1px solid black;
+ background-color: #FFF;
+ border-width: 0 1px 1px 1px;
+ padding: .25ex .5ex;
+ margin-top: -1px;
+ }
+ .description .issuer input[type=radio]:checked + label + input + label + select option { display: block;}
+ .description span#issuer { width: 100%; height: 3em; padding: 1ex 2ex;}
+
.prescription .controls { width: 100%; }
.controls a.button,
.controls button[value=save],