Browse Source

fixes for pointing dropdown

Former-commit-id: c596b86418
Former-commit-id: c330fb407d
pull/258/head
Jack Lukic 11 years ago
parent
commit
2991efe93c
2 changed files with 15 additions and 10 deletions
  1. 3
      node/src/documents/quirky/ui-variations.html
  2. 22
      src/modules/dropdown.less

3
node/src/documents/quirky/ui-variations.html

@ -25,8 +25,7 @@ type : 'Quirky Element'
<div class="peek">
<div class="ui vertical pointing secondary menu">
<a class="active item">Pagination</a>
<a class="item">Menu</a>
<a class="active item">Menu</a>
<a class="item">Segment</a>
<a class="item">Steps</a>
<a class="item">Breadcrumb</a>

22
src/modules/dropdown.less

@ -326,20 +326,19 @@
}
/* Directions */
.ui.top.left.pointing.dropdown .menu,
.ui.top.right.pointing.dropdown .menu {
top: 100%;
bottom: auto;
left: 0%;
right: auto;
margin: 0.75em 0em 0em;
}
.ui.pointing.dropdown .menu:after {
top: -0.25em;
left: 50%;
margin: 0em 0em 0em -0.25em;
}
.ui.top.left.pointing.dropdown .menu {
top: 100%;
bottom: auto;
left: 0%;
right: auto;
margin: 0.75em 0em 0em;
}
.ui.top.left.pointing.dropdown .menu:after {
top: -0.25em;
left: 1em;
@ -349,6 +348,13 @@
-moz-transform: rotate(45deg);
transform: rotate(45deg);
}
.ui.top.right.pointing.dropdown .menu {
top: 100%;
bottom: auto;
right: 0%;
left: auto;
margin: 0.75em 0em 0em;
}
.ui.top.right.pointing.dropdown .menu:after {
top: -0.25em;
left: auto;

Loading…
Cancel
Save