1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/stylesheets/scroll-button.scss
Kevin Heis 08ec46d0d1 Render color mode settings from github/github cookie (#19275)
* Add color mode selector in footer

* Interpret color mode from cookie

* Update render-page.js

* Delete color-mode.js

* Update render-page.js

* Make this more resilient to HTML tag changes

* Update scroll-button.scss
2021-05-13 14:45:11 +00:00

21 lines
381 B
SCSS

button.arrow-for-scrolling-top {
opacity: 0;
transition: 0.2s;
background-color: var(--color-auto-blue-5);
color: var(--color-text-inverse);
position: fixed;
bottom: $spacer-2;
right: $spacer-2;
display: block;
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: $spacer-1;
&.show {
opacity: 1;
border: none;
transition: 0.2s;
}
}