1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00
This commit is contained in:
jbtbnl 2014-03-04 16:18:13 +01:00
parent e4b79d8103
commit 40e5584321
2 changed files with 3 additions and 9 deletions

View File

@ -74,20 +74,14 @@
background-repeat: no-repeat;
}
.oc-addnew .back-button {
border-radius: 0;
background-image: url('%webroot%/core/img/actions/delete.svg');
}
#app-navigation .oc-addnew .new-button {
width: 32px;
margin-top: 5px;
background-size: 16px;
background-position: center;
background-repeat: no-repeat;
}
#app-navigation .oc-addnew .new-button { background-image: url('%webroot%/core/img/actions/checkmark-white.svg'); }
#app-navigation .oc-addnew .new-button .no-svg { background-image: url('%webroot%/core/img/actions/checkmark-white.png'); }
#app-navigation .oc-addnew .new-button:hover .no-svg { background-image: url('%webroot%/core/img/actions/checkmark-white.png'); }
#app-settings .oc-addnew .new-button {
margin-left: -8px;
}

View File

@ -28,7 +28,7 @@
this.element.addClass('oc-addnew-name').removeAttr('original-title').appendTo(this.$ul).wrap('<li />');
//console.log('li', $li.parent());
//$li.appendTo(this.$ul);
$('<button />').addClass('new-button primary').insertAfter(this.element).hide();
$('<button />').addClass('new-button primary icon-checkmark-white').insertAfter(this.element).hide();
this.element.on('input', function() {
// Enable button when input is non-empty
$(this).next('button').prop('disabled', $(this).val().trim().length === 0);