Move the folder icon style to the less file

pull/1/head
yflory 8 years ago
parent 8c7305bf1b
commit 7ad080b8a2

@ -56,6 +56,13 @@ li {
color: #eee; color: #eee;
margin: -1px; margin: -1px;
} }
span.fa-folder {
color: #FEDE8B;
text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
}
span.fa {
min-width: 20px;
}
/* TREE */ /* TREE */
#tree { #tree {
border-right: 1px solid #ccc; border-right: 1px solid #ccc;

@ -65,6 +65,16 @@ li {
margin: -1px; margin: -1px;
} }
span {
&.fa-folder {
color: #FEDE8B;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
&.fa {
min-width: 20px;
}
}
/* TREE */ /* TREE */

@ -183,9 +183,9 @@ define([
// Icons // Icons
var $folderIcon = $('<span>', {"class": "fa fa-folder folder", style:"color:#FEDE8B;text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;"}); var $folderIcon = $('<span>', {"class": "fa fa-folder folder"});
var $folderEmptyIcon = $folderIcon.clone(); var $folderEmptyIcon = $folderIcon.clone();
var $folderOpenedIcon = $('<span>', {"class": "fa fa-folder-open folder", style:"color:#FEDE8B;text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;"}); var $folderOpenedIcon = $('<span>', {"class": "fa fa-folder-open folder");
var $folderOpenedEmptyIcon = $folderOpenedIcon.clone(); var $folderOpenedEmptyIcon = $folderOpenedIcon.clone();
var $fileIcon = $('<span>', {"class": "fa fa-file-text-o file"}); var $fileIcon = $('<span>', {"class": "fa fa-file-text-o file"});
var $padIcon = $('<span>', {"class": "fa fa-file-word-o file"}); var $padIcon = $('<span>', {"class": "fa fa-file-word-o file"});

Loading…
Cancel
Save