From 586ae1581b9f2c3ceda8a2ec3c7c84320e60b6f2 Mon Sep 17 00:00:00 2001 From: krokofant Date: Mon, 30 Mar 2020 21:40:09 +0200 Subject: [PATCH 1/2] Add arrow indicator for current selection --- ursine-umbra.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ursine-umbra.scss b/ursine-umbra.scss index 0b66606..77a3ffe 100644 --- a/ursine-umbra.scss +++ b/ursine-umbra.scss @@ -829,6 +829,10 @@ td, th { border-color: $primary-color; } + .ty-quick-open-category-list-inner { + position: relative; + } + .ty-quick-open-category-title { height: auto; padding-top: 4px; @@ -839,11 +843,19 @@ td, th { display: flex; flex-direction: column; justify-content: center; + padding-bottom: 2px; cursor: pointer; &:not(.active):hover { background: $active-search-item-bg-color; } + &.active:before { + content: '⟩'; + position: absolute; + left: 8px; + font-weight: bold; + padding-bottom: 5px; + } } .typora-quick-open-item-path { From 59e9ba6d89b105d01cfda68a225d874f7437122e Mon Sep 17 00:00:00 2001 From: krokofant Date: Mon, 30 Mar 2020 21:40:55 +0200 Subject: [PATCH 2/2] Make active file bg color slightly brighter --- ursine-umbra.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ursine-umbra.scss b/ursine-umbra.scss index 77a3ffe..901dc0e 100644 --- a/ursine-umbra.scss +++ b/ursine-umbra.scss @@ -43,7 +43,7 @@ $accent-color: #3c3c3c !default; $table-head-color: #4d4d4d !default; // Active and hover colors -$active-file-bg-color: #16161a !default; +$active-file-bg-color: #1b1b1d !default; $active-search-item-bg-color: #212121 !default; $item-hover-bg-color: #2e2e2e !default; $item-hover-text-color: #fff !default;