blob: 3ba9744664ece82025c423f60d26e01c31321874 (
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
26
27
28
29
30
31
32
33
34
35
|
@use 'iro-sass/src/index' as iro;
@use '../functions' as fn;
@include iro.props-namespace('lightbox') {
@include iro.props-store((
--dims: (
),
), 'dims');
@include iro.bem-object(iro.props-namespace()) {
display: contents;
@include iro.bem-elem('header') {
display: flex;
box-sizing: border-box;
flex: 0 0 auto;
align-items: center;
width: 100%;
}
@include iro.bem-elem('img') {
align-self: center;
max-width: 100%;
min-height: 0;
max-height: 100%;
margin-top: auto;
margin-bottom: auto;
}
@include iro.bem-elem('close-btn') {
margin-left: auto;
}
}
}
|