X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=therapies%2Ftherapy.css;h=15412b9d3b8889b3ceaf1652e97e5f7372ca559e;hb=1e1cb695a2a413f310c4538c0d3b951f4d4fe72f;hp=b17497c98d8e5bb6bcbe28d7c898b4d0e932ce1c;hpb=531f71462dfbc0eeebd74c74c84323c14475f51a;p=lobster diff --git a/therapies/therapy.css b/therapies/therapy.css index b17497c..15412b9 100644 --- a/therapies/therapy.css +++ b/therapies/therapy.css @@ -60,12 +60,35 @@ input.color[value="#AA0"] + label { background-color: #FF0;} input.color[value="#FFF"] + label { background-color: #FFF;} h1, label.tab, div.tab, fieldset.tab, -div.patient, div.prescription { +div.patient, div.prescription, div.therapies { display: block; width: 96%; margin: 0 2%; } +div.patient a { + text-decoration: none; color: #000; +} + +div.therapies > a { + display: inline-block; + text-decoration: none; + border: 1px solid black; + margin-top: .5em; padding: .25em .5em; + background-color: #DDF; + color: #000; +} +div.therapies > a.current { + background-color: #AAF; +} + +div.prescription { + background-color: #CFF; +} +div.prescription h3 { + margin-top: .5em; +} + div.prescription span { display: inline-block; width: 50%; @@ -81,7 +104,10 @@ div.prescription span.catalogue { padding: .5ex 1ex; } -div.prescription ul {margin-top: 0;} +div.prescription ul { + margin-top: .5em; + margin-left: 1.5em; +} div.prescription label.checkbox, div.prescription label.radio { @@ -174,6 +200,7 @@ input.stickynote:checked + .stickynote > label { input.stickynote:checked + .stickynote > label:before { position: absolute; font-size: initial; + line-height: 1em; content: "x"; top: .5ex; right: .5ex; padding: .125ex .75ex; @@ -223,7 +250,7 @@ fieldset.color > input.color + label { @media(min-width: 800px){ h1, label.tab, div.tab, fieldset.tab, - div.patient, div.prescription { + div.patient, div.prescription, div.therapies { width: 38%; margin-right: 0; } @@ -244,18 +271,19 @@ fieldset.color > input.color + label { h1 {display: none;} -div.patient, div.prescription { margin-top: 1em; } -div.prescription { +div.patient, div.prescription, div.therapies { margin-top: .5em; } +div.prescription, div.therapies { border: 1px solid black; - background-color: #EEE; padding: .125em 1.25ex .5em 1.25ex; } div > h2 { margin: 0; border-bottom: 1px solid black; } +/* div:nth-child(n+2) > a:first-of-type { display: block; margin: .125em 0 .5em 0; text-decoration: none; } +*/ #report fieldset.tab, #report label.tab {