We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6d6abe commit 9fd43f8Copy full SHA for 9fd43f8
src/sass/_base.scss
@@ -438,6 +438,7 @@ svg.gdoc-icon {
438
width: 1.85em;
439
height: 1.85em;
440
color: transparent;
441
+ transition: color 0.2s ease-in-out;
442
}
443
444
&:focus {
@@ -531,12 +532,20 @@ svg.gdoc-icon {
531
532
position: relative;
533
534
&:hover > .gdoc-post__codecopy {
535
+ opacity: 1;
536
visibility: visible;
537
+ pointer-events: auto;
538
539
540
541
&__codecopy {
542
+ opacity: 0;
543
visibility: hidden;
544
+ transition:
545
+ opacity 0.2s ease,
546
+ visibility 0.2s ease;
547
+ pointer-events: none;
548
+
549
position: absolute;
550
top: defaults.$padding-8;
551
right: defaults.$padding-8;
0 commit comments