SidebarNav.module.scss 742 B

123456789101112131415161718192021222324252627282930313233
  1. @use '@growi/core/scss/bootstrap/init' as bs;
  2. @use '~/styles/variables' as var;
  3. .grw-sidebar-nav :global {
  4. // set position and z-index to prevent dropdowns covered by other element
  5. position: relative;
  6. z-index: bs.$zindex-fixed;
  7. width: var.$grw-sidebar-nav-width;
  8. border-right : 1px solid var(--bs-border-color);
  9. .grw-sidebar-nav-secondary-container {
  10. position: fixed;
  11. bottom: 1.5rem;
  12. }
  13. }
  14. // == Colors
  15. .grw-sidebar-nav :global {
  16. }
  17. @include bs.color-mode(light) {
  18. .grw-sidebar-nav :global {
  19. background-color: var(--grw-sidebar-nav-bg, var(--grw-highlight-100));
  20. }
  21. }
  22. @include bs.color-mode(dark) {
  23. .grw-sidebar-nav :global {
  24. background-color: var(--grw-sidebar-nav-bg, var(--grw-highlight-800));
  25. }
  26. }