Skip to content

Instantly share code, notes, and snippets.

@mistergraphx
mistergraphx / SassMeister-input-HTML.html
Last active February 8, 2018 18:00
Generated by SassMeister.com.
<div class="container">
<img class="item-aligned" src="http://lorempixel.com/400/200" />
</div>
@mistergraphx
mistergraphx / extends-childs-selectors-output.css
Last active August 29, 2015 14:09
SASS %extends inside descendant and child selectors.
[data-bar="global"] [data-foo="local"] > .class1 {
background: blue;
}
[data-foo="local"] [data-bar="global"] .class2, [data-bar="global"] [data-foo="local"] .class2 {
background: blue;
}
@mistergraphx
mistergraphx / radial-gradient-SASS-mixin.html
Last active August 29, 2015 14:09
radial-gradient SASS mixin
<div class="gradient">gradient</div>
@mistergraphx
mistergraphx / responsive_columns.html
Last active September 26, 2021 21:03
Responsive Columns with columnizer
<article class="list-thema js-fixie">
<h2></h2>
<ul class="js-columnize">
<li><a href=""><i class="icon-chevron-right"></i></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
<li><a href=""></a></li>
@mistergraphx
mistergraphx / SassMeister-input.scss
Created November 30, 2014 08:33
Generated by SassMeister.com.
// ----
// Sass (v3.2.19)
// Compass (v0.12.6)
// ----
$mediaqueries-support: true !default;
// Predefined Break-points
$desktop: 1260px !default;
$tablet: 960px !default;
@mistergraphx
mistergraphx / export_des_formulaires_formidable.md
Last active August 29, 2015 14:12
SPIP - Ajout de l'export des formulaires Formidable a l'importeur/exporteur de config

Ajout de l'export des formulaires Formidable a l'IE config

Sources : http://contrib.spip.net/Importeur-Exporteur-de-configurations

Permet depuis l'importeur/exporteur de configuration de pouvoir exporter la structure des formulaires comme il est déjà possible de le faire pour les Menus.

Ceci fait partie de ma toolbox personnelle, vous avez juste a adapter les sources a votre plugin Squelette, ou plugin Toolbox en faisant un replace du prefixe gx_toolbox

@mistergraphx
mistergraphx / staic-article_list.php
Created January 20, 2015 09:07
PluXML : Affichage d'une liste d'articles dans une page statique From http://forum.pluxml.org/viewtopic.php?pid=39206
<?php
$plxShow = plxShow::getInstance();
//var_dump($plxShow);
include(dirname(__FILE__).'/header.php'); # On insere le header ?>
<!-- primary content -->
<div id="primary-content">
<div class="blocks">
<strong><?php echo plxDate::formatDate($plxShow->plxMotor->cible, $plxShow->lang('ARCHIVES').' #month #num_year(4)') ?></strong>
@mistergraphx
mistergraphx / SassMeister-input-HTML.html
Created January 24, 2015 15:40
Generated by SassMeister.com.
<p class="btn">Button</p>
@mistergraphx
mistergraphx / responsive-figure-figcaption-output.css
Last active December 7, 2021 16:37
Responsive figure and figcaption elements responsive-figure-figcaption
/* Responsive figure and figcaption elements
How to display a figcaption element,
without setting a with = to image with
Source and exemple: <http://stackoverflow.com/questions/6534473/how-can-i-make-the-width-of-my-figcaption-match-the-width-of-the-img-inside>
.basic - display the figcaption under the image
.side-by-side - display the figcaption on the right
/* #Long Shdows Mixin
<http://www.sitepoint.com/ultimate-long-shadow-sass-mixin/>
@mixin - long-shadow
@author - H. Giraudel
$direction
$lengh
$color
$fade