]> OzVa Git service - delta-velorum/commitdiff
Added css print rules
authorMax Value <greenwoodw50@gmail.com>
Mon, 6 Apr 2026 22:12:29 +0000 (23:12 +0100)
committerMax Value <greenwoodw50@gmail.com>
Mon, 6 Apr 2026 22:12:29 +0000 (23:12 +0100)
director/static/admin.css

index 3f7e86da8235bdbc8f596a338870e03483ff829a..dd2fdee576f71860266bf292ea3d5464c1cb9cde 100644 (file)
@@ -42,3 +42,21 @@ main {
 }
 .currentValue { color: red; }
 .currentValue[type="radio"] { background-color: red; }
+
+
+/* PRINT MODE
+               need to work on this a little bit, currently just hides things that
+               shouldnt be printed and thats all. Should be able to potentially display
+               extra elements or manipulate the page in a way that make it easy to read
+               or annotate on the page.
+ */
+
+@media print {
+       nav, [type="radio"] { display: none }
+       [type="submit"] { opacity: 0; }
+       main { position: static; }
+       .currentValue { color: black; }
+       .optionsGrid { grid-template-columns: 0 auto 0 auto; }
+       .optionsGrid > * { padding: 0; }
+       .optionsGridSpacer { padding: 20px; }
+}