From 20c38cd3cfeed079cf539e4ae9b1edb0fa2941d2 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Mon, 9 Sep 2013 10:33:42 +0200 Subject: [PATCH] Added styling enhancements to image uploader --- ghost/admin/assets/sass/modules/global.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ghost/admin/assets/sass/modules/global.scss b/ghost/admin/assets/sass/modules/global.scss index eaa08180ca..1555376d6f 100644 --- a/ghost/admin/assets/sass/modules/global.scss +++ b/ghost/admin/assets/sass/modules/global.scss @@ -1260,12 +1260,15 @@ main { overflow: hidden; height: auto; color: $brown; + background: rgba(0,0,0,0.1); + border-radius: 2px; input { position: absolute; left: 9999px; opacity: 0; } + a { z-index: 10000; color: $brown; @@ -1275,14 +1278,19 @@ main { color: $darkgrey; } } + img { + display: block; max-width: 100%; + margin: 0 auto; + line-height: 0; } + .image-cancel { @include icon($i-x, 16px); position: absolute; color: white; - text-shadow: rgba(0,0,0,0.5) 0 0 1px; + text-shadow: rgba(0,0,0,0.3) 0 0 3px; top: 10px; right: 10px; text-decoration: none; @@ -1292,7 +1300,8 @@ main { color: white; } } -} + +}//.pre-image-uploader /* ==========================================================================