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

Unified Diff: chrome/browser/resources/options/autofill_edit_overlay.css

Issue 840503002: Remove gray background for non-focused selected list items on autofillEditAddress page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove gray background. Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/autofill_edit_overlay.css
diff --git a/chrome/browser/resources/options/autofill_edit_overlay.css b/chrome/browser/resources/options/autofill_edit_overlay.css
index 0c1f11656e6a26bcd8a837904dec7db31bf4de65..a8e7d970d82163059d011377e25a41b4147db246 100644
--- a/chrome/browser/resources/options/autofill_edit_overlay.css
+++ b/chrome/browser/resources/options/autofill_edit_overlay.css
@@ -48,6 +48,17 @@
line-height: 2em;
}
+#autofill-edit-address-overlay list:not([has-element-focus]) >
+ [selected]:not(:hover) {
+ background-color: white;
Dan Beam 2015/01/22 22:38:55 don't use white, use `none` or `transparent`
Dan Beam 2015/01/22 22:38:55 i'm confused, are we overriding this rule? https:/
bondd 2015/01/23 03:45:54 Done.
bondd 2015/01/23 03:45:54 We are overriding this rule: https://code.google.c
+}
+
+#autofill-edit-address-overlay list:not([has-element-focus]) > *:not(:hover)
+ .row-delete-button {
+ opacity: 0;
+ pointer-events: none;
+}
bondd 2015/01/14 03:18:48 Row delete button was also visible when gray backg
James Hawkins 2015/01/14 17:34:34 Please add a TODO to clean up the hack.
Dan Beam 2015/01/22 22:38:55 how is this a hack?
bondd 2015/01/23 03:45:54 It's a hack if you agree that the old list behavio
+
:-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay)
.settings-row label > :-webkit-any(input, select, textarea, list) {
margin-top: 4px;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698