From 06dace5c4aa54d90ec4bcdc0b3fbc0883f825947 Mon Sep 17 00:00:00 2001 From: ITML Date: Fri, 14 Jan 2022 17:05:44 +0000 Subject: [PATCH] Card initial --- .../components/theme/Card/Card.stories.js | 86 +++++++++---------- theme/themes/eea/views/card.overrides | 6 +- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/src/customizations/components/theme/Card/Card.stories.js b/src/customizations/components/theme/Card/Card.stories.js index b7e1b11d8e..5f14bdbfee 100644 --- a/src/customizations/components/theme/Card/Card.stories.js +++ b/src/customizations/components/theme/Card/Card.stories.js @@ -10,60 +10,60 @@ export default { }, }, argTypes: { - hasImage:{ - description:"true if card contains image", - table:{ - type:{ - summary:"boolean" + hasImage: { + description: 'true if card contains image', + table: { + type: { + summary: 'boolean', }, - defaultValue:{summary:true} - } + defaultValue: { summary: true }, + }, }, - title:{ - description:"card header", - table:{ - type:{ - summary:"string" + title: { + description: 'card header', + table: { + type: { + summary: 'string', }, - defaultValue:{summary:' \""\ '} - } + defaultValue: { summary: ' "" ' }, + }, }, - meta:{ - description:"card meta data", - table:{ - type:{ - summary:"string" + meta: { + description: 'card meta data', + table: { + type: { + summary: 'string', }, - defaultValue:{summary:' \""\ '} - } + defaultValue: { summary: ' "" ' }, + }, }, - description:{ - description:"card main content", - table:{ - type:{ - summary:"string" + description: { + description: 'card main content', + table: { + type: { + summary: 'string', }, - defaultValue:{summary:' \""\ '} - } + defaultValue: { summary: ' "" ' }, + }, }, - fluid:{ - description:"card header", - table:{ - type:{ - summary:"boolean" + fluid: { + description: 'card header', + table: { + type: { + summary: 'boolean', }, - defaultValue:{summary:false} - } + defaultValue: { summary: false }, + }, }, - links:{ - description:"if true takes width of container", - table:{ - type:{ - summary:"Object" + links: { + description: 'if true takes width of container', + table: { + type: { + summary: 'Object', }, - defaultValue:{summary:' \""\ '} - } - } + defaultValue: { summary: ' "" ' }, + }, + }, }, }; diff --git a/theme/themes/eea/views/card.overrides b/theme/themes/eea/views/card.overrides index 4921624aa1..2eb1141a1b 100644 --- a/theme/themes/eea/views/card.overrides +++ b/theme/themes/eea/views/card.overrides @@ -3,10 +3,10 @@ *******************************/ .ui.card.eeaCard { + border: @cardBorder; background: @background; border-radius: @borderRadius; - font-family: @fontFamily; - box-shadow: none; - border: @cardBorder; border-radius: @defaultBorderRadius; + box-shadow: none; + font-family: @fontFamily; }