This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -1687,7 +1687,6 @@ instead, we check that it's not a "finger" cursor.
16871687 padding-right : 3px ;
16881688 background-color : var (--target-background-color );
16891689 border-right : 3px solid var (--target-border-color );
1690- animation : 0.65s cubic-bezier (0 , 0 , 0.1 , 1.0 ) 0.1s targetfadein;
16911690}
16921691
16931692.code-header a .tooltip {
@@ -1712,12 +1711,18 @@ a.tooltip:hover::after {
17121711 content : "\00a0" ;
17131712}
17141713
1715- /* This animation is layered onto the mistake-proofing delay for dismissing
1716- a hovered tooltip, to ensure it feels responsive even with the delay.
1717- */
1718- .fade-out {
1719- opacity : 0 ;
1720- transition : opacity 0.45s cubic-bezier (0 , 0 , 0.1 , 1.0 );
1714+ @media not (prefers-reduced-motion) {
1715+ : target {
1716+ animation : 0.65s cubic-bezier (0 , 0 , 0.1 , 1.0 ) 0.1s targetfadein;
1717+ }
1718+
1719+ /* This animation is layered onto the mistake-proofing delay for dismissing
1720+ a hovered tooltip, to ensure it feels responsive even with the delay.
1721+ */
1722+ .fade-out {
1723+ opacity : 0 ;
1724+ transition : opacity 0.45s cubic-bezier (0 , 0 , 0.1 , 1.0 );
1725+ }
17211726}
17221727
17231728.popover .tooltip .content {
You can’t perform that action at this time.
0 commit comments