From d0a31664f6355827d3657cc363f1614033b28c6f Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 7 Apr 2015 18:02:46 -0400 Subject: [PATCH] Add sub header sizes --- src/definitions/elements/header.less | 42 +++++++++++++------- src/themes/default/elements/header.variables | 4 ++ 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/src/definitions/elements/header.less b/src/definitions/elements/header.less index 7919a030a..11d80842b 100755 --- a/src/definitions/elements/header.less +++ b/src/definitions/elements/header.less @@ -43,20 +43,6 @@ margin-bottom: @lastMargin; } -/*-------------- - Sub Heading ----------------*/ - -.ui.sub.header { - margin: 0em; - padding: 0em; - font-weight: @subHeadingFontWeight; - font-size: @subHeadingFontSize; - text-transform: @subHeadingTextTransform; - color: @subHeadingColor; -} - - /*-------------- Sub Header ---------------*/ @@ -229,6 +215,34 @@ h5.ui.header .sub.header { font-size: @tinySubHeaderFontSize; } +/*-------------- + Sub Heading +---------------*/ + +.ui.sub.header { + margin: 0em; + padding: 0em; + font-weight: @subHeadingFontWeight; + font-size: @subHeadingFontSize; + text-transform: @subHeadingTextTransform; + color: @subHeadingColor; +} + +.ui.small.sub.header { + font-size: @smallSubHeadingSize; +} +.ui.sub.header { + font-size: @subHeadingFontSize; +} +.ui.large.sub.header { + font-size: @largeSubHeadingSize; +} +.ui.huge.sub.header { + font-size: @hugeSubHeadingSize; +} + + + /*------------------- Icon --------------------*/ diff --git a/src/themes/default/elements/header.variables b/src/themes/default/elements/header.variables index c4b0941a3..4e4fc7a06 100644 --- a/src/themes/default/elements/header.variables +++ b/src/themes/default/elements/header.variables @@ -27,6 +27,10 @@ @subHeadingTextTransform: uppercase; @subHeadingColor: ''; +@smallSubHeadingSize: @relativeMini; +@largeSubHeadingSize: @relativeSmall; +@hugeSubHeadingSize: @relativeMedium; + /* Sub Header */ @subHeaderLineHeight: 1.2em; @subHeaderColor: rgba(0, 0, 0, 0.5);