Browse Source

Fix internal borders, remove border from fixed

pull/2092/head
jlukic 9 years ago
parent
commit
c248ccbe44
2 changed files with 6 additions and 3 deletions
  1. 5
      src/definitions/collections/menu.less
  2. 4
      src/themes/default/collections/menu.variables

5
src/definitions/collections/menu.less

@ -1480,7 +1480,6 @@ Floated Menu / Item
position: fixed; position: fixed;
z-index: 101; z-index: 101;
margin: 0em; margin: 0em;
border: none;
width: 100%; width: 100%;
} }
.ui.menu.fixed, .ui.menu.fixed,
@ -1491,12 +1490,14 @@ Floated Menu / Item
.ui.fixed.menu, .ui.fixed.menu,
.ui.top.fixed.menu { .ui.top.fixed.menu {
border-top: none;
top: 0px; top: 0px;
left: 0px; left: 0px;
right: auto; right: auto;
bottom: auto; bottom: auto;
} }
.ui.right.fixed.menu { .ui.right.fixed.menu {
border-right: none;
top: 0px; top: 0px;
right: 0px; right: 0px;
left: auto; left: auto;
@ -1505,12 +1506,14 @@ Floated Menu / Item
height: 100%; height: 100%;
} }
.ui.bottom.fixed.menu { .ui.bottom.fixed.menu {
border-bottom: none;
bottom: 0px; bottom: 0px;
left: 0px; left: 0px;
top: auto; top: auto;
right: auto; right: auto;
} }
.ui.left.fixed.menu { .ui.left.fixed.menu {
border-left: none;
top: 0px; top: 0px;
left: 0px; left: 0px;
right: auto; right: auto;

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

@ -41,7 +41,7 @@
/* Divider */ /* Divider */
@dividerSize: 1px; @dividerSize: 1px;
@dividerBackground: @borderColor;
@dividerBackground: @internalBorderColor;
/* Sub Menu */ /* Sub Menu */
@subMenuDistance: 0.5em; @subMenuDistance: 0.5em;
@ -203,7 +203,7 @@
@verticalPointerWidth: 2px; @verticalPointerWidth: 2px;
@verticalBackground: #FFFFFF; @verticalBackground: #FFFFFF;
@verticalItemBackground: none; @verticalItemBackground: none;
@verticalDividerBackground: @borderColor;
@verticalDividerBackground: @dividerBackground;
@verticalActiveBoxShadow: none; @verticalActiveBoxShadow: none;

Loading…
Cancel
Save