Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Moved overlay component in LESS to match previous placement.
Browse files Browse the repository at this point in the history
  • Loading branch information
William Do committed Sep 25, 2015
1 parent e7f0568 commit 54b9eb3
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/components/NavBar/NavBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,6 @@
outline: 1px solid transparent;
z-index: @ms-zIndex-middle;
}

// When the navbar is opened, animate to full opacity
// and activate pointer events so can be clicked.
.ms-Overlay {
display: block;
cursor: pointer;
opacity: 1;
pointer-events: auto;
}
}
}

Expand Down Expand Up @@ -213,7 +204,14 @@
}
}


// When the navbar is opened, animate to full opacity
// and activate pointer events so can be clicked.
.ms-NavBar.is-open .ms-Overlay {
display: block;
cursor: pointer;
opacity: 1;
pointer-events: auto;
}
}

// On medium screens and larger we display the menu items in the nav bar.
Expand Down

0 comments on commit 54b9eb3

Please sign in to comment.