PageTreeItem.module.scss 841 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @use '@growi/core/scss/bootstrap/init' as bs;
  2. // fix height
  3. .page-tree-item :global {
  4. li {
  5. min-height: 40px;
  6. }
  7. }
  8. // == Colors
  9. // drag over
  10. .page-tree-item :global {
  11. .drag-over {
  12. background-color: var(--bs-list-group-action-active-bg);
  13. }
  14. }
  15. @include bs.color-mode(light) {
  16. // button
  17. .page-tree-item :global {
  18. .list-group-item-action {
  19. .btn-page-item-control {
  20. --bs-btn-bg: transparent;
  21. --bs-btn-hover-bg: var(--grw-primary-200);
  22. --bs-btn-active-bg: var(--grw-primary-300);
  23. }
  24. }
  25. }
  26. }
  27. @include bs.color-mode(dark) {
  28. // button
  29. .page-tree-item :global {
  30. .list-group-item-action {
  31. .btn-page-item-control {
  32. --bs-btn-bg: transparent;
  33. --bs-btn-hover-bg: var(--grw-primary-600);
  34. --bs-btn-active-bg: var(--grw-primary-700);
  35. }
  36. }
  37. }
  38. }