I suggesting to move it to tree.less [link](https://github.com/ipython/ipython/blob/master/IPython/html/static/tree/less/tree.less). But as Matthias said to you in the other PR, you need to recompile the less files to get the final css applied.