summaryrefslogtreecommitdiff
path: root/source/features/extend-diff-expander.css
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/extend-diff-expander.css')
-rw-r--r--source/features/extend-diff-expander.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/features/extend-diff-expander.css b/source/features/extend-diff-expander.css
new file mode 100644
index 00000000..d7017907
--- /dev/null
+++ b/source/features/extend-diff-expander.css
@@ -0,0 +1,8 @@
+/* Hovering the line will highlight the first direction button, unless you hover the buttons directly */
+.js-expandable-line:hover .blob-num:not(:hover) .directional-expander:first-child,
+.js-expandable-line:hover .blob-num:not(:hover)+.blob-code {
+ border-color: #0366d6;
+ color: #fff;
+ background: #0366d6;
+ cursor: pointer;
+}