Merge pull request #1106 from mozilla/vnext-hover-states

Fix #1103
This commit is contained in:
Danny Coates 2019-01-18 10:25:05 -08:00 committed by GitHub
commit 16ba74e959
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 188 additions and 180 deletions

View file

@ -132,6 +132,14 @@ a {
flex-shrink: 0; flex-shrink: 0;
} }
.delete:hover {
opacity: 0.7;
}
footer li:hover {
text-decoration: underline;
}
#password-msg::after { #password-msg::after {
content: '\200b'; content: '\200b';
} }

View file

@ -177,7 +177,7 @@ module.exports = function(state, emit, archive) {
<img class="float-left mr-3" src="${assets.get('blue_file.svg')}"/> <img class="float-left mr-3" src="${assets.get('blue_file.svg')}"/>
<input <input
type="image" type="image"
class="float-right self-center text-white" class="float-right self-center text-white delete"
alt="Delete" alt="Delete"
src="${assets.get('close-16.svg')}" src="${assets.get('close-16.svg')}"
onclick=${del}/> onclick=${del}/>
@ -292,7 +292,7 @@ module.exports.wip = function(state, emit) {
return html` return html`
<input <input
type="image" type="image"
class="self-center text-white ml-4" class="self-center text-white ml-4 delete"
alt="Delete" alt="Delete"
src="${assets.get('close-16.svg')}" src="${assets.get('close-16.svg')}"
onclick="${del}" onclick="${del}"

View file

@ -36,7 +36,7 @@ module.exports = function() {
${state.translate('signInMenuOption')} ${state.translate('signInMenuOption')}
</label> </label>
<button <button
class="my-4 text-blue font-medium" class="my-4 text-blue hover:text-blue-dark focus:text-blue-darker font-medium"
title="${state.translate('deletePopupCancel')}" title="${state.translate('deletePopupCancel')}"
onclick=${close}>${state.translate('deletePopupCancel')} onclick=${close}>${state.translate('deletePopupCancel')}
</button> </button>

354
package-lock.json generated

File diff suppressed because it is too large Load diff