From a7656023bb668d88b44835e2b3d2de7294f89bd0 Mon Sep 17 00:00:00 2001 From: Salvador Melo Date: Tue, 6 Nov 2018 03:34:52 -0500 Subject: [PATCH] rest of knacks --- Scion2e/scion2e.css | 26 +++++++++++--- Scion2e/scion2e.html | 81 ++++++++++++++++++++++++-------------------- 2 files changed, 66 insertions(+), 41 deletions(-) diff --git a/Scion2e/scion2e.css b/Scion2e/scion2e.css index 7d3ee7cc55..bae4e7d9cd 100644 --- a/Scion2e/scion2e.css +++ b/Scion2e/scion2e.css @@ -26,7 +26,6 @@ .charsheet input[type=radio]+span { cursor: pointer; display: inline-block; - transition: all .2s, opacity 0s; width: 0; } @@ -121,7 +120,8 @@ input[type="radio"].sheet-normal, input[type="checkbox"].sheet-normal, .sheet-settings-checkbox input, input[type="radio"].sheet-solo, -.sheet-dropdown input +.sheet-dropdown input, +input[type="checkbox"].sheet-expander { position: relative; opacity: 0.0; @@ -289,17 +289,35 @@ table.sheet-attribute-table th { } /*fake dropdown*/ -.sheet-dropdown input[type="checkbox"] + span::after{ +.sheet-dropdown input[type="checkbox"] + span::after, +{ content: "▾"; text-align: right; margin-left: .3em; opacity: 0.5; } -.sheet-dropdown input[type="checkbox"]:checked + span::after{ +.sheet-dropdown input[type="checkbox"]:checked + span::after, +{ opacity: 1; } +input[type="checkbox"].sheet-expander, +input[type="checkbox"].sheet-expander + span::after +{ + line-height: 2; +} + +input[type="checkbox"].sheet-expander + span::after { + content: "▼"; + position: relative; + left: -13px; +} + +input[type="checkbox"].sheet-expander:checked + span::after { + content: "▲"; +} + .sheet-dropdown { position: relative; border: 1px solid #ccc; diff --git a/Scion2e/scion2e.html b/Scion2e/scion2e.html index 461ba9f3a5..d116701cc7 100644 --- a/Scion2e/scion2e.html +++ b/Scion2e/scion2e.html @@ -387,44 +387,51 @@
- - - - + +
+ +
+
+ + + + +
+