jekyll-theme-consulting 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_sass/layout/_sidebar.scss +167 -168
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bf4b9351f05d620f32acc3114414718b999661d
|
4
|
+
data.tar.gz: ece14cec43256d4bcb0373d8436bc20b070b447b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c70853e9ad65b7f78009ca900da82f46163003cd9fafb3f7c13b64a359dafe1dcc0df500377ffce42556807abc6b26a11f1dbf002afbb77c0016e77472a4783d
|
7
|
+
data.tar.gz: bef19d5a017a9911fac67e5319aebf96bd2c9a8f26b25c960f6dcb5f28dc497dfdaa0fc6526b594e7bd1ded12f606480d1a8cee55a8fb844550de79026d841ac
|
data/_sass/layout/_sidebar.scss
CHANGED
@@ -6,77 +6,128 @@
|
|
6
6
|
|
7
7
|
/* Sidebar */
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
#search {
|
10
|
+
form {
|
11
|
+
@include icon(false, solid);
|
12
|
+
position: relative;
|
13
|
+
margin-left: 4em;
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
15
|
+
&:before {
|
16
|
+
@include vendor('transform', 'scaleX(-1)');
|
17
|
+
color: _palette(fg);
|
18
|
+
content: '\f002';
|
19
|
+
cursor: default;
|
20
|
+
display: block;
|
21
|
+
font-size: 1.5em;
|
22
|
+
height: _size(element-height) / 1.375;
|
23
|
+
line-height: _size(element-height) / 1.375;
|
24
|
+
opacity: 0.325;
|
25
|
+
position: absolute;
|
26
|
+
right: 0;
|
27
|
+
text-align: center;
|
28
|
+
top: 0;
|
29
|
+
width: _size(element-height) / 1.375;
|
30
|
+
}
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
}
|
32
|
+
input[type="text"] {
|
33
|
+
padding-right: _size(element-height);
|
35
34
|
}
|
36
35
|
}
|
36
|
+
}
|
37
|
+
|
38
|
+
#sidebar {
|
39
|
+
$pad: 2em / 0.9;
|
40
|
+
|
41
|
+
@include vendor('flex-grow', '0');
|
42
|
+
@include vendor('flex-shrink', '0');
|
43
|
+
@include vendor('transition', (
|
44
|
+
'margin-left 0.5s ease',
|
45
|
+
'box-shadow 0.5s ease'
|
46
|
+
));
|
47
|
+
background-color: _palette(bg-alt);
|
48
|
+
font-size: 0.9em;
|
49
|
+
position: fixed;
|
50
|
+
width: _size(sidebar-width);
|
51
|
+
|
52
|
+
h2 {
|
53
|
+
font-size: (1.25em / 0.9);
|
54
|
+
}
|
37
55
|
|
38
|
-
|
39
|
-
$pad
|
40
|
-
|
41
|
-
@include vendor('flex-grow', '0');
|
42
|
-
@include vendor('flex-shrink', '0');
|
43
|
-
@include vendor('transition', (
|
44
|
-
'margin-left 0.5s ease',
|
45
|
-
'box-shadow 0.5s ease'
|
46
|
-
));
|
47
|
-
background-color: _palette(bg-alt);
|
48
|
-
font-size: 0.9em;
|
56
|
+
> .inner {
|
57
|
+
@include padding($pad, $pad, (0, 0, $pad, 0));
|
49
58
|
position: relative;
|
50
59
|
width: _size(sidebar-width);
|
51
60
|
|
52
|
-
|
53
|
-
|
61
|
+
> * {
|
62
|
+
border-bottom: solid 2px _palette(border);
|
63
|
+
margin: 0 0 (_size(element-margin) * 1.75) 0;
|
64
|
+
padding: 0 0 (_size(element-margin) * 1.75) 0;
|
65
|
+
|
66
|
+
> :last-child {
|
67
|
+
margin-bottom: 0;
|
68
|
+
}
|
69
|
+
|
70
|
+
&:last-child {
|
71
|
+
border-bottom: 0;
|
72
|
+
margin-bottom: 0;
|
73
|
+
padding-bottom: 0;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
> .alt {
|
78
|
+
background-color: darken(_palette(bg-alt), 2);
|
79
|
+
border-bottom: 0;
|
80
|
+
margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
|
81
|
+
padding: $pad;
|
82
|
+
width: calc(100% + #{$pad * 2});
|
54
83
|
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.toggle {
|
87
|
+
@include icon(false, solid);
|
88
|
+
@include vendor('transition', 'left 0.5s ease');
|
89
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
90
|
+
border: 0;
|
91
|
+
display: block;
|
92
|
+
height: 7.5em;
|
93
|
+
left: 0;
|
94
|
+
line-height: 7.5em;
|
95
|
+
outline: 0;
|
96
|
+
overflow: hidden;
|
97
|
+
position: fixed;
|
98
|
+
text-align: center;
|
99
|
+
text-indent: 7.5em;
|
100
|
+
top: 0;
|
101
|
+
width: 6em;
|
102
|
+
z-index: _misc(z-index-base);
|
103
|
+
|
104
|
+
&:before {
|
105
|
+
content: '\f0c9';
|
106
|
+
font-size: 2rem;
|
107
|
+
height: inherit;
|
108
|
+
left: 0;
|
109
|
+
line-height: inherit;
|
110
|
+
position: absolute;
|
111
|
+
text-indent: 0;
|
112
|
+
top: 0;
|
113
|
+
width: inherit;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&.inactive {
|
118
|
+
margin-left: (_size(sidebar-width) * -1);
|
119
|
+
}
|
120
|
+
|
121
|
+
@include breakpoint('<=xlarge') {
|
122
|
+
$pad: 1.5em / 0.9;
|
123
|
+
|
124
|
+
width: _size(sidebar-width-alt);
|
55
125
|
|
56
126
|
> .inner {
|
57
127
|
@include padding($pad, $pad, (0, 0, $pad, 0));
|
58
|
-
|
59
|
-
width: _size(sidebar-width);
|
60
|
-
|
61
|
-
> * {
|
62
|
-
border-bottom: solid 2px _palette(border);
|
63
|
-
margin: 0 0 (_size(element-margin) * 1.75) 0;
|
64
|
-
padding: 0 0 (_size(element-margin) * 1.75) 0;
|
65
|
-
|
66
|
-
> :last-child {
|
67
|
-
margin-bottom: 0;
|
68
|
-
}
|
69
|
-
|
70
|
-
&:last-child {
|
71
|
-
border-bottom: 0;
|
72
|
-
margin-bottom: 0;
|
73
|
-
padding-bottom: 0;
|
74
|
-
}
|
75
|
-
}
|
128
|
+
width: _size(sidebar-width-alt);
|
76
129
|
|
77
130
|
> .alt {
|
78
|
-
background-color: darken(_palette(bg-alt), 2);
|
79
|
-
border-bottom: 0;
|
80
131
|
margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
|
81
132
|
padding: $pad;
|
82
133
|
width: calc(100% + #{$pad * 2});
|
@@ -84,140 +135,88 @@
|
|
84
135
|
}
|
85
136
|
|
86
137
|
.toggle {
|
87
|
-
|
88
|
-
@include vendor('transition', 'left 0.5s ease');
|
89
|
-
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
90
|
-
border: 0;
|
91
|
-
display: block;
|
92
|
-
height: 7.5em;
|
138
|
+
height: 6.25em;
|
93
139
|
left: 0;
|
94
|
-
line-height:
|
95
|
-
|
96
|
-
|
97
|
-
position: fixed;
|
98
|
-
text-align: center;
|
99
|
-
text-indent: 7.5em;
|
100
|
-
top: 0;
|
101
|
-
width: 6em;
|
102
|
-
z-index: _misc(z-index-base);
|
140
|
+
line-height: 6.25em;
|
141
|
+
text-indent: 5em;
|
142
|
+
width: 5em;
|
103
143
|
|
104
144
|
&:before {
|
105
|
-
|
106
|
-
font-size: 2rem;
|
107
|
-
height: inherit;
|
108
|
-
left: 0;
|
109
|
-
line-height: inherit;
|
110
|
-
position: absolute;
|
111
|
-
text-indent: 0;
|
112
|
-
top: 0;
|
113
|
-
width: inherit;
|
145
|
+
font-size: 1.5rem;
|
114
146
|
}
|
115
147
|
}
|
116
148
|
|
117
149
|
&.inactive {
|
118
|
-
margin-left: (_size(sidebar-width) * -1);
|
150
|
+
margin-left: (_size(sidebar-width-alt) * -1);
|
119
151
|
}
|
152
|
+
}
|
120
153
|
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
@include padding($pad, $pad, (0, 0, $pad, 0));
|
128
|
-
width: _size(sidebar-width-alt);
|
129
|
-
|
130
|
-
> .alt {
|
131
|
-
margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
|
132
|
-
padding: $pad;
|
133
|
-
width: calc(100% + #{$pad * 2});
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
.toggle {
|
138
|
-
height: 6.25em;
|
139
|
-
left: 0;
|
140
|
-
line-height: 6.25em;
|
141
|
-
text-indent: 5em;
|
142
|
-
width: 5em;
|
143
|
-
|
144
|
-
&:before {
|
145
|
-
font-size: 1.5rem;
|
146
|
-
}
|
147
|
-
}
|
154
|
+
@include breakpoint('<=large') {
|
155
|
+
box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
|
156
|
+
height: 100%;
|
157
|
+
left: 0;
|
158
|
+
top: 0;
|
159
|
+
z-index: _misc(z-index-base);
|
148
160
|
|
149
|
-
|
150
|
-
|
151
|
-
}
|
161
|
+
&.inactive {
|
162
|
+
box-shadow: none;
|
152
163
|
}
|
153
164
|
|
154
|
-
|
155
|
-
|
165
|
+
> .inner {
|
166
|
+
-webkit-overflow-scrolling: touch;
|
156
167
|
height: 100%;
|
157
168
|
left: 0;
|
158
|
-
|
169
|
+
overflow-x: hidden;
|
170
|
+
overflow-y: auto;
|
171
|
+
position: absolute;
|
159
172
|
top: 0;
|
160
|
-
z-index: _misc(z-index-base);
|
161
173
|
|
162
|
-
|
163
|
-
|
174
|
+
&:after {
|
175
|
+
content: '';
|
176
|
+
display: block;
|
177
|
+
height: 4em;
|
178
|
+
width: 100%;
|
164
179
|
}
|
180
|
+
}
|
165
181
|
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
top: 0;
|
174
|
-
|
175
|
-
&:after {
|
176
|
-
content: '';
|
177
|
-
display: block;
|
178
|
-
height: 4em;
|
179
|
-
width: 100%;
|
180
|
-
}
|
182
|
+
.toggle {
|
183
|
+
text-indent: 6em;
|
184
|
+
width: 6em;
|
185
|
+
|
186
|
+
&:before {
|
187
|
+
font-size: 1.5rem;
|
188
|
+
margin-left: (-0.875em / 2);
|
181
189
|
}
|
190
|
+
}
|
182
191
|
|
183
|
-
|
184
|
-
|
185
|
-
|
192
|
+
body.is-preload & {
|
193
|
+
display: none;
|
194
|
+
}
|
195
|
+
}
|
186
196
|
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
}
|
197
|
+
@include breakpoint('<=small') {
|
198
|
+
.toggle {
|
199
|
+
text-indent: 7.25em;
|
200
|
+
width: 7.25em;
|
192
201
|
|
193
|
-
|
194
|
-
|
202
|
+
&:before {
|
203
|
+
color: _palette(fg);
|
204
|
+
margin-left: (-0.125em / 2);
|
205
|
+
margin-top: (-0.5em / 2);
|
206
|
+
font-size: 1.1rem;
|
207
|
+
z-index: 1;
|
195
208
|
}
|
196
|
-
}
|
197
209
|
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
font-size: 1.1rem;
|
208
|
-
z-index: 1;
|
209
|
-
}
|
210
|
-
|
211
|
-
&:after {
|
212
|
-
background: transparentize(lighten(_palette(fg), 35), 0.25);
|
213
|
-
border-radius: _size(border-radius);
|
214
|
-
content: '';
|
215
|
-
height: 3.5em;
|
216
|
-
left: 1em;
|
217
|
-
position: absolute;
|
218
|
-
top: 1em;
|
219
|
-
width: 5em;
|
220
|
-
}
|
210
|
+
&:after {
|
211
|
+
background: transparentize(lighten(_palette(fg), 35), 0.25);
|
212
|
+
border-radius: _size(border-radius);
|
213
|
+
content: '';
|
214
|
+
height: 3.5em;
|
215
|
+
left: 1em;
|
216
|
+
position: absolute;
|
217
|
+
top: 1em;
|
218
|
+
width: 5em;
|
221
219
|
}
|
222
220
|
}
|
223
|
-
}
|
221
|
+
}
|
222
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-consulting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Mougeolle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|