Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: ui/webui/resources/css/trash.css

Issue 952053003: extensions: allow trash to have a focus outline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estade@ in-person review Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/css/trash.css
diff --git a/ui/webui/resources/css/trash.css b/ui/webui/resources/css/trash.css
index 25b7d0e10e578413889b3ea3be7845c0d139ddc8..fb06e9aa5b71e2cffc749ba2c96e17533471a96a 100644
--- a/ui/webui/resources/css/trash.css
+++ b/ui/webui/resources/css/trash.css
@@ -38,14 +38,12 @@ html[dir='rtl'] .trash > .lid {
-webkit-transform-origin: 107% 100%;
}
-.trash:focus > .lid,
-.trash:hover > .lid {
+.trash:-webkit-any(:focus, :hover, .open) > .lid {
-webkit-transform: rotate(-45deg);
-webkit-transition: -webkit-transform 250ms;
}
-html[dir='rtl'] .trash:focus > .lid,
-html[dir='rtl'] .trash:hover > .lid {
+html[dir='rtl'] .trash:-webkit-any(:focus, :hover, .open) > .lid {
-webkit-transform: rotate(45deg);
}

Powered by Google App Engine
This is Rietveld 408576698