From cf235f0b8b57ccdf13f297a4d8ca19e244fd436a Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 6 Mar 2015 16:46:22 -0500 Subject: [PATCH] Make labels slightly larger inside headers in default theme --- RELEASE-NOTES.md | 4 ++++ package.json | 2 +- src/definitions/elements/header.less | 1 + src/themes/default/elements/header.variables | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 254d19238..0dae75990 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -4,11 +4,15 @@ **Enhancements** - **Accordion** - Accordion can now specify a trigger element instead of `title`, added an [example in docs](http://www.semantic-ui.com/modules/accordion.html#changing-trigger) +- **Accordion** - Accordion can now hide while opening animation is still occuring +- **Grid** - Equal width grids will now make column content stretch to full height, not just the column itself (requires flexbox) +- **Header** - Labels inside headers have been slightly increased in size **Important Fixes** - **Build Tools** - Fix issues with minified component CSS `@import` not always being on top of files due to [bug in clean-css](https://github.com/jakubpawlowicz/clean-css/issues/476) **Bugs** +- **Accordion** - Removed mistaken extra `1px` top border on nested `styled accordion` - **Modal** - Fixes modal `buttons` on mobile devices to not have extra bottom padding. - **Card/Dimmer** - Fix dimmer z-index being too high when inside a `ui card`. Added variable for specifying default dimmer color inside card. - **Site** - `h1-h5` now have no top margin when `first-child` and no bottom margin when `last-child` diff --git a/package.json b/package.json index 03116a7e0..86f195c24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "semantic-ui", - "version" : "1.11.1", + "version" : "1.11.2", "title" : "Semantic UI", "description" : "Semantic empowers designers and developers by creating a shared vocabulary for UI.", "homepage" : "http://www.semantic-ui.com", diff --git a/src/definitions/elements/header.less b/src/definitions/elements/header.less index 253831426..61c5223c3 100755 --- a/src/definitions/elements/header.less +++ b/src/definitions/elements/header.less @@ -121,6 +121,7 @@ ---------------*/ .ui.header .ui.label { + font-size: @labelSize; margin: 0em 0em 0em @labelDistance; vertical-align: @labelVerticalAlign; } diff --git a/src/themes/default/elements/header.variables b/src/themes/default/elements/header.variables index 5765b35ad..7aa56d8f2 100644 --- a/src/themes/default/elements/header.variables +++ b/src/themes/default/elements/header.variables @@ -25,7 +25,6 @@ @subHeaderLineHeight: 1.2em; @subHeaderColor: rgba(0, 0, 0, 0.5); - /* Icon */ @iconOpacity: 1; @iconSize: 1.5em; @@ -41,6 +40,7 @@ @imageAlignment: middle; /* Label */ +@labelSize: @medium; @labelDistance: 0.5rem; @labelVerticalAlign: middle;