Skip to content

Commit 5419521

Browse files
committed
New css for gcx-full
1 parent f61e226 commit 5419521

File tree

6 files changed

+160
-8
lines changed

6 files changed

+160
-8
lines changed

src/css/helios-gcx.css

Lines changed: 147 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,6 @@ ul#ds_sites_list li a:active {
169169
padding-right: 0;
170170
}
171171

172-
.navbar-brand img {
173-
height: 40px;
174-
}
175-
176172
.toolbar {
177173
position: unset;
178174
top: unset;
@@ -324,7 +320,9 @@ feedback-stars {
324320
font-size: 21px;
325321
font-weight: 700;
326322
padding: 0;
323+
margin: 0;
327324
padding-bottom: 12px!important;
325+
cursor: pointer;
328326
}
329327

330328
.doc .sidebarblock {
@@ -341,10 +339,69 @@ feedback-stars {
341339
margin: 0 0 0 2em;
342340
}
343341

342+
.enlighter-default {
343+
margin: 0!important;
344+
}
345+
346+
gcx-full-code {
347+
border: 1px solid #CED4DF;
348+
-ms-overflow-style: none;
349+
/* for Internet Explorer, Edge */
350+
scrollbar-width: none;
351+
/* for Firefox */
352+
overflow-y: scroll;
353+
}
354+
355+
gcx-full-code::-webkit-scrollbar {
356+
display: none;
357+
/* for Chrome, Safari, and Opera */
358+
}
359+
360+
.full-articles .doc {
361+
-ms-overflow-style: none;
362+
/* for Internet Explorer, Edge */
363+
scrollbar-width: none;
364+
/* for Firefox */
365+
overflow-y: scroll;
366+
padding: 0;
367+
}
368+
369+
.full-articles .doc::-webkit-scrollbar {
370+
display: none;
371+
/* for Chrome, Safari, and Opera */
372+
}
373+
344374
schema#gcx-schema {
345375
display: none;
346376
}
347377

378+
.doc .sect1 {
379+
margin-top: 1rem;
380+
padding: 0 0 0 20px;
381+
}
382+
383+
.doc .paragraph {
384+
padding: 0 1rem;
385+
}
386+
387+
.doc .sect1.active {
388+
background-color: #eceef0;
389+
padding: 20px 0 20px 20px;
390+
border-top-left-radius: 6px;
391+
border-bottom-left-radius: 6px;
392+
border-width: 1px 0px 1px 1px;
393+
border-style: solid;
394+
margin-top: 1rem;
395+
border-color: var(--section-divider-color);
396+
}
397+
398+
.doc .sect1.active h2:after {
399+
content: url(../img/small-arrow-right.svg);
400+
margin: 0 10px;
401+
float: right;
402+
text-decoration: none;
403+
}
404+
348405
.full-articles {
349406
flex: 0 1 50%;
350407
}
@@ -864,4 +921,90 @@ label.switch_label:after {
864921

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

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/p-fe1bc969.entry.js

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

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.

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">

src/partials/intercom.hbs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
<script>window.intercomSettings = {app_id: "j838b4xj"};</script>
1+
<script>
2+
window.intercomSettings = {
3+
app_id: "j838b4xj",
4+
api_base: https://api-iam.intercom.io
5+
};
6+
</script>
7+
28

39
<script>// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/bpbxnnmr'
410
(function(){
@@ -21,7 +27,7 @@
2127
var s=d.createElement('script');
2228
s.type='text/javascript';
2329
s.async=true;
24-
s.src='https://widget.intercom.io/widget/bpbxnnmr';
30+
s.src='https://widget.intercom.io/widget/j838b4xj';
2531
var x=d.getElementsByTagName('script')[0];
2632
x.parentNode.insertBefore(s,x);
2733
};

0 commit comments

Comments
 (0)