From b8629729b988e676ae79349dde4bd503797e9261 Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Sun, 28 Oct 2018 19:24:22 +0800 Subject: [PATCH] Fix absense of visual feedback when uploading with drag-and-drop --- lib/gollum/public/gollum/stylesheets/editor.scss | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/gollum/public/gollum/stylesheets/editor.scss b/lib/gollum/public/gollum/stylesheets/editor.scss index af167e00..881b58d4 100644 --- a/lib/gollum/public/gollum/stylesheets/editor.scss +++ b/lib/gollum/public/gollum/stylesheets/editor.scss @@ -397,6 +397,20 @@ a#function-search { @include editor-button(16); } } } +#gollum-editor-body-ace { + &.dragging { + box-shadow: 0 0 10px #AAE000; + } + + &.uploading { + opacity: 0.5; + + & + div { + display: block; + } + } +} + /* @section help */ #gollum-editor-help { clear: both; @@ -502,4 +516,4 @@ a#function-search { @include editor-button(16); } margin: 0 0 1em 0; padding: 0; } -} \ No newline at end of file +}