Blame view

bower_components/iron-menu-behavior/demo/index.html 3.19 KB
73bcce88   luigser   COMPONENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  <!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 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>iron-menu-behavior demo</title>
  
    <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
c5169e0e   Renato De Donato   a new hope
21
22
  
    <link rel="import" href="../../paper-styles/paper-styles.html">
73bcce88   luigser   COMPONENTS
23
    <link rel="import" href="../../paper-styles/demo-pages.html">
73bcce88   luigser   COMPONENTS
24
25
26
27
28
29
30
31
32
33
    <link rel="import" href="simple-menu.html">
    <link rel="import" href="simple-menubar.html">
  
    <style is="custom-style">
      simple-menu,
      simple-menubar {
        display: inline-block;
        width: 100%;
      }
  
e619a3b0   Luigi Serra   Controllet cross ...
34
      simple-menu a {
73bcce88   luigser   COMPONENTS
35
        display: block;
73bcce88   luigser   COMPONENTS
36
37
      }
  
e619a3b0   Luigi Serra   Controllet cross ...
38
39
      simple-menubar a,
      simple-menu a {
73bcce88   luigser   COMPONENTS
40
        padding: 15px 20px;
e619a3b0   Luigi Serra   Controllet cross ...
41
42
        color: var(--primary-text-color);
        text-decoration: none;
73bcce88   luigser   COMPONENTS
43
44
      }
  
e619a3b0   Luigi Serra   Controllet cross ...
45
46
      simple-menu a[disabled],
      simple-menubar a[disabled] {
73bcce88   luigser   COMPONENTS
47
48
49
50
51
52
53
54
55
56
57
58
59
        color: var(--google-grey-300);
      }
  
      .horizontal-section {
        padding: 0;
        margin-bottom: 20px;
      }
  
      .row {
        height: 120px;
      }
    </style>
  </head>
e619a3b0   Luigi Serra   Controllet cross ...
60
  <body unresolved>
73bcce88   luigser   COMPONENTS
61
  
c5169e0e   Renato De Donato   a new hope
62
    <div class="horizontal center-justified layout">
73bcce88   luigser   COMPONENTS
63
64
65
66
      <div>
        <h3>Simple menu</h3>
        <div class="horizontal-section">
          <simple-menu>
e619a3b0   Luigi Serra   Controllet cross ...
67
68
69
70
            <a href="javascript:void(0)">Item 0</a>
            <a href="javascript:void(0)">Item 1</a>
            <a href="javascript:void(0)" disabled>Item 2</a>
            <a href="javascript:void(0)">Item 3</a>
73bcce88   luigser   COMPONENTS
71
72
73
74
75
76
77
78
          </simple-menu>
        </div>
      </div>
  
      <div>
        <h3>Multi-select menu</h3>
        <div class="horizontal-section">
          <simple-menu multi>
e619a3b0   Luigi Serra   Controllet cross ...
79
80
81
82
            <a href="javascript:void(0)">Item 0</a>
            <a href="javascript:void(0)">Item 1</a>
            <a href="javascript:void(0)">Item 2</a>
            <a href="javascript:void(0)">Item 3</a>
73bcce88   luigser   COMPONENTS
83
84
85
86
87
88
89
90
91
          </simple-menu>
        </div>
      </div>
  
      <div>
        <div class="row">
          <h3>Simple menubar</h3>
          <div class="horizontal-section">
            <simple-menubar>
e619a3b0   Luigi Serra   Controllet cross ...
92
93
94
95
              <a href="javascript:void(0)">Item 0</a>
              <a href="javascript:void(0)">Item 1</a>
              <a href="javascript:void(0)" disabled>Item 2</a>
              <a href="javascript:void(0)">Item 3</a>
73bcce88   luigser   COMPONENTS
96
97
98
99
100
101
102
            </simple-menubar>
          </div>
        </div>
        <div class="row">
          <h3>Multi-select menubar</h3>
          <div class="horizontal-section">
            <simple-menubar multi>
e619a3b0   Luigi Serra   Controllet cross ...
103
104
105
106
              <a href="javascript:void(0)">Item 0</a>
              <a href="javascript:void(0)">Item 1</a>
              <a href="javascript:void(0)">Item 2</a>
              <a href="javascript:void(0)">Item 3</a>
73bcce88   luigser   COMPONENTS
107
108
109
110
111
112
113
114
            </simple-menubar>
          </div>
        </div>
      </div>
  
    </div>
  </body>
  </html>