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

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

Issue 10108001: Refactor print preview web ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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..0d86751d240fbac3dbe1489ee60945af7247eacd
--- /dev/null
+++ b/chrome/browser/resources/print_preview/search/destination_list_item.css
@@ -0,0 +1,44 @@
+/* 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.
+ */
+
+.destination-list-item {
+ cursor: default;
+ padding: 3px 2px 3px 18px;
+ -webkit-transition: background-color 150ms;
+}
+
+.destination-list-item:hover {
+ background-color: #E4ECF7;
+}
+
+.destination-list-item-icon {
+ display: inline-block;
+ width: 24px;
+ height: 24px;
+ vertical-align: middle;
+ margin-right: 8px;
+ opacity: .4;
+}
+
+.destination-list-item:hover .destination-list-item-icon {
+ opacity: 1;
+}
+
+.destination-list-item-icon-local {
+ background-image: url(images/classic_printer_24.png);
+}
+
+.destination-list-item-icon-cloud {
+ background-image: url(images/cloud_printer_24.png);
+}
+
+.destination-list-item-icon-google-sponsored {
+ background-image:
+ url(images/google_sponsored_printer_24.png);
+}
+
+.destination-list-item-name {
+ vertical-align: middle;
+}

Powered by Google App Engine
This is Rietveld 408576698