add cancel buttons

This commit is contained in:
Emily 2018-07-31 15:19:18 -07:00
parent c9ae76b209
commit 4c64593262
9 changed files with 72 additions and 31 deletions

View file

@ -57,11 +57,11 @@ module.exports = function(state, emit) {
)}
</div>
<a
class="error btn--delete"
<button
class="btn--cancel btn--delete"
title="${state.translate('deleteFileButton')}"
onclick=${showPopup}>${state.translate('deleteFileButton')}
</a>
</button>
</div>

View file

@ -58,15 +58,10 @@
border-color: var(--successControlBGColor);
}
.copyBtn {
transition: background 0.5s;
}
.copyBtn--copied,
.copyBtn--copied:hover {
background: var(--successControlBGColor);
color: var(--successControlFGColor);
transition: background 0s;
}
.btn--delete {