]> git.plutz.net Git - lobster/commitdiff
Merge commit 'de9b65d9eca6a2f9b2c3d09235f793799e6daada' into cgilite
authorPaul Hänsch <paul@plutz.net>
Fri, 14 May 2021 08:46:04 +0000 (10:46 +0200)
committerPaul Hänsch <paul@plutz.net>
Fri, 14 May 2021 08:46:04 +0000 (10:46 +0200)
1  2 
cgilite/common.css
cgilite/storage.sh

diff --combined cgilite/common.css
index 9e72c169f2de34fc499008ed7391759b4aa37c1a,f9b17ad8dc34dd3730429452ef05cc5bccfd883d..f9b17ad8dc34dd3730429452ef05cc5bccfd883d
@@@ -60,7 -60,7 +60,7 @@@ h2 { font-size: 1.125em; 
  
  select, input, button, textarea, a.button {
    display: inline-block;
-   background-color: #FFF;
+   color: #000; background-color: #FFF;
    border: .5pt solid;
    padding: .25em .75em;
    vertical-align: text-bottom;
@@@ -87,6 -87,20 +87,20 @@@ input + label 
    margin-left: .375em;
  }
  
+ @media print {
+   @page { margin: 20mm; }
+   h1 { text-align: center; }
+   h1, h2, h3, h4, h5, h6, form legend {
+     page-break-inside: avoid;
+     page-break-after: avoid;
+     page-break-before: auto;
+   }
+   li { page-break-inside: avoid; }
+   th, dt { page-break-after: avoid; }
+ }
  /* ======= End Generic Styles ======= */
  
  /* ======= Common Styles ======= */
    bottom: -100%; left: 50%; transform: translate(-50%, 0);
    content: attr(tooltip);
    padding: .5em;
-   background-color: #FFC;
-   color: #000;
+   color: #000; background-color: #FFC;
    border: .5pt solid;
    z-index: 1;
  }
@@@ -107,7 -120,7 +120,7 @@@ input[type=radio].tab { display: none; 
  input[type=radio].tab + label {
    display: table-cell;
    padding: .5em 1em;
-   background-color: #EEE;
+   color: #000; background-color: #EEE;
    border: .5pt solid;
  }
  input[type=radio].tab:checked + label {
diff --combined cgilite/storage.sh
index 82d3d77b8edf9e34cb237aa685a8228b8fd0d150,355bd569e40779602381612c36fafe6b839f418d..355bd569e40779602381612c36fafe6b839f418d
@@@ -105,7 -105,7 +105,7 @@@ UNSTRING()
      \\n*) out="${out}${BR}"; in="${in#\\n}" ;;
      \\r*) out="${out}${CR}"; in="${in#\\r}" ;;
      \\t*) out="${out} "; in="${in#\\t}" ;;
-     \\+) out="${out}+"; in="${in#\\+}" ;;
+     \\+*) out="${out}+"; in="${in#\\+}" ;;
      +*) out="${out} "; in="${in#+}" ;;
      \\*) in="${in#\\}" ;;
      *) out="${out}${in%%[\\+]*}"; in="${in#"${in%%[\\+]*}"}" ;;