Show spinning when uploading
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
height: textarea.height(),
|
||||
'class': textarea.attr('class'),
|
||||
'id': 'gollum-editor-body-ace'
|
||||
}).insertBefore(textarea);
|
||||
}).insertAfter(textarea);
|
||||
textarea.css('display', 'none');
|
||||
|
||||
// NOTE: This requires the page to have only one 'gollum-editor-body'.
|
||||
|
||||
@@ -374,7 +374,7 @@ a#function-search { @include editor-button(16); }
|
||||
|
||||
/* @section uploads */
|
||||
|
||||
#gollum-editor-body {
|
||||
#gollum-editor-body-ace {
|
||||
& + div {
|
||||
display: none;
|
||||
font-size: 1.5em;
|
||||
@@ -397,20 +397,6 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user