aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-07-02 15:34:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-07-02 15:34:57 +0200
commitd2f3ff5c342851f8afddd779e5ad1347812c9769 (patch)
treec1a479fe9b5043a90074b6ea6ab55e5f6037a288
parent904e3102d31e9572cd6d9202e3489d725ce180f1 (diff)
parentd9aa8c9f0ed733fa4f13d04a25f821c3d7d69eba (diff)
downloadnextcloud-server-d2f3ff5c342851f8afddd779e5ad1347812c9769.tar.gz
nextcloud-server-d2f3ff5c342851f8afddd779e5ad1347812c9769.zip
Merge pull request #9245 from owncloud/server2server-sharing-design-fixes
drop unneeded code
-rw-r--r--apps/files_sharing/css/public.css14
-rw-r--r--apps/files_sharing/js/public.js1
-rw-r--r--apps/files_sharing/templates/public.php2
3 files changed, 1 insertions, 16 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 31c3bca8748..ddd9d10d664 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -88,20 +88,6 @@ thead {
max-width: 90%;
}
-.header-right {
- transition: opacity 500ms ease 0s;
- -moz-transition: opacity 500ms ease 0s;
- -ms-transition: opacity 500ms ease 0s;
- -o-transition: opacity 500ms ease 0s;
- -webkit-transition: opacity 500ms ease 0s;
-}
-
-.header-right:hover, .header-right.active {
- opacity: 1;
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
- filter: alpha(opacity=100);
-}
-
/* within #save */
#remote_address {
margin: 0;
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index f911f3689eb..a5027da0cfb 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -165,7 +165,6 @@ OCA.Sharing.PublicApp = {
$('#save > button').click(function () {
$(this).hide();
- $('.header-right').addClass('active');
$('.save-form').css('display', 'inline');
$('#remote_address').focus();
});
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index c053aaabece..65e620a3425 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -17,7 +17,7 @@
<div class="header-right">
<span id="details">
<span id="save" data-protected="<?php p($_['protected'])?>" data-owner="<?php p($_['displayName'])?>" data-name="<?php p($_['filename'])?>">
- <button><?php p($l->t('Save to ownCloud')) ?></button>
+ <button><?php p($l->t('Add to your ownCloud')) ?></button>
<form class="save-form hidden" action="#">
<input type="text" id="remote_address" placeholder="<?php p($l->t('example.com/owncloud')) ?>"/>
<input type="submit" value="<?php p($l->t('Save')) ?>"/>