From 9e54cbbd7dbcf5b854d15016a316e557146c3966 Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Fri, 17 Sep 2021 15:27:59 +0200 Subject: changement de template html5up + retouche du logo --- assets/sass/components/_list.scss | 183 ++++++++++++-------------------------- 1 file changed, 55 insertions(+), 128 deletions(-) (limited to 'assets/sass/components/_list.scss') diff --git a/assets/sass/components/_list.scss b/assets/sass/components/_list.scss index d4aead9..1b384c2 100644 --- a/assets/sass/components/_list.scss +++ b/assets/sass/components/_list.scss @@ -1,129 +1,56 @@ -@import '../libs/vars'; -@import '../libs/functions'; -@import '../libs/mixins'; - -/// -/// Identity by HTML5 UP -/// html5up.net | @ajlkn -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -/* List */ - - ol { - list-style: decimal; - margin: 0 0 _size(element-margin) 0; - padding-left: 1.25em; - - li { - padding-left: 0.25em; - } - } - - ul { - list-style: disc; - margin: 0 0 _size(element-margin) 0; - padding-left: 1em; - - li { - padding-left: 0.5em; - } - - &.alt { - list-style: none; - padding-left: 0; - - li { - border-top: solid 1px _palette(border); - padding: 0.5em 0; - - &:first-child { - border-top: 0; - padding-top: 0; - } - } - } - - &.icons { - cursor: default; - list-style: none; - padding-left: 0; - margin-top: -0.675em; - - li { - display: inline-block; - padding: 0.675em 0.5em; - - a { - @include icon-alt(false, true); - position: relative; - display: block; - width: 3.75em; - height: 3.75em; - border-radius: 100%; - border: solid _size(border-width) _palette(border); - line-height: 3.75em; - overflow: hidden; - text-align: center; - text-indent: 3.75em; - white-space: nowrap; - - &:before { - position: absolute; - top: 0; - left: 0; - width: inherit; - height: inherit; - font-size: 1.85rem; - line-height: inherit; - text-align: center; - text-indent: 0; - } - - &:hover { - border-color: _palette(highlight); - } - } - } - - @include breakpoint(xsmall) { - li { - a { - &:before { - font-size: 1.5rem; - } - } - } - } - } - - &.actions { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 (_size(element-margin) * 0.5) 0 0; - vertical-align: middle; - - &:last-child { - padding-right: 0; - } - } - } - } - - dl { - margin: 0 0 _size(element-margin) 0; - - dt { - display: block; - font-weight: _font(weight-bold); - margin: 0 0 (_size(element-margin) * 0.5) 0; - } - - dd { - margin-left: _size(element-margin); - } +/// +/// Dimension by HTML5 UP +/// html5up.net | @ajlkn +/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) +/// + +/* List */ + + ol { + list-style: decimal; + margin: 0 0 _size(element-margin) 0; + padding-left: 1.25em; + + li { + padding-left: 0.25em; + } + } + + ul { + list-style: disc; + margin: 0 0 _size(element-margin) 0; + padding-left: 1em; + + li { + padding-left: 0.5em; + } + + &.alt { + list-style: none; + padding-left: 0; + + li { + border-top: solid _size(border-width) _palette(border); + padding: 0.5em 0; + + &:first-child { + border-top: 0; + padding-top: 0; + } + } + } + } + + dl { + margin: 0 0 _size(element-margin) 0; + + dt { + display: block; + font-weight: _font(weight-bold); + margin: 0 0 (_size(element-margin) * 0.5) 0; + } + + dd { + margin-left: _size(element-margin); + } } \ No newline at end of file -- cgit v1.2.3