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

Unified Diff: third_party/polymer/v0_8/components-chromium/paper-item/paper-item-body.html

Issue 1124133004: Add PolymerElements/paper-item and run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-run to grab paper-menu#0.8.3 Created 5 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: 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>

Powered by Google App Engine
This is Rietveld 408576698