blob: b4d5119fd8aa353091747710f0b0761f2861b193 (
plain)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
// bottom bar which contains navigation and share options
#bottom-bar {
display: none;
position: fixed;
bottom: 0;
height: 60px;
background: white;
margin: 0;
border-top: 1px solid #eef2f8;
padding: 0 15px;
z-index: map-get($z-indexes, c-post-bottom-bar);
transition: transform .25s ease-in-out;
-webkit-transition: -webkit-transform .25s ease-in-out;
}
@media #{$small-and-down} {
#bottom-bar {
// Display bottom bar in large size
@include bottom-bar-lg;
// Push the bottom bar from the size of the large sidebar
&[data-behavior="1"],
&[data-behavior="2"],
&[data-behavior="4"],
&[data-behavior="5"] {
@include bottom-bar-pushed-lg;
}
// Push the bottom bar from the size of the medium sidebar
&[data-behavior="3"],
&[data-behavior="6"] {
@include bottom-bar-pushed-md;
}
}
}
@media #{$medium-only} {
#bottom-bar {
// Display bottom bar in medium size and push it from the size of the medium sidebar
&[data-behavior="1"],
&[data-behavior="2"],
&[data-behavior="3"] {
@include bottom-bar-md;
@include bottom-bar-pushed-md;
}
// Display bottom bar in large size and push it from the size of the large sidebar
&[data-behavior="4"],
&[data-behavior="5"] {
@include bottom-bar-lg;
@include bottom-bar-pushed-lg;
}
// Display bottom bar in large size and push it from the size of the medium sidebar
&[data-behavior="6"] {
@include bottom-bar-lg;
@include bottom-bar-pushed-md;
}
}
}
@media #{$large-only} {
#bottom-bar {
// Display bottom bar in small size and push it from the size of the large sidebar
&[data-behavior="1"],
&[data-behavior="2"] {
@include bottom-bar-sm;
@include bottom-bar-pushed-lg;
}
// Display bottom bar in medium size and push it from the size of the medium sidebar
&[data-behavior="3"] {
@include bottom-bar-md;
@include bottom-bar-pushed-md;
}
// Display bottom bar in large size and push it from the size of the large sidebar
&[data-behavior="4"],
&[data-behavior="5"] {
@include bottom-bar-lg;
@include bottom-bar-pushed-lg;
}
// Display bottom bar in large size and push it from the size of the medium sidebar
&[data-behavior="6"] {
@include bottom-bar-lg;
@include bottom-bar-pushed-md;
}
}
}
@media #{$xlarge-and-up} {
#bottom-bar {
// Display bottom bar in extra small size and push it from the size of the extra large sidebar
&[data-behavior="1"] {
@include bottom-bar-xs;
@include bottom-bar-pushed-xlg;
}
// Display bottom bar in small size and push it from the size of the large sidebar
&[data-behavior="2"] {
@include bottom-bar-sm;
@include bottom-bar-pushed-lg;
}
// Display bottom bar in medium size and push it from the size of the medium sidebar
&[data-behavior="3"] {
@include bottom-bar-md;
@include bottom-bar-pushed-md;
}
// Display bottom bar in large size and push it from the size of the extra large sidebar
&[data-behavior="4"] {
@include bottom-bar-lg;
@include bottom-bar-pushed-xlg;
}
// Display bottom bar in large size and push it from the size of the extra large sidebar
&[data-behavior="5"] {
@include bottom-bar-lg;
@include bottom-bar-pushed-lg;
}
// Display bottom bar in large size and push it from the size of the medium sidebar
&[data-behavior="6"] {
@include bottom-bar-lg;
@include bottom-bar-pushed-md;
}
}
}
|