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

Side by Side Diff: bower_components/core-style/elements.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « bower_components/core-style/demo.html ('k') | bower_components/core-style/index.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!--
2 @license
3 Copyright (c) 2014 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 -->
10 <link rel="import" href="core-style.html">
11
12 <core-style id="my-toolbar">
13 :host {
14 height: 54px;
15 font-size: 1.3rem;
16 background-color: steelblue;
17 color: white;
18 }
19
20 polyfill-next-selector {
21 content: ':host > *';
22 }
23 ::content > * {
24 margin: 8px;
25 }
26 </core-style>
27
28 <polymer-element name="my-toolbar" horizontal center layout noscript>
29 <template>
30 <core-style ref="my-toolbar"></core-style>
31 <content></content>
32 </template>
33 </polymer-element>
34
35 <core-style id="my-panel">
36 :host {
37 display: inline-block;
38 height: 200px;
39 width: calc({{ 100 / g.columns }}% - 16px);
40 font-size: 50px;
41 background: gray;
42 margin: 8px;
43 }
44 </core-style>
45
46 <script>
47 CoreStyle.g.columns = 3;
48 </script>
49
50 <polymer-element name="my-panel" vertical center center-justified layout noscrip t>
51 <template>
52 <core-style ref="my-panel"></core-style>
53 <content></content>
54 </template>
55 </polymer-element>
OLDNEW
« no previous file with comments | « bower_components/core-style/demo.html ('k') | bower_components/core-style/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698