diff --git a/ghost/admin/Gruntfile.js b/ghost/admin/Gruntfile.js index 84a59e0cf9..1d47460abc 100644 --- a/ghost/admin/Gruntfile.js +++ b/ghost/admin/Gruntfile.js @@ -47,7 +47,7 @@ module.exports = function(grunt) { return 'npm run build -- --environment=production --silent'; case 'dev': return 'npm run build'; - case 'watch': + case 'watch': return 'npm run build -- --watch'; } }, diff --git a/ghost/admin/app/styles/addons/gh-koenig/gh-koenig.css b/ghost/admin/app/styles/addons/gh-koenig/gh-koenig.css index 0420c8f051..121e0f2c2d 100644 --- a/ghost/admin/app/styles/addons/gh-koenig/gh-koenig.css +++ b/ghost/admin/app/styles/addons/gh-koenig/gh-koenig.css @@ -43,11 +43,14 @@ } .__mobiledoc-card { - display: inline-block; /* required for cursor movement around card */ - border: 1px solid; - width: calc(100% - 20px); /* required for obvious cursor placmenet around card */ - margin:5px; - } + position: relative; + display: block; /* required for cursor movement around card */ + width: 100%; +} + +.__mobiledoc-card:hover { + box-shadow: var(--blue) 0 0 0 1px; +} .__mobiledoc-card .card-handle { position: absolute; @@ -150,3 +153,12 @@ textarea.ed_code { border-left: 10px solid transparent; border-right: 10px solid transparent; } + + +.__mobiledoc-card .gh-image-uploader .upload-form { + width: 100%; + height: 350px; + background: color(var(--lightgrey) l(+4%)); + box-shadow: var(--lightgrey) 0 0 0 1px inset, #fff 0 0 0 15px inset; + border-radius: 3px; +} diff --git a/ghost/admin/app/styles/components/uploader.css b/ghost/admin/app/styles/components/uploader.css index ce0babe611..7e8558a267 100644 --- a/ghost/admin/app/styles/components/uploader.css +++ b/ghost/admin/app/styles/components/uploader.css @@ -64,6 +64,7 @@ flex-grow: 1; display: flex; align-items: center; + justify-content: center; outline: none; } diff --git a/ghost/admin/app/templates/components/gh-image-uploader.hbs b/ghost/admin/app/templates/components/gh-image-uploader.hbs index 0b62f60dc5..e638ae39ff 100644 --- a/ghost/admin/app/templates/components/gh-image-uploader.hbs +++ b/ghost/admin/app/templates/components/gh-image-uploader.hbs @@ -15,7 +15,7 @@ {{!-- file selection/drag-n-drop --}}