PagePathNav.module.scss 942 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @use '@growi/core/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. // set smaller font-size when sticky
  13. .sticky-inner-wrapper.active {
  14. h1 {
  15. font-size: 1.75rem !important;
  16. }
  17. }
  18. // avoid sticky-top nav to turnate page path
  19. .is-collapse-with-top {
  20. @include bs.media-breakpoint-down(md) {
  21. max-width: calc(100% - 350px);
  22. }
  23. @include bs.media-breakpoint-up(md) {
  24. max-width: calc(100% - 500px);
  25. }
  26. }
  27. }
  28. .grw-page-path-nav :global {
  29. .btn-copy {
  30. @include btn-muted.colorize(bs.$orange);
  31. }
  32. }
  33. // == Colors
  34. .grw-former-link :global {
  35. .separator {
  36. opacity: 0.75;
  37. }
  38. }
  39. .grw-former-link a {
  40. --bs-link-opacity: 0.75;
  41. &:global {
  42. &:hover {
  43. --bs-link-opacity: 1;
  44. }
  45. }
  46. }