blob: 7f93e42a58e7d23d0967c2d1727b7136de2fe53c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
@use 'sass:meta';
@use 'iro-sass/src/iro-sass' as iro;
@use '../props';
@forward 'blockquotes.vars';
@use 'blockquotes.vars' as vars;
@mixin styles {
@include props.materialize(meta.module-variables('vars'));
@include iro.bem-scope('blockquotes') {
blockquote {
padding-inline-start: calc(props.get(vars.$indent) - props.get(vars.$border-width));
margin-block: props.get(vars.$margin-bs);
margin-inline: 1px 0;
border-inline-start: props.get(vars.$border-width) solid props.get(vars.$border-color);
}
@include iro.bem-modifier('compact') {
blockquote {
padding-inline-start: calc(props.get(vars.$compact--indent) - props.get(vars.$border-width));
}
}
}
}
|