From 6c12cebac99f331961a0c91b9808d03f090a21a2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 17 Dec 2021 16:07:10 +0100 Subject: Improved 'items omitted' link --- assets/css/components/_card.scss | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'assets/css') diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 5c2efa4..5d36e7e 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -33,7 +33,7 @@ display: block; position: relative; transform: translateY(0); - transition: transform .2s, background-color .2s, color .2s; + transition: transform .2s, background-color .2s, color .2s, border-color .2s; background-color: prop(--colors --bg); box-shadow: prop(--dims --obj-shadow, $global: true) prop(--colors --obj-shadow, $global: true); color: prop(--colors --fg); @@ -93,6 +93,19 @@ } } + @include modifier('outline') { + border: 1px solid prop(--colors --border); + background-color: transparent; + + &:link, + &:visited { + &:hover, + &:focus { + border-color: transparent; + } + } + } + @include element('row') { display: flex; align-items: center; -- cgit v1.2.3-70-g09d2