diff --git a/www/drive/app-drive.less b/www/drive/app-drive.less index d67c7d171..66f7cb82c 100644 --- a/www/drive/app-drive.less +++ b/www/drive/app-drive.less @@ -243,9 +243,8 @@ margin: 0; margin-top: 15px; .cp-app-drive-tree-root { - .fa, .cptools { - min-width: 30px; - cursor: pointer; + .fa-trash-o { + padding-left: 2px; } } li { diff --git a/www/drive/inner.js b/www/drive/inner.js index 9fe6a15a1..bc29394a3 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -97,7 +97,7 @@ define([ var $sharedFolderOpenedIcon = $('', {"class": faSharedFolderOpen + " cptools cp-app-drive-icon-folder"}); //var $upIcon = $('', {"class": "fa fa-arrow-circle-up"}); var $unsortedIcon = $('', {"class": "fa fa-files-o"}); - var $templateIcon = $('', {"class": "fa fa-cubes"}); + var $templateIcon = $('', {"class": "cptools cptools-template"}); var $recentIcon = $('', {"class": "fa fa-clock-o"}); var $trashIcon = $('', {"class": "fa " + faTrash}); var $trashEmptyIcon = $('', {"class": "fa fa-trash-o"}); @@ -2893,7 +2893,7 @@ define([ var $icon = manager.isFolderEmpty(files[TRASH]) ? $trashEmptyIcon.clone() : $trashIcon.clone(); var isOpened = manager.comparePath(path, currentPath); var $trashElement = createTreeElement(TRASH_NAME, $icon, [TRASH], false, true, false, isOpened); - $trashElement.addClass('root'); + $trashElement.addClass('cp-app-drive-tree-root'); $trashElement.find('>.cp-app-drive-element-row') .contextmenu(openContextMenu('trashtree')); var $trashList = $('
    ', { 'class': 'cp-app-drive-tree-category' })