From: Max Value Date: Mon, 6 Apr 2026 22:12:29 +0000 (+0100) Subject: Added css print rules X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=4fccd0722fccb02731f5636767814d873ab822a2;p=delta-velorum Added css print rules --- diff --git a/director/static/admin.css b/director/static/admin.css index 3f7e86d..dd2fdee 100644 --- a/director/static/admin.css +++ b/director/static/admin.css @@ -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; } +}