Improved look of save button tooltip, changed success icon from floppy to checkmark

This commit is contained in:
Victoria Wang 2014-11-18 17:52:12 -06:00
parent cfbd7fb673
commit 3066b91af2
2 changed files with 6 additions and 1 deletions

View file

@ -1410,6 +1410,11 @@ a.tag:hover {
} }
} }
} }
#editorUpdates .tooltip-inner {
padding: 14px 20px;
width: 200px;
white-space: normal;
}
} }
.row.editor { .row.editor {
float: left; float: left;

View file

@ -127,7 +127,7 @@
if(quit === true) { if(quit === true) {
window.location = '/dashboard' window.location = '/dashboard'
} else { } else {
$('#editorUpdates span').html('<i class="fa fa-floppy-o"></i>&nbsp;&nbsp;Your file has been saved.') $('#editorUpdates span').html('<i class="fa fa-check"></i>&nbsp;&nbsp;Your file has been saved.')
$('a#saveButton,a#saveAndExitButton').css('opacity', 0.5) $('a#saveButton,a#saveAndExitButton').css('opacity', 0.5)
setTimeout(function() { setTimeout(function() {
$('#editorUpdates').fadeOut(); //.addClass('hidden'); $('#editorUpdates').fadeOut(); //.addClass('hidden');