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

Unified Diff: ui/login/account_picker/user_pod_row.css

Issue 2007133006: Use svg icon to avoid lazy loading of Polymer elements for user pods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/login/account_picker/user_pod_row.css
diff --git a/ui/login/account_picker/user_pod_row.css b/ui/login/account_picker/user_pod_row.css
index 8efa160dd7d3f3597e0f5c9520b781c77625b9ef..1aeb19701a9561c793abfc4b67c2209a0edb7f81 100644
--- a/ui/login/account_picker/user_pod_row.css
+++ b/ui/login/account_picker/user_pod_row.css
@@ -374,8 +374,13 @@ html[dir=rtl] .main-pane {
}
.reauth-hint-container .reauth-warning {
- color: #f4b400;
- display: inline-flex;
+ -webkit-mask-image: url(../../../ui/webui/resources/images/warning.svg);
+ -webkit-mask-position: center;
+ -webkit-mask-repeat: no-repeat;
+ -webkit-mask-size: 20px;
Dan Beam 2016/05/26 00:35:11 can we use a shorthand for this, i.e. -webkit-mas
Moe 2016/05/26 13:36:49 I tried it. Using the shorthand somehow the image
+ background-color: #f4b400;
+ height: 24px;
+ width: 24px;
}
.reauth-hint-container .reauth-name-hint {

Powered by Google App Engine
This is Rietveld 408576698