Skip to content

Instantly share code, notes, and snippets.

View illepic's full-sized avatar

Christopher Bloom illepic

View GitHub Profile
@illepic
illepic / SassMeister-input.scss
Created March 3, 2014 08:29
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
// from way deep in Foundation
$body-bg: white;
$body-font-color: grey;
$primary-color: blue;
$secondary-color: green;
@illepic
illepic / SublimeLinter.json
Created March 31, 2014 16:12
bloom's linter settings
{
"user": {
"debug": false,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "load/save",
"linters": {
"jshint": {
@illepic
illepic / SassMeister-input.scss
Created May 30, 2014 00:23
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
@mixin estee-extender($extendable, $mq:false) {
@if $mq {
@extend %#{$extendable}-#{$mq};
} @else {
@extend %#{$extendable};
@illepic
illepic / SassMeister-input.scss
Created August 29, 2014 23:09
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
.button {
background: green;
color: white;
}
@illepic
illepic / SassMeister-input.scss
Created August 29, 2014 23:11
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
// Solution: change .button extendable to %button
%button {
background: green;
color: white;
padding: 20px;
@illepic
illepic / SassMeister-input.scss
Created November 17, 2014 19:24
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
.profile-name,
.screen-name {
& a {
display: inline-block;
overflow: hidden;
@illepic
illepic / SassMeister-input.scss
Created June 2, 2015 06:52
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
.thingy {
background: blue;
}
.i-want-to-extend {
files_match:
avdfm_upfg216ln0n9:
path: \.php$
sethandler: 'proxy:fcgi://127.0.0.1:9000'
custom_fragment: ''
provider: filesmatch
php:
install: '1'
settings:
var Model = (function() {
console.log('model');
})();
var View = (function() {
console.log("I am module 1");
})();
var AuthCheck = (function() {
return {
@illepic
illepic / theme-snippets.php
Created October 27, 2010 23:49
Theme menu output to include title class
<?php
// theme menu output to include title class
function theme_menu_item($link, $has_children, $menu = '', $in_active_trail = FALSE, $extra_class = NULL) {
$class = ($menu ? 'expanded' : ($has_children ? 'collapsed' : 'leaf'));
if (!empty($extra_class)) {
$class .= ' '. $extra_class;
}
if ($in_active_trail) {
$class .= ' active-trail';
}