<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.wiki.leomartin.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.wiki.leomartin.net/feed.php">
        <title>DokuWiki sasset</title>
        <description></description>
        <link>https://www.wiki.leomartin.net/</link>
        <image rdf:resource="https://www.wiki.leomartin.net/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-10T18:56:21+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:analyzing_installation_options&amp;rev=1459364750&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:conditional_if_statements_and_argument_lists&amp;rev=1459600444&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:creating_basic_mixins&amp;rev=1459590577&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:creating_list_elements&amp;rev=1459596924&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:going_through_a_list_with_each&amp;rev=1459601447&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:looping_through_lists_with_for&amp;rev=1459600968&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:modifying_colors&amp;rev=1459593197&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:nesting_your_styles&amp;rev=1459372430&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:next_steps&amp;rev=1459603674&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:referencing_parent_selectors_with&amp;rev=1459590764&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:understanding_sass&amp;rev=1459364629&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:using_comments_and_hidden_comments&amp;rev=1459591668&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:using_partials&amp;rev=1459373346&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:using_the_content_container&amp;rev=1459597724&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:using_the_extend_method&amp;rev=1459590662&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_math_operations&amp;rev=1459592346&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_our_automation_template&amp;rev=1459370239&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_the_map_data_type&amp;rev=1459601877&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_variables&amp;rev=1459371088&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.wiki.leomartin.net/lib/tpl/dokuwiki/images/favicon.ico">
        <title>DokuWiki</title>
        <link>https://www.wiki.leomartin.net/</link>
        <url>https://www.wiki.leomartin.net/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:analyzing_installation_options&amp;rev=1459364750&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-30T21:05:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:analyzing_installation_options</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:analyzing_installation_options&amp;rev=1459364750&amp;do=diff</link>
        <description>&lt;- Understanding SassWorking with our automation template -&gt;
Ruby

-&gt; ruby-lang.org

-&gt; Installé par défaut sur Mac OS X

-&gt; sass-compatibility.github.io

-&gt; windows : rubyinstaller.org

SASS

-&gt; gem install sass (dans le terminal)

-&gt; exemple d'install complète dans Web Project Workflows with Gulp.js, Git and Browserify</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:conditional_if_statements_and_argument_lists&amp;rev=1459600444&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T14:34:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:conditional_if_statements_and_argument_lists</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:conditional_if_statements_and_argument_lists&amp;rev=1459600444&amp;do=diff</link>
        <description>&lt;- Using the @content containerLooping through lists with @for -&gt;
Créer une mixin qui prend un nombre non déterminé de valeur :


@mixin break($args...) { // on ajoute trois point à n'importe quelle variable, cela signifie qu'il s'agira d'une série de valeurs
// @mixin break($first, $args...) { // first valeur habituelle, $args série de n valeur
  @if length($args) == 1 {
    @media (min-width: nth($args, 1) {
      @content;
    }
  } @else {
    @media (min-width: nth($args, 1) and (max-width:…</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:creating_basic_mixins&amp;rev=1459590577&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T11:49:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:creating_basic_mixins</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:creating_basic_mixins&amp;rev=1459590577&amp;do=diff</link>
        <description>&lt;- Using PartialsUsing the @extend method -&gt;
Mixins -&gt; “Javascript-like functions”


@mixin &lt;nom&gt;(&lt;paramètre 1&gt;:&lt;valeur par defaut&gt;, &lt;paramètre 2&gt;, ..., &gt;paramètre n&gt;) {
  &lt;propriété&gt;:&lt;valeur&gt;;
}
@include &lt;nom&gt;(&lt;paramètre 1&gt;, &lt;paramètre 2&gt;, ..., &gt;paramètre n&gt;);

@mixin backImage($image) {
  background: url($image);
}

.style {
  @include backimage('file.png');
}</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:creating_list_elements&amp;rev=1459596924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T13:35:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:creating_list_elements</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:creating_list_elements&amp;rev=1459596924&amp;do=diff</link>
        <description>&lt;- Modifying colorsUsing the @content container -&gt;
En CSS on a déjà des listes, par exemple :

font-family: Helvetica, 'Nom avec espaces', Arial, sans-serif 

Ce sont des valeurs séparées par des espaces ou des virgules.

-&gt; Attention, les liste ne sont pas 0 based !

-&gt; &lt;http://sass-lang.com/documentation/Sass/Script/Functions.html#list-functions&gt;


$roundness: 20px 0 10px 10px;

img {
  border-radius: nth($roundness, 1); // on récupère la première valeur de la liste, soit 20px (rappel : on n'e…</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:going_through_a_list_with_each&amp;rev=1459601447&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T14:50:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:going_through_a_list_with_each</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:going_through_a_list_with_each&amp;rev=1459601447&amp;do=diff</link>
        <description>&lt;- Looping through lists with @forWorking with the map data type -&gt;
@each


$color-names: 'rouge', 'vert', 'bleu';
$colors: $red, $green, $blue;

@each $name in $color-names {
  $i: index($color-names, $name); // à quel index dans $color-names correspond $name
  .btn-#{$name} {
  @extend %btn;
    background-color: nth($colors, $i);
  }
}</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:looping_through_lists_with_for&amp;rev=1459600968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T14:42:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:looping_through_lists_with_for</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:looping_through_lists_with_for&amp;rev=1459600968&amp;do=diff</link>
        <description>&lt;- Conditional @if statements and argument listsGoing through a list with @each -&gt;
@for permet d'itérer parmi les éléments d'une liste.


$colors: $red, $green, $blue;

@for $item from 1 through length($colors) {
  h#{$item} {
    color: nth($colors, $item);
  } 
}


-&gt; &lt;http://sass-lang.com/documentation/file.SASS_REFERENCE.html#_10&gt;

-&gt; Voir aussi @while dans la doc ci-dessus, un peu différente</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:modifying_colors&amp;rev=1459593197&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T12:33:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:modifying_colors</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:modifying_colors&amp;rev=1459593197&amp;do=diff</link>
        <description>&lt;- Working with math operationsCreating list elements -&gt;
	*  assombrir (darken)
	*  éclairer (lighten)
	*  complémentaire (complementary)
	*  et bien d'autres -&gt; &lt;http://sass-lang.com/documentation/Sass/Script/Functions.html&gt;


tr {
  background-color: $blue;
  &amp;:hover {
    background-color: complement($blue);
  }</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:nesting_your_styles&amp;rev=1459372430&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-30T23:13:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:nesting_your_styles</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:nesting_your_styles&amp;rev=1459372430&amp;do=diff</link>
        <description>&lt;- Working with variablesUsing Partials -&gt;
Nesting


.media {
  padding: 0;
  .item {
    padding-top: 10px;
  }
}</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:next_steps&amp;rev=1459603674&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T15:27:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:next_steps</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:next_steps&amp;rev=1459603674&amp;do=diff</link>
        <description>&lt;- Working with the map data type -&gt;
-&gt; sass-lang.com

-&gt; responsive sass and 

-&gt; Building a Responsive Single-Page Design

-&gt; thesassway.com</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:referencing_parent_selectors_with&amp;rev=1459590764&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T11:52:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:referencing_parent_selectors_with</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:referencing_parent_selectors_with&amp;rev=1459590764&amp;do=diff</link>
        <description>&lt;- Using the @extend methodUsing comments and hidden comments -&gt;
&amp; est un sélecteur spécial désignant le parent de l'élément


.item {
  background: white;
  &amp;:hover {
    background: red;
  }
}



@mixin clearfix {
  &amp;:before,
  &amp;:after {
    content:'';
    display: table;
  }
  &amp;:after {
    clear:both;
  }
}

.item {
  @include clearfix;
}</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:understanding_sass&amp;rev=1459364629&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-30T21:03:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:understanding_sass</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:understanding_sass&amp;rev=1459364629&amp;do=diff</link>
        <description>&lt;- Using the exercise filesAnalyzing installation options -&gt;
What is SASS

	*  une extensions à CSS
	*  un langage pré-processé
	*  est extensible via des plugins (Compass, ???, Susy)
	*  écrit en Ruby

Features

	*  variables
	*  nesting
	*  partials : permet des séparer le CSS en modules
	*  extend : sorte d'héritage, on peut baser un sélecteur sur un autre.</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:using_comments_and_hidden_comments&amp;rev=1459591668&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T12:07:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:using_comments_and_hidden_comments</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:using_comments_and_hidden_comments&amp;rev=1459591668&amp;do=diff</link>
        <description>&lt;- Referencing parent selectors with &amp;Working with math operations -&gt;
CSS :


/* commentaire */


SASS :


// commentaire invisible
/* commentaire visible */
/*! Commentaire visible même en mode compressé, utile par exemple pour les licences */</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:using_partials&amp;rev=1459373346&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-30T23:29:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:using_partials</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:using_partials&amp;rev=1459373346&amp;do=diff</link>
        <description>&lt;- Nesting your stylesCreating basic mixins -&gt;
SASS permet de diviser son code en modules appelés “partials”.

On ajoute juste un @import comme en CSS.

Les partials sont habituellement signalés par un _ au début du nom de fichier.


@import &quot;modules/mon_module.scss&quot; importe modules/_mon_module.scss
@import &quot;modules/mon_module&quot; // la même chose
@import &quot;normalize.scss&quot;</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:using_the_content_container&amp;rev=1459597724&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T13:48:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:using_the_content_container</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:using_the_content_container&amp;rev=1459597724&amp;do=diff</link>
        <description>&lt;- Creating list elementsConditional @if statements and argument lists -&gt;
Il est possible, dans les mixins, d'utiliser du sous-code.


@mixin break($length) {
  @media (min-width: $length) {
    @content;
  }
}

.branding {
  float: left;
  display: none;
  @include break(1000px){
    display: block;
  };
}


Donne :</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:using_the_extend_method&amp;rev=1459590662&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T11:51:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:using_the_extend_method</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:using_the_extend_method&amp;rev=1459590662&amp;do=diff</link>
        <description>&lt;- Creating basic mixinsReferencing parent selectors with &amp; -&gt;
Étendre les fonctionnalités d'une classe avec une autre


.style_a {
  background:red;
}
.style_b {
  @extend .style_a;
  color: black;
}
.style_c {
  @extend .style_a;
  color: blue;
}

// output :

.style_a, .style_b, .style_c {
  background:red;
}
.style_b {
  color: black;
}
.style_c {
  color: blue;
}</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_math_operations&amp;rev=1459592346&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T12:19:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:working_with_math_operations</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_math_operations&amp;rev=1459592346&amp;do=diff</link>
        <description>&lt;- Using comments and hidden commentsModifying colors -&gt;
	*  multiplication *
	*  division /
	*  

/!\ attention au dash (-) : élément de nom valide en SASS/CSS -&gt; $qty-1 (nom) != $qty - 1 (opération)


@mixin imagegrid($qty, $margin) {
  width: ((100% - (($qty - 1) * $margin))/$qty) // the dash is a valide name in SASS : $qty-1 (nom) != $qty - 1 (opération)
  &amp;nth-child(n) {
    margin-right: $margin;
    margin-bottom: $margin;
  }
  &amp;nth-child(#{$qty}n) { // opérateur #, permet ici d'insérer …</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_our_automation_template&amp;rev=1459370239&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-30T22:37:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:working_with_our_automation_template</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_our_automation_template&amp;rev=1459370239&amp;do=diff</link>
        <description>&lt;- Analyzing installation optionsWorking with variables -&gt;
-&gt; gulp.js

-&gt; Installer la coloration syntaxique pour son éditeur de texte</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_the_map_data_type&amp;rev=1459601877&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-02T14:57:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:working_with_the_map_data_type</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_the_map_data_type&amp;rev=1459601877&amp;do=diff</link>
        <description>&lt;- Going through a list with @eachNext steps -&gt;
Associated Arrays : key/value


$color-btns: (
  rouge: $red,
  vert: $green,
  bleu: $blue,
);

@each $key, $value in $color-btns {
  .btn-#{$key} {
  @extend %btn;
    background-color: $value;
  }
}</description>
    </item>
    <item rdf:about="https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_variables&amp;rev=1459371088&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-30T22:51:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sasset:working_with_variables</title>
        <link>https://www.wiki.leomartin.net/doku.php?id=sasset:working_with_variables&amp;rev=1459371088&amp;do=diff</link>
        <description>&lt;- Working with our automation templateNesting your styles -&gt;
Variables


$blanc: #FFFFFF;
$noir: #000000;

$color-main: $noir;
$color-background: $blanc;

$font-main: Georgia, Helvetica, sans-serif;

body {
  font-family: $font-main;
}</description>
    </item>
</rdf:RDF>
