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

Side by Side Diff: polymer_1.2.3/bower_components/paper-styles/demo/index.html

Issue 1581713003: [third_party] add polymer 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: 1.2.3 Created 4 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
OLDNEW
(Empty)
1 <!doctype html>
2
3 <!--
4 @license
5 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
6 This code may only be used under the BSD style license found at http://polymer .github.io/LICENSE.txt
7 The complete set of authors may be found at http://polymer.github.io/AUTHORS.t xt
8 The complete set of contributors may be found at http://polymer.github.io/CONT RIBUTORS.txt
9 Code distributed by Google as part of the polymer project is also
10 subject to an additional IP rights grant found at http://polymer.github.io/PAT ENTS.txt
11 -->
12
13 <html>
14 <head>
15
16 <meta charset="utf-8">
17 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initia l-scale=1.0, user-scalable=yes">
18
19 <title>paper-styles demo</title>
20
21 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
22
23 <link rel="import" href="../color.html">
24 <link rel="import" href="../typography.html">
25 <link rel="import" href="../default-theme.html">
26 <link rel="import" href="../demo-pages.html">
27 </head>
28
29 <style>
30 .redlines {
31 background: linear-gradient(0deg, transparent, transparent 3.5px, rgba(255 ,0,0,0.2) 3.5px, rgba(255,0,0,0.2) 4px);
32 background-size: 100% 4px;
33 }
34
35 .paragraph {
36 margin-bottom: 20px;
37 }
38 </style>
39 <style is="custom-style">
40 .paper-font-display4 {
41 @apply(--paper-font-display4);
42 }
43
44 .paper-font-display3 {
45 @apply(--paper-font-display3);
46 }
47
48 .paper-font-display2 {
49 @apply(--paper-font-display2);
50 }
51
52 .paper-font-display1 {
53 @apply(--paper-font-display1);
54 }
55
56 .paper-font-headline {
57 @apply(--paper-font-headline);
58 }
59
60 .paper-font-title {
61 @apply(--paper-font-title);
62 }
63
64 .paper-font-subhead {
65 @apply(--paper-font-subhead);
66 }
67
68 .paper-font-body2 {
69 @apply(--paper-font-body2);
70 }
71
72 .paper-font-body1 {
73 @apply(--paper-font-body1);
74 }
75
76 .paper-font-caption {
77 @apply(--paper-font-caption);
78 }
79
80 .paper-font-menu {
81 @apply(--paper-font-menu);
82 }
83
84 .paper-font-button {
85 @apply(--paper-font-button);
86 }
87
88 .mobile-app {
89 max-width: 320px;
90 }
91
92 .toolbar {
93 height: 144px;
94 padding: 16px;
95
96 background: var(--default-primary-color);
97 color: var(--text-primary-color);
98 @apply(--paper-font-display1);
99 }
100
101 .item, .disabled-item {
102 position: relative;
103 padding: 8px;
104 border: 1px solid;
105 border-color: var(--divider-color);
106 border-top: 0;
107 }
108
109 .item .primary {
110 color: var(--primary-text-color);
111
112 @apply(--paper-font-body2);
113 }
114
115 .item .secondary {
116 color: var(--secondary-text-color);
117
118 @apply(--paper-font-body1);
119 }
120
121 .disabled-item {
122 color: var(--disabled-text-color);
123
124 @apply(--paper-font-body2);
125 }
126
127 .fab {
128 position: absolute;
129 box-sizing: border-box;
130 padding: 8px;
131 width: 56px;
132 height: 56px;
133 right: 16px;
134 top: -28px;
135 border-radius: 50%;
136 text-align: center;
137
138 background: var(--accent-color);
139 color: var(--text-primary-color);
140 @apply(--paper-font-display1);
141 }
142
143 .shadow {
144 display: inline-block;
145 padding: 8px;
146 margin: 16px;
147 height: 50px;
148 width: 50px;
149 }
150
151 .shadow-2dp {
152 @apply(--shadow-elevation-2dp);
153 }
154
155 .shadow-3dp {
156 @apply(--shadow-elevation-3dp);
157 }
158
159 .shadow-4dp {
160 @apply(--shadow-elevation-4dp);
161 }
162
163 .shadow-6dp {
164 @apply(--shadow-elevation-6dp);
165 }
166
167 .shadow-8dp {
168 @apply(--shadow-elevation-8dp);
169 }
170
171 .shadow-16dp {
172 @apply(--shadow-elevation-16dp);
173 }
174 </style>
175
176 <body unresolved>
177 <h1>paper-styles</h1>
178
179 <section id="default-theme">
180 <h2>default-theme.html</h2>
181
182 <section class="mobile-app">
183 <div class="toolbar">
184 Title
185 </div>
186 <div class="item">
187 <div class="fab">+</div>
188 <div class="primary">Primary text</div>
189 <div class="secondary">Secondary text</div>
190 </div>
191 <div class="disabled-item">
192 Disabled
193 </div>
194 </section>
195 </section>
196
197 <section id="typography">
198 <h2>typography.html</h2>
199 <p>
200 Grumpy wizards make toxic brew for the evil Queen and Jack.
201 </p>
202 <section class="redlines paragraph">
203 <div class="paper-font-display4">Display 4</div>
204 <div class="paper-font-display3">Display 3</div>
205 <div class="paper-font-display2">Display 2</div>
206 <div class="paper-font-display1">Display 1</div>
207 <div class="paper-font-headline">Headline</div>
208 <div class="paper-font-title">Title</div>
209 <div class="paper-font-subhead">Subhead</div>
210 <div class="paper-font-body2">Body 2</div>
211 <div class="paper-font-body1">Body 1</div>
212 <div class="paper-font-caption">Caption</div>
213 <div class="paper-font-menu">Menu</div>
214 <div class="paper-font-button">Button</div>
215 </section>
216
217 <h3>Paragraphs</h3>
218
219 <h4>body2</h4>
220 <section class="paper-font-body2 redlines">
221 <p>
222 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
223 tincidunt dui sit amet mi auctor, ac gravida magna aliquam. Fusce quis
224 purus elementum, tempus nisi vel, volutpat nulla. Vestibulum mollis
225 dictum tellus, vulputate porttitor arcu. Curabitur imperdiet risus id
226 egestas accumsan. Donec lectus felis, dignissim id iaculis sit amet,
227 faucibus in leo.
228 </p>
229 <p>
230 Mauris id urna ac ante ultrices commodo a imperdiet elit. Vivamus
231 interdum neque magna, eget dapibus est auctor et. Donec accumsan
232 libero nec augue scelerisque, ac egestas ante tincidunt. Proin
233 sollicitudin, mi eget sagittis mollis, arcu orci scelerisque turpis, a
234 sollicitudin tellus quam non sapien.
235 </p>
236 </section>
237
238 <h4>body1</h4>
239 <section class="paper-font-body1 redlines">
240 <p>
241 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
242 tincidunt dui sit amet mi auctor, ac gravida magna aliquam. Fusce quis
243 purus elementum, tempus nisi vel, volutpat nulla. Vestibulum mollis
244 dictum tellus, vulputate porttitor arcu. Curabitur imperdiet risus id
245 egestas accumsan. Donec lectus felis, dignissim id iaculis sit amet,
246 faucibus in leo.
247 </p>
248 <p>
249 Mauris id urna ac ante ultrices commodo a imperdiet elit. Vivamus
250 interdum neque magna, eget dapibus est auctor et. Donec accumsan
251 libero nec augue scelerisque, ac egestas ante tincidunt. Proin
252 sollicitudin, mi eget sagittis mollis, arcu orci scelerisque turpis, a
253 sollicitudin tellus quam non sapien.
254 </p>
255 </section>
256 </section>
257
258 <section id="shadow">
259 <h2>shadow.html</h2>
260 <div class="shadow shadow-2dp">2dp</div>
261 <div class="shadow shadow-3dp">3dp</div>
262 <div class="shadow shadow-4dp">4dp</div>
263 <div class="shadow shadow-6dp">6dp</div>
264 <div class="shadow shadow-8dp">8dp</div>
265 <div class="shadow shadow-16dp">16dp</div>
266 </section>
267
268 <section id="demo-page">
269 <h2>demo-pages.html</h2>
270
271 <h3>Horizontal sections</h3>
272 <div class="horizontal-section-container">
273 <div>
274 <h4>Column 1</h4>
275 <div class="horizontal-section">
276 <div>Oxygen</div>
277 <div>Carbon</div>
278 <div>Hydrogen</div>
279 <div>Nitrogen</div>
280 <div>Calcium</div>
281 </div>
282 </div>
283
284 <div>
285 <h4>Column 2</h4>
286 <div class="horizontal-section">
287 <div>Oxygen</div>
288 <div>Carbon</div>
289 <div>Hydrogen</div>
290 <div>Nitrogen</div>
291 <div>Calcium</div>
292 </div>
293 </div>
294
295 <div>
296 <h4>Column 3</h4>
297 <div class="horizontal-section">
298 <div>Oxygen</div>
299 <div>Carbon</div>
300 <div>Hydrogen</div>
301 <div>Nitrogen</div>
302 <div>Calcium</div>
303 </div>
304 </div>
305 </div>
306
307 <h3>Vertical sections</h3>
308 <div class="vertical-section-container">
309 <div>
310 <h4>Section 1</h4>
311 <div class="vertical-section">
312 <div>Oxygen</div>
313 <div>Carbon</div>
314 <div>Hydrogen</div>
315 <div>Nitrogen</div>
316 <div>Calcium</div>
317 </div>
318 </div>
319 </div>
320
321 <div class="vertical-section-container centered">
322 <h4>Section 2 (centered)</h4>
323 <div class="vertical-section">
324 <div>Oxygen</div>
325 <div>Carbon</div>
326 <div>Hydrogen</div>
327 <div>Nitrogen</div>
328 <div>Calcium</div>
329 </div>
330 </div>
331 </section>
332
333 </body>
334 </html>
OLDNEW
« no previous file with comments | « polymer_1.2.3/bower_components/paper-styles/demo-pages.html ('k') | polymer_1.2.3/bower_components/paper-styles/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698