From 6b2c6c4260b2af2adad37dc1f8c50a904e04f13d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 12 Apr 2021 20:39:04 +0200 Subject: Update --- assets/css/components/_card.scss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'assets/css/components/_card.scss') diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 6260518..bb8b4d2 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -12,6 +12,13 @@ ) )); + @include store(( + --dims: ( + --pad-x: .9em, + --pad-y: .6em + ) + ), 'md'); + @include component(namespace()) { display: flex; position: relative; @@ -29,9 +36,7 @@ @include element('content') { @include modifier('flip') { visibility: visible; - transition: - visibility 0s, - opacity .2s; + transition: visibility 0s, opacity .2s; opacity: 1; } } @@ -48,9 +53,7 @@ top: 0; left: 0; height: 100%; - transition: - visibility 0s linear .2s, - opacity .2s; + transition: visibility 0s linear .2s, opacity .2s; opacity: 0; background-color: prop(--colors --flip --bg); } -- cgit v1.2.3-54-g00ecf