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
So I've got this code | |
var $tooltips = $('.tooltip__link'); | |
$tooltips.on('click touchstart', function(){ | |
var tooltip = $(this); | |
tooltip.toggleClass('js-opened'); | |
return false; |
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
// ---- | |
// Sass (v3.3.0.rc.3) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.foo, .bar { | |
&__element { | |
color: blue; | |
&--modifier { | |
color: red; |
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
// ---- | |
// Sass (v3.3.0.rc.3) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.a { | |
&-test { | |
color: red; | |
} |
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
// ---- | |
// Sass (v3.3.0.rc.3) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.block { | |
/* body */ | |
background: red; | |
&__element { | |
/* body__hand */ |
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
// ---- | |
// Sass (v3.3.0.rc.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.a { | |
background: #FFF; | |
&-test { | |
color: red; |
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
// ---- | |
// Sass (v3.3.0.rc.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Horizontal gradient, from left to right | |
// | |
// Creates two color stops, start and end, by specifying a color and position for each color stop. | |
// Color stops are not available in IE9 and below. | |
=gradient-horizontal($start-color: #555555, $end-color: #333333, $start-percent: 0%, $end-percent: 100%) |
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
// ---- | |
// Sass (v3.2.14) | |
// Compass (v0.12.2) | |
// ---- | |
.nav { | |
&.thing { | |
color: red; | |
} | |
} |
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
// ---- | |
// Sass (v3.2.14) | |
// Compass (v0.12.2) | |
// ---- | |
// ------------------------------------- | |
// helpers | |
// ------------------------------------- | |
@mixin ir { |
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> | |
<li class="social-link social-link--twitter"><a href="#">twitter</a></li> | |
<li class="social-link social-link--facebook"><a href="#">facebook</a></li> | |
<li class="social-link social-link--linkedin"><a href="#">linkedin</a></li> | |
<li class="social-link social-link--googleplus"><a href="#">google+</a></li> | |
<!--<li class="social-link social-link--flickr"><a href="#">flickr</a></li>--> | |
<!--<li class="social-link social-link--pinterest"><a href="#">pinterest</a></li>--> | |
<!--<li class="social-link social-link--skype"><a href="#">skype</a></li>--> | |
<li class="social-link social-link--RSS"><a href="#">RSS</a></li> | |
</ul> |
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
// ---- | |
// Sass (v3.3.0.rc.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$media: ( | |
heading-font-size: 24px, | |
body-font-size: 16px, | |
width: 300, | |
img-height: 120px, |
OlderNewer