From b96e1cbd3e42110768bb089c3b4c3ea07e580b11 Mon Sep 17 00:00:00 2001 From: chankalan Date: Thu, 23 Sep 2021 16:33:50 +0200 Subject: [PATCH] + un mixin puces en triangle --- squelettes/scss/utils/_mixins.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/squelettes/scss/utils/_mixins.scss b/squelettes/scss/utils/_mixins.scss index 4614e2d..a2d184a 100644 --- a/squelettes/scss/utils/_mixins.scss +++ b/squelettes/scss/utils/_mixins.scss @@ -302,6 +302,21 @@ } } +// liste ul avec puce en triangle +@mixin liste-triangle($demihauteur: 0.3em, $coefficient: 1.8) { + list-style:none; + > li { + padding-left:1em; + position:relative; + &:before { + position:absolute; + left:0; + top:0.6em; + @include triangle(right, $couleurSecondaire, $demihauteur, $coefficient); + } + } +} + /// Font Face /// https://gist.github.com/jonathantneal/d0460e5c2d5d7f9bc5e6#file-_mixins-scss /// simplification pour uniquement woff2 et woff