From be57aa6ac9ce7b5e50c08da3b929765add540772 Mon Sep 17 00:00:00 2001 From: jin Date: Fri, 6 Oct 2023 19:23:11 +0300 Subject: [PATCH] $mol_book2: ellipsis hints --- book2/book2.view.css | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/book2/book2.view.css b/book2/book2.view.css index 20c6b86dc0b..15315c23d81 100644 --- a/book2/book2.view.css +++ b/book2/book2.view.css @@ -31,17 +31,29 @@ content: ''; position: absolute; top: 1.5rem; - width: 1px; + width: 3px; height: 1rem; - background: var(--mol_theme_focus); + background: linear-gradient( + to bottom, + var(--mol_theme_focus) 0%, + var(--mol_theme_focus) 15%, + transparent 15%, + transparent 45%, + var(--mol_theme_focus) 45%, + var(--mol_theme_focus) 55%, + transparent 55%, + transparent 85%, + var(--mol_theme_focus) 85%, + var(--mol_theme_focus) 100% + ); border-radius: var(--mol_gap_round); opacity: .5; } [mol_book2] > *:not(:first-of-type):before { - left: -1px; + left: -2px; } [mol_book2] > *:not(:last-of-type)::after { - right: -1px; + right: -2px; } :where([mol_book2]) > * {