Skip to content

Commit 33c8dde

Browse files
committed
update copy icon
copy icon white fix copy icon tooltip
1 parent 253b243 commit 33c8dde

File tree

2 files changed

+28
-20
lines changed

2 files changed

+28
-20
lines changed

src/css/helios-gcx.css

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
--announcement-height: 48px;
77
}
88

9+
.doc .source-toolbox .copy-button {
10+
flex-direction: row!important;
11+
}
12+
913
@font-face {
1014
font-family: 'Material Icons';
1115
font-style: normal;
@@ -332,6 +336,7 @@ ul#ds_sites_list li a:active {
332336
.doc .exampleblock>.content {
333337
border-width: 1.5px;
334338
}
339+
335340
.doc .admonitionblock .icon i::after {
336341
color: white;
337342
}
@@ -385,15 +390,14 @@ feedback-stars {
385390
font-size: 14px;
386391
}
387392

388-
.doc pre.highlight code{
393+
.doc pre.highlight code {
389394
display: block;
390395
font-size: 14px;
391396
padding: .75rem;
392397
box-shadow: none;
393-
394398
}
395399

396-
.highlight-has-code{
400+
.highlight-has-code {
397401
overflow: hidden;
398402
padding: 1rem 0 0 0;
399403
}
@@ -453,6 +457,7 @@ gcx-full-code::-webkit-scrollbar {
453457
/* for Chrome, Safari, and Opera */
454458
}
455459

460+
456461
/*Scroll for Code block */
457462

458463
.enlighter-default::-webkit-scrollbar {
@@ -1429,17 +1434,18 @@ li.nav-item[data-depth="2"]:hover a {
14291434
color: #fff;
14301435
}
14311436

1432-
.has-code{
1437+
.has-code {
14331438
overflow: hidden!important;
14341439
padding: 1rem 0.1rem 0.1rem 0.1rem!important;
14351440
}
14361441

1437-
.dark-mode .doc pre.highlight,
1442+
.dark-mode .doc pre.highlight,
14381443
.dark-mode .doc pre:not(.highlight) {
14391444
box-shadow: inset 0 0 1.75px #c9cef6;
14401445
background: #2e394e;
14411446
}
14421447

1448+
14431449
/* LIGHT MODE LISTS */
14441450

14451451
.nav-item[data-depth="1"].toggler.is-active:hover button {
@@ -1476,60 +1482,58 @@ li.nav-item[data-depth="2"]:hover a {
14761482
color: #6a7086;
14771483
}
14781484

1479-
.copy-icon{
1485+
.copy-icon {
14801486
background-image: url(../img/octicons-16.svg#view-clippy);
14811487
background-size: contain;
14821488
width: 100%;
14831489
height: 100%;
14841490
background-repeat: no-repeat;
14851491
}
14861492

1487-
.dark-mode .copy-icon{
1493+
.dark-mode .copy-icon {
14881494
background-image: url(../img/octicons-16-white.svg#view-clippy);
14891495
}
14901496

14911497
.dark-mode .doc .source-toolbox {
14921498
color: white;
14931499
}
14941500

1495-
code::before{
1496-
content:''!important;
1501+
code::before {
1502+
content: ''!important;
14971503
}
14981504

14991505
@media only screen and (max-width: 600px) {
15001506
.navbar-brand img {
15011507
height: 30px;
15021508
}
1503-
1504-
.nav-toggle.is-active{
1509+
.nav-toggle.is-active {
15051510
position: absolute;
15061511
z-index: 99999;
15071512
top: 10px;
15081513
left: 15px;
15091514
}
1510-
.nav-container.is-active{
1515+
.nav-container.is-active {
15111516
width: 100%;
15121517
height: 100%;
15131518
}
1514-
1515-
.collapse[type=checkbox]+label{
1519+
.collapse[type=checkbox]+label {
15161520
display: none;
15171521
}
1518-
1519-
.nav, .nav-container{
1522+
.nav,
1523+
.nav-container {
15201524
background: white;
15211525
z-index: 9999;
15221526
}
1523-
1524-
.dark-mode .nav, .dark-mode .nav-container {
1527+
.dark-mode .nav,
1528+
.dark-mode .nav-container {
15251529
background: #20293a;
15261530
z-index: 9999;
1527-
}
1531+
}
15281532
}
15291533

15301534
.dark-mode .nav-toggle {
15311535
background: url(../img/menu-white.svg) no-repeat 50% 47.5%;
1532-
background-size: 49%;
1536+
background-size: 49%;
15331537
}
15341538

15351539
.dark-mode .nav-toggle.is-active {

src/img/octicons-16-white.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)