From a663f2bdd75cd68e9ae59dc991f40a7f07d8811e Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 30 Mar 2015 18:44:35 -0400 Subject: [PATCH] Tweaks to card/item sizing --- src/definitions/views/item.less | 1 + src/themes/default/views/card.variables | 2 +- src/themes/default/views/item.variables | 7 ++++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/definitions/views/item.less b/src/definitions/views/item.less index 4dc47b04a..9d5dfea4e 100755 --- a/src/definitions/views/item.less +++ b/src/definitions/views/item.less @@ -207,6 +207,7 @@ ---------------*/ .ui.items > .item .meta { + margin: @metaMargin; font-size: @metaFontSize; line-height: @metaLineHeight; color: @metaColor; diff --git a/src/themes/default/views/card.variables b/src/themes/default/views/card.variables index 1bd6ea35e..ff29ce611 100644 --- a/src/themes/default/views/card.variables +++ b/src/themes/default/views/card.variables @@ -74,7 +74,7 @@ @headerColor: @darkTextColor; /* Metadata */ -@metaFontSize: 0.9em; +@metaFontSize: @relativeSmall; @metaSpacing: 0.3em; @metaColor: @lightTextColor; diff --git a/src/themes/default/views/item.variables b/src/themes/default/views/item.variables index b91120f4b..37d5d68ec 100644 --- a/src/themes/default/views/item.variables +++ b/src/themes/default/views/item.variables @@ -68,10 +68,11 @@ /* Header */ @headerMargin: -@lineHeightOffset 0em 0em; @headerFontWeight: bold; -@headerFontSize: 1.2em; +@headerFontSize: @relativeBig; @headerColor: @darkTextColor; /* Metadata */ +@metaMargin: 0.5em 0em 0.5em; @metaFontSize: 1em; @metaLineHeight: 1em; @metaSpacing: 0.3em; @@ -100,9 +101,9 @@ /* Description */ @descriptionDistance: 0.6em; -@descriptionMaxWidth: 550px; +@descriptionMaxWidth: auto; @descriptionFontSize: 1em; -@descriptionLineHeight: 1.33; +@descriptionLineHeight: @lineHeight; @descriptionColor: @textColor; /* Content Image */