summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/highlight/common.scss
blob: ac3214a07d9c690093f8de589d55716b573fbf87 (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;
}