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) | |
// ---- | |
@mixin columnize ( $width, $end: 4 ) { | |
@for $i from 2 through $end { | |
@media ( min-width: $width * $i ) { | |
width: 100% / $i; | |
} |
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) | |
// ---- | |
$foo: '.foo'; | |
#{$foo} { | |
color: red; | |
#{$foo}:not(#{$foo}__b) { |
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
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
autoprefixer = require('gulp-autoprefixer'); | |
var paths = { | |
styles: { | |
src: ['src/scss/**/*'], | |
dest: 'build/css' | |
} | |
}; |
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.8) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Reset 960GS | |
$reset960: (unquote('body, .alpha, .omega, .container_24')); | |
@for $i from 1 through 24 { | |
$reset960: append($reset960, unquote('.container_24 .grid_#{$i}'), comma); |
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.8) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$inc: '*/{% include "hubspot/styles/responsive/required_base.css" %}'; | |
/*#{$inc}/**/ | |
body { | |
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.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
@mixin raw ($string) { | |
$string: '*/#{$string}/*'; | |
/*#{$string}*/ | |
} |
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.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
@mixin mega-blocks ($columns) { | |
$counter: 0; | |
body: $counter; | |
@each $row in $columns { | |
@for $i from 0 through ( $row - 1 ) { |
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.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$register: (); | |
@mixin register ($key) { | |
@if not index($register, $key) { | |
$register: append($register, $key); |
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
@mixin mega-blocks ($width, $columns, $selector) { | |
$index: 1; | |
$number-of-columns: length($columns); | |
width: ($width * $number-of-columns) + 0px; | |
position: relative; | |
#{$selector} { | |
position: absolute; | |
width: $width + 0px; | |
@for $i from 0 through ( $number-of-columns - 1 ) { | |
$rows: nth($columns, $i + 1); |
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.14) | |
// Compass (v1.0.0) | |
// ---- | |
$color: rgb(255, 243, 51); | |
body { | |
color: rgba($color, .5); | |
} |
OlderNewer