Index: ui/keyboard/resources/elements/kb-row.html |
diff --git a/ui/keyboard/resources/elements/kb-row.html b/ui/keyboard/resources/elements/kb-row.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..21525b8330e28f8a9f9e30a6155c748fb0e0f88f |
--- /dev/null |
+++ b/ui/keyboard/resources/elements/kb-row.html |
@@ -0,0 +1,28 @@ |
+<!-- |
+ -- Copyright (c) 2013 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. |
+ --> |
+ |
+<element name="kb-row"> |
+ <template> |
+ <style> |
+ @host { |
+ * { |
+ -webkit-box-flex: 1; |
+ display: -webkit-box; |
+ text-align: center; |
+ margin-right: 5px; |
+ margin-top: 5px; |
+ } |
+ } |
+ content::-webkit-distributed(kb-key) { |
+ -webkit-flex: 1 auto; |
+ } |
+ </style> |
+ <content select="*"></content> |
+ </template> |
+ <script> |
+ Polymer.register(this); |
+ </script> |
+</element> |