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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polym er.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS .txt
6 The complete set of contributors may be found at http://polymer.github.io/CO NTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/P ATENTS.txt
9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../paper-styles/paper-styles.html">
11
12 <!--
13
14 @element paper-item-body
15 -->
16
17 </head><body><dom-module id="paper-item-body">
18
19 <style>
20
21 :host {
22 --mixin(--layout-vertical);
23 --mixin(--layout-center-justified);
24 --mixin(--layout-flex);
25 }
26
27 :host([two-line]) {
28 min-height: 72px;
29 }
30
31 :host([three-line]) {
32 min-height: 88px;
33 }
34
35 :host > ::content > * {
36 white-space: nowrap;
37 overflow: hidden;
38 text-overflow: ellipsis;
39 }
40
41 :host > ::content [secondary] {
42 color: var(--secondary-text-color);
43 mixin(--paper-font-body1);
44
45 mixin(--paper-item-body-secondary);
46 }
47
48
49 </style>
50
51 <template>
52 <content></content>
53 </template>
54
55 </dom-module>
56
57 <script src="paper-item-body-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698