Skip to content

Commit 317df00

Browse files
committed
Merge branch 'feature/helios-gcx' of github.com:riptano/antora-ui-docs into feature/helios-gcx
2 parents da94e8a + 681037c commit 317df00

File tree

12 files changed

+198
-64
lines changed

12 files changed

+198
-64
lines changed

src/css/helios-gcx.css

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@ feedback-stars {
320320
font-size: 21px;
321321
font-weight: 700;
322322
padding: 0;
323+
margin: 0;
323324
padding-bottom: 12px!important;
325+
cursor: pointer;
324326
}
325327

326328
.doc .sidebarblock {
@@ -335,23 +337,78 @@ feedback-stars {
335337

336338
.full-articles .doc {
337339
margin: 0 0 0 2em;
340+
-ms-overflow-style: none;
341+
/* for Internet Explorer, Edge */
342+
scrollbar-width: none;
343+
/* for Firefox */
344+
overflow-y: scroll;
345+
padding: 0;
346+
height: auto!important;
347+
}
348+
349+
gcx-full-code::-webkit-scrollbar {
350+
display: none;
351+
/* for Chrome, Safari, and Opera */
352+
}
353+
354+
.full-articles .doc::-webkit-scrollbar {
355+
display: none;
356+
/* for Chrome, Safari, and Opera */
338357
}
339358

340359
schema#gcx-schema {
341360
display: none;
342361
}
343362

363+
.doc .sect1 {
364+
margin-top: 1rem;
365+
padding: 0 0 0 20px;
366+
}
367+
368+
.doc .paragraph {
369+
padding: 0 1rem;
370+
}
371+
372+
.doc .sect1.active {
373+
background-color: #eceef0;
374+
padding: 20px 0 20px 20px;
375+
border-top-left-radius: 6px;
376+
border-bottom-left-radius: 6px;
377+
border-width: 1px 0px 1px 1px;
378+
border-style: solid;
379+
margin-top: 1rem;
380+
border-color: var(--section-divider-color);
381+
}
382+
383+
.doc .sect1.active h2:after {
384+
content: url(../img/small-arrow-right.svg);
385+
margin: 0 10px;
386+
float: right;
387+
text-decoration: none;
388+
}
389+
344390
.full-articles {
345391
flex: 0 1 50%;
392+
z-index: 999;
346393
}
347394

348395
gcx-full {
349396
width: 100%;
397+
position: relative;
350398
}
351399

352400
gcx-full-code {
401+
border: 1px solid #CED4DF;
402+
-ms-overflow-style: none;
403+
/* for Internet Explorer, Edge */
404+
scrollbar-width: none;
405+
/* for Firefox */
406+
overflow-y: scroll;
353407
flex: 0 1 50%;
354408
min-width: auto;
409+
position: relative;
410+
right: 0.75px;
411+
height: auto!important;
355412
}
356413

357414

@@ -860,4 +917,91 @@ label.switch_label:after {
860917

861918
.dark-mode .helios-text-field-label {
862919
color: var(--white);
920+
}
921+
922+
.navbar-brand img {
923+
height: 40px;
924+
}
925+
926+
927+
/* Right Block - Code */
928+
929+
.enlighter-default {
930+
font-family: 'Roboto Mono', monospace!important;
931+
margin: 0!important;
932+
}
933+
934+
.enlighter-t-bootstrap4 .enlighter-m0 {
935+
color: #8A3FFC!important;
936+
}
937+
938+
.enlighter-t-bootstrap4 .enlighter-m3 {
939+
color: #8A3FFC!important;
940+
}
941+
942+
.enlighter-t-bootstrap4 .enlighter-k0 {
943+
color: #007D79!important;
944+
}
945+
946+
.enlighter-t-bootstrap4 .enlighter-text {
947+
color: #3C4961!important;
948+
}
949+
950+
.enlighter-t-bootstrap4 .enlighter-s0 {
951+
color: #0072C3!important;
952+
}
953+
954+
.enlighter-t-bootstrap4 .enlighter-n1 {
955+
color: #BA4E00!important;
956+
}
957+
958+
959+
/* Dark Mode - Code Block */
960+
961+
.dark-mode .enlighter-t-bootstrap4 {
962+
background-color: #3C4961!important;
963+
}
964+
965+
.dark-mode .enlighter-t-bootstrap4 .enlighter-text {
966+
color: #ffffff!important;
967+
}
968+
969+
.dark-mode .enlighter-t-bootstrap4 .enlighter-m0 {
970+
color: #BE95FF!important;
971+
}
972+
973+
.dark-mode .enlighter-t-bootstrap4 .enlighter-m3 {
974+
color: #BE95FF!important;
975+
}
976+
977+
.dark-mode .enlighter-t-bootstrap4 .enlighter-k0 {
978+
color: #08BDBA!important;
979+
}
980+
981+
.dark-mode .enlighter-t-bootstrap4 .enlighter-s0 {
982+
color: #33B1FF!important;
983+
}
984+
985+
.dark-mode .enlighter-t-bootstrap4 .enlighter-k1 {
986+
color: #3797f0!important;
987+
}
988+
989+
.dark-mode .enlighter-t-bootstrap4 .enlighter-n1 {
990+
color: #FF832B!important;
991+
}
992+
993+
.dark-mode .enlighter-t-bootstrap4 .enlighter-k5 {
994+
color: #ffffff;
995+
}
996+
997+
.dark-mode .doc .sect1.active {
998+
background-color: #20293A!important;
999+
}
1000+
1001+
.dark-mode .enlighter-t-bootstrap4 div.enlighter>div.enlighter-special {
1002+
background-color: #20293A!important;
1003+
}
1004+
1005+
.dark-mode .enlighter-t-bootstrap4 .enlighter-k10 {
1006+
color: #ffffff!important;
8631007
}

src/img/logo.png

3.67 KB
Loading

src/js/08-gcx-helios.js

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,6 @@
11
;
22
(function () {
33
'use strict'
4-
console.log('cargando JS 08-gcx-helios')
5-
window.intercomSettings = { app_id: 'bpbxnnmr' }
6-
7-
var w = window
8-
var ic = w.Intercom
9-
if (typeof ic === 'function') {
10-
ic('reattach_activator')
11-
ic('update', w.intercomSettings)
12-
} else {
13-
var d = document
14-
var i = function () {
15-
i.c(arguments)
16-
}
17-
i.q = []
18-
i.c = function (args) {
19-
i.q.push(args)
20-
}
21-
w.Intercom = i
22-
var l = function () {
23-
var s = d.createElement('script')
24-
s.type = 'text/javascript'
25-
s.async = true
26-
s.src = 'https://widget.intercom.io/widget/bpbxnnmr'
27-
var x = d.getElementsByTagName('script')[0]
28-
x.parentNode.insertBefore(s, x)
29-
}
30-
if (w.attachEvent) {
31-
w.attachEvent('onload', l)
32-
} else {
33-
w.addEventListener('load', l, false)
34-
}
35-
}
364

375
/*Dark theme verification*/
386
var theme = window.localStorage.getItem('theme')

src/js/vendor/two-columns/p-03564f61.entry.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/js/vendor/two-columns/p-a4310a69.entry.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/vendor/two-columns/two-columns.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
5+
{{> head defaultPageTitle='Untitled'}}
6+
</head>
7+
<body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}">
8+
{{> header}}
9+
<div class="body">
10+
<main class="article">
11+
{{> toolbar}}
12+
<div class="content">
13+
{{#if (eq page.layout '404')}}
14+
{{> article-404}}
15+
{{else}}
16+
{{> article}}
17+
{{/if}}
18+
</div>
19+
</main>
20+
</div>
21+
{{> footer}}
22+
23+
{{> intercom}}
24+
</body>
25+
</html>

src/partials/head-scripts.hbs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,14 @@
6868
})();
6969
</script>
7070
{{/with}}
71-
<script>var uiRootPath = '{{{uiRootPath}}}'</script>
72-
73-
<script type="module" src="{{{uiRootPath}}}/js/vendor/two-columns/two-columns.esm.js"></script>
74-
<script nomodule src="{{{uiRootPath}}}/js/vendor/two-columns/two-columns.js"></script>
71+
<script>window.uiRootPath = '{{{uiRootPath}}}'</script>
72+
<script type="module" src="{{{uiRootPath}}}/js/vendor/two-columns/two-columns.esm.js"></script>
73+
<script nomodule src="{{{uiRootPath}}}/js/vendor/two-columns/two-columns.js"></script>
7574

76-
<script type="module" src="{{{uiRootPath}}}/js/vendor/gcx-contact-form/gcx-contact-form.esm.js"></script>
77-
<script nomodule src="{{{uiRootPath}}}/js/vendor/gcx-contact-form/gcx-contact-form.js"></script>
75+
<script type="module" src="{{{uiRootPath}}}/js/vendor/gcx-contact-form/gcx-contact-form.esm.js"></script>
76+
<script nomodule src="{{{uiRootPath}}}/js/vendor/gcx-contact-form/gcx-contact-form.js"></script>
7877

79-
<script type="module" src="{{{uiRootPath}}}/js/vendor/gcx-schema/gcx-schema.esm.js"></script>
80-
<script nomodule src="{{{uiRootPath}}}/js/vendor/gcx-schema/gcx-schema.js"></script>
78+
<script type="module" src="{{{uiRootPath}}}/js/vendor/gcx-schema/gcx-schema.esm.js"></script>
79+
<script nomodule src="{{{uiRootPath}}}/js/vendor/gcx-schema/gcx-schema.js"></script>
8180

82-
<script src="{{{uiRootPath}}}/js/lib/enlighterjs.min.js"></script>
81+
<script src="{{{uiRootPath}}}/js/lib/enlighterjs.min.js"></script>

src/partials/head-styles.hbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
22
<link rel="stylesheet" href="{{{uiRootPath}}}/js/lib/enlighterjs.min.css" />
33
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css" />
4+
<link rel="preconnect" href="https://fonts.googleapis.com">
5+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
6+
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;700&display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)