Skip to content

Commit 871dda3

Browse files
committed
Improve files tree
1 parent 3715af1 commit 871dda3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

client/resources/stylesheets/files/tree.less

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@
1414

1515
.file-item {
1616
cursor: default;
17-
line-height: 26px;
17+
line-height: 24px;
18+
font-size: 14px;
1819

1920
>.files {
2021
display: none;
2122
}
2223

23-
&.active {
24-
background: @codeboxActiveColor;
24+
&.active, &.active:hover {
25+
>.name {
26+
#gradient > .vertical(#6eaeff, #5e9ef3) !important;
27+
background-color: @codeboxActiveColor;
28+
}
2529
}
2630

2731
&.ui-context-menu {

client/views/files/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ define([
5555
this.subFiles = new FilesTreeView({
5656
"codebox": this.codebox,
5757
"model": this.model,
58-
"paddingLeft": this.paddingLeft+20
58+
"paddingLeft": this.paddingLeft+15
5959
});
6060
this.subFiles.$el.appendTo(this.$(".files"));
6161
this.subFiles.update();

0 commit comments

Comments
 (0)