2 /// Editorial by HTML5 UP
3 /// html5up.net | @ajlkn
4 /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
15 @include vendor('transform', 'scaleX(-1)');
21 height: _size(element-height) / 1.375;
22 line-height: _size(element-height) / 1.375;
28 width: _size(element-height) / 1.375;
32 padding-right: _size(element-height);
40 @include vendor('flex-grow', '0');
41 @include vendor('flex-shrink', '0');
42 @include vendor('transition', (
43 'margin-left 0.5s ease',
44 'box-shadow 0.5s ease'
46 background-color: _palette(bg-alt);
49 width: _size(sidebar-width);
52 font-size: (1.25em / 0.9);
56 @include padding($pad, $pad, (0, 0, $pad, 0));
58 width: _size(sidebar-width);
61 border-bottom: solid 2px _palette(border);
62 margin: 0 0 (_size(element-margin) * 1.75) 0;
63 padding: 0 0 (_size(element-margin) * 1.75) 0;
77 background-color: darken(_palette(bg-alt), 2);
79 margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
81 width: calc(100% + #{$pad * 2});
87 @include vendor('transition', 'left 0.5s ease');
88 -webkit-tap-highlight-color: rgba(255,255,255,0);
92 left: _size(sidebar-width);
101 z-index: _misc(z-index-base);
108 line-height: inherit;
117 margin-left: (_size(sidebar-width) * -1);
120 @include breakpoint('<=xlarge') {
123 width: _size(sidebar-width-alt);
126 @include padding($pad, $pad, (0, 0, $pad, 0));
127 width: _size(sidebar-width-alt);
130 margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
132 width: calc(100% + #{$pad * 2});
138 left: _size(sidebar-width-alt);
149 margin-left: (_size(sidebar-width-alt) * -1);
153 @include breakpoint('<=large') {
154 box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
159 z-index: _misc(z-index-base);
166 -webkit-overflow-scrolling: touch;
188 margin-left: (-0.875em / 2);
197 @include breakpoint('<=small') {
204 margin-left: (-0.125em / 2);
205 margin-top: (-0.5em / 2);
211 background: transparentize(lighten(_palette(fg), 35), 0.25);
212 border-radius: _size(border-radius);