diff --git a/css/style.css b/css/style.css
index 0b498a47..2700ec30 100755
--- a/css/style.css
+++ b/css/style.css
@@ -147,10 +147,13 @@
}
#odf-close{
- position:absolute;
- right:0;
- margin: 8px;
+ position: absolute;
+ right: 0;
float: right;
+ padding: 18px;
+ background-color: transparent;
+ border: none;
+ opacity: .5;
}
#odf-close.icon-close {
height: 23px;
diff --git a/js/documents.js b/js/documents.js
index 7d6b2766..bc9b6078 100644
--- a/js/documents.js
+++ b/js/documents.js
@@ -338,7 +338,7 @@ var documentsMain = {
documentsMain.UI.showEditor(documentsMain.fileName || response.title);
if (documentsMain.isGuest){
$('#odf-close').text(t('documents', 'Save') );
- $('#odf-close').removeClass('icon-close');
+ $('#odf-close').removeClass('icon-view-close');
}
var serverFactory = new ServerFactory();
documentsMain.esId = response.es_id;
diff --git a/js/widgets/ocClose.js b/js/widgets/ocClose.js
index 35ed423a..b1d66cbd 100644
--- a/js/widgets/ocClose.js
+++ b/js/widgets/ocClose.js
@@ -5,8 +5,8 @@ define("owncloud/widgets/ocClose",
"use strict";
return declare("OcClose", [_WidgetBase, _TemplatedMixin], {
templateString: '' +
- '' +
- '',
+ '' +
+ '',
closeEditor: function () {
// FixMe: this should not be global
documentsMain.onClose();