/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/docusaurus-theme-classic/src/nprogress.css
42 строки
879 B
Yangshun Tay
chore: migrate from Prettier to oxfmt for code formatting (#11824)
07 май 2026, 14:50
Не верифицирован
07 май 2026, 14:50
190ef6f
Код
Авторство
О чём код?
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * Styles for NProgress * Copied over to remove unused styles for the spinner. * https://github.com/rstacruz/nprogress/blob/master/nprogress.css */ :root { --docusaurus-progress-bar-color: var(--ifm-color-primary); } #nprogress { pointer-events: none; } #nprogress .bar { background: var(--docusaurus-progress-bar-color); position: fixed; z-index: 1031; top: 0; left: 0; width: 100%; height: 2px; } #nprogress .peg { position: absolute; right: 0; width: 100px; height: 100%; box-shadow: 0 0 10px var(--docusaurus-progress-bar-color), 0 0 5px var(--docusaurus-progress-bar-color); opacity: 1; transform: rotate(3deg) translate(0, -4px); }