Skip to content

Commit f95de80

Browse files
committed
* Displaying changes in colors
* Showing active file
1 parent c53cde2 commit f95de80

File tree

4 files changed

+259
-85
lines changed

4 files changed

+259
-85
lines changed

css/style.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,26 @@
7979
.gitlab-tree-plugin-right
8080
{
8181
flex: 0 0 1;
82+
}
83+
84+
.gitlab-tree-plugin-file-renamed, .gitlab-tree-plugin-file-renamed:hover
85+
{
86+
color: #d90;
87+
}
88+
89+
.gitlab-tree-plugin-file-deleted, .gitlab-tree-plugin-file-deleted:hover
90+
{
91+
color: #d12f19;
92+
}
93+
94+
.gitlab-tree-plugin-file-added, .gitlab-tree-plugin-file-added:hover
95+
{
96+
color: #4a2;
97+
}
98+
99+
.gitlab-tree-plugin-file-active
100+
{
101+
color: #000;
102+
font-weight: bold;
103+
pointer-events: none;
82104
}

src/inject/inject.js

Lines changed: 110 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)