Skip to content

Instantly share code, notes, and snippets.

View kaelig's full-sized avatar

Kaelig Deloumeau-Prigent kaelig

View GitHub Profile
@kaelig
kaelig / SassMeister-input.scss
Last active November 25, 2015 15:45
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
////
/// @group o-grid
/// @link http://registry.origami.ft.com/components/o-grid
////
// ----------------------------------------------------------------------------
@kaelig
kaelig / SassMeister-input.scss
Created November 3, 2015 23:48
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
@import 'mq';
test {
width: 319px / 16px * 1em;
width: 320px / 16px * 1em - 0.01em;
@kaelig
kaelig / SassMeister-input.scss
Last active November 4, 2015 00:48
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
// Copyright (c) 2015, salesforce.com, inc. All rights reserved.
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
// Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
// Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
@kaelig
kaelig / SassMeister-input.scss
Created November 3, 2015 09:28
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$debug: true;
$app-version: '0.200.0';
// @author Hugo Giraudel
@function number($string) {
// Matrices
@kaelig
kaelig / SassMeister-input.scss
Created August 18, 2015 15:40
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$o-grid-layouts: (A: 340px, X: 800px, Y: 1100px, Z: 1200px);
$_o-grid-layout-names: A, X, Y, Z;
$o-grid-gutters: (default: 10px);
@mixin oGridAddLayout($layout-name, $layout-width, $gutter-width: null) {
$temp-layouts: ();
@kaelig
kaelig / SassMeister-input.scss
Created August 14, 2015 15:32
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$o-grid-layouts: (
S: 490px,
SM: 720px,
M: 730px,
L: 970px,
XL: 1210px,
@kaelig
kaelig / SassMeister-input-HTML.html
Last active August 29, 2015 14:24
Generated by SassMeister.com.
<!-- Constant column spans -->
<div class="o-grid-row">
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
<div data-o-grid-colspan="1"><div class="demo-cell">1</div></div>
@kaelig
kaelig / SassMeister-input.scss
Last active August 29, 2015 14:22
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
// The following code works in Ruby Sass 3.3 and 3.4
// But doesn't work well in LibSass
// See https://github.com/sass/libsass/issues/1271
$character-code: f102;
@kaelig
kaelig / SassMeister-input.scss
Last active August 29, 2015 14:22
Generated by SassMeister.com.
// ----
// libsass (v3.2.4)
// ----
// Import Sass MQ
// http://git.io/sass-mq
@import 'mq';
@include mq(tablet) {
div {
@kaelig
kaelig / SassMeister-input.scss
Created May 12, 2015 21:29
Generated by SassMeister.com.
// ----
// libsass (v3.2.2)
// ----
$o-colors-palette: () !default;
/// Colour palette
///
/// These are the colours that make up the FT palette.
/// We don't use these colours directly, but instead assign them to 'use cases',