File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
src/main/resources/explorer/assets Expand file tree Collapse file tree 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 {
3434 const arrow = this . state . expanded ? 'octicon octicon-chevron-down' : 'octicon octicon-chevron-right' ;
3535 return (
3636 < 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 } ` ) } >
3838 < i className = { arrow } />
3939 </ button >
4040 < a href = { this . state . rootPath } className = "submenu-files" >
@@ -47,4 +47,4 @@ export default class Root extends Directory {
4747 </ div >
4848 ) ;
4949 }
50- }
50+ }
Original file line number Diff line number Diff line change @@ -43,19 +43,26 @@ li.active .file-tree {
4343}
4444.root-expander {
4545 position : absolute;
46- padding : 2px 2px 0 5px ;
47- right : 5px ;
46+ padding : 2px 1px 0px 5px ;
47+ width : 21px ;
48+ right : 15px ;
4849 top : 10px ;
4950 box-shadow : none;
5051 line-height : 1.5 ;
5152 text-align : center;
5253 background-color : # f4f4f4 ;
5354 border : 1px solid # ddd ;
5455 border-radius : 3px ;
56+ outline : none !important ;
5557}
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 );
5966}
6067.file-tree button {
6168 border : none;
@@ -70,4 +77,4 @@ li.active .file-tree {
7077.file-tree button : hover ,
7178.file-node > a : hover {
7279 opacity : 0.6 ;
73- }
80+ }
You can’t perform that action at this time.
0 commit comments