Skip to content

Commit

Permalink
add the dots
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcunha committed Mar 22, 2017
1 parent 5403eb1 commit 4e25092
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
21 changes: 21 additions & 0 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ body {
max-width: 100%;
overflow: hidden;
#staff-member-carousel {
padding-bottom: 25px;
margin-top: 5rem;
}
.staffer {
Expand Down Expand Up @@ -610,6 +611,26 @@ body {
.staffer[aria-hidden=true]{
display: block !important;
}

.slick-dots {
bottom: 0;
left: 0;

li {
display: inline-block !important;
width: 15px;

&:before,
&:after {
content: none;
display: none;
}

button:before {
font-size: 20px;
}
}
}
} // </section.staff-members>

section.press {
Expand Down
22 changes: 11 additions & 11 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $( document ).ready(function() {
headerCollapsed = false;
}
});

//
// Show a full-screen width background behind the second level navigation
// If anyone has a better idea how to do this cleaner/using only CSS, ideas
Expand All @@ -74,7 +74,7 @@ $( document ).ready(function() {
subMenuBackground.hide();
}
})

//
// Support for mobile hamburger nav
//
Expand All @@ -88,9 +88,9 @@ $( document ).ready(function() {
$(this).addClass('collapsed');
$('.mobile-nav').addClass('collapsed');
}

});

//
// Handle all section show/hide behavior on join page
//
Expand Down Expand Up @@ -128,14 +128,14 @@ $( document ).ready(function() {
var hash = window.location.hash.substr(1);
swapAnswer(hash);
}

$('.join-page .faqs a').on('click', function(event) {
event.stopPropagation(); // prevent bubbling

var hash = this.hash.substr(1);
swapAnswer(hash);
});

//
// Catch all outgoing liks that are not to .gov, .mil, facebook.com, github.com, or twitter.com
// and display a "you are now leaving..." message
Expand Down Expand Up @@ -168,8 +168,8 @@ $( document ).ready(function() {
$( '#site-alert-overlay' ).hide();
$( '#site-alert' ).hide();
});


$('.everything-is-awesome').on( "click", function() {
// Yes, there were more important things to get done, but everyone needs a mental break sometimes
if (awesomeCounter >= 10) {
Expand All @@ -179,6 +179,6 @@ $( document ).ready(function() {
// Not yet awesome
awesomeCounter++;
});
});


});

0 comments on commit 4e25092

Please sign in to comment.