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