From 70e427bc2309018a918381b4bcec40bab44c0001 Mon Sep 17 00:00:00 2001 From: bouncepaw Date: Sat, 6 Feb 2021 21:38:48 +0500 Subject: [PATCH] Rotate a triangle shown in relative hyphae block --- templates/asset.qtpl.go | 3 ++- templates/default.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/asset.qtpl.go b/templates/asset.qtpl.go index 9f26407..2d6d279 100644 --- a/templates/asset.qtpl.go +++ b/templates/asset.qtpl.go @@ -169,7 +169,8 @@ caption { caption-side: top; font-size: small; } .navitree__entry { } .navitree > .navitree__entry > a::before { display: inline-block; width: .5rem; color: #999; margin: 0 .25rem; } .navitree > .navitree__entry_infertile > a::before { content: " "} /* nbsp, careful */ -.navitree > .navitree__entry_fertile > a::before { content: "▸"} +.navitree > .navitree__sibling_fertile > a::before { content: "▸"} +.navitree > .navitree__trunk_fertile > a::before { content: "▾"} .navitree__trunk { border-left: 1px #999 solid; } .navitree > .navitree__trunk { border-left: none; } .navitree > .navitree__trunk > a { font-weight: bold; } diff --git a/templates/default.css b/templates/default.css index 6ab2d95..f9dc2d1 100644 --- a/templates/default.css +++ b/templates/default.css @@ -144,7 +144,8 @@ caption { caption-side: top; font-size: small; } .navitree__entry { } .navitree > .navitree__entry > a::before { display: inline-block; width: .5rem; color: #999; margin: 0 .25rem; } .navitree > .navitree__entry_infertile > a::before { content: " "} /* nbsp, careful */ -.navitree > .navitree__entry_fertile > a::before { content: "▸"} +.navitree > .navitree__sibling_fertile > a::before { content: "▸"} +.navitree > .navitree__trunk_fertile > a::before { content: "▾"} .navitree__trunk { border-left: 1px #999 solid; } .navitree > .navitree__trunk { border-left: none; } .navitree > .navitree__trunk > a { font-weight: bold; }