Blame view

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