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

Unified Diff: chrome/browser/resources/print_preview/search/destination_list_item.css

Issue 10450022: Print Preview Print Destination Search Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments round 2 Created 8 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: chrome/browser/resources/print_preview/search/destination_list_item.css
diff --git a/chrome/browser/resources/print_preview/search/destination_list_item.css b/chrome/browser/resources/print_preview/search/destination_list_item.css
new file mode 100644
index 0000000000000000000000000000000000000000..56d2c3e11a96cf4f85108efeeb74e8f917b66cb0
--- /dev/null
+++ b/chrome/browser/resources/print_preview/search/destination_list_item.css
@@ -0,0 +1,32 @@
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
Dan Beam 2012/05/29 21:25:50 optional nit: in general I prefer not letting this
Robert Toscano 2012/05/29 22:17:36 Done.
+ */
+
+.destination-list-item {
+ -webkit-transition: background-color 150ms;
+ cursor: default;
+ padding: 3px 2px 3px 18px;
Dan Beam 2012/05/29 21:25:50 does this work in RTL? seems like you'd wanna do:
Robert Toscano 2012/05/29 22:17:36 There are a few other things that need to change.
Dan Beam 2012/05/29 22:30:18 Supporting RTL means having a reasonable look in r
Robert Toscano 2012/05/30 21:08:00 Done.
+}
+
+.destination-list-item:hover {
+ background-color: rgb(228, 236, 247);
+}
+
+.destination-list-item-icon {
+ -webkit-transition: opacity 150ms;
+ display: inline-block;
+ height: 24px;
+ margin-right: 8px;
Dan Beam 2012/05/29 21:25:50 same question about RTL
Robert Toscano 2012/05/30 21:08:00 Done.
+ opacity: .4;
Dan Beam 2012/05/29 21:25:50 optional nit: I don't think we have an explicit ru
Robert Toscano 2012/05/29 22:17:36 It looks like its not entirely consistent. I've fo
Dan Beam 2012/05/29 23:36:09 I'd argue that 90% of these values being [0-9]\.[0
Robert Toscano 2012/05/30 21:08:00 Done.
+ vertical-align: middle;
+ width: 24px;
+}
+
+.destination-list-item:hover .destination-list-item-icon {
+ opacity: 1;
+}
+
+.destination-list-item-name {
+ vertical-align: middle;
+}

Powered by Google App Engine
This is Rietveld 408576698