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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/// Mixin helper to stylized post header cover in extra small size
/// minus width of sidebar on extra large screen
@mixin post-header-cover-xs {
width: calc(100% - #{map-get($sidebar, xlg-screen-width)});
left: map-get($sidebar, xlg-screen-width);
}
/// Mixin helper to stylized post header cover in small size
/// minus width of sidebar on large screen
@mixin post-header-cover-sm {
width: calc(100% - #{map-get($sidebar, lg-screen-width)});
left: map-get($sidebar, lg-screen-width);
}
/// Mixin helper to stylized post header cover in medium size
/// minus width of sidebar on medium screen
@mixin post-header-cover-md {
width: calc(100% - #{map-get($sidebar, md-screen-width)});
left: map-get($sidebar, md-screen-width);
}
/// Mixin helper to stylized post header cover in large size
@mixin post-header-cover-lg {
width: 100%;
left: 0;
}
/// Mixin helper to pushed post header cover from medium sidebar size
@mixin post-header-cover-pushed-md {
&.pushed {
@include prefix(transform, translate3d(#{map-get($sidebar, md-screen-width)}, 0, 0), 'webkit' 'moz');
/*background-position-x: calc(-#{map-get($sidebar, md-screen-width)});*/
}
}
/// Mixin helper to pushed post header cover from large sidebar size
@mixin post-header-cover-pushed-lg {
&.pushed {
@include prefix(transform, translate3d(#{map-get($sidebar, lg-screen-width)}, 0, 0), 'webkit' 'moz');
/*background-position-x: calc(-#{map-get($sidebar, lg-screen-width)});*/
}
}
/// Mixin helper to pushed post header cover from extra large sidebar size
@mixin post-header-cover-pushed-xlg {
&.pushed {
@include prefix(transform, translate3d(#{map-get($sidebar, xlg-screen-width)}, 0, 0), 'webkit' 'moz');
/*background-position-x: calc(-#{map-get($sidebar, xlg-screen-width)});*/
}
}
|