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://polymer.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/CONTRIBUTORS.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/PATENTS.txt
14 <script src=
"../../webcomponentsjs/webcomponents.js"></script>
16 <link href=
"../../core-icons/core-icons.html" rel=
"import">
17 <link href=
"../../core-icons/social-icons.html" rel=
"import">
18 <link href=
"../../core-toolbar/core-toolbar.html" rel=
"import">
20 <link href=
"../../paper-shadow/paper-shadow.html" rel=
"import">
22 <link href=
"../core-animated-pages.html" rel=
"import">
24 <style shim-shadowdom
>
26 font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
42 color: #fff !important;
56 body /deep/ .toolbar-
2 {
69 background-color: #e7e7e7;
75 background-color: #fff;
96 text-overflow: ellipsis;
130 color: rgba(
0,
0,
0,
0.54);
140 display: inline-block;
152 <polymer-element name=
"shadow-div" noscript
>
159 <paper-shadow target=
"{{}}" z=
"1"></paper-shadow>
164 <core-animated-pages class=
"fit" selected=
"0" transitions=
"cross-fade-all hero-transition">
168 <core-toolbar class=
"tall toolbar">
169 <core-icon icon=
"menu"></core-icon>
170 <div flex
>Highlights
</div>
171 <core-icon icon=
"social:share"></core-icon>
172 <core-icon icon=
"bookmark"></core-icon>
173 <core-icon icon=
"more-vert"></core-icon>
176 <div class=
"container" hero-p
>
178 <shadow-div class=
"card" hero-p
onclick=
"stuff()">
179 <div class=
"card-top"></div>
180 <div class=
"card-bottom" hero-p
>
181 <div class=
"headline">Google's Craziest Offices
</div>
182 <div class=
"source-container" hero-p layout horizontal center
>
183 <div class=
"icon" hero-id=
"icon-header" hero
></div>
184 <div class=
"two-lines">
185 <div class=
"source">The New York Times
</div>
186 <div class=
"time">36 minutes ago
</div>
192 <div class=
"tiles-container" layout horizontal justified
>
194 <shadow-div class=
"tile"></shadow-div>
195 <shadow-div class=
"tile"></shadow-div>
196 <shadow-div class=
"tile"></shadow-div>
197 <shadow-div class=
"tile"></shadow-div>
205 <section id=
"second">
207 <core-toolbar class=
"tall" hero-p
>
209 <core-toolbar class=
"tall toolbar-2" hero-id=
"icon-header" hero
>
210 <div flex
class=
"middle">T
</div>
214 <div class=
"container">
216 <shadow-div class=
"card" onclick=
"stuff()">
217 <div class=
"card-top-2"></div>
218 <div class=
"card-bottom">
219 <div class=
"headline">Some long overflowing headline
</div>
220 <div class=
"source-container" layout horizontal center
>
221 <div class=
"icon" style=
"background:red;"></div>
222 <div class=
"two-lines">
223 <div class=
"source">The New York Times
</div>
224 <div class=
"time">36 minutes ago
</div>
230 <div class=
"tiles-container" layout horizontal justified
>
232 <shadow-div class=
"tile"></shadow-div>
233 <shadow-div class=
"tile"></shadow-div>
234 <shadow-div class=
"tile"></shadow-div>
235 <shadow-div class=
"tile"></shadow-div>
243 </core-animated-pages>
248 var p
= document
.querySelector('core-animated-pages');
249 p
.selected
= p
.selected
? 0 : 1;