1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

autofill animations

This commit is contained in:
Kyle Spearrin 2017-11-02 16:46:40 -04:00
parent 7c3b612f3f
commit 4d0c27d1f8
3 changed files with 45 additions and 0 deletions

32
src/content/autofill.css Normal file
View File

@ -0,0 +1,32 @@
@-webkit-keyframes onepasswordfill {
0% {
-webkit-transform: scale(1.0,1.0);
}
50% {
-webkit-transform: scale(1.2,1.2);
}
100% {
-webkit-transform: scale(1.0,1.0);
}
}
@-moz-keyframes onepasswordfill {
0% {
transform: scale(1.0,1.0);
}
50% {
transform: scale(1.2,1.2);
}
100% {
transform: scale(1.0,1.0);
}
}
.com-agilebits-onepassword-extension-animated-fill {
animation: onepasswordfill 200ms ease-in-out 0ms 1;
-webkit-animation: onepasswordfill 200ms ease-in-out 0ms 1;
}

View File

@ -50,6 +50,18 @@
"file:///*"
],
"run_at": "document_start"
},
{
"all_frames": true,
"css": [
"content/autofill.css"
],
"matches": [
"http://*/*",
"https://*/*",
"file:///*"
],
"run_at": "document_end"
}
],
"background": {

View File

@ -92,6 +92,7 @@ module.exports = {
{ from: './src/overlay', to: 'overlay' },
{ from: './src/scripts', to: 'scripts' },
{ from: './src/services', to: 'services' },
{ from: './src/content/autofill.css', to: 'content' },
'./src/background.js'
])
],