From 3ffaedb8d08b0822709801bf2c96505d8648e27d Mon Sep 17 00:00:00 2001 From: Bryce Willey Date: Wed, 13 Dec 2023 20:41:11 -0500 Subject: [PATCH] Make display_template look like a daterm They serve the same function (tap to get more information, and they don't navigate you away from the page), so it makes sense to brand them the same. Fixes #208 --- docassemble/ALToolbox/data/static/collapse_template.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docassemble/ALToolbox/data/static/collapse_template.css b/docassemble/ALToolbox/data/static/collapse_template.css index eca0ef0..0d52cd1 100644 --- a/docassemble/ALToolbox/data/static/collapse_template.css +++ b/docassemble/ALToolbox/data/static/collapse_template.css @@ -5,6 +5,13 @@ padding-bottom: 1rem; } +.al_collapse_template a.al_toggle, +.al_display_template a.al_toggle { + color: #3b842c; /* Same as daterm in Assembly Line */ + text-decoration: dashed; + text-decoration-line: underline; +} + .al_collapse_template .collapse, .al_display_template .collapse { margin-bottom: 1rem;