From 20c4e2f2ece0b2872b6ffe9aa76c27ad59026d1a Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 2 Mar 2021 10:07:24 +0000 Subject: [PATCH] [Library | Trunk]: Card action button css: Add disable behaviour git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/assets@60544 d315682c-612b-4755-9ff5-7f18f6832af3 --- library-css/card.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library-css/card.scss b/library-css/card.scss index efc50be..5bcc979 100644 --- a/library-css/card.scss +++ b/library-css/card.scss @@ -22,10 +22,14 @@ width: 100%; } -.uk-card .uk-button.action.uk-disabled { +.uk-card .uk-button.action.uk-width-auto { + width: auto; +} + +.uk-card .uk-button.action:disabled { opacity: 0.5; } -.uk-card .uk-button.action:hover { +.uk-card .uk-button.action:hover:not(:disabled) { box-shadow: 0 3px 6px rgba(71, 135, 230, 0.5); }