This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.slide-up{ | |
position:relative; | |
--webkit-transition: 0.5s ease-in-out all; | |
-moz-transition: 0.5s ease-in-out all; | |
-o-transition: 0.5s ease-in-out all; | |
transition: 0.5s ease-in-out all; | |
} | |
.slide-up.ng-enter{ | |
--webkit-transition-delay: 0.5s; | |
-moz-transition-delay: 0.5s; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul.nav li.dropdown:hover > ul.dropdown-menu { | |
display: block; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width: 768px) and (max-width: 1175px) { | |
.navbar-collapse.collapse { | |
display: none !important; | |
} | |
.navbar-collapse.collapse.in { | |
display: block !important; | |
} | |
.navbar-header .collapse, .navbar-toggle { | |
display:block !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// smoothscroll anchor function | |
$(function() { | |
$('a[href*=#]:not([href=#])').click(function() { | |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { | |
var target = $(this.hash); | |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
if (target.length) { | |
$('html,body').animate({ | |
scrollTop: target.offset().top - 50 | |
}, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- source: https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php --> | |
<div class="videoWrapper"> | |
<!-- Copy & Pasted from YouTube --> | |
<iframe width="560" height="349" src="http://www.youtube.com/embed/n_dZNLr2cME?rel=0&hd=1" frameborder="0" allowfullscreen></iframe> | |
</div> | |
<style> | |
.videoWrapper { | |
position: relative; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
footer { | |
min-height: 300px; | |
background-color: #013378; | |
color: white; | |
padding-top: 30px; | |
position: relative; | |
} | |
footer::after { | |
content: ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.multi_bg_example { | |
background-image : url(https://mdn.mozillademos.org/files/11305/firefox.png), | |
url(https://mdn.mozillademos.org/files/11307/bubbles.png), | |
linear-gradient(to right, rgba(30, 75, 115, 1), rgba(255, 255, 255, 0)); | |
background-repeat : no-repeat, | |
no-repeat, | |
no-repeat; | |
background-position: bottom right, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$rootScope.$on('$stateChangeSuccess',function(){ | |
$("html, body").animate({ scrollTop: 0 }, 200); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated on 2015-11-18 using generator-angular 0.14.0 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm view generator-meanjs versions |