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

Side by Side Diff: chrome/browser/resources/options/autofill_options.css

Issue 1583293004: Changes to Autofill settings page to ensure Credit Card list is always at least partially visible o… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Spacing tweak Created 4 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
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-options { 5 #autofill-options {
6 width: 550px; 6 width: 550px;
7 } 7 }
8 8
9 #autofill-options list { 9 #autofill-options list {
10 min-height: 172px; 10 height: 192px; /* min-height for lists in webui */
Dan Beam 2016/01/20 22:19:15 2 spaces before comments, try to make full[er] sen
11 margin-bottom: 1em;
Dan Beam 2016/01/20 22:19:15 unless you're copying something, you probably ough
11 } 12 }
12 13
13 .autofill-list-item { 14 .autofill-list-item {
14 -webkit-padding-start: 8px; 15 -webkit-padding-start: 8px;
15 max-width: 50%; 16 max-width: 50%;
16 overflow: hidden; 17 overflow: hidden;
17 text-overflow: ellipsis; 18 text-overflow: ellipsis;
18 } 19 }
19 20
20 .autofill-list-item + .deemphasized { 21 .autofill-list-item + .deemphasized {
(...skipping 10 matching lines...) Expand all
31 color: #777; 32 color: #777;
32 } 33 }
33 34
34 #autofill-options > div.settings-list > div:last-child { 35 #autofill-options > div.settings-list > div:last-child {
35 border-top: 1px solid #d9d9d9; 36 border-top: 1px solid #d9d9d9;
36 padding: 5px 10px; 37 padding: 5px 10px;
37 } 38 }
38 39
39 #autofill-add-address, 40 #autofill-add-address,
40 #autofill-add-creditcard { 41 #autofill-add-creditcard {
41 margin: 5px 5px; 42 float: right;
Dan Beam 2016/01/20 22:19:15 RTL
43 font-size: small;
44 margin-right: 0;
Dan Beam 2016/01/20 22:19:15 RTL
45 margin-top: .5em;
42 } 46 }
43 47
44 #autofill-options .list-inline-button { 48 #autofill-options .list-inline-button {
45 -webkit-margin-start: 12px; 49 -webkit-margin-start: 12px;
46 margin-top: 0; 50 margin-top: 0;
47 vertical-align: top; 51 vertical-align: top;
48 } 52 }
49 53
50 #autofill-options div[role='listitem']:not(:hover):not([selected]) 54 #autofill-options div[role='listitem']:not(:hover):not([selected])
51 .hide-until-hover { 55 .hide-until-hover {
52 display: none; 56 display: none;
53 } 57 }
54 58
55 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected]) 59 #autofill-options div[role='listitem']:-webkit-any(:hover,[selected])
56 .hides-on-hover { 60 .hides-on-hover {
57 display: none; 61 display: none;
58 } 62 }
63
64 #autofill-options .vertical-space {
65 height: 2em;
66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698