Browse Source

Fix attached/block inheritance. Now works together well

pull/1139/merge
jlukic 10 years ago
parent
commit
1013cf512d
1 changed files with 4 additions and 3 deletions
  1. 7
      src/definitions/elements/header.less

7
src/definitions/elements/header.less

@ -478,18 +478,19 @@ a.ui.inverted.yellow.header:hover {
padding: @attachedVerticalPadding @attachedHorizontalPadding; padding: @attachedVerticalPadding @attachedHorizontalPadding;
margin-left: @attachedOffset; margin-left: @attachedOffset;
margin-right: @attachedOffset; margin-right: @attachedOffset;
}
.ui.attached.header,
.ui.attached.block.header {
box-shadow: @attachedBoxShadow; box-shadow: @attachedBoxShadow;
border: @attachedBorder; border: @attachedBorder;
} }
.ui.attached.block.header {
background: @blockBackground;
}
.ui.attached:not(.top):not(.bottom).header { .ui.attached:not(.top):not(.bottom).header {
margin-top: 0em; margin-top: 0em;
margin-bottom: 0em; margin-bottom: 0em;
border-top: none; border-top: none;
border-bottom: none; border-bottom: none;
border-radius: 0em;
} }
.ui.top.attached.header { .ui.top.attached.header {
margin-bottom: 0em; margin-bottom: 0em;

Loading…
Cancel
Save