]> git.plutz.net Git - lobster/blobdiff - style.css
Merge commit 'a27498203e5d589514f082a0fcdcca53e31c595e' into cgilite
[lobster] / style.css
index 06aacdde32e5ff98dbc80debdbde025c83ea0d13..8644f0b980a9f054423f1d896df44f3320ea2b0e 100644 (file)
--- a/style.css
+++ b/style.css
-* {
-  position: relative;
-  box-sizing: border-box;
-  max-width: 100%;
-  font-family: sans-serif;
-  font-weight: normal;
-  font-size: initial;
-  font-style: normal;
-  text-decoration: none;
-  line-height: 1.5em;
-  color: inherit; background: transparent;
-  padding: 0; margin: 0;
-  border: none;
-}
-
-body {
-  color: #000; background-color: #FFF;
-}
-
-/* ======= GENERIC HTML STYLES =======*/
-
-p { margin-bottom: 1em; }
-
-a {
-  text-decoration: underline;
-  font-style: italic;
-  color: #068;
-}
-
-i, em { font-style: italic; }
-b, strong { font-weight: bolder; }
-ul, ol { margin-left: 1.125em; }
-table th { font-weight: bold; }
-
-h1, h2, h3 {
-  font-weight: bold;
-  margin-top: 1em;
-  margin-bottom: .5em;
-}
-
 h1:first-child, h2:first-child, h3:first-child,
 p + h1, p + h2, p + h3 {
-  margin-top: 0;
-}
-
-h4, h5, h6, form legend {
-  font-weight: bolder;
-  margin-bottom: .25em;
-}
-
-h1 { font-size: 1.5em; }
-h2 { font-size: 1.125em; }
-
-select, input, button, textarea,
-.control a {
-  display: inline-block;
-  background-color: #FFF;
-  border: 1pt solid;
-  padding: .25em .75em;
-  vertical-align: text-bottom;
-}
-.control a {
-  color: inherit;
-  font-style: normal;
-  text-decoration: none;
-}
-
-select { padding: .375em 0; }
-
-input[type=radio], input[type=checkbox] {
-  vertical-align: baseline;
-}
-input[type=number] { text-align: right; padding-right: 0; }
-
-button, input[type=button],
-.control a {
-  box-shadow: .125em .125em .25em;
-  cursor: pointer;
-}
-input[type=radio], input[type=checkbox],
-input[type=radio] + label, input[type=checkbox] + label {
-  cursor: pointer;
-}
-
-label { margin-right: .75em; }
-input + label {
-  margin-left: .375em;
+  margin-top: 3pt;
 }
 
 /* ====== COMMON ELEMENTS ======*/
 
-body > ul.menu {
+#message {
   display: block;
-  height: 1.75em;
-  margin: 0; -padding: 0 .5em;
-  list-style: none;
-  color: #CCC;
-  background-color: #444;
-  box-shadow: inset 0 -.25em .25em #000;
-  overflow: hidden;
-  z-index: 3;
-}
-
-body > .menu li {
-  display: inline-block;
-}
-body > .menu a {
-  color: inherit;
-  padding: .5em 3em;
-  box-shadow: inset 0 0 .5em #000;
-}
-body.cards > .menu a[href="/cards/"],
-body.courses > .menu a[href="/courses/"] {
-  color: #000;
-  background-color: #FFF;
-  box-shadow: none;
+  position: fixed;
+  top: 0; width: 100%;
+  margin: 0; padding: 1em;
+  text-align: center;
+  font-weight: bold;
+  background-color: #FAA;
+  border: 1px solid #000;
+  border-style: none none solid none;
 }
 
 /* =========== FILTER AND SEARCH Headers ========= */
@@ -127,41 +28,8 @@ form.filter > h1 { display: none; }
 
 form.filter fieldset { margin-top: .5em; }
 form.filter fieldset.item + fieldset.item legend { display: none; }
-form.filter fieldset.item input[type=radio] { display: none; }
-form.filter fieldset.item input[type=radio] + label {
-  display: table-cell;
-  padding: .5em 1em;
-  background-color: #EEE;
-  border-style: solid;
-  border-width: .5pt .25pt 0 .25pt;
-  white-space: normal;
-}
-form.filter fieldset.item input[type=radio] + label:first-of-type {
-  border-left: 1pt solid;
-}
-form.filter fieldset.item input[type=radio]:checked + label {
-  position: relative;
-  background-color: #FFF;
-  box-shadow: .125em -.125em .125em #888;
-  z-index: 1;
-}
-form.filter fieldset.item input[type=text],
-form.filter fieldset.item fieldset.courses,
-form.filter fieldset.item fieldset.categories {
-  position: relative;
-  display: block;
-  width: 100%;
-  margin-top: -1pt;
-  padding: .25em .75em;
-  border: 1pt solid;
-  box-shadow: .125em .125em .25em #888;
-}
-form.filter fieldset.item fieldset.courses,
-form.filter fieldset.item fieldset.categories { display: none; }
-form.filter fieldset.item input[value=course]:checked ~ input[type=text],
-form.filter fieldset.item input[value=CATEGORIES]:checked ~ input[type=text] { display: none; }
-form.filter fieldset.item input[value=course]:checked ~ fieldset.courses,
-form.filter fieldset.item input[value=CATEGORIES]:checked ~ fieldset.categories { display: block; }
+
+form.filter fieldset.item input[type=text] { display: block; }
 
 form.filter fieldset.order legend {
   float: left; margin-right: 1em;
@@ -177,8 +45,14 @@ form.filter button[value=export_csv] { margin-left: 1em; }
 
 body.courses form .order { display: inline-block; margin-right: 2em;}
 
-body.cards form.newcard { display: flex; }
+body.cards form.newcard {
+  position: sticky;
+  top: 0;
+  background-color: #FFF;
+  z-index: 2;
+}
 body.cards form.newcard input[name=seed] { flex: 1; }
+body.cards form.newcard a[href="#top"] { float: right; }
 
 
 /* ============ LIST ITEMS, Generic ============= */
@@ -360,6 +234,13 @@ form .control .item {
   form .control .item.delete { bottom: .125em; right: .25em; }
 }
 
+/* ======= LIST ITEMS, Clients ======= */
+
+div.card .therapies a.therapy.button { padding: .25em; line-height: .75em; }
+
+form.card .insurance #hi_select_list:checked ~ .tab[name=hi_company] {display: block; }
+form.card .insurance #hi_other:checked ~ .tab[name=hi_other] {display: block; }
+
 /* ======= LIST ITEMS, Courses ======= */
 
 form.course .dtstart input[name=DTS_YEAR],