Browse Source

Fix secondary pointing 'right item'

pull/2300/head
jlukic 9 years ago
parent
commit
1653135635
2 changed files with 6 additions and 7 deletions
  1. 6
      src/definitions/collections/menu.less
  2. 7
      src/themes/default/collections/menu.variables

6
src/definitions/collections/menu.less

@ -460,13 +460,13 @@ Floated Menu / Item
.ui.menu:not(.vertical) .item.left,
.ui.menu:not(.vertical) .menu.left {
display: flex;
margin-right: auto;
margin-right: auto !important;
}
/* Right Floated */
.ui.menu:not(.vertical) .item.right,
.ui.menu:not(.vertical) .menu.right {
display: flex;
margin-left: auto;
margin-left: auto !important;
}
/* Floated Borders */
@ -818,7 +818,7 @@ Floated Menu / Item
border-radius: 0em;
align-self: flex-end;
margin: @secondaryPointingItemMargin;
margin-bottom: -@secondaryPointingBorderWidth;
padding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding;
border-bottom-width: @secondaryPointingBorderWidth;
transition: @secondaryItemTransition;

7
src/themes/default/collections/menu.variables

@ -105,14 +105,14 @@
/* Button */
@buttonSize: @relativeMedium;
@buttonOffset: 0em;
@buttonMargin: -0.4em 0em;
@buttonVerticalPadding: 0.6em;
@buttonMargin: -0.5em 0em;
@buttonVerticalPadding: @relativeMini;
/* Input */
@inputSize: @relativeMedium;
@inputVerticalMargin: -0.5em;
@inputOffset: 0em;
@inputVerticalPadding: 0.5em;
@inputVerticalPadding: 0.57142em;
/* Image */
@imageMargin: -0.3em 0em;
@ -242,7 +242,6 @@
/* Pointing */
@secondaryPointingBorderWidth: 2px;
@secondaryPointingBorderColor: @borderColor;
@secondaryPointingItemMargin: 0em 0em -@secondaryPointingBorderWidth;
@secondaryPointingItemVerticalPadding: @relativeTiny;
@secondaryPointingItemHorizontalPadding: @relativeMedium;

Loading…
Cancel
Save