File tree 2 files changed +15
-8
lines changed
src/main/resources/explorer/assets
2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default class Root extends Directory {
34
34
const arrow = this . state . expanded ? 'octicon octicon-chevron-down' : 'octicon octicon-chevron-right' ;
35
35
return (
36
36
< div className = "tree-node" >
37
- < button className = "root-expander" onClick = { ( ) => this . toggleFolder ( `${ this . state . rootPath } /explore/${ this . state . branch } ` ) } >
37
+ < button className = "root-expander btn btn-default " onClick = { ( ) => this . toggleFolder ( `${ this . state . rootPath } /explore/${ this . state . branch } ` ) } >
38
38
< i className = { arrow } />
39
39
</ button >
40
40
< a href = { this . state . rootPath } className = "submenu-files" >
@@ -47,4 +47,4 @@ export default class Root extends Directory {
47
47
</ div >
48
48
) ;
49
49
}
50
- }
50
+ }
Original file line number Diff line number Diff line change @@ -43,19 +43,26 @@ li.active .file-tree {
43
43
}
44
44
.root-expander {
45
45
position : absolute;
46
- padding : 2px 2px 0 5px ;
47
- right : 5px ;
46
+ padding : 2px 1px 0px 5px ;
47
+ width : 21px ;
48
+ right : 15px ;
48
49
top : 10px ;
49
50
box-shadow : none;
50
51
line-height : 1.5 ;
51
52
text-align : center;
52
53
background-color : # f4f4f4 ;
53
54
border : 1px solid # ddd ;
54
55
border-radius : 3px ;
56
+ outline : none !important ;
55
57
}
56
- .root-expander > .octicon {
57
- font-size : 18px ;
58
- font-weight : 700 ;
58
+ .root-expander > .octicon-chevron-right {
59
+ width : 12px ;
60
+ }
61
+ .root-expander > .octicon-chevron-down {
62
+ width : 14px ;
63
+ }
64
+ .root-expander : hover > .octicon {
65
+ color : rgb (60 , 141 , 188 );
59
66
}
60
67
.file-tree button {
61
68
border : none;
@@ -70,4 +77,4 @@ li.active .file-tree {
70
77
.file-tree button : hover ,
71
78
.file-node > a : hover {
72
79
opacity : 0.6 ;
73
- }
80
+ }
You can’t perform that action at this time.
0 commit comments