PagePathNav.module.scss 730 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @use '@growi/core-styles/scss/bootstrap/init' as bs;
  2. @use '@growi/ui/scss/atoms/btn-muted';
  3. .grw-mx-02em {
  4. margin-right: 0.2em;
  5. margin-left: 0.2em;
  6. }
  7. .grw-page-path-nav-sticky :global {
  8. min-height: 75px;
  9. .sticky-inner-wrapper {
  10. z-index: bs.$zindex-sticky;
  11. }
  12. // TODO:Responsive font size
  13. // set smaller font-size when sticky
  14. .sticky-inner-wrapper.active {
  15. h1 {
  16. font-size: 1.75rem !important;
  17. }
  18. }
  19. }
  20. .grw-page-path-nav :global {
  21. .btn-copy {
  22. @include btn-muted.colorize(bs.$orange);
  23. }
  24. }
  25. // == Colors
  26. .grw-former-link :global {
  27. .separator {
  28. opacity: 0.75;
  29. }
  30. }
  31. .grw-former-link a {
  32. --bs-link-opacity: 0.75;
  33. &:global {
  34. &:hover {
  35. --bs-link-opacity: 1;
  36. }
  37. }
  38. }