diff options
author | Volpeon <git@volpeon.ink> | 2023-01-30 07:20:47 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-01-30 07:20:47 +0100 |
commit | c346bc64f24f01ae40b75a8a4ae03747d014266f (patch) | |
tree | 479d471dd9b51aed331930f1a64ccfdd73895027 /src/scopes/_lists.scss | |
parent | Fixed code object (diff) | |
download | iro-design-c346bc64f24f01ae40b75a8a4ae03747d014266f.tar.gz iro-design-c346bc64f24f01ae40b75a8a4ae03747d014266f.tar.bz2 iro-design-c346bc64f24f01ae40b75a8a4ae03747d014266f.zip |
Update
Diffstat (limited to 'src/scopes/_lists.scss')
-rw-r--r-- | src/scopes/_lists.scss | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/scopes/_lists.scss b/src/scopes/_lists.scss index dd47b93..1322f2d 100644 --- a/src/scopes/_lists.scss +++ b/src/scopes/_lists.scss | |||
@@ -6,6 +6,10 @@ | |||
6 | --dims: ( | 6 | --dims: ( |
7 | --indent: calc(fn.global-dim(--list --indent) + 1em), | 7 | --indent: calc(fn.global-dim(--list --indent) + 1em), |
8 | --margin-top: fn.global-dim(--paragraph --margin-top), | 8 | --margin-top: fn.global-dim(--paragraph --margin-top), |
9 | |||
10 | --compact: ( | ||
11 | --indent: fn.global-dim(--list --compact-indent), | ||
12 | ), | ||
9 | ) | 13 | ) |
10 | ), 'dims'); | 14 | ), 'dims'); |
11 | 15 | ||
@@ -48,5 +52,16 @@ | |||
48 | dd { | 52 | dd { |
49 | margin: 0 0 0 fn.dim(--indent); | 53 | margin: 0 0 0 fn.dim(--indent); |
50 | } | 54 | } |
55 | |||
56 | @include iro.bem-modifier('compact') { | ||
57 | ul, | ||
58 | ol { | ||
59 | padding-left: calc(fn.dim(--compact --indent) - 3px); | ||
60 | } | ||
61 | |||
62 | dd { | ||
63 | margin-left: calc(fn.dim(--compact --indent) - 3px); | ||
64 | } | ||
65 | } | ||
51 | } | 66 | } |
52 | } | 67 | } |