Blame view

bower_components/paper-fab/demo/index.html 3.73 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
  <!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
  The complete set of authors may be found at http://polymer.github.io/AUTHORS
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
  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
  -->
  <html>
  <head>
  
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
  
    <title>paper-fab demo</title>
  
    <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
    <link rel="import" href="../../paper-styles/color.html">
c5169e0e   Renato De Donato   a new hope
22
    <link rel="import" href="../../paper-styles/demo-pages.html">
73bcce88   luigser   COMPONENTS
23
24
25
    <link rel="import" href="../../iron-icons/iron-icons.html">
    <link rel="import" href="../paper-fab.html">
  
c5169e0e   Renato De Donato   a new hope
26
27
28
29
30
    <style is="custom-style">
      .horizontal-section {
        min-width: 200px;
      }
  
73bcce88   luigser   COMPONENTS
31
      paper-fab {
c5169e0e   Renato De Donato   a new hope
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
        display: block;
        margin-bottom:24px;
        margin-left: auto;
        margin-right: auto;
      }
  
      paper-fab.blue {
        --paper-fab-background: var(--paper-light-blue-500);
        --paper-fab-keyboard-focus-background: var(--paper-light-blue-900);
      }
  
      paper-fab.red {
        --paper-fab-background: var(--paper-red-500);
        --paper-fab-keyboard-focus-background: var(--paper-red-900);
      }
  
      paper-fab.green {
        --paper-fab-background: var(--paper-green-500);
        --paper-fab-keyboard-focus-background: var(--paper-green-900);
73bcce88   luigser   COMPONENTS
51
52
      }
  
c5169e0e   Renato De Donato   a new hope
53
54
55
      paper-fab.orange {
        --paper-fab-background: var(--paper-orange-500);
        --paper-fab-keyboard-focus-background: var(--paper-orange-900);
73bcce88   luigser   COMPONENTS
56
      }
c5169e0e   Renato De Donato   a new hope
57
  
73bcce88   luigser   COMPONENTS
58
    </style>
c5169e0e   Renato De Donato   a new hope
59
  
73bcce88   luigser   COMPONENTS
60
61
  </head>
  <body unresolved>
c5169e0e   Renato De Donato   a new hope
62
63
64
65
66
67
    <div class="horizontal-section-container">
      <div>
        <h4>Enabled</h4>
        <div class="horizontal-section">
          <paper-fab icon="arrow-forward" title="arrow-forward"></paper-fab>
          <paper-fab icon="create" title="create"></paper-fab>
eb240478   Luigi Serra   public room cards...
68
          <paper-fab icon="favorite" title="heart"></paper-fab>
c5169e0e   Renato De Donato   a new hope
69
70
71
72
          <paper-fab mini icon="done" title="done"></paper-fab>
          <paper-fab mini icon="reply" title="reply"></paper-fab>
        </div>
      </div>
73bcce88   luigser   COMPONENTS
73
  
c5169e0e   Renato De Donato   a new hope
74
75
76
77
78
79
80
81
82
83
      <div>
        <h4>Disabled</h4>
        <div class="horizontal-section">
          <paper-fab disabled icon="arrow-forward" title="arrow-forward"></paper-fab>
          <paper-fab disabled icon="create" title="create"></paper-fab>
          <paper-fab disabled icon="favorite" title="heart"></paper-fab>
          <paper-fab disabled mini icon="done" title="done"></paper-fab>
          <paper-fab disabled mini icon="reply" title="reply"></paper-fab>
        </div>
      </div>
a1a3bc73   Luigi Serra   graphs updates
84
  
c5169e0e   Renato De Donato   a new hope
85
86
87
88
89
      <div>
        <h4>Colors</h4>
        <div class="horizontal-section">
          <paper-fab icon="arrow-forward" title="arrow-forward" class="blue"></paper-fab>
          <paper-fab icon="create" title="create" class="red"></paper-fab>
a1a3bc73   Luigi Serra   graphs updates
90
          <paper-fab icon="favorite" title="heart" class="orange"></paper-fab>
c5169e0e   Renato De Donato   a new hope
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
          <paper-fab mini icon="done" title="done" class="green"></paper-fab>
          <paper-fab mini icon="reply" title="reply" class="blue"></paper-fab>
        </div>
      </div>
  
      <div>
        <h4>Noink</h4>
        <div class="horizontal-section">
          <paper-fab noink icon="arrow-forward" title="arrow-forward"></paper-fab>
          <paper-fab noink icon="create" title="create"></paper-fab>
          <paper-fab noink icon="favorite" title="heart"></paper-fab>
          <paper-fab noink mini icon="done" title="done"></paper-fab>
          <paper-fab noink mini icon="reply" title="reply"></paper-fab>
        </div>
      </div>
73bcce88   luigser   COMPONENTS
106
107
108
    </div>
  </body>
  </html>