From ab29d725320ff8e883394aee536ea37b74018009 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 13 Dec 2021 00:51:39 +0100 Subject: chore: define Sass functions, mixins, placeholders and variables --- src/styles/abstracts/placeholders/_list.scss | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/styles/abstracts/placeholders/_list.scss (limited to 'src/styles/abstracts/placeholders/_list.scss') diff --git a/src/styles/abstracts/placeholders/_list.scss b/src/styles/abstracts/placeholders/_list.scss new file mode 100644 index 0000000..85e8386 --- /dev/null +++ b/src/styles/abstracts/placeholders/_list.scss @@ -0,0 +1,32 @@ +/// List Reset +%reset-list { + list-style-type: none; + margin: 0; + padding: 0; + + li { + margin-bottom: 0; + } +} + +/// Ordered List Reset +%reset-ordered-list { + @extend %reset-list; + + li { + display: list-item; + counter-increment: none; + + &::before { + display: none; + } + } +} + +/// Display an inline list with flexbox +%flex-list { + @extend %reset-list; + + display: flex; + flex-flow: row wrap; +} -- cgit v1.2.3