From bd6a3b258a54b2c803dd370b2f541319a39c493c Mon Sep 17 00:00:00 2001 From: pmario Date: Tue, 20 Aug 2024 19:29:52 +0200 Subject: [PATCH] make unfold button icon more prominent --- themes/tiddlywiki/vanilla/base.tid | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index f9a2a86fc..883327bf9 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -708,21 +708,35 @@ button svg.tc-image-button, button .tc-image-button img { .tc-unfold-banner { position: absolute; - padding: 0; - margin: 0; + padding: .1em 0 .1em 0; + margin-top: 4px; + margin-left: -43px; background: none; border: none; - width: 100%; + width: 100%; /* for old browsers which can not handle calc() */ width: calc(100% + 2px); - margin-left: -43px; text-align: center; - border-top: 2px solid <>; - margin-top: 4px; + border-top: 1px solid <>; + border-bottom: 1px solid <>; } +.tc-unfold-banner .tc-image-button { + outline: 2px solid <>; + min-width: 1.7em; + min-height: 1.7em; + padding: .3em; + border-radius: 50%; +} + +.tc-unfold-banner:hover .tc-image-button { + outline-color: <>; +} + + .tc-unfold-banner:hover { background: <>; border-top: 2px solid <>; + border-bottom: 2px solid <>; } .tc-unfold-banner svg, .tc-fold-banner svg {