summaryrefslogtreecommitdiff
path: root/source/features/extend-diff-expander.css
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-04-26 02:53:25 +0800
committerGravatar Federico Brigante <github@bfred.it> 2019-04-26 13:52:32 +0800
commite15e79ef4b91f9e44ae7f8775e94e5907073afef (patch)
tree667b87a7120584fc1d54d3aa957e6d4a01acb828 /source/features/extend-diff-expander.css
parent98b54e7eaba63efe185941d2e8c9e1395dd95987 (diff)
downloadrefined-github-e15e79ef4b91f9e44ae7f8775e94e5907073afef.tar.gz
refined-github-e15e79ef4b91f9e44ae7f8775e94e5907073afef.tar.zst
refined-github-e15e79ef4b91f9e44ae7f8775e94e5907073afef.zip
Extract `extend-diff-expander`'s CSS (#1986)
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;
+}