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

Unified Diff: pkg/polymer/lib/elements/polymer-ui-ratings/polymer-ui-ratings.css

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 years, 10 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: pkg/polymer/lib/elements/polymer-ui-ratings/polymer-ui-ratings.css
diff --git a/pkg/polymer/lib/elements/polymer-ui-ratings/polymer-ui-ratings.css b/pkg/polymer/lib/elements/polymer-ui-ratings/polymer-ui-ratings.css
new file mode 100644
index 0000000000000000000000000000000000000000..f6e26ee418ff0a2a47d2c58f09af66efedb38299
--- /dev/null
+++ b/pkg/polymer/lib/elements/polymer-ui-ratings/polymer-ui-ratings.css
@@ -0,0 +1,35 @@
+/*
+Copyright 2013 The Polymer Authors. All rights reserved.
+Use of this source code is governed by a BSD-style
+license that can be found in the LICENSE file.
+*/
+
+:host {
+ display: inline-block;
+ white-space: nowrap;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+}
+
+#star {
+ display: inline-block;
+ vertical-align: middle;
+ width: 24px;
+ height: 24px;
+ margin: 0 5px;
+ background-size: 100% 100%;
+ background-image: url('assets/ic_star_rate_darkalt.png');
+ cursor: pointer;
+}
+
+#star.full {
+ background-image: url('assets/ic_star_rate_darkreg.png');
+}
+
+:host(.polymer-ui-dark-theme:host) #star {
+ background-image: url('assets/ic_star_rate_lightalt.png');
+}
+
+:host(.polymer-ui-dark-theme:host) #star.full {
+ background-image: url('assets/ic_star_rate_lightreg.png');
+}

Powered by Google App Engine
This is Rietveld 408576698