@manyos/smileconnect-api 1.28.0
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.
- package/.github/workflows/nodejs.yml +26 -0
- package/CHANGELOG.md +75 -0
- package/Dockerfile +21 -0
- package/README.md +1 -0
- package/app.js +316 -0
- package/conf/clients.json +2491 -0
- package/conf/mapping.json +1048 -0
- package/conf/scripts/p1.js +11 -0
- package/conf/scripts/p2.js +1 -0
- package/conf/scripts/p3.js +1 -0
- package/conf/scripts/p4.js +2 -0
- package/conf/scripts/script1.js +2 -0
- package/conf/scripts/script2.js +2 -0
- package/conf/scripts/script3.js +2 -0
- package/controller/cmdbobjectController.js +291 -0
- package/controller/eventLogController.js +78 -0
- package/controller/orgdataController.js +440 -0
- package/controller/relatedObjectsController.js +194 -0
- package/controller/scriptController.js +213 -0
- package/controller/taskController.js +368 -0
- package/controller/templateController.js +97 -0
- package/controller/ticketCIRelationController.js +522 -0
- package/controller/ticketController.js +329 -0
- package/controller/ticketWorkLogController.js +195 -0
- package/docs/.gitattributes +48 -0
- package/docs/404.html +13 -0
- package/docs/CNAME +1 -0
- package/docs/Gemfile +7 -0
- package/docs/Gemfile.lock +249 -0
- package/docs/_config.yml +257 -0
- package/docs/_data/SocialNetworks.yml +92 -0
- package/docs/_data/ui-text.yml +494 -0
- package/docs/_includes/disqus.html +17 -0
- package/docs/_includes/ext-css.html +7 -0
- package/docs/_includes/ext-js.html +7 -0
- package/docs/_includes/fb-comment.html +14 -0
- package/docs/_includes/footer-minimal.html +16 -0
- package/docs/_includes/footer-scripts.html +32 -0
- package/docs/_includes/footer.html +51 -0
- package/docs/_includes/google_analytics.html +14 -0
- package/docs/_includes/gtag.html +11 -0
- package/docs/_includes/gtm_body.html +6 -0
- package/docs/_includes/gtm_head.html +9 -0
- package/docs/_includes/head.html +131 -0
- package/docs/_includes/header.html +76 -0
- package/docs/_includes/just_comments.html +4 -0
- package/docs/_includes/matomo.html +17 -0
- package/docs/_includes/nav.html +57 -0
- package/docs/_includes/social-share.html +42 -0
- package/docs/_includes/staticman-comment.html +22 -0
- package/docs/_includes/staticman-comments.html +81 -0
- package/docs/_layouts/base.html +35 -0
- package/docs/_layouts/default.html +9 -0
- package/docs/_layouts/minimal.html +26 -0
- package/docs/_layouts/page.html +26 -0
- package/docs/_layouts/post.html +82 -0
- package/docs/_posts/2015-02-28-test-markdown.md +77 -0
- package/docs/aboutme.md +18 -0
- package/docs/css/bootstrap-social.css +147 -0
- package/docs/css/bootstrap-theme.css +476 -0
- package/docs/css/bootstrap-theme.css.map +1 -0
- package/docs/css/bootstrap-theme.min.css +5 -0
- package/docs/css/bootstrap.css +6566 -0
- package/docs/css/bootstrap.css.map +1 -0
- package/docs/css/bootstrap.min.css +5 -0
- package/docs/css/main-minimal.css +13 -0
- package/docs/css/main.css +788 -0
- package/docs/css/normalize.css +427 -0
- package/docs/css/pygment_highlights.css +61 -0
- package/docs/css/staticman.css +180 -0
- package/docs/eventlog/events.md +65 -0
- package/docs/feed.xml +24 -0
- package/docs/general/architecture.md +10 -0
- package/docs/general/config.md +192 -0
- package/docs/general/field-management.md +119 -0
- package/docs/general/release-notes.md +9 -0
- package/docs/getting-started.md +19 -0
- package/docs/howto/cmdbobjects.md +339 -0
- package/docs/howto/incident-worklogs.md +186 -0
- package/docs/howto/incidents.md +244 -0
- package/docs/howto/sample-config.md +518 -0
- package/docs/howto/token.md +71 -0
- package/docs/howto/worklog-attachment.md +113 -0
- package/docs/img/404-southpark.jpg +0 -0
- package/docs/img/architecture.jpeg +0 -0
- package/docs/img/attachment-upload.png +0 -0
- package/docs/img/avatar-icon.png +0 -0
- package/docs/img/bgimage.png +0 -0
- package/docs/img/gb-isapi.jpg +0 -0
- package/docs/img/install-steps.gif +0 -0
- package/docs/img/workflow.png +0 -0
- package/docs/index.md +41 -0
- package/docs/installation.md +123 -0
- package/docs/js/bootstrap.js +2306 -0
- package/docs/js/bootstrap.min.js +7 -0
- package/docs/js/jquery-1.11.2.min.js +4 -0
- package/docs/js/main.js +140 -0
- package/docs/js/staticman.js +54 -0
- package/docs/openapi.json +15097 -0
- package/docs/postinstall.md +169 -0
- package/docs/preinstall.md +19 -0
- package/docs/spec/index.html +24 -0
- package/docs/staticman.yml +110 -0
- package/docs/tags.html +34 -0
- package/docs/workflow.md +127 -0
- package/nodemon.json +3 -0
- package/package.json +46 -0
- package/routes/appConfigRoutes.js +352 -0
- package/routes/ciRelationRoutes.js +38 -0
- package/routes/cmdbObjectRoutes.js +154 -0
- package/routes/organisationRoutes.js +121 -0
- package/routes/peopleRelationRoutes.js +38 -0
- package/routes/personRoutes.js +131 -0
- package/routes/supportgroupRoutes.js +122 -0
- package/routes/taskRoutes.js +306 -0
- package/routes/templateRoutes.js +67 -0
- package/routes/ticketRoutes.js +181 -0
- package/routes/ticketWorkLogRoutes.js +185 -0
- package/screwdriver.yaml +52 -0
- package/test/appTest.js +3 -0
- package/test/changeTest.js +541 -0
- package/test/cmdbobjectTest.js +167 -0
- package/test/files/logo.png +0 -0
- package/test/incidentTest.js +539 -0
- package/test/orgdataTest.js +156 -0
- package/test/problemTest.js +512 -0
- package/test/templateTest.js +80 -0
- package/test/testUtils.js +21 -0
- package/test/workorderTest.js +544 -0
- package/util/arquery.js +416 -0
- package/util/auth.js +37 -0
- package/util/cache.service.js +52 -0
- package/util/config.js +361 -0
- package/util/constants.js +73 -0
- package/util/mappingUtil.js +96 -0
- package/util/paramHelper.js +43 -0
- package/util/relationUtil.js +63 -0
- package/util/responsehandler.js +92 -0
- package/util/schemas/clientConfigSchema.js +180 -0
- package/util/schemas/fieldMappingSchema.js +211 -0
- package/util/searchUtil.js +148 -0
|
@@ -0,0 +1,788 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: null
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
@import url("pygment_highlights.css");
|
|
6
|
+
|
|
7
|
+
/* --- General --- */
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
font-family: 'Lora', 'Times New Roman', serif;
|
|
11
|
+
font-size: 18px;
|
|
12
|
+
color: #404040;
|
|
13
|
+
position: relative;
|
|
14
|
+
background-color: {{ site.page-col }};
|
|
15
|
+
{% if site.page-img %}
|
|
16
|
+
background-image: url({{ site.page-img | relative_url }});
|
|
17
|
+
background-attachment: fixed;
|
|
18
|
+
{% endif %}
|
|
19
|
+
}
|
|
20
|
+
p {
|
|
21
|
+
line-height: 1.5;
|
|
22
|
+
margin: 30px 0;
|
|
23
|
+
}
|
|
24
|
+
h1,h2,h3,h4,h5,h6 {
|
|
25
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
26
|
+
font-weight: 800;
|
|
27
|
+
}
|
|
28
|
+
a {
|
|
29
|
+
color: {{ site.link-col }};
|
|
30
|
+
}
|
|
31
|
+
a:hover,
|
|
32
|
+
a:focus {
|
|
33
|
+
color: {{ site.hover-col }};
|
|
34
|
+
}
|
|
35
|
+
blockquote {
|
|
36
|
+
color: #808080;
|
|
37
|
+
font-style: italic;
|
|
38
|
+
}
|
|
39
|
+
blockquote p:first-child {
|
|
40
|
+
margin-top: 0;
|
|
41
|
+
}
|
|
42
|
+
hr.small {
|
|
43
|
+
max-width: 100px;
|
|
44
|
+
margin: 15px auto;
|
|
45
|
+
border-width: 4px;
|
|
46
|
+
border-color: inherit;
|
|
47
|
+
border-radius: 3px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.main-content {
|
|
51
|
+
padding-top: 80px;
|
|
52
|
+
}
|
|
53
|
+
@media only screen and (min-width: 768px) {
|
|
54
|
+
.main-content {
|
|
55
|
+
padding-top: 130px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.main-explain-area {
|
|
60
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
61
|
+
padding: 15px inherit;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.hideme {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
::-moz-selection {
|
|
69
|
+
color: white;
|
|
70
|
+
text-shadow: none;
|
|
71
|
+
background-color: {{ site.hover-col }};
|
|
72
|
+
}
|
|
73
|
+
::selection {
|
|
74
|
+
color: white;
|
|
75
|
+
text-shadow: none;
|
|
76
|
+
background-color: {{ site.hover-col }};
|
|
77
|
+
}
|
|
78
|
+
img::selection {
|
|
79
|
+
color: white;
|
|
80
|
+
background: transparent;
|
|
81
|
+
}
|
|
82
|
+
img::-moz-selection {
|
|
83
|
+
color: white;
|
|
84
|
+
background: transparent;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
img {
|
|
88
|
+
max-width: 100%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.disqus-comments {
|
|
92
|
+
margin-top: 30px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media only screen and (min-width: 768px) {
|
|
96
|
+
.disqus-comments {
|
|
97
|
+
margin-top: 40px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.linked-section {
|
|
102
|
+
padding-top: 60px;
|
|
103
|
+
margin-top: -25px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* --- Navbar --- */
|
|
107
|
+
|
|
108
|
+
.navbar-custom {
|
|
109
|
+
background-color: {{ site.navbar-col }};
|
|
110
|
+
border-bottom: 1px solid #EAEAEA;
|
|
111
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
112
|
+
{% if site.navbar-img %}
|
|
113
|
+
background-image: url({{ site.navbar-img | relative_url }});
|
|
114
|
+
background-attachment: fixed;
|
|
115
|
+
{% endif %}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.navbar-custom .nav li a {
|
|
119
|
+
text-transform: uppercase;
|
|
120
|
+
font-size: 12px;
|
|
121
|
+
letter-spacing: 1px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.navbar-custom .navbar-brand,
|
|
125
|
+
.navbar-custom .nav li a {
|
|
126
|
+
font-weight: 800;
|
|
127
|
+
color: {{ site.navbar-text-col }};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.navbar-custom .navbar-brand:hover,
|
|
131
|
+
.navbar-custom .navbar-brand:focus ,
|
|
132
|
+
.navbar-custom .nav li a:hover,
|
|
133
|
+
.navbar-custom .nav li a:focus {
|
|
134
|
+
color: {{ site.hover-col }};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.navbar-custom .navbar-brand-logo {
|
|
138
|
+
padding-top: 0;
|
|
139
|
+
-webkit-transition: padding .5s ease-in-out;
|
|
140
|
+
-moz-transition: padding .5s ease-in-out;
|
|
141
|
+
transition: padding .5s ease-in-out;
|
|
142
|
+
}
|
|
143
|
+
.navbar-custom .navbar-brand-logo img {
|
|
144
|
+
height: 50px;
|
|
145
|
+
-webkit-transition: height .5s ease-in-out;
|
|
146
|
+
-moz-transition: height .5s ease-in-out;
|
|
147
|
+
transition: height .5s ease-in-out;
|
|
148
|
+
}
|
|
149
|
+
.navbar-custom.top-nav-short .navbar-brand-logo {
|
|
150
|
+
padding-top: 5px;
|
|
151
|
+
}
|
|
152
|
+
.navbar-custom.top-nav-short .navbar-brand-logo img {
|
|
153
|
+
height: 40px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@media only screen and (min-width: 768px) {
|
|
157
|
+
.navbar-custom {
|
|
158
|
+
padding: 20px 0;
|
|
159
|
+
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
|
160
|
+
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
|
|
161
|
+
transition: background .5s ease-in-out,padding .5s ease-in-out;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.navbar-custom.top-nav-short {
|
|
165
|
+
padding: 0;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.navbar-custom .avatar-container {
|
|
170
|
+
position: absolute;
|
|
171
|
+
left: 50%;
|
|
172
|
+
width: 50px;
|
|
173
|
+
margin-top: -25px;
|
|
174
|
+
}
|
|
175
|
+
.navbar-custom .avatar-container .avatar-img-border {
|
|
176
|
+
width: 100%;
|
|
177
|
+
border-radius: 50%;
|
|
178
|
+
margin-left: -50%;
|
|
179
|
+
display: inline-block;
|
|
180
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
|
181
|
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8);
|
|
182
|
+
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
|
183
|
+
}
|
|
184
|
+
.navbar-custom .avatar-container .avatar-img {
|
|
185
|
+
width: 100%;
|
|
186
|
+
border-radius: 50%;
|
|
187
|
+
display: block;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.navbar-custom.top-nav-expanded .avatar-container {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@media only screen and (min-width: 768px) {
|
|
195
|
+
.navbar-custom .avatar-container {
|
|
196
|
+
width: 100px;
|
|
197
|
+
margin-top: -50px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.navbar-custom .avatar-container .avatar-img-border {
|
|
201
|
+
width: 100%;
|
|
202
|
+
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
|
203
|
+
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
|
204
|
+
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.navbar-custom .avatar-container .avatar-img {
|
|
208
|
+
width: 100%;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* Multi-level navigation links */
|
|
213
|
+
.navbar-custom .nav .navlinks-container {
|
|
214
|
+
position: relative;
|
|
215
|
+
}
|
|
216
|
+
.navbar-custom .nav .navlinks-parent:after {
|
|
217
|
+
content: " \25BC";
|
|
218
|
+
}
|
|
219
|
+
.navbar-custom .nav .navlinks-children {
|
|
220
|
+
width: 100%;
|
|
221
|
+
display: none;
|
|
222
|
+
word-break: break-word;
|
|
223
|
+
}
|
|
224
|
+
.navbar-custom .nav .navlinks-container .navlinks-children a {
|
|
225
|
+
display: block;
|
|
226
|
+
padding: 10px;
|
|
227
|
+
padding-left: 30px;
|
|
228
|
+
background-color: {{ site.navbar-children-col }};
|
|
229
|
+
text-decoration: none !important;
|
|
230
|
+
border-width: 0 1px 1px 1px;
|
|
231
|
+
font-weight: normal;
|
|
232
|
+
}
|
|
233
|
+
@media only screen and (max-width: 767px) {
|
|
234
|
+
.navbar-custom .nav .navlinks-container.show-children {
|
|
235
|
+
background: rgba(0, 0, 0, 0.2);
|
|
236
|
+
}
|
|
237
|
+
.navbar-custom .nav .navlinks-container.show-children .navlinks-children {
|
|
238
|
+
display: block;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
@media only screen and (min-width: 768px) {
|
|
242
|
+
.navbar-custom .nav .navlinks-container {
|
|
243
|
+
text-align: center;
|
|
244
|
+
}
|
|
245
|
+
.navbar-custom .nav .navlinks-container:hover {
|
|
246
|
+
background: rgba(0, 0, 0, 0.1);
|
|
247
|
+
}
|
|
248
|
+
.navbar-custom .nav .navlinks-container:hover .navlinks-children {
|
|
249
|
+
display: block;
|
|
250
|
+
}
|
|
251
|
+
.navbar-custom .nav .navlinks-children {
|
|
252
|
+
position: absolute;
|
|
253
|
+
}
|
|
254
|
+
.navbar-custom .nav .navlinks-container .navlinks-children a {
|
|
255
|
+
padding-left: 10px;
|
|
256
|
+
border: 1px solid #eaeaea;
|
|
257
|
+
border-width: 0 1px 1px;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/* --- Footer --- */
|
|
262
|
+
|
|
263
|
+
footer {
|
|
264
|
+
padding: 30px 0;
|
|
265
|
+
border-top: 1px #EAEAEA solid;
|
|
266
|
+
margin-top: 50px;
|
|
267
|
+
font-size: 14px;
|
|
268
|
+
background-color: {{ site.footer-col }};
|
|
269
|
+
{% if site.footer-img %}
|
|
270
|
+
background-image: url({{ site.footer-img | relative_url }});
|
|
271
|
+
background-attachment: fixed;
|
|
272
|
+
{% endif %}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
footer p.text-muted {
|
|
276
|
+
color: {{ site.footer-text-col }};
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
footer a {
|
|
280
|
+
color: {{site.footer-link-col}};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
footer .list-inline {
|
|
284
|
+
margin: 0;
|
|
285
|
+
padding: 0;
|
|
286
|
+
}
|
|
287
|
+
footer .copyright {
|
|
288
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
289
|
+
text-align: center;
|
|
290
|
+
margin-bottom: 0;
|
|
291
|
+
}
|
|
292
|
+
footer .theme-by {
|
|
293
|
+
text-align: center;
|
|
294
|
+
margin: 10px 0 0;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@media only screen and (min-width: 768px) {
|
|
298
|
+
footer {
|
|
299
|
+
padding: 50px 0;
|
|
300
|
+
}
|
|
301
|
+
footer .footer-links {
|
|
302
|
+
font-size: 18px;
|
|
303
|
+
}
|
|
304
|
+
footer .copyright {
|
|
305
|
+
font-size: 16px;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/* --- Post preview --- */
|
|
310
|
+
|
|
311
|
+
.post-preview {
|
|
312
|
+
padding: 20px 0;
|
|
313
|
+
border-bottom: 1px solid #eee;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@media only screen and (min-width: 768px) {
|
|
317
|
+
.post-preview {
|
|
318
|
+
padding: 35px 0;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.post-preview:last-child {
|
|
323
|
+
border-bottom: 0;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.post-preview a {
|
|
327
|
+
text-decoration: none;
|
|
328
|
+
color: #404040;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.post-preview a:focus,
|
|
332
|
+
.post-preview a:hover {
|
|
333
|
+
text-decoration: none;
|
|
334
|
+
color: {{ site.hover-col }};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.post-preview .post-title {
|
|
338
|
+
font-size: 30px;
|
|
339
|
+
margin-top: 0;
|
|
340
|
+
}
|
|
341
|
+
.post-preview .post-subtitle {
|
|
342
|
+
margin: 0;
|
|
343
|
+
font-weight: 300;
|
|
344
|
+
margin-bottom: 10px;
|
|
345
|
+
}
|
|
346
|
+
.post-preview .post-meta,
|
|
347
|
+
.post-heading .post-meta {
|
|
348
|
+
color: #808080;
|
|
349
|
+
font-size: 18px;
|
|
350
|
+
font-style: italic;
|
|
351
|
+
margin: 0 0 10px;
|
|
352
|
+
}
|
|
353
|
+
.post-preview .post-entry {
|
|
354
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
355
|
+
}
|
|
356
|
+
.post-entry-container {
|
|
357
|
+
display: inline-block;
|
|
358
|
+
width: 100%;
|
|
359
|
+
}
|
|
360
|
+
.post-entry {
|
|
361
|
+
width: 100%;
|
|
362
|
+
}
|
|
363
|
+
.post-image {
|
|
364
|
+
float: right;
|
|
365
|
+
height: 192px;
|
|
366
|
+
width: 192px;
|
|
367
|
+
margin-top: -35px;
|
|
368
|
+
filter: grayscale(90%);
|
|
369
|
+
}
|
|
370
|
+
.post-image:hover {
|
|
371
|
+
filter: grayscale(0%);
|
|
372
|
+
}
|
|
373
|
+
.post-image img {
|
|
374
|
+
border-radius: 100px;
|
|
375
|
+
height: 192px;
|
|
376
|
+
width: 192px;
|
|
377
|
+
}
|
|
378
|
+
.post-preview .post-read-more {
|
|
379
|
+
font-weight: 800;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
@media only screen and (min-width: 768px) {
|
|
383
|
+
.post-preview .post-title {
|
|
384
|
+
font-size: 36px;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/* --- Tags --- */
|
|
389
|
+
|
|
390
|
+
.blog-tags {
|
|
391
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
392
|
+
color: #999;
|
|
393
|
+
font-size: 15px;
|
|
394
|
+
margin-bottom: 30px;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.blog-tags a {
|
|
398
|
+
color: {{ site.link-col }};
|
|
399
|
+
text-decoration: none;
|
|
400
|
+
padding: 0px 5px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.blog-tags a:hover {
|
|
404
|
+
border-radius: 2px;
|
|
405
|
+
color: {{ site.hover-col }};
|
|
406
|
+
background-color: #EEE;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.post-preview .blog-tags {
|
|
410
|
+
margin-top: 5px;
|
|
411
|
+
margin-bottom: 0;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
@media only screen and (min-width: 768px) {
|
|
415
|
+
.post-preview .blog-tags {
|
|
416
|
+
margin-top: 10px;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
@media only screen and (max-width: 500px) {
|
|
421
|
+
.post-image, .post-image img {
|
|
422
|
+
height: 100px;
|
|
423
|
+
width: 100px;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.post-image {
|
|
427
|
+
width: 100%;
|
|
428
|
+
text-align: center;
|
|
429
|
+
margin-top: 0;
|
|
430
|
+
float: left;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
/* --- Post and page headers --- */
|
|
434
|
+
|
|
435
|
+
.intro-header {
|
|
436
|
+
margin: 80px 0 20px;
|
|
437
|
+
position: relative;
|
|
438
|
+
}
|
|
439
|
+
.intro-header.big-img {
|
|
440
|
+
background: no-repeat center center;
|
|
441
|
+
-webkit-background-size: cover;
|
|
442
|
+
-moz-background-size: cover;
|
|
443
|
+
background-size: cover;
|
|
444
|
+
-o-background-size: cover;
|
|
445
|
+
margin-top: 51px; /* The small navbar is 50px tall + 1px border */
|
|
446
|
+
margin-bottom: 35px;
|
|
447
|
+
}
|
|
448
|
+
.intro-header.big-img .big-img-transition {
|
|
449
|
+
position: absolute;
|
|
450
|
+
width: 100%;
|
|
451
|
+
height: 100%;
|
|
452
|
+
opacity: 0;
|
|
453
|
+
background: no-repeat center center;
|
|
454
|
+
-webkit-background-size: cover;
|
|
455
|
+
-moz-background-size: cover;
|
|
456
|
+
background-size: cover;
|
|
457
|
+
-o-background-size: cover;
|
|
458
|
+
-webkit-transition: opacity 1s linear;
|
|
459
|
+
-moz-transition: opacity 1s linear;
|
|
460
|
+
transition: opacity 1s linear;
|
|
461
|
+
}
|
|
462
|
+
.intro-header .page-heading {
|
|
463
|
+
text-align: center;
|
|
464
|
+
}
|
|
465
|
+
.intro-header.big-img .page-heading,
|
|
466
|
+
.intro-header.big-img .post-heading {
|
|
467
|
+
padding: 100px 0;
|
|
468
|
+
color: #FFF;
|
|
469
|
+
text-shadow: 1px 1px 3px #000;
|
|
470
|
+
}
|
|
471
|
+
.intro-header .page-heading h1 {
|
|
472
|
+
margin-top: 0;
|
|
473
|
+
font-size: 50px;
|
|
474
|
+
}
|
|
475
|
+
.intro-header .post-heading h1 {
|
|
476
|
+
margin-top: 0;
|
|
477
|
+
font-size: 35px;
|
|
478
|
+
}
|
|
479
|
+
.intro-header .page-heading .page-subheading,
|
|
480
|
+
.intro-header .post-heading .post-subheading {
|
|
481
|
+
font-size: 27px;
|
|
482
|
+
line-height: 1.1;
|
|
483
|
+
display: block;
|
|
484
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
485
|
+
font-weight: 300;
|
|
486
|
+
margin: 10px 0 0;
|
|
487
|
+
}
|
|
488
|
+
.intro-header .post-heading .post-subheading {
|
|
489
|
+
margin-bottom: 20px;
|
|
490
|
+
}
|
|
491
|
+
.intro-header.big-img .page-heading .page-subheading,
|
|
492
|
+
.intro-header.big-img .post-heading .post-subheading {
|
|
493
|
+
font-weight: 400;
|
|
494
|
+
}
|
|
495
|
+
.intro-header.big-img .page-heading hr {
|
|
496
|
+
box-shadow: 1px 1px 3px #000;
|
|
497
|
+
-webkit-box-shadow: 1px 1px 3px #000;
|
|
498
|
+
-moz-box-shadow: 1px 1px 3px #000;
|
|
499
|
+
}
|
|
500
|
+
.intro-header.big-img .post-heading .post-meta {
|
|
501
|
+
color: #EEE;
|
|
502
|
+
}
|
|
503
|
+
.intro-header.big-img .img-desc {
|
|
504
|
+
background: rgba(30, 30, 30, 0.6);
|
|
505
|
+
position: absolute;
|
|
506
|
+
padding: 5px 10px;
|
|
507
|
+
font-size: 11px;
|
|
508
|
+
color: #EEE;
|
|
509
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
510
|
+
right: 0;
|
|
511
|
+
bottom: 0;
|
|
512
|
+
display: none;
|
|
513
|
+
}
|
|
514
|
+
@media only screen and (min-width: 768px) {
|
|
515
|
+
.intro-header {
|
|
516
|
+
margin-top: 130px;
|
|
517
|
+
}
|
|
518
|
+
.intro-header.big-img {
|
|
519
|
+
margin-top: 91px; /* Full navbar is small navbar + 20px padding on each side when expanded */
|
|
520
|
+
}
|
|
521
|
+
.intro-header.big-img .page-heading,
|
|
522
|
+
.intro-header.big-img .post-heading {
|
|
523
|
+
padding: 150px 0;
|
|
524
|
+
}
|
|
525
|
+
.intro-header .page-heading h1 {
|
|
526
|
+
font-size: 80px;
|
|
527
|
+
}
|
|
528
|
+
.intro-header .post-heading h1 {
|
|
529
|
+
font-size: 50px;
|
|
530
|
+
}
|
|
531
|
+
.intro-header.big-img .img-desc {
|
|
532
|
+
font-size: 14px;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.header-section.has-img .no-img {
|
|
537
|
+
margin-top: 0;
|
|
538
|
+
background-color: #FCFCFC;
|
|
539
|
+
margin: 0 0 40px;
|
|
540
|
+
padding: 20px 0;
|
|
541
|
+
box-shadow: 0 0 5px #AAA;
|
|
542
|
+
}
|
|
543
|
+
/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
|
|
544
|
+
.header-section.has-img .intro-header.no-img {
|
|
545
|
+
display: none;
|
|
546
|
+
}
|
|
547
|
+
@media only screen and (max-width: 365px) {
|
|
548
|
+
.header-section.has-img .intro-header.no-img {
|
|
549
|
+
display: block;
|
|
550
|
+
}
|
|
551
|
+
.intro-header.big-img {
|
|
552
|
+
width: 100%;
|
|
553
|
+
height: 220px;
|
|
554
|
+
}
|
|
555
|
+
.intro-header.big-img .page-heading,
|
|
556
|
+
.intro-header.big-img .post-heading {
|
|
557
|
+
display: none;
|
|
558
|
+
}
|
|
559
|
+
.header-section.has-img .big-img {
|
|
560
|
+
margin-bottom: 0;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
@media only screen and (max-width: 325px) {
|
|
564
|
+
.intro-header.big-img {
|
|
565
|
+
height: 200px;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.caption {
|
|
570
|
+
text-align: center;
|
|
571
|
+
font-size: 14px;
|
|
572
|
+
padding: 10px;
|
|
573
|
+
font-style: italic;
|
|
574
|
+
margin: 0;
|
|
575
|
+
display: block;
|
|
576
|
+
border-bottom-right-radius: 5px;
|
|
577
|
+
border-bottom-left-radius: 5px;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
#header-gh-btns {
|
|
581
|
+
margin-bottom: 15px;
|
|
582
|
+
}
|
|
583
|
+
@media only screen and (max-width: 500px) {
|
|
584
|
+
#header-gh-btns > iframe {
|
|
585
|
+
display: block;
|
|
586
|
+
margin-bottom: 5px;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/* --- Pager --- */
|
|
591
|
+
|
|
592
|
+
.pager li a {
|
|
593
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
594
|
+
text-transform: uppercase;
|
|
595
|
+
font-size: 14px;
|
|
596
|
+
font-weight: 800;
|
|
597
|
+
letter-spacing: 1px;
|
|
598
|
+
padding: 10px 5px;
|
|
599
|
+
background-color: #FFF;
|
|
600
|
+
border-radius: 0;
|
|
601
|
+
color: #404040;
|
|
602
|
+
}
|
|
603
|
+
@media only screen and (min-width: 768px) {
|
|
604
|
+
.pager li a {
|
|
605
|
+
padding: 15px 25px;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
.pager li a:hover,
|
|
609
|
+
.pager li a:focus {
|
|
610
|
+
color: #FFF;
|
|
611
|
+
border: 1px solid {{ site.hover-col }};
|
|
612
|
+
background-color: {{ site.hover-col }};
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.pager {
|
|
616
|
+
margin: 10px 0 0;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.pager.blog-pager {
|
|
620
|
+
margin-top: 0;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
@media only screen and (min-width: 768px) {
|
|
624
|
+
.pager.blog-pager {
|
|
625
|
+
margin-top: 10px;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/* --- Tables --- */
|
|
630
|
+
|
|
631
|
+
table {
|
|
632
|
+
padding: 0;
|
|
633
|
+
}
|
|
634
|
+
table tr {
|
|
635
|
+
border-top: 1px solid #cccccc;
|
|
636
|
+
background-color: #ffffff;
|
|
637
|
+
margin: 0;
|
|
638
|
+
padding: 0;
|
|
639
|
+
}
|
|
640
|
+
table tr:nth-child(2n) {
|
|
641
|
+
background-color: #f8f8f8;
|
|
642
|
+
}
|
|
643
|
+
table tr th {
|
|
644
|
+
font-weight: bold;
|
|
645
|
+
border: 1px solid #cccccc;
|
|
646
|
+
text-align: left;
|
|
647
|
+
margin: 0;
|
|
648
|
+
padding: 6px 13px;
|
|
649
|
+
}
|
|
650
|
+
table tr td {
|
|
651
|
+
border: 1px solid #cccccc;
|
|
652
|
+
text-align: left;
|
|
653
|
+
margin: 0;
|
|
654
|
+
padding: 6px 13px;
|
|
655
|
+
}
|
|
656
|
+
table tr th :first-child,
|
|
657
|
+
table tr td :first-child {
|
|
658
|
+
margin-top: 0;
|
|
659
|
+
}
|
|
660
|
+
table tr th :last-child,
|
|
661
|
+
table tr td :last-child {
|
|
662
|
+
margin-bottom: 0;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/* --- Code blocks --- */
|
|
666
|
+
|
|
667
|
+
pre {
|
|
668
|
+
font-size: 16px;
|
|
669
|
+
line-height: 1.5em;
|
|
670
|
+
}
|
|
671
|
+
.highlight pre {
|
|
672
|
+
border: none;
|
|
673
|
+
background: none;
|
|
674
|
+
margin: 0;
|
|
675
|
+
}
|
|
676
|
+
.highlight > pre {
|
|
677
|
+
background-image: linear-gradient(
|
|
678
|
+
rgba(0,0,0,0.06), rgba(0,0,0,0.06) 1.5em, rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.03) 3em);
|
|
679
|
+
background-size: auto 3em;
|
|
680
|
+
background-position-y: 10px;
|
|
681
|
+
border: 1px solid rgba(0,0,0,0.1);
|
|
682
|
+
border-left: 7px solid #444;
|
|
683
|
+
}
|
|
684
|
+
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
|
|
685
|
+
padding: 0;
|
|
686
|
+
}
|
|
687
|
+
.highlight table, .highlight tr, .highlight td { /* to be removed after fixing table styles */
|
|
688
|
+
border: none;
|
|
689
|
+
background: none;
|
|
690
|
+
padding: 0;
|
|
691
|
+
margin: 0;
|
|
692
|
+
}
|
|
693
|
+
.highlight pre.lineno {
|
|
694
|
+
color: rgba(0,0,0,0.3);
|
|
695
|
+
border-radius: 0;
|
|
696
|
+
border-right: 2px solid #444;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
|
|
700
|
+
.lineno {
|
|
701
|
+
-webkit-user-select: none;
|
|
702
|
+
-moz-user-select: none;
|
|
703
|
+
-ms-user-select: none;
|
|
704
|
+
user-select: none;
|
|
705
|
+
}
|
|
706
|
+
.lineno::selection, .lineno::-moz-selection {
|
|
707
|
+
background: none;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/* --- Social media sharing section --- */
|
|
711
|
+
|
|
712
|
+
#social-share-section {
|
|
713
|
+
margin-bottom: 30px;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/* --- Notification boxes --- */
|
|
717
|
+
.box-note, .box-warning, .box-error, .box-success {
|
|
718
|
+
padding: 15px 15px 15px 10px;
|
|
719
|
+
margin: 20px 20px 20px 5px;
|
|
720
|
+
border: 1px solid #eee;
|
|
721
|
+
border-left-width: 5px;
|
|
722
|
+
border-radius: 5px 3px 3px 5px;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.box-note {
|
|
726
|
+
background-color: #eee;
|
|
727
|
+
border-left-color: #2980b9;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.box-warning {
|
|
731
|
+
background-color: #fdf5d4;
|
|
732
|
+
border-left-color: #f1c40f;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.box-error {
|
|
736
|
+
background-color: #f4dddb;
|
|
737
|
+
border-left-color: #c0392b;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.box-success {
|
|
741
|
+
background-color: #98FB98;
|
|
742
|
+
border-left-color: #3CB371;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/* Fix table border github gist snippets */
|
|
746
|
+
|
|
747
|
+
.gist, .gist-file table tr {
|
|
748
|
+
border: unset;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.gist, .gist-file table tr td {
|
|
752
|
+
border: unset;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/* Fix .navbar-toggle */
|
|
756
|
+
|
|
757
|
+
.navbar-default button.navbar-toggle:focus,
|
|
758
|
+
.navbar-default button.navbar-toggle:hover {
|
|
759
|
+
background-color: initial;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
.navbar-default button.navbar-toggle[aria-expanded="true"] {
|
|
763
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/* Tags page */
|
|
767
|
+
|
|
768
|
+
.tag-btn {
|
|
769
|
+
margin: 5px;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
#full-tags-list {
|
|
773
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
#full-tags-list .tag-entry {
|
|
777
|
+
margin: 0 0 15px 25px;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
#full-tags-list .tag-entry a {
|
|
781
|
+
font-size: 20px;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
#full-tags-list .tag-entry .entry-date {
|
|
785
|
+
color: #808080;
|
|
786
|
+
font-style: italic;
|
|
787
|
+
font-size: 16px;
|
|
788
|
+
}
|