This file contains hidden or 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
<body class="preload"> | |
<div class="loader"></div> | |
</body> | |
<script> | |
$(window).load(function() { | |
$("body").removeClass("preload"); | |
}); | |
</script> |
This file contains hidden or 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
@mixin loader { | |
body.preload { | |
* { | |
transition: none !important; | |
animation-name: none !important; | |
} | |
.loader { | |
visibility: visible; | |
} |
This file contains hidden or 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
<div id="my-overlay" class="overlay is-collapsible"></div> | |
<a href="#" data-toggle="collapse" data-target="#my-overlay">Toggle Overlay</a> |
This file contains hidden or 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
@mixin overlay { | |
.overlay { | |
bottom: 0; | |
left: 0; | |
position: fixed; | |
right: 0; | |
top: 0; | |
transition: opacity 0.3s ease-in-out; | |
&.is-collapsible { |
This file contains hidden or 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
@mixin background-mask($background-color) { | |
position: relative; | |
&:before { | |
@include animated; | |
background-color: $background-color; | |
bottom: 0; | |
content: ""; | |
left: 0; | |
right: 0; |
This file contains hidden or 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
@mixin hyphenate { | |
-mds-word-break: break-all; | |
word-break: break-all; | |
word-break: break-word; | |
hyphens: auto; | |
} |
This file contains hidden or 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
.u-responsive { | |
display: block; | |
height: auto; | |
margin: 0 auto; | |
max-width: 100%; | |
width: auto; | |
} |
This file contains hidden or 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
@mixin t-base { | |
font-family: 'HelveticaNeue', Helvetica, Helmut, Arial, "Lucida Grande", sans-serif; | |
font-style: normal; | |
font-weight: normal; | |
} | |
@mixin t-italic { | |
font-family: 'HelveticaNeue-Italic', 'Helvetica-Oblique'; | |
font-style: normal; | |
font-weight: normal; |