diff options
author | Phil Hughes <me@iamphill.com> | 2017-02-24 17:56:20 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-02-28 17:38:23 +0300 |
commit | e13dc680523c14c205c20c2cd299ad64c287cd23 (patch) | |
tree | 7cfe9b7bb59c749455c444cd1c523c4d907d5771 /app/assets/stylesheets/highlight/white.scss | |
parent | db44e5569851d5542ae3fbe283cd7ccf0522b46a (diff) |
Disables interaction with expanded lines
Fixed scss-lint errors
Diffstat (limited to 'app/assets/stylesheets/highlight/white.scss')
-rw-r--r-- | app/assets/stylesheets/highlight/white.scss | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/stylesheets/highlight/white.scss b/app/assets/stylesheets/highlight/white.scss index ca7242bcd7e..ab2018bfbca 100644 --- a/app/assets/stylesheets/highlight/white.scss +++ b/app/assets/stylesheets/highlight/white.scss @@ -8,6 +8,8 @@ $white-highlight: #fafe3d; $white-pre-hll-bg: #f8eec7; $white-hll-bg: #f8f8f8; $white-over-bg: #ded7fc; +$white-expanded-border: #e0e0e0; +$white-expanded-bg: #f7f7f7; $white-c: #998; $white-err: #a61717; $white-err-bg: #e3d2d2; @@ -144,15 +146,15 @@ $white-gc-bg: #eaf2f5; &.diff-expanded + .line_holder:not(.diff-expanded) { > .diff-line-num, > .line_content { - border-top: 1px solid #e0e0e0; + border-top: 1px solid $white-expanded-border; } } &.diff-expanded { > .diff-line-num, > .line_content { - background: #f7f7f7; - border-color: #f7f7f7; + background: $white-expanded-bg; + border-color: $white-expanded-bg; } } |