Skip to content

Commit

Permalink
[Responsive] Minor fixes, fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
nisargjhaveri committed Feb 2, 2016
1 parent 1cf8975 commit 5a8a8fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/static/scripts/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ $(function() {
function closePrimaryNavSidebar() {
$('.primary-nav-wrap').removeClass('open');
history.replaceState(undefined, undefined, '#_');
locHash = "#_";
}

$('.primary-nav-overlay').on('click', closePrimaryNavSidebar);
Expand All @@ -309,6 +310,7 @@ $(function() {
function closeQuickLinksSidebar() {
$('.quick-links-wrap').removeClass('open');
history.replaceState(undefined, undefined, '#_');
locHash = "#_";
}

$('.quick-links-overlay').on('click', closeQuickLinksSidebar);
Expand Down Expand Up @@ -342,6 +344,7 @@ $(function() {

$('.events-nav-cum-tooltip').removeClass('open');
history.replaceState(undefined, undefined, '#_');
locHash = "#_";

if (e && e.stopPropagation) {
e.stopPropagation();
Expand Down
10 changes: 4 additions & 6 deletions src/static/styles/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ nav.primary-links {
background-size: cover;
background-position: 0 0;
background-attachment: fixed;
background: linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));

&:before {
content: '';
Expand Down Expand Up @@ -1556,18 +1556,16 @@ textarea {
}

.nav-cum-tooltip-dummy-target {
position: relative;
position: static;
display: block;
top: auto !important;
left: auto !important;
width: auto !important;
height: auto !important;
pointer-events: all;
margin-bottom: 5px;

.nav-cum-tooltip {
position: relative;
// scss-lint:disable ImportantRule
opacity: 1 !important;
// scss-lint:enable ImportantRule
float: left;
clear: both;

Expand Down

0 comments on commit 5a8a8fe

Please sign in to comment.