jekyll-theme-rop 2.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +1084 -0
- data/_config.yml +89 -0
- data/_data/placeholder.yml +0 -0
- data/_includes/_nav-item.html +38 -0
- data/_includes/_post-meta.html +24 -0
- data/_includes/external-link.html +59 -0
- data/_includes/featured_posts.html +11 -0
- data/_includes/featured_software.html +55 -0
- data/_includes/featured_specs.html +31 -0
- data/_includes/head.html +9 -0
- data/_includes/home-hero.html +27 -0
- data/_includes/home-hub.html +81 -0
- data/_includes/home-project.html +19 -0
- data/_includes/index-page-hero.html +3 -0
- data/_includes/index-page-item-filter.html +83 -0
- data/_includes/item-doc-page.html +138 -0
- data/_includes/item-external-links.html +5 -0
- data/_includes/legal.html +24 -0
- data/_includes/logo.html +1 -0
- data/_includes/nav-links.html +45 -0
- data/_includes/nav-page-link.html +17 -0
- data/_includes/post-author-pic.html +13 -0
- data/_includes/post-card.html +59 -0
- data/_includes/project-doc-page.html +0 -0
- data/_includes/project-nav.html +0 -0
- data/_includes/scripts.html +0 -0
- data/_includes/social-links.html +23 -0
- data/_includes/software-card-hub.html +45 -0
- data/_includes/software-symbol.html +6 -0
- data/_includes/symbol.svg +19 -0
- data/_includes/tag-list.html +17 -0
- data/_includes/title.html +1 -0
- data/_layouts/blog-index.html +19 -0
- data/_layouts/default.html +156 -0
- data/_layouts/docs-base.html +87 -0
- data/_layouts/home.html +13 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +57 -0
- data/_layouts/product.html +9 -0
- data/_layouts/project-index.html +45 -0
- data/_layouts/software-index.html +31 -0
- data/_layouts/spec-index.html +31 -0
- data/_layouts/spec.html +6 -0
- data/_pages/blog.html +8 -0
- data/_pages/software.html +6 -0
- data/_pages/specs.html +6 -0
- data/_sass/headroom.scss +22 -0
- data/_sass/jekyll-theme-open-project.scss +2 -0
- data/_sass/jekyll-theme-rop.scss +798 -0
- data/_sass/normalize.scss +424 -0
- data/_sass/rop-base.scss +572 -0
- data/_sass/rop-header-footer.scss +366 -0
- data/_sass/rop-mixins.scss +871 -0
- data/assets/css/style.scss +13 -0
- data/assets/fa/fa-brands.js +456 -0
- data/assets/fa/fa-solid.js +915 -0
- data/assets/fa/fontawesome.js +1805 -0
- data/assets/img/external-link.svg +4 -0
- data/assets/js/adoc-toc.js +175 -0
- data/assets/js/anchor-scroll.js +81 -0
- data/assets/js/clipboard.min.js +7 -0
- data/assets/js/headroom.min.js +7 -0
- data/assets/js/opf.js +289 -0
- data/assets/listing-widget.js +19 -0
- metadata +276 -0
@@ -0,0 +1,871 @@
|
|
1
|
+
@mixin tbd($color: red) {
|
2
|
+
position: relative;
|
3
|
+
padding: 0 .3em;
|
4
|
+
border: 1px dashed lighten($main-font-color, 70);
|
5
|
+
|
6
|
+
&:after {
|
7
|
+
position: absolute;
|
8
|
+
left: 100%;
|
9
|
+
content: "TBD";
|
10
|
+
color: lighten($main-font-color, 70);
|
11
|
+
font-size: .6em;
|
12
|
+
line-height: 1;
|
13
|
+
padding: .05em .4em;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@mixin wide-container() {
|
18
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
19
|
+
padding: 0 2em;
|
20
|
+
width: $bigscreen-breakpoint - $gutter * 8;
|
21
|
+
}
|
22
|
+
@media screen and (min-width: $widescreen-breakpoint) {
|
23
|
+
width: $widescreen-breakpoint - $gutter * 8;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
@mixin padded-code-snippet() {
|
28
|
+
padding: .2em .5em;
|
29
|
+
margin: 0 .2em;
|
30
|
+
|
31
|
+
font-size: 15px;
|
32
|
+
|
33
|
+
background: $code-listing-background-color;
|
34
|
+
|
35
|
+
border-color: $code-listing-border-color;
|
36
|
+
border-width: 0 1px 0 1px;
|
37
|
+
border-style: dashed;
|
38
|
+
border-radius: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
@mixin padded-code-snippet--reset() {
|
42
|
+
padding: 0;
|
43
|
+
margin: 0;
|
44
|
+
background: transparent;
|
45
|
+
border: 0;
|
46
|
+
border-radius: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
@mixin code-snippet-container() {
|
50
|
+
overflow-x: scroll;
|
51
|
+
overflow-y: hidden;
|
52
|
+
line-height: 1.2;
|
53
|
+
|
54
|
+
@include padded-code-snippet();
|
55
|
+
padding-top: .5em;
|
56
|
+
padding-bottom: .5em;
|
57
|
+
|
58
|
+
border-width: 0 0 0 1px;
|
59
|
+
border-radius: 0 .25em .25em 0;
|
60
|
+
|
61
|
+
margin-top: 1em;
|
62
|
+
margin-bottom: 1em;
|
63
|
+
|
64
|
+
margin-left: -.1em;
|
65
|
+
|
66
|
+
> code {
|
67
|
+
// Avoid bad formatting in case of <code> element nested
|
68
|
+
// inside a <pre>
|
69
|
+
@include padded-code-snippet--reset();
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
@mixin code-snippet() {
|
74
|
+
color: lighten($main-font-color, 24);
|
75
|
+
|
76
|
+
@include padded-code-snippet();
|
77
|
+
margin-top: -1px;
|
78
|
+
margin-bottom: -1px;
|
79
|
+
|
80
|
+
font-family: $font-family-source;
|
81
|
+
|
82
|
+
code {
|
83
|
+
// Avoid bad formatting in case of <code> elements nested
|
84
|
+
// into each other (possible with adoc output)
|
85
|
+
@include padded-code-snippet--reset();
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
@mixin cta-button($bgcolor, $color) {
|
90
|
+
font-weight: 800;
|
91
|
+
font-size: 18px;
|
92
|
+
padding: 12px 32px;
|
93
|
+
display: inline-block;
|
94
|
+
margin-right: 10px;
|
95
|
+
transition: box-shadow .2s ease-out;
|
96
|
+
|
97
|
+
.icon {
|
98
|
+
margin-right: 10px;
|
99
|
+
font-weight: 400;
|
100
|
+
position: relative;
|
101
|
+
top: 2px;
|
102
|
+
font-size: 120%;
|
103
|
+
}
|
104
|
+
|
105
|
+
&, &:link, &:visited {
|
106
|
+
color: $color;
|
107
|
+
background-color: $bgcolor;
|
108
|
+
}
|
109
|
+
|
110
|
+
&:hover {
|
111
|
+
box-shadow: 0 0 0 4px rgba(black, 0.2);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
@mixin cta-button-mini($bgcolor, $color) {
|
116
|
+
@include cta-button($bgcolor, $color);
|
117
|
+
font-size: 14px;
|
118
|
+
padding: 6px 16px;
|
119
|
+
}
|
120
|
+
|
121
|
+
@mixin hoverable-card($base-y, $base-blur, $color) {
|
122
|
+
$hovered-y: $base-y * 2;
|
123
|
+
$hovered-blur: $base-blur * 2;
|
124
|
+
|
125
|
+
box-shadow: 0px $base-y $base-blur $color;
|
126
|
+
|
127
|
+
transition: box-shadow .17s ease, transform .17s ease;
|
128
|
+
|
129
|
+
&:hover {
|
130
|
+
transform: translateY(-1px);
|
131
|
+
box-shadow: 0px $hovered-y $hovered-blur $color;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
@mixin reset-list() {
|
136
|
+
list-style: none;
|
137
|
+
margin: 0;
|
138
|
+
padding: 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
@mixin static-link-color($color) {
|
142
|
+
&:link, &:hover, &:visited {
|
143
|
+
color: $color;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
@mixin asciidoc-markup($highlight-color) {
|
148
|
+
|
149
|
+
h1, h2, h3, h4, h5, h6 {
|
150
|
+
// Header highlight when in-page navigation links are used
|
151
|
+
&.highlighted {
|
152
|
+
&:before {
|
153
|
+
content: "→";
|
154
|
+
margin-right: .5em;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
// Small text
|
160
|
+
span.small {
|
161
|
+
font-size: 80%;
|
162
|
+
}
|
163
|
+
|
164
|
+
// Callouts
|
165
|
+
.conum {
|
166
|
+
color: $primary-dark-color;
|
167
|
+
font-family: $font-family;
|
168
|
+
opacity: 0.7;
|
169
|
+
transition: opacity .4s ease-out;
|
170
|
+
|
171
|
+
&:hover {
|
172
|
+
opacity: 1;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
.colist {
|
176
|
+
ol {
|
177
|
+
list-style: none;
|
178
|
+
counter-reset: item;
|
179
|
+
padding-left: 1.5em;
|
180
|
+
|
181
|
+
li {
|
182
|
+
counter-increment: item;
|
183
|
+
display: flex;
|
184
|
+
flex-flow: row nowrap;
|
185
|
+
align-items: flex-start;
|
186
|
+
|
187
|
+
&:before {
|
188
|
+
margin-left: -1.5em;
|
189
|
+
flex-shrink: 0;
|
190
|
+
width: 1.75em;
|
191
|
+
height: 1.75em;
|
192
|
+
margin-right: .25em;
|
193
|
+
margin-top: -.1em;
|
194
|
+
|
195
|
+
border-radius: 100%;
|
196
|
+
padding: .1em;
|
197
|
+
line-height: 1.8;
|
198
|
+
|
199
|
+
content: counter(item);
|
200
|
+
font-size: 100%;
|
201
|
+
font-weight: bold;
|
202
|
+
text-align: center;
|
203
|
+
background-color: $primary-dark-color;
|
204
|
+
font-family: monospace;
|
205
|
+
color: white;
|
206
|
+
transform: scale(0.8);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
|
212
|
+
// Generic title
|
213
|
+
// Used for e.g. code listing headings and tip block labels
|
214
|
+
.title {
|
215
|
+
text-transform: uppercase;
|
216
|
+
font-size: 12px;
|
217
|
+
border-radius: .25em;
|
218
|
+
background-color: $main-font-color;
|
219
|
+
color: white;
|
220
|
+
font-weight: bold;
|
221
|
+
padding: .3em .6em;
|
222
|
+
}
|
223
|
+
|
224
|
+
// Blocks
|
225
|
+
|
226
|
+
.admonitionblock {
|
227
|
+
> table {
|
228
|
+
display: flex;
|
229
|
+
flex-flow: column nowrap;
|
230
|
+
|
231
|
+
tbody {
|
232
|
+
display: flex;
|
233
|
+
flex-flow: column nowrap;
|
234
|
+
|
235
|
+
tr {
|
236
|
+
display: flex;
|
237
|
+
flex-flow: column nowrap;
|
238
|
+
|
239
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
240
|
+
flex-flow: row nowrap;
|
241
|
+
}
|
242
|
+
|
243
|
+
td.content {
|
244
|
+
overflow-x: hidden;
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
.admonitionblock,
|
252
|
+
.listingblock {
|
253
|
+
margin: 1em 0;
|
254
|
+
}
|
255
|
+
|
256
|
+
.admonitionblock.warning {
|
257
|
+
td.icon .title {
|
258
|
+
background-color: $warning-color;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
.admonitionblock.important {
|
262
|
+
td.icon .title {
|
263
|
+
background-color: $important-color;
|
264
|
+
}
|
265
|
+
}
|
266
|
+
|
267
|
+
.imageblock {
|
268
|
+
.title {
|
269
|
+
background-color: $accent-color;
|
270
|
+
color: white;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
.listingblock {
|
275
|
+
display: flex;
|
276
|
+
flex-flow: column nowrap;
|
277
|
+
|
278
|
+
.title {
|
279
|
+
align-self: flex-start;
|
280
|
+
background-color: $code-listing-border-color;
|
281
|
+
color: white;
|
282
|
+
border-radius: 0;
|
283
|
+
}
|
284
|
+
|
285
|
+
.content {
|
286
|
+
align-self: stretch;
|
287
|
+
|
288
|
+
position: relative;
|
289
|
+
button.listing-clipboard-button {
|
290
|
+
position: absolute;
|
291
|
+
right: 0;
|
292
|
+
top: .25em;
|
293
|
+
padding: .3em .3em;
|
294
|
+
font-size: 80%;
|
295
|
+
transform: translateX(100%);
|
296
|
+
color: $code-listing-border-color;
|
297
|
+
background: $code-listing-background-color;
|
298
|
+
border: 0;
|
299
|
+
cursor: pointer;
|
300
|
+
}
|
301
|
+
|
302
|
+
pre {
|
303
|
+
margin: 0;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
.admonitionblock {
|
309
|
+
padding-left: .5em;
|
310
|
+
background-color: rgba(black, 0.03);
|
311
|
+
|
312
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
313
|
+
overflow-x: scroll;
|
314
|
+
}
|
315
|
+
|
316
|
+
> table:first-child {
|
317
|
+
margin-top: 0;
|
318
|
+
}
|
319
|
+
> table:last-child {
|
320
|
+
margin-bottom: 0;
|
321
|
+
}
|
322
|
+
|
323
|
+
td.icon {
|
324
|
+
vertical-align: top;
|
325
|
+
padding-left: 0;
|
326
|
+
font-size: 90%;
|
327
|
+
}
|
328
|
+
|
329
|
+
.title {
|
330
|
+
background-color: $primary-dark-color;
|
331
|
+
color: white;
|
332
|
+
}
|
333
|
+
|
334
|
+
.content {
|
335
|
+
font-size: 90%;
|
336
|
+
|
337
|
+
.title {
|
338
|
+
background: transparent;
|
339
|
+
color: $main-font-color;
|
340
|
+
padding-left: 0;
|
341
|
+
}
|
342
|
+
|
343
|
+
.listingblock pre {
|
344
|
+
font-size: 100%;
|
345
|
+
}
|
346
|
+
|
347
|
+
> div:first-child {
|
348
|
+
> :first-child {
|
349
|
+
margin-top: 0;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
> div:last-child {
|
353
|
+
> :last-child {
|
354
|
+
margin-bottom: 0;
|
355
|
+
}
|
356
|
+
&.ulist {
|
357
|
+
li:first-child > :first-child {
|
358
|
+
margin-top: 0;
|
359
|
+
}
|
360
|
+
li:last-child > :last-child {
|
361
|
+
margin-bottom: 0;
|
362
|
+
}
|
363
|
+
}
|
364
|
+
}
|
365
|
+
}
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
@mixin item-external-links($onDark: false) {
|
370
|
+
ul.nav-items {
|
371
|
+
@include reset-list();
|
372
|
+
}
|
373
|
+
|
374
|
+
> .nav-items > li {
|
375
|
+
flex-basis: 50%;
|
376
|
+
width: 50%;
|
377
|
+
max-width: 200px;
|
378
|
+
|
379
|
+
&:first-child {
|
380
|
+
a {
|
381
|
+
margin-left: 1px;
|
382
|
+
}
|
383
|
+
}
|
384
|
+
|
385
|
+
> a {
|
386
|
+
@if $onDark == true {
|
387
|
+
@include static-link-color(white);
|
388
|
+
background-color: rgba(black, 0.7);
|
389
|
+
} @else {
|
390
|
+
@include static-link-color(#444);
|
391
|
+
background-color: rgba(black, 0.08);
|
392
|
+
}
|
393
|
+
|
394
|
+
display: block;
|
395
|
+
font-weight: bold;
|
396
|
+
padding: .5em 1em .5em 1.5em;
|
397
|
+
|
398
|
+
margin: 1px 1px 1px 0;
|
399
|
+
|
400
|
+
display: flex;
|
401
|
+
flex-flow: row nowrap;
|
402
|
+
|
403
|
+
.lbl {
|
404
|
+
white-space: nowrap;
|
405
|
+
text-overflow: ellipsis;
|
406
|
+
overflow: hidden;
|
407
|
+
flex: 1;
|
408
|
+
}
|
409
|
+
.ico {
|
410
|
+
flex-shrink: 0;
|
411
|
+
width: 32px;
|
412
|
+
}
|
413
|
+
.ico-ext {
|
414
|
+
flex-shrink: 0;
|
415
|
+
text-align: right;
|
416
|
+
width: 32px;
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
&.featured {
|
421
|
+
> a {
|
422
|
+
@if $onDark == true {
|
423
|
+
@include static-link-color($primary-color);
|
424
|
+
background-color: white;
|
425
|
+
} @else {
|
426
|
+
@include static-link-color(white);
|
427
|
+
background-color: $primary-dark-color;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
}
|
431
|
+
}
|
432
|
+
}
|
433
|
+
|
434
|
+
@mixin item-nav-toc() {
|
435
|
+
// Used for ToC on software item’s landing and elsewhere,
|
436
|
+
// (though not in docs sidebar)
|
437
|
+
|
438
|
+
ul.nav-items {
|
439
|
+
@include reset-list;
|
440
|
+
font-size: 15px;
|
441
|
+
}
|
442
|
+
|
443
|
+
> ul.nav-items > li {
|
444
|
+
> .item-title {
|
445
|
+
font-size: 18px;
|
446
|
+
font-weight: bold;
|
447
|
+
margin: 0;
|
448
|
+
line-height: 1.8;
|
449
|
+
}
|
450
|
+
ul {
|
451
|
+
line-height: 2;
|
452
|
+
}
|
453
|
+
}
|
454
|
+
}
|
455
|
+
|
456
|
+
@mixin docs-page($primary-dark-color) {
|
457
|
+
.leaflet-pane {
|
458
|
+
// To ensure leaflet does not obscure navigation sidebar
|
459
|
+
z-index: 3;
|
460
|
+
}
|
461
|
+
.leaflet-top, .leaflet-bottom {
|
462
|
+
// To ensure leaflet buttons get covered by expandable top menu
|
463
|
+
z-index: 5;
|
464
|
+
}
|
465
|
+
|
466
|
+
> header.documentation-header,
|
467
|
+
> section.documentation {
|
468
|
+
align-self: stretch;
|
469
|
+
width: auto;
|
470
|
+
}
|
471
|
+
|
472
|
+
> header.documentation-header {
|
473
|
+
display: flex;
|
474
|
+
flex-flow: row nowrap;
|
475
|
+
align-items: center;
|
476
|
+
padding: 0 0 0 2em;
|
477
|
+
position: fixed;
|
478
|
+
right: 0;
|
479
|
+
z-index: 4;
|
480
|
+
|
481
|
+
transition: background .1s linear, border-bottom .1s linear, transform .1s linear;
|
482
|
+
|
483
|
+
.nav-header {
|
484
|
+
padding: 10px 2em 10px 2em;
|
485
|
+
display: flex;
|
486
|
+
flex-flow: row nowrap;
|
487
|
+
align-items: center;
|
488
|
+
transition: background .6s $easeOutCirc;
|
489
|
+
|
490
|
+
.title {
|
491
|
+
white-space: nowrap;
|
492
|
+
line-height: 1;
|
493
|
+
font-weight: normal;
|
494
|
+
font-size: 15px;
|
495
|
+
text-transform: uppercase;
|
496
|
+
letter-spacing: 0.08em;
|
497
|
+
|
498
|
+
a {
|
499
|
+
@include static-link-color(#444);
|
500
|
+
}
|
501
|
+
|
502
|
+
.nav-toggle-icon {
|
503
|
+
cursor: pointer;
|
504
|
+
}
|
505
|
+
}
|
506
|
+
|
507
|
+
.logo-container {
|
508
|
+
$logoSize: 32px;
|
509
|
+
|
510
|
+
margin-right: 10px;
|
511
|
+
height: $logoSize;
|
512
|
+
width: $logoSize;
|
513
|
+
|
514
|
+
.logo > :only-child {
|
515
|
+
width: $logoSize;
|
516
|
+
height: $logoSize;
|
517
|
+
}
|
518
|
+
}
|
519
|
+
|
520
|
+
.nav-toggle-icon {
|
521
|
+
margin-left: 1em;
|
522
|
+
|
523
|
+
> .close { display: none; }
|
524
|
+
> .open { display: block; }
|
525
|
+
}
|
526
|
+
}
|
527
|
+
|
528
|
+
&.nav-expanded {
|
529
|
+
.nav-header {
|
530
|
+
background-color: #f7f7f7;
|
531
|
+
}
|
532
|
+
.nav-header .nav-toggle-icon {
|
533
|
+
> .open { display: none; }
|
534
|
+
> .close { display: block; }
|
535
|
+
}
|
536
|
+
}
|
537
|
+
|
538
|
+
.item-type {
|
539
|
+
display: none;
|
540
|
+
margin-right: 10px;
|
541
|
+
}
|
542
|
+
|
543
|
+
&.headroom--not-top {
|
544
|
+
background: rgba(white, 0.9);
|
545
|
+
box-shadow: rbga(white, 0.9) 0 20px 30px;
|
546
|
+
}
|
547
|
+
|
548
|
+
&.unpinned {
|
549
|
+
.item-type, .subsection {
|
550
|
+
display: inline-block;
|
551
|
+
}
|
552
|
+
}
|
553
|
+
}
|
554
|
+
|
555
|
+
> section.documentation {
|
556
|
+
flex: 1;
|
557
|
+
|
558
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
559
|
+
display: flex;
|
560
|
+
flex-flow: column nowrap;
|
561
|
+
}
|
562
|
+
|
563
|
+
overflow-x: auto; // on narrow screens, code snippets & tables may overflow width
|
564
|
+
|
565
|
+
.docs-nav {
|
566
|
+
$navFlexShare: 20%;
|
567
|
+
|
568
|
+
background: transparent;
|
569
|
+
flex-basis: 20%;
|
570
|
+
|
571
|
+
transition: flex-basis .6s $easeOutCirc;
|
572
|
+
|
573
|
+
> section {
|
574
|
+
margin-bottom: 15px;
|
575
|
+
}
|
576
|
+
|
577
|
+
// New style: Nav with nested items
|
578
|
+
> ul.nav-items {
|
579
|
+
$sidePadding: 1em;
|
580
|
+
|
581
|
+
@include reset-list;
|
582
|
+
|
583
|
+
position: fixed;
|
584
|
+
overflow-y: auto;
|
585
|
+
bottom: 0;
|
586
|
+
right: 0;
|
587
|
+
left: 0;
|
588
|
+
|
589
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
590
|
+
left: unset;
|
591
|
+
}
|
592
|
+
|
593
|
+
padding: .75em $sidePadding;
|
594
|
+
|
595
|
+
z-index: 5;
|
596
|
+
background: #f7f7f7;
|
597
|
+
box-shadow: rgba(black, 0.7) -30px 0px 60px -60px;
|
598
|
+
|
599
|
+
transition:
|
600
|
+
// Collapsing of header when scrolling (w/headroom):
|
601
|
+
top .1s linear,
|
602
|
+
// Toggling sidebar open/closed
|
603
|
+
transform .6s $easeOutCirc,
|
604
|
+
opacity .6s $easeOutCirc,
|
605
|
+
box-shadow .6s $easeOutCirc;
|
606
|
+
|
607
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
608
|
+
max-width: calc(#{$navFlexShare} - #{$sidePadding});
|
609
|
+
}
|
610
|
+
|
611
|
+
li {
|
612
|
+
font-size: 15px;
|
613
|
+
font-weight: normal;
|
614
|
+
|
615
|
+
> .item-title {
|
616
|
+
white-space: nowrap;
|
617
|
+
overflow: hidden;
|
618
|
+
text-overflow: ellipsis;
|
619
|
+
}
|
620
|
+
|
621
|
+
&.selected {
|
622
|
+
> .item-title {
|
623
|
+
background-color: #f0f0f0;
|
624
|
+
margin-left: -2em;
|
625
|
+
padding-left: 2em;
|
626
|
+
}
|
627
|
+
|
628
|
+
span {
|
629
|
+
font-weight: bold;
|
630
|
+
}
|
631
|
+
}
|
632
|
+
a { @include static-link-color(#444); }
|
633
|
+
}
|
634
|
+
|
635
|
+
> li {
|
636
|
+
> .item-title {
|
637
|
+
font-size: 20px;
|
638
|
+
margin: 0;
|
639
|
+
line-height: 1.8;
|
640
|
+
}
|
641
|
+
> ul {
|
642
|
+
margin-left: .75em;
|
643
|
+
padding-left: 0;
|
644
|
+
line-height: 2;
|
645
|
+
margin-bottom: .5em;
|
646
|
+
}
|
647
|
+
|
648
|
+
ul {
|
649
|
+
margin-left: 1.25em;
|
650
|
+
padding-left: 0;
|
651
|
+
}
|
652
|
+
|
653
|
+
ul.in-page-toc {
|
654
|
+
padding: .25em .25em .25em0;
|
655
|
+
margin-left: 0;
|
656
|
+
margin-bottom: .5em;
|
657
|
+
border-radius: 0 0 0 1em;
|
658
|
+
|
659
|
+
&, ul {
|
660
|
+
list-style: none;
|
661
|
+
}
|
662
|
+
ul {
|
663
|
+
padding: 0;
|
664
|
+
}
|
665
|
+
li {
|
666
|
+
font-size: 13px;
|
667
|
+
line-height: 1.5;
|
668
|
+
|
669
|
+
&.highlighted > .item-title {
|
670
|
+
a:link, a:visited {
|
671
|
+
font-weight: bold;
|
672
|
+
}
|
673
|
+
}
|
674
|
+
}
|
675
|
+
}
|
676
|
+
}
|
677
|
+
}
|
678
|
+
}
|
679
|
+
|
680
|
+
> article {
|
681
|
+
@extend .main-article;
|
682
|
+
|
683
|
+
.body {
|
684
|
+
font-size: 17px;
|
685
|
+
line-height: 1.6;
|
686
|
+
}
|
687
|
+
|
688
|
+
margin: 0 auto;
|
689
|
+
flex: 1;
|
690
|
+
|
691
|
+
background: white;
|
692
|
+
z-index: 1;
|
693
|
+
|
694
|
+
> header, > footer {
|
695
|
+
[role=toolbar] {
|
696
|
+
line-height: 1;
|
697
|
+
|
698
|
+
button, a {
|
699
|
+
border: 0;
|
700
|
+
padding: 0;
|
701
|
+
margin-right: 1em;
|
702
|
+
|
703
|
+
font-family: inherit;
|
704
|
+
font-size: 80%;
|
705
|
+
font-weight: bold;
|
706
|
+
|
707
|
+
background: white;
|
708
|
+
color: $primary-dark-color;
|
709
|
+
cursor: pointer;
|
710
|
+
|
711
|
+
text-decoration: none;
|
712
|
+
|
713
|
+
&:last-child {
|
714
|
+
margin-right: 0;
|
715
|
+
}
|
716
|
+
|
717
|
+
.ico-ext {
|
718
|
+
margin-left: .5em;
|
719
|
+
}
|
720
|
+
}
|
721
|
+
}
|
722
|
+
}
|
723
|
+
|
724
|
+
> header {
|
725
|
+
> [role=toolbar] {
|
726
|
+
margin-top: -2em;
|
727
|
+
margin-bottom: 4em;
|
728
|
+
}
|
729
|
+
> .title {
|
730
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
731
|
+
display: flex;
|
732
|
+
flex-flow: row nowrap;
|
733
|
+
}
|
734
|
+
|
735
|
+
padding-top: 70px;
|
736
|
+
|
737
|
+
> .logo-container {
|
738
|
+
margin-right: 22px;
|
739
|
+
|
740
|
+
> :only-child {
|
741
|
+
width: 58px;
|
742
|
+
height: 58px;
|
743
|
+
}
|
744
|
+
}
|
745
|
+
|
746
|
+
.text {
|
747
|
+
flex: 1;
|
748
|
+
font-size: 36px;
|
749
|
+
|
750
|
+
margin: 0;
|
751
|
+
font-weight: 500;
|
752
|
+
}
|
753
|
+
}
|
754
|
+
.lead {
|
755
|
+
font-weight: normal;
|
756
|
+
font-size: 20px;
|
757
|
+
}
|
758
|
+
}
|
759
|
+
|
760
|
+
> .body {
|
761
|
+
@include asciidoc-markup($primary-dark-color);
|
762
|
+
}
|
763
|
+
}
|
764
|
+
|
765
|
+
.docs-nav,
|
766
|
+
&.docs-landing > article > header {
|
767
|
+
.external-links {
|
768
|
+
@include item-external-links();
|
769
|
+
}
|
770
|
+
}
|
771
|
+
|
772
|
+
.docs-nav {
|
773
|
+
.external-links {
|
774
|
+
margin-bottom: .5em;
|
775
|
+
|
776
|
+
> .nav-items > li {
|
777
|
+
flex-basis: unset;
|
778
|
+
width: 100%;
|
779
|
+
a {
|
780
|
+
padding: 0;
|
781
|
+
background: none;
|
782
|
+
}
|
783
|
+
&.featured {
|
784
|
+
a {
|
785
|
+
background: none;
|
786
|
+
@include static-link-color($main-font-color);
|
787
|
+
}
|
788
|
+
}
|
789
|
+
}
|
790
|
+
}
|
791
|
+
}
|
792
|
+
|
793
|
+
&.docs-landing > article {
|
794
|
+
> header {
|
795
|
+
.external-links {
|
796
|
+
margin-bottom: 2em;
|
797
|
+
|
798
|
+
> .nav-items > li {
|
799
|
+
width: unset;
|
800
|
+
}
|
801
|
+
}
|
802
|
+
> .title {
|
803
|
+
border-bottom-width: 0;
|
804
|
+
padding-bottom: 0;
|
805
|
+
}
|
806
|
+
}
|
807
|
+
|
808
|
+
@include item-nav-toc();
|
809
|
+
}
|
810
|
+
|
811
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
812
|
+
flex-flow: row nowrap;
|
813
|
+
flex-direction: row-reverse;
|
814
|
+
|
815
|
+
> article {
|
816
|
+
flex: 2;
|
817
|
+
}
|
818
|
+
|
819
|
+
> .docs-nav {
|
820
|
+
padding: 70px 0 0 0;
|
821
|
+
}
|
822
|
+
|
823
|
+
&.docs-landing {
|
824
|
+
flex-direction: column-reverse;
|
825
|
+
|
826
|
+
> article {
|
827
|
+
border-left-width: 0;
|
828
|
+
|
829
|
+
.external-links {
|
830
|
+
> .nav-items {
|
831
|
+
display: flex;
|
832
|
+
flex-flow: row wrap;
|
833
|
+
}
|
834
|
+
}
|
835
|
+
|
836
|
+
> header,
|
837
|
+
> .body {
|
838
|
+
margin-left: 0;
|
839
|
+
}
|
840
|
+
|
841
|
+
@media screen and (min-width: $bigscreen-breakpoint) {
|
842
|
+
> .body {
|
843
|
+
padding-top: 20px;
|
844
|
+
}
|
845
|
+
}
|
846
|
+
}
|
847
|
+
}
|
848
|
+
|
849
|
+
&.with-collapsed-toc {
|
850
|
+
> article {
|
851
|
+
> header, > .body {
|
852
|
+
margin-right: 0;
|
853
|
+
}
|
854
|
+
}
|
855
|
+
}
|
856
|
+
}
|
857
|
+
|
858
|
+
&.with-collapsed-toc {
|
859
|
+
position: relative;
|
860
|
+
|
861
|
+
> .docs-nav {
|
862
|
+
flex-basis: 0;
|
863
|
+
|
864
|
+
.nav-items {
|
865
|
+
transform: translateX(100%);
|
866
|
+
opacity: 0;
|
867
|
+
}
|
868
|
+
}
|
869
|
+
}
|
870
|
+
}
|
871
|
+
}
|