From 7e2e4b60100b3377865fb9c9abcb7676d2f9f44b Mon Sep 17 00:00:00 2001 From: Joxit Date: Fri, 4 Jan 2019 22:02:22 +0100 Subject: [PATCH] [feat #56] Add `expand_more` icon for aggregated images --- src/style.css | 10 ++++++++++ src/tags/catalog-element.tag | 11 ++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/style.css b/src/style.css index 13cbb49..7c31d9c 100644 --- a/src/style.css +++ b/src/style.css @@ -123,6 +123,16 @@ h2 { color: #757575; } +.list > span i.material-icons.right.animated { + transition: all 350ms cubic-bezier(.4,0,.2,1); + margin-right: 10px; + position: absolute; + right: 0; +} +.list > span i.material-icons.right.animated.expanded { + transform: rotate(180deg); +} + .list > span, .list > li > span { height: 100%; diff --git a/src/tags/catalog-element.tag b/src/tags/catalog-element.tag index acc6507..9385c4b 100644 --- a/src/tags/catalog-element.tag +++ b/src/tags/catalog-element.tag @@ -16,14 +16,15 @@ along with this program. If not, see . --> - + send { typeof opts.item === "string" ? opts.item : opts.item.repo } + expand_more - +