Browse Source

Make labels slightly larger inside headers in default theme

pull/1944/head
jlukic 9 years ago
parent
commit
cf235f0b8b
4 changed files with 7 additions and 2 deletions
  1. 4
      RELEASE-NOTES.md
  2. 2
      package.json
  3. 1
      src/definitions/elements/header.less
  4. 2
      src/themes/default/elements/header.variables

4
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`

2
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",

1
src/definitions/elements/header.less

@ -121,6 +121,7 @@
---------------*/
.ui.header .ui.label {
font-size: @labelSize;
margin: 0em 0em 0em @labelDistance;
vertical-align: @labelVerticalAlign;
}

2
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;

Loading…
Cancel
Save