diff.css 868 B

123456789101112131415161718192021222324252627282930313233
  1. [data-component="diff"] {
  2. [data-slot="diff-hunk-separator-line-number"] {
  3. position: sticky;
  4. left: 0;
  5. background-color: var(--surface-diff-hidden-strong);
  6. z-index: 2;
  7. display: flex;
  8. align-items: center;
  9. justify-content: center;
  10. [data-slot="diff-hunk-separator-line-number-icon"] {
  11. aspect-ratio: 1;
  12. width: 24px;
  13. height: 24px;
  14. color: var(--icon-strong-base);
  15. }
  16. }
  17. [data-slot="diff-hunk-separator-content"] {
  18. position: sticky;
  19. background-color: var(--surface-diff-hidden-base);
  20. color: var(--text-base);
  21. width: var(--pjs-column-content-width);
  22. left: var(--pjs-column-number-width);
  23. padding-left: 8px;
  24. user-select: none;
  25. cursor: default;
  26. text-align: left;
  27. [data-slot="diff-hunk-separator-content-span"] {
  28. mix-blend-mode: var(--text-mix-blend-mode);
  29. }
  30. }
  31. }