From f9b632bcad5b8312b39f000e9c502938dd494482 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 12 Sep 2014 12:40:51 -0400 Subject: [PATCH] Add auto spacing of extra content on items --- src/definitions/views/item.less | 12 +++++++++++- src/themes/packages/default/views/item.variables | 4 +++- 2 files changed, 14 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/themes/packages/default/views/item.variables diff --git a/src/definitions/views/item.less b/src/definitions/views/item.less index 33973ebaa..156f9927b 100755 --- a/src/definitions/views/item.less +++ b/src/definitions/views/item.less @@ -152,9 +152,13 @@ margin: @headerMargin; font-family: @headerFont; font-weight: @headerFontWeight; - font-size: @headerFontSize; color: @headerColor; } +/* Default Header Size */ +.ui.items > .item > .content > .header:not(.ui) { + font-size: @headerFontSize; +} + .ui.items > .item > .content > .meta + .description{ margin-top: @descriptionDistance; } @@ -314,6 +318,12 @@ transition: @extraTransition; border-top: @extraDivider; } +.ui.items > .item .extra > * { + margin-right: @extraSpacing; +} +.ui.items > .item .extra > .right.floated { + margin-left: @extraSpacing; +} .ui.items > .item .extra:after { display: block; diff --git a/src/themes/packages/default/views/item.variables b/src/themes/packages/default/views/item.variables old mode 100644 new mode 100755 index 43c274b02..c1f3229de --- a/src/themes/packages/default/views/item.variables +++ b/src/themes/packages/default/views/item.variables @@ -102,7 +102,9 @@ @paragraphDistance: 0.5em; /* Additional Content */ -@extraDivider: 1px solid rgba(0, 0, 0, 0.05); +@extraDivider: none; +@extraSpacing: 0.5em; + @extraBackground: none; @extraDisplay: block; @extraPosition: relative;