o2c-opendoc-theme 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +2 -0
- data/_includes/directory.html +127 -0
- data/_includes/document-title.txt +57 -0
- data/_includes/toc.html +127 -0
- data/_includes/toolbar.html +68 -0
- data/_includes/welcome.html +5 -0
- data/_layouts/default.html +147 -0
- data/_layouts/home.html +4 -0
- data/_layouts/iframe.html +13 -0
- data/_layouts/page.html +4 -0
- data/_layouts/print.html +27 -0
- data/_sass/_base.scss +398 -0
- data/_sass/_constants.scss +87 -0
- data/_sass/_iframe.scss +7 -0
- data/_sass/_layout.scss +419 -0
- data/_sass/_nav.scss +592 -0
- data/_sass/_print.scss +70 -0
- data/_sass/_syntax-highlighting.scss +61 -0
- data/_sass/_toolbar.scss +372 -0
- data/_sass/_welcome.scss +41 -0
- data/assets/export.md +30 -0
- data/assets/images/chevron-up-white.svg +1 -0
- data/assets/images/chevron-up.svg +1 -0
- data/assets/images/close.svg +17 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/feedback-hover.svg +3 -0
- data/assets/images/feedback-mobile.svg +1 -0
- data/assets/images/feedback.svg +1 -0
- data/assets/images/github-hover.svg +3 -0
- data/assets/images/github.svg +1 -0
- data/assets/images/home.svg +14 -0
- data/assets/images/index-img.png +0 -0
- data/assets/images/logo-order2cash.svg +65 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/menu.svg +1 -0
- data/assets/images/opendoc-logo-full.svg +10 -0
- data/assets/images/pdf-hover.svg +11 -0
- data/assets/images/pdf.svg +9 -0
- data/assets/images/search-icon-dark.svg +19 -0
- data/assets/images/search-icon-white.svg +12 -0
- data/assets/images/share.svg +1 -0
- data/assets/images/sidebar-hover.svg +3 -0
- data/assets/images/sidebar.svg +1 -0
- data/assets/images/vertical-dots.svg +1 -0
- data/assets/images/x-mobile.svg +1 -0
- data/assets/index.html +5 -0
- data/assets/js/banner.js +20 -0
- data/assets/js/google_analytics.js +11 -0
- data/assets/js/header.js +31 -0
- data/assets/js/helpers.js +24 -0
- data/assets/js/lunr.min.js +6 -0
- data/assets/js/navigation.js +214 -0
- data/assets/js/page-index.js +57 -0
- data/assets/js/pqueue.js +373 -0
- data/assets/js/pre-loader.js +43 -0
- data/assets/js/search.js +580 -0
- data/assets/js/toolbar.js +144 -0
- data/assets/pdfs/empty +0 -0
- data/assets/siteIndex.json +56 -0
- data/assets/startup/build.sh +41 -0
- data/assets/startup/docprint.html +20 -0
- data/assets/startup/pdf-gen.js +397 -0
- data/assets/startup/prebuild-lunr-index.js +52 -0
- data/assets/styles/main.scss +13 -0
- data/assets/styles/normalize.css +427 -0
- data/assets/vendor/babel-polyfill.min.js +3 -0
- data/assets/vendor/dom4.js +2 -0
- data/assets/vendor/fetch.umd.js +531 -0
- data/assets/vendor/headroom.min.js +7 -0
- data/assets/vendor/jump.min.js +2 -0
- data/assets/vendor/mark.min.js +7 -0
- data/assets/vendor/popper.min.js +5 -0
- data/assets/vendor/web-share-shim.bundle.min.js +2 -0
- metadata +159 -0
data/_layouts/home.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
<head>
|
2
|
+
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,600" rel="stylesheet" type="text/css">
|
3
|
+
<link href="https://fonts.googleapis.com/css?family=Noto+Serif:400,700" rel="stylesheet" type="text/css">
|
4
|
+
<link href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700" rel="stylesheet" type="text/css">
|
5
|
+
<link rel="stylesheet" href="{{ '/assets/styles/normalize.css' | relative_url }}">
|
6
|
+
<link rel="stylesheet" href="{{ '/assets/styles/main.css' | relative_url }}">
|
7
|
+
</head>
|
8
|
+
|
9
|
+
<body>
|
10
|
+
<div class="site-main" style="top: 0; left: 0; padding: 0">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
</body>
|
data/_layouts/page.html
ADDED
data/_layouts/print.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
<!-- layout for print export.html -->
|
4
|
+
<!DOCTYPE html>
|
5
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
6
|
+
|
7
|
+
<head>
|
8
|
+
<meta charset="utf-8">
|
9
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
11
|
+
<link rel="icon" href="./assets/images/favicon.ico">
|
12
|
+
<link rel="stylesheet" href="./assets/styles/normalize.css">
|
13
|
+
<link rel="stylesheet" href="./assets/styles/main.css">
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body class="print-content">
|
17
|
+
<section class="description">
|
18
|
+
<img class="description-logo" src="{{ '.' | append: site.styling_options.logo_path }}">
|
19
|
+
<div class="description-title">{{ site.title }}</div>
|
20
|
+
</section>
|
21
|
+
|
22
|
+
<div class="site-main" aria-label="Content" >
|
23
|
+
{{ content }}
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
|
27
|
+
</html>
|
data/_sass/_base.scss
ADDED
@@ -0,0 +1,398 @@
|
|
1
|
+
// Implementation
|
2
|
+
// ============================================================================
|
3
|
+
@mixin desktop-screen() {
|
4
|
+
@media (min-width: $desktop-screen-breakpoint) {
|
5
|
+
@content;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
@mixin large-screen() {
|
9
|
+
@media (min-width: $large-screen-breakpoint) {
|
10
|
+
@content;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin mobile-screen() {
|
15
|
+
@media (max-width: 991.999px) {
|
16
|
+
@content;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@mixin mobile-only($display: block) {
|
21
|
+
display: $display;
|
22
|
+
@include desktop-screen {
|
23
|
+
display: none;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
@mixin desktop-only($display: block) {
|
28
|
+
display: $display;
|
29
|
+
@include mobile-screen {
|
30
|
+
display: none;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
@mixin flex-center() {
|
35
|
+
display: flex;
|
36
|
+
justify-content: center;
|
37
|
+
align-items: center;
|
38
|
+
}
|
39
|
+
|
40
|
+
// Typography Defaults
|
41
|
+
// -------------------
|
42
|
+
body {
|
43
|
+
background-color: $base-background-color;
|
44
|
+
color: $primary-text-color;
|
45
|
+
font-family: $base-font-family;
|
46
|
+
font-size: $base-font-size;
|
47
|
+
font-weight: $base-font-weight;
|
48
|
+
line-height: $base-line-height;
|
49
|
+
word-wrap: break-word;
|
50
|
+
}
|
51
|
+
|
52
|
+
// Headers
|
53
|
+
// -------
|
54
|
+
h1,
|
55
|
+
h2,
|
56
|
+
h3,
|
57
|
+
h4,
|
58
|
+
h5,
|
59
|
+
h6 {
|
60
|
+
font-family: $header-font-family;
|
61
|
+
margin-top: 0;
|
62
|
+
margin-bottom: 2rem;
|
63
|
+
font-weight: 700;
|
64
|
+
color: $header-text-color;
|
65
|
+
}
|
66
|
+
|
67
|
+
h1 {
|
68
|
+
font-size: 34px;
|
69
|
+
line-height: 1.25;
|
70
|
+
letter-spacing: -0.5px;
|
71
|
+
}
|
72
|
+
h2 {
|
73
|
+
font-size: 28px;
|
74
|
+
line-height: 1.22;
|
75
|
+
letter-spacing: 0;
|
76
|
+
}
|
77
|
+
h3 {
|
78
|
+
font-size: 24px;
|
79
|
+
line-height: 1.5;
|
80
|
+
letter-spacing: 0;
|
81
|
+
}
|
82
|
+
h4 {
|
83
|
+
font-size: 20px;
|
84
|
+
line-height: 1.5;
|
85
|
+
letter-spacing: 0;
|
86
|
+
}
|
87
|
+
h5 {
|
88
|
+
font-size: 20px;
|
89
|
+
line-height: 1.5;
|
90
|
+
letter-spacing: 0;
|
91
|
+
}
|
92
|
+
h6 {
|
93
|
+
font-size: 20px;
|
94
|
+
line-height: 1.5;
|
95
|
+
letter-spacing: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
// For text directly under a h1 heading
|
99
|
+
// h1 + p {
|
100
|
+
// font-size: 20px;
|
101
|
+
// }
|
102
|
+
|
103
|
+
@include mobile-screen {
|
104
|
+
body {
|
105
|
+
font-size: $mobile-font-size;
|
106
|
+
}
|
107
|
+
h1 {
|
108
|
+
font-size: 30px;
|
109
|
+
line-height: 1.25;
|
110
|
+
letter-spacing: -0.5px;
|
111
|
+
}
|
112
|
+
h2 {
|
113
|
+
font-size: 24px;
|
114
|
+
line-height: 1.22;
|
115
|
+
letter-spacing: 0;
|
116
|
+
}
|
117
|
+
h3 {
|
118
|
+
font-size: 20px;
|
119
|
+
line-height: 1.5;
|
120
|
+
letter-spacing: 0;
|
121
|
+
}
|
122
|
+
h4 {
|
123
|
+
font-size: 18px;
|
124
|
+
line-height: 1.5;
|
125
|
+
letter-spacing: 0;
|
126
|
+
}
|
127
|
+
h5 {
|
128
|
+
font-size: 18px;
|
129
|
+
line-height: 1.5;
|
130
|
+
letter-spacing: 0;
|
131
|
+
}
|
132
|
+
h6 {
|
133
|
+
font-size: 18px;
|
134
|
+
line-height: 1.5;
|
135
|
+
letter-spacing: 0;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
// Blocks
|
140
|
+
// ------
|
141
|
+
blockquote,
|
142
|
+
figure,
|
143
|
+
p,
|
144
|
+
pre {
|
145
|
+
margin-bottom: $block-spacing;
|
146
|
+
}
|
147
|
+
|
148
|
+
blockquote {
|
149
|
+
margin-inline-end: 0;
|
150
|
+
@include mobile-screen() {
|
151
|
+
margin-inline-start: 20px;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
// Lists
|
156
|
+
// -----
|
157
|
+
dl {
|
158
|
+
list-style: none;
|
159
|
+
}
|
160
|
+
ol,
|
161
|
+
ul {
|
162
|
+
padding-left: 2em;
|
163
|
+
}
|
164
|
+
dl {
|
165
|
+
padding-left: 0;
|
166
|
+
}
|
167
|
+
ol,
|
168
|
+
ul,
|
169
|
+
dl {
|
170
|
+
margin-bottom: $block-spacing;
|
171
|
+
ol,
|
172
|
+
ul,
|
173
|
+
dl {
|
174
|
+
margin: $item-spacing 0 $item-spacing 2em;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
li,
|
178
|
+
dt,
|
179
|
+
dd {
|
180
|
+
margin-bottom: $item-spacing;
|
181
|
+
}
|
182
|
+
dd + dt {
|
183
|
+
margin-top: $block-spacing;
|
184
|
+
}
|
185
|
+
|
186
|
+
// indentations
|
187
|
+
// this is a hack to allow users to create custom lists and indent text
|
188
|
+
ul[type="*"] {
|
189
|
+
list-style-type: none;
|
190
|
+
}
|
191
|
+
|
192
|
+
// Code
|
193
|
+
// ----
|
194
|
+
pre {
|
195
|
+
// Box
|
196
|
+
padding: $item-spacing;
|
197
|
+
margin: $item-spacing * 2 0;
|
198
|
+
// Layout
|
199
|
+
font-size: 90%;
|
200
|
+
white-space: pre-wrap;
|
201
|
+
word-wrap: break-word;
|
202
|
+
// Appearance
|
203
|
+
background: $well-background-color;
|
204
|
+
border-radius: $base-border-radius;
|
205
|
+
}
|
206
|
+
|
207
|
+
pre > code {
|
208
|
+
display: block;
|
209
|
+
font-family: $mono-font-family;
|
210
|
+
padding: $base-vertical-padding $base-horizontal-padding;
|
211
|
+
margin: 0;
|
212
|
+
}
|
213
|
+
|
214
|
+
// Tables
|
215
|
+
// ------
|
216
|
+
table {
|
217
|
+
box-sizing: border-box;
|
218
|
+
width: 100%;
|
219
|
+
margin-bottom: $block-spacing;
|
220
|
+
}
|
221
|
+
th,
|
222
|
+
td {
|
223
|
+
padding: $base-vertical-padding $base-horizontal-padding/2;
|
224
|
+
text-align: left;
|
225
|
+
border-bottom: 1px solid $divider-color;
|
226
|
+
border-right: 1px solid $divider-color;
|
227
|
+
}
|
228
|
+
th:first-child,
|
229
|
+
td:first-child {
|
230
|
+
padding-left: 0;
|
231
|
+
}
|
232
|
+
th:last-child,
|
233
|
+
td:last-child {
|
234
|
+
padding-right: 0;
|
235
|
+
border-right: 0;
|
236
|
+
}
|
237
|
+
|
238
|
+
// Links
|
239
|
+
// -----
|
240
|
+
a {
|
241
|
+
text-decoration: none;
|
242
|
+
&:hover {
|
243
|
+
text-decoration: underline;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
// Forms
|
248
|
+
// -----
|
249
|
+
form {
|
250
|
+
margin-bottom: $block-spacing;
|
251
|
+
}
|
252
|
+
// Common Input Box Design
|
253
|
+
input[type="email"],
|
254
|
+
input[type="number"],
|
255
|
+
input[type="search"],
|
256
|
+
input[type="text"],
|
257
|
+
input[type="tel"],
|
258
|
+
input[type="url"],
|
259
|
+
input[type="password"],
|
260
|
+
textarea,
|
261
|
+
select {
|
262
|
+
// Box
|
263
|
+
box-sizing: border-box;
|
264
|
+
height: 2em;
|
265
|
+
padding: $base-vertical-padding $base-horizontal-padding;
|
266
|
+
border: 1px solid $divider-color;
|
267
|
+
// Appearance
|
268
|
+
background-color: transparent;
|
269
|
+
border-radius: $base-border-radius;
|
270
|
+
box-shadow: none;
|
271
|
+
}
|
272
|
+
// Block Inputs
|
273
|
+
textarea,
|
274
|
+
input,
|
275
|
+
select,
|
276
|
+
legend,
|
277
|
+
fieldset {
|
278
|
+
margin-bottom: $item-spacing;
|
279
|
+
}
|
280
|
+
// Specific Element Tweaks
|
281
|
+
fieldset {
|
282
|
+
padding: 0;
|
283
|
+
border: none;
|
284
|
+
}
|
285
|
+
legend {
|
286
|
+
display: block;
|
287
|
+
}
|
288
|
+
textarea {
|
289
|
+
display: block;
|
290
|
+
min-height: 5em;
|
291
|
+
}
|
292
|
+
// Removes awkward default styles on some inputs for iOS
|
293
|
+
input[type="email"],
|
294
|
+
input[type="number"],
|
295
|
+
input[type="search"],
|
296
|
+
input[type="text"],
|
297
|
+
input[type="tel"],
|
298
|
+
input[type="url"],
|
299
|
+
input[type="password"],
|
300
|
+
textarea {
|
301
|
+
-webkit-appearance: none;
|
302
|
+
-moz-appearance: none;
|
303
|
+
appearance: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
// Buttons
|
307
|
+
// -------
|
308
|
+
button,
|
309
|
+
input[type="submit"],
|
310
|
+
input[type="reset"],
|
311
|
+
input[type="button"] {
|
312
|
+
// Box
|
313
|
+
display: inline-block;
|
314
|
+
padding: calc(#{$base-vertical-padding} * 1.5) calc(#{$base-horizontal-padding} * 2);
|
315
|
+
margin-bottom: $item-spacing;
|
316
|
+
border: 1px solid $primary-brand-color;
|
317
|
+
// Layout
|
318
|
+
line-height: inherit;
|
319
|
+
text-align: center;
|
320
|
+
white-space: nowrap;
|
321
|
+
// Appearance
|
322
|
+
background-color: $primary-brand-color;
|
323
|
+
border-radius: $base-border-radius;
|
324
|
+
|
325
|
+
color: white;
|
326
|
+
cursor: pointer;
|
327
|
+
outline: none;
|
328
|
+
text-decoration: none;
|
329
|
+
text-transform: uppercase;
|
330
|
+
font-size: $button-font-size;
|
331
|
+
letter-spacing: 1.6px;
|
332
|
+
|
333
|
+
@include mobile-screen {
|
334
|
+
font-size: $mobile-button-font-size;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
button:hover,
|
338
|
+
input[type="submit"]:hover,
|
339
|
+
input[type="reset"]:hover,
|
340
|
+
input[type="button"]:hover,
|
341
|
+
button:focus,
|
342
|
+
input[type="submit"]:focus,
|
343
|
+
input[type="reset"]:focus,
|
344
|
+
input[type="button"]:focus {
|
345
|
+
border-color: darken($primary-brand-color, 5%);
|
346
|
+
background-color: darken($primary-brand-color, 5%);
|
347
|
+
}
|
348
|
+
button:active,
|
349
|
+
input[type="submit"]:active,
|
350
|
+
input[type="reset"]:active,
|
351
|
+
input[type="button"]:active {
|
352
|
+
border-color: darken($primary-brand-color, 10%);
|
353
|
+
background-color: darken($primary-brand-color, 10%);
|
354
|
+
}
|
355
|
+
|
356
|
+
// Horizontal Rule
|
357
|
+
// ---------------
|
358
|
+
hr {
|
359
|
+
margin-top: $block-spacing * 2;
|
360
|
+
margin-bottom: $block-spacing * 2;
|
361
|
+
}
|
362
|
+
|
363
|
+
// Images
|
364
|
+
// ------
|
365
|
+
img {
|
366
|
+
max-width: 100%;
|
367
|
+
}
|
368
|
+
|
369
|
+
// Links
|
370
|
+
a {
|
371
|
+
color: $primary-brand-color;
|
372
|
+
font-size: $base-font-size;
|
373
|
+
|
374
|
+
@include mobile-screen {
|
375
|
+
font-size: $mobile-font-size;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
.flex {
|
380
|
+
display: flex;
|
381
|
+
}
|
382
|
+
|
383
|
+
.desktop {
|
384
|
+
@include desktop-only();
|
385
|
+
}
|
386
|
+
.mobile {
|
387
|
+
@include mobile-only();
|
388
|
+
}
|
389
|
+
|
390
|
+
// Override github flavoured checkbox
|
391
|
+
.task-list-item-checkbox {
|
392
|
+
margin: 0 0.8em 0.25em -1.6em;
|
393
|
+
vertical-align: middle;
|
394
|
+
}
|
395
|
+
|
396
|
+
.task-list-item {
|
397
|
+
list-style-type: none;
|
398
|
+
}
|