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

Side by Side Diff: bower_components/paper-tabs/paper-tab.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 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
« no previous file with comments | « bower_components/paper-tabs/paper-tab.css ('k') | bower_components/paper-tabs/paper-tabs.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.g ithub.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/CONTRI BUTORS.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/PATEN TS.txt
8 -->
9
10 <!--
11 `paper-tab` is styled to look like a tab. It should be used in conjunction with
12 `paper-tabs`.
13
14 Example:
15
16 <paper-tabs selected="0">
17 <paper-tab>TAB 1</paper-tab>
18 <paper-tab>TAB 2</paper-tab>
19 <paper-tab>TAB 3</paper-tab>
20 </paper-tabs>
21
22 Styling tab:
23
24 To change the ink color:
25
26 .pink paper-tab::shadow #ink {
27 color: #ff4081;
28 }
29
30 @group Paper Elements
31 @element paper-tab
32 @homepage github.io
33 -->
34
35 <link rel="import" href="../paper-ripple/paper-ripple.html">
36
37 <polymer-element name="paper-tab" attributes="noink" role="tab">
38 <template>
39
40 <link rel="stylesheet" href="paper-tab.css">
41
42 <div id="tabContainer" center-justified center horizontal layout>
43
44 <div class="tab-content"><content></content></div>
45 <paper-ripple id="ink" initialOpacity="0.95" opacityDecayVelocity="0.98"></p aper-ripple>
46
47 </div>
48
49 </template>
50 <script>
51
52 Polymer('paper-tab', {
53
54 /**
55 * If true, ink ripple effect is disabled.
56 *
57 * @attribute noink
58 * @type boolean
59 * @default false
60 */
61 noink: false
62
63 });
64
65 </script>
66 </polymer-element>
OLDNEW
« no previous file with comments | « bower_components/paper-tabs/paper-tab.css ('k') | bower_components/paper-tabs/paper-tabs.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698