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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #autofill-edit-address-overlay { 5 #autofill-edit-address-overlay {
6 min-width: 55em; 6 min-width: 55em;
7 } 7 }
8 8
9 #autofill-edit-credit-card-overlay { 9 #autofill-edit-credit-card-overlay {
10 min-width: 500px; 10 min-width: 500px;
(...skipping 30 matching lines...) Expand all
41 border: 1px solid darkGray; 41 border: 1px solid darkGray;
42 border-radius: 2px; 42 border-radius: 2px;
43 /* Border should go "inside" the height. */ 43 /* Border should go "inside" the height. */
44 box-sizing: border-box; 44 box-sizing: border-box;
45 /* Set the line-height and min-height to match the height of an input element, 45 /* Set the line-height and min-height to match the height of an input element,
46 * so that even empty cells renderer with the correct height. */ 46 * so that even empty cells renderer with the correct height. */
47 height: 2em; 47 height: 2em;
48 line-height: 2em; 48 line-height: 2em;
49 } 49 }
50 50
51 #autofill-edit-address-overlay list:not([has-element-focus]) >
52 [selected]:not(:hover) {
53 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
54 }
55
56 #autofill-edit-address-overlay list:not([has-element-focus]) > *:not(:hover)
57 .row-delete-button {
58 opacity: 0;
59 pointer-events: none;
60 }
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
61
51 :-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay) 62 :-webkit-any(#autofill-edit-credit-card-overlay, #autofill-edit-address-overlay)
52 .settings-row label > :-webkit-any(input, select, textarea, list) { 63 .settings-row label > :-webkit-any(input, select, textarea, list) {
53 margin-top: 4px; 64 margin-top: 4px;
54 } 65 }
55 66
56 .input-group > * { 67 .input-group > * {
57 -webkit-box-orient: vertical; 68 -webkit-box-orient: vertical;
58 -webkit-margin-end: 2px; 69 -webkit-margin-end: 2px;
59 display: -webkit-inline-box; 70 display: -webkit-inline-box;
60 vertical-align: top; 71 vertical-align: top;
61 } 72 }
62 73
63 #autofill-edit-credit-card-overlay .content-area > *:first-child { 74 #autofill-edit-credit-card-overlay .content-area > *:first-child {
64 margin-top: 0; 75 margin-top: 0;
65 } 76 }
OLDNEW
« 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