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

Unified Diff: chrome/browser/resources/options2/autofill_options.css

Issue 9706036: settings - share inline list button style between different list types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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: chrome/browser/resources/options2/autofill_options.css
diff --git a/chrome/browser/resources/options2/autofill_options.css b/chrome/browser/resources/options2/autofill_options.css
index 825acb86b09c8edb5c9c9e1355f033a6ce99edb0..6b5121cd6670bf66e3103489cca369422a509a11 100644
--- a/chrome/browser/resources/options2/autofill_options.css
+++ b/chrome/browser/resources/options2/autofill_options.css
@@ -2,6 +2,7 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
Dan Beam 2012/03/15 00:05:27 nit: why so spatious?
Evan Stade 2012/03/15 00:53:23 mistake
+
#address-list,
#creditcard-list {
min-width: 500px;
@@ -21,7 +22,7 @@
.autofill-list-item + img {
-webkit-padding-end: 20px;
- vertical-align: middle;
+ vertical-align: top;
}
#autofill-options > div:last-child {
@@ -38,15 +39,11 @@
margin: 5px 5px;
}
-.autofill-list-item + button,
-.autofill-list-item + img + button {
- /* Gets overwritten by raw-button:hover */
- background: rgb(138, 170, 237) !important;
- color: #fff;
+#autofill-options .list-inline-button {
margin-top: 0;
+ vertical-align: top;
}
-#address-list > div:not(:hover) * button,
-#creditcard-list > div:not(:hover) * button {
+#autofill-options div[role='listitem']:not(:hover) .list-inline-button {
display: none;
}

Powered by Google App Engine
This is Rietveld 408576698