2019-02-25 19:03:21 +00:00
|
|
|
@import '../framework/variables';
|
2019-02-14 06:54:34 +00:00
|
|
|
|
|
|
|
@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;
|
|
|
|
}
|
2019-08-20 20:18:06 +00:00
|
|
|
|
|
|
|
@mixin diff-expansion($background, $border, $link) {
|
|
|
|
background-color: $background;
|
|
|
|
|
|
|
|
td {
|
|
|
|
border-top: 1px solid $border;
|
|
|
|
border-bottom: 1px solid $border;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $link;
|
|
|
|
}
|
|
|
|
}
|