summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/highlight/common.scss
blob: 2b0794759d5cbd6289a2927c406767ca80119efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@import "../framework/variables";

@mixin diff-background($background, $idiff, $border) {
  background: $background;

  &.line_content span.idiff {
    background: $idiff;
  }

  &.diff-line-num {
    border-color: $border;
  }
}

@mixin dark-diff-match-line {
  color: $dark-diff-match-bg;
  background: $dark-diff-match-color;
}