Index: third_party/polymer/v0_8/components-chromium/paper-item/paper-item-body.html |
diff --git a/third_party/polymer/v0_8/components-chromium/paper-item/paper-item-body.html b/third_party/polymer/v0_8/components-chromium/paper-item/paper-item-body.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..94803d3d11b52472587e06891a57804cf104bbac |
--- /dev/null |
+++ b/third_party/polymer/v0_8/components-chromium/paper-item/paper-item-body.html |
@@ -0,0 +1,57 @@ |
+<!-- |
+ @license |
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
+ This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt |
+ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
+ The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |
+ Code distributed by Google as part of the polymer project is also |
+ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
+--><html><head><link rel="import" href="../polymer/polymer.html"> |
+<link rel="import" href="../paper-styles/paper-styles.html"> |
+ |
+<!-- |
+ |
+@element paper-item-body |
+--> |
+ |
+</head><body><dom-module id="paper-item-body"> |
+ |
+ <style> |
+ |
+ :host { |
+ --mixin(--layout-vertical); |
+ --mixin(--layout-center-justified); |
+ --mixin(--layout-flex); |
+ } |
+ |
+ :host([two-line]) { |
+ min-height: 72px; |
+ } |
+ |
+ :host([three-line]) { |
+ min-height: 88px; |
+ } |
+ |
+ :host > ::content > * { |
+ white-space: nowrap; |
+ overflow: hidden; |
+ text-overflow: ellipsis; |
+ } |
+ |
+ :host > ::content [secondary] { |
+ color: var(--secondary-text-color); |
+ mixin(--paper-font-body1); |
+ |
+ mixin(--paper-item-body-secondary); |
+ } |
+ |
+ |
+ </style> |
+ |
+ <template> |
+ <content></content> |
+ </template> |
+ |
+</dom-module> |
+ |
+<script src="paper-item-body-extracted.js"></script></body></html> |