diff --git a/customize.dist/src/less2/include/drive.less b/customize.dist/src/less2/include/drive.less index 0eb400587..9f569a0f9 100644 --- a/customize.dist/src/less2/include/drive.less +++ b/customize.dist/src/less2/include/drive.less @@ -4,6 +4,7 @@ @import (reference) "./limit-bar.less"; @import (reference) "./tokenfield.less"; @import (reference) "./dropdown.less"; +@import (reference) "./buttons.less"; .drive_main() { --LessLoader_require: LessLoader_currentFile(); @@ -471,6 +472,7 @@ margin-top: 10px; } .cp-app-drive-content-info-box { + order: 10; line-height: 2em; padding: 0.25em 0.75em; margin: 1em; @@ -493,6 +495,7 @@ } } #cp-app-drive-content-folder { + order: 20; li { &.cp-app-drive-search-result { display: flex; @@ -754,6 +757,7 @@ } & > .cp-app-drive-path { + order: 1; width: 100%; height: @variables_bar-height; line-height: @variables_bar-height; @@ -927,5 +931,12 @@ text-transform: uppercase; cursor: default; } + + .cp-app-drive-button { + order: 15; + margin: 0 1em; + .buttons_main(); + } + } diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 37d47a96d..984cd9376 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -114,7 +114,6 @@ define([ var $trashEmptyIcon = $('', {"class": "fa fa-trash-o"}); //var $collapseIcon = $('', {"class": "fa fa-minus-square-o cp-app-drive-icon-expcol"}); var $expandIcon = $('', {"class": "fa fa-plus-square-o cp-app-drive-icon-expcol"}); - var $emptyTrashIcon = $('