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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
/// Mixin helper to stylized bottom bar in small size
/// minus width of sidebar on extra large screen and minus its padding
@mixin bottom-bar-xs {
width: calc(100% - #{map-get($sidebar, xlg-screen-width)} - 15px * 2);
left: map-get($sidebar, xlg-screen-width);
}
/// Mixin helper to stylized bottom bar in small size
/// minus width of sidebar on large screen and minus its padding
@mixin bottom-bar-sm {
width: calc(100% - #{map-get($sidebar, lg-screen-width)} - 15px * 2);
left: map-get($sidebar, lg-screen-width);
}
/// Mixin helper to stylized bottom bar in medium size
/// minus width of sidebar on medium screen and minus its padding
@mixin bottom-bar-md {
width: calc(100% - #{map-get($sidebar, md-screen-width)} - 15px * 2);
left: map-get($sidebar, md-screen-width);
}
/// Mixin helper to stylized bottom bar in large size minus its padding
@mixin bottom-bar-lg {
width: calc(100% - 15px * 2);
left: 0;
}
/// Mixin helper to pushed bottom bar from medium sidebar size
@mixin bottom-bar-pushed-md {
&.pushed {
@include prefix(transform, translate3d(#{map-get($sidebar, md-screen-width)}, 0, 0), 'webkit' 'moz');
width: calc(100% - #{map-get($sidebar, md-screen-width)} - 15px * 2);
.post-actions-wrap {
ul.post-action-nav {
// Best width for responsive post's navigation panel on very small screen
width: 35%;
}
ul.post-action-share {
// Best width for responsive post's share panel on very small screen
width: 65%;
}
}
}
}
/// Mixin helper to pushed bottom bar from large sidebar size
@mixin bottom-bar-pushed-lg {
&.pushed {
@include prefix(transform, translate3d(#{map-get($sidebar, lg-screen-width)}, 0, 0), 'webkit' 'moz');
width: calc(100% - #{map-get($sidebar, lg-screen-width)} - 15px * 2);
.post-actions-wrap {
ul.post-action-nav {
// Best width for responsive post's navigation panel on very small screen
width: 35%;
}
ul.post-action-share {
// Best width for responsive post's share panel on very small screen
width: 65%;
}
}
}
}
/// Mixin helper to pushed bottom bar from extra large sidebar size
@mixin bottom-bar-pushed-xlg {
&.pushed {
@include prefix(transform, translate3d(#{map-get($sidebar, xlg-screen-width)}, 0, 0), 'webkit' 'moz');
width: calc(100% - #{map-get($sidebar, xlg-screen-width)} - 15px * 2);
}
}
|