Browse Source

Fix top border on icon header

pull/1177/head
jlukic 10 years ago
parent
commit
ba4748514e
2 changed files with 9 additions and 0 deletions
  1. 4
      src/definitions/elements/header.less
  2. 5
      src/themes/packages/default/elements/header.variables

4
src/definitions/elements/header.less

@ -147,6 +147,10 @@ h5.ui.header {
.ui.icon.header { .ui.icon.header {
display: block; display: block;
text-align: center; text-align: center;
margin: @iconHeaderTopMargin 0em @iconHeaderBottomMargin;
}
.ui.icon.header:first-child {
margin-top: @iconHeaderFirstMargin;
} }
.ui.icon.header .icon { .ui.icon.header .icon {
float: none; float: none;

5
src/themes/packages/default/elements/header.variables

@ -68,6 +68,11 @@
@circularHeaderIconSize: 2em; @circularHeaderIconSize: 2em;
@squareHeaderIconSize: 2em; @squareHeaderIconSize: 2em;
/* No Line Height Offset */
@iconHeaderTopMargin: 2rem;
@iconHeaderBottomMargin: @bottomMargin;
@iconHeaderFirstMargin: 0em;
/* Divided */ /* Divided */
@dividedBorder: 1px solid rgba(0, 0, 0, 0.1); @dividedBorder: 1px solid rgba(0, 0, 0, 0.1);
@dividedColoredBorderWidth: 2px; @dividedColoredBorderWidth: 2px;

Loading…
Cancel
Save