Item.module.scss 729 B

1234567891011121314151617181920212223242526
  1. @use '@growi/core/scss/bootstrap/init' as bs;
  2. // TODO: relocate following styles into PageTreeItem.mdoule.scss after refactoring
  3. // https://redmine.weseek.co.jp/issues/127544
  4. @include bs.color-mode(light) {
  5. .pagetree-item :global {
  6. .list-group-item-action {
  7. .btn-page-item-control {
  8. --bs-btn-bg: transparent;
  9. --bs-btn-hover-bg: var(--grw-primary-200);
  10. --bs-btn-active-bg: var(--grw-primary-300);
  11. }
  12. }
  13. }
  14. }
  15. @include bs.color-mode(dark) {
  16. .pagetree-item :global {
  17. .list-group-item-action {
  18. .btn-page-item-control {
  19. --bs-btn-bg: transparent;
  20. --bs-btn-hover-bg: var(--grw-primary-600);
  21. --bs-btn-active-bg: var(--grw-primary-700);
  22. }
  23. }
  24. }
  25. }