Fix the backup button in anonymous drive

pull/1/head
yflory 8 years ago
parent 06a0590f73
commit ce44a8d351

@ -768,6 +768,14 @@ body {
}
}
}
.cryptpad-backup {
margin: 0;
border-radius: 0;
background: transparent;
&:hover {
background-color: rgba(0,0,0,0.2);
}
}
}
}
.cryptpad-toolbar-leftside {

@ -1290,6 +1290,14 @@ body.app-file .cryptpad-toolbar .dropdown-bar-content p .accountData {
.cryptpad-toolbar-top .cryptpad-user .cryptpad-user-dropdown button span .fa {
margin-left: 3px;
}
.cryptpad-toolbar-top .cryptpad-user .cryptpad-backup {
margin: 0;
border-radius: 0;
background: transparent;
}
.cryptpad-toolbar-top .cryptpad-user .cryptpad-backup:hover {
background-color: rgba(0, 0, 0, 0.2);
}
.cryptpad-toolbar-leftside {
height: 32px;
float: left;

@ -2753,7 +2753,7 @@ define([
if (!APP.loggedIn) { $hist.hide(); }
if (!readOnly && !APP.loggedIn) {
var $backupButton = Cryptpad.createButton('', true).removeClass('fa').removeClass('fa-question');
var $backupButton = Cryptpad.createButton('', true).removeClass('fa').removeClass('fa-question').addClass('cryptpad-backup');
$backupButton.append($backupIcon.clone().css('marginRight', '0px'));
$backupButton.attr('title', Messages.fm_backup_title);
$backupButton.on('click', function() {

Loading…
Cancel
Save