diff --git a/src/_h5ai/css/inc/dropbox.less b/src/_h5ai/css/inc/dropbox.less index d551f6da..b1fa3bc7 100644 --- a/src/_h5ai/css/inc/dropbox.less +++ b/src/_h5ai/css/inc/dropbox.less @@ -1,31 +1,17 @@ -#dropbox { - margin: 48px 24px; - padding: 24px 12px; - overflow: hidden; +#content { + border: 1px dashed #fff; + border-radius: 8px; - background-color: #f8f8f8; - border: 1px dashed #ccc; - border-radius: 10px; - - .transition(all 0.2s ease-in-out); - - .label { - text-align: center; - color: #ddd; - font-size: 5em; - font-weight: bold; + &.hint { + border-color: #ccc; } - &.match { - border-color: #555; - - .label { - color: #999; - } + border-style: solid; } } + #uploads { width: 450px; margin: 12px auto; @@ -100,6 +86,4 @@ color: #c55; } } - } - diff --git a/src/_h5ai/js/inc/ext/dropbox.js b/src/_h5ai/js/inc/ext/dropbox.js index 2415708a..62b940ec 100644 --- a/src/_h5ai/js/inc/ext/dropbox.js +++ b/src/_h5ai/js/inc/ext/dropbox.js @@ -9,7 +9,7 @@ modulejs.define('ext/dropbox', ['_', '$', 'core/settings', 'core/entry', 'core/r settings = _.extend({}, defaults, allsettings.dropbox), - template = '
dropbox
', + template = '