Mechanical rename of base::debug -> base::trace_event [final pass]
[chromium-blink-merge.git] / third_party / polymer / components-chromium / paper-tabs / paper-tab.html
blob31fa84babd7ada86b2295eb259e324193783e733
1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 --><!--
9 `paper-tab` is styled to look like a tab. It should be used in conjunction with
10 `paper-tabs`.
12 Example:
14 <paper-tabs selected="0">
15 <paper-tab>TAB 1</paper-tab>
16 <paper-tab>TAB 2</paper-tab>
17 <paper-tab>TAB 3</paper-tab>
18 </paper-tabs>
20 Styling tab:
22 To change the ink color:
24 .pink paper-tab::shadow #ink {
25 color: #ff4081;
28 @group Paper Elements
29 @element paper-tab
30 @homepage github.io
31 --><html><head><link rel="import" href="../paper-ripple/paper-ripple.html">
33 </head><body><polymer-element name="paper-tab" attributes="noink" role="tab" inline="" flex="" center-center="" horizontal="" layout="" assetpath="">
34 <template>
36 <link rel="stylesheet" href="paper-tab.css">
38 <div class="tab-content" flex="" auto="" center-center="" horizontal="" layout=""><content></content></div>
39 <paper-ripple id="ink" initialopacity="0.95" opacitydecayvelocity="0.98"></paper-ripple>
41 </template>
43 </polymer-element>
44 <script src="paper-tab-extracted.js"></script></body></html>