From a9303197a9cd2308f2cf168b2191fe3fb1927094 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 20 Dec 2020 12:34:04 -0500 Subject: Revert current entry indicator to use the asterisk --- ext/mixed/css/display.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ext/mixed/css') diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css index 4718bce7..323dc82f 100644 --- a/ext/mixed/css/display.css +++ b/ext/mixed/css/display.css @@ -484,6 +484,9 @@ button.action-button { background-repeat: no-repeat; background-size: contain; } +.action-button[data-icon=entry-current]::before { + background-image: url("/mixed/img/entry-current.svg"); +} .action-button[data-icon=view-note]::before { background-image: url("/mixed/img/view-note.svg"); } @@ -582,7 +585,7 @@ button.action-button { position: relative; } .entry>.entry-current-indicator { - display: block; + display: none; position: absolute; left: calc(-1 * var(--main-content-horizontal-padding)); top: 0; @@ -621,6 +624,9 @@ button.action-button { .term-expression-text>ruby>rt { color: var(--kanji-furigana-text-color); } +.entry:not(.entry-current) .action-current-indicator { + display: none; +} .entry-header2, .entry-header3 { display: inline; -- cgit v1.2.3