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

Side by Side Diff: bower_components/paper-tabs/demo.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/bower.json ('k') | bower_components/paper-tabs/index.html » ('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 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polym er.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS .txt
6 The complete set of contributors may be found at http://polymer.github.io/CO NTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/P ATENTS.txt
9 -->
10 <!doctype html>
11 <html>
12 <head>
13 <title>paper-tabs</title>
14 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes">
15 <script src="../platform/platform.js"></script>
16
17 <link rel="import" href="../core-icons/core-icons.html">
18 <link rel="import" href="paper-tabs.html">
19 <link rel="import" href="../core-toolbar/core-toolbar.html">
20 <link rel="import" href="../paper-icon-button/paper-icon-button.html">
21 <link rel="import" href="../font-roboto/roboto.html">
22
23 <style shim-shadowdom>
24
25 body {
26 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
27 margin: 0;
28 padding: 24px;
29 color: #333;
30 -webkit-user-select: none;
31 -moz-user-select: none;
32 -ms-user-select: none;
33 user-select: none;
34 -webkit-tap-highlight-color: rgba(0,0,0,0);
35 -webkit-touch-callout: none;
36 }
37
38 paper-tabs, core-toolbar {
39 background-color: #00bcd4;
40 color: #fff;
41 box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2);
42 }
43
44 core-toolbar paper-tabs {
45 box-shadow: none;
46 }
47
48 paper-tabs[noink][nobar] paper-tab.core-selected {
49 color: #ffff8d;
50 }
51
52 paper-tabs.transparent-teal {
53 background-color: transparent;
54 color: #00bcd4;
55 box-shadow: none;
56 }
57
58 paper-tabs.transparent-teal::shadow #selectionBar {
59 background-color: #00bcd4;
60 }
61
62 paper-tabs.transparent-teal paper-tab::shadow #ink {
63 color: #00bcd4;
64 }
65
66 h3 {
67 font-size: 16px;
68 font-weight: 400;
69 }
70
71 </style>
72
73 </head>
74 <body unresolved>
75
76 <h3>A. No ink effect and no sliding bar</h3>
77
78 <paper-tabs selected="0" noink nobar>
79
80 <paper-tab>ITEM ONE</paper-tab>
81 <paper-tab>ITEM TWO</paper-tab>
82 <paper-tab>ITEM THREE</paper-tab>
83
84 </paper-tabs>
85
86 <br>
87 <br>
88
89 <h3>B. The bar slides to the selected tab</h3>
90
91 <paper-tabs selected="0" noink>
92
93 <paper-tab>ITEM ONE</paper-tab>
94 <paper-tab>ITEM TWO</paper-tab>
95 <paper-tab>ITEM THREE</paper-tab>
96
97 </paper-tabs>
98
99 <br>
100 <br>
101
102 <h3>C. Inky Tabs</h3>
103
104 <paper-tabs selected="0">
105
106 <paper-tab>ITEM ONE</paper-tab>
107 <paper-tab>ITEM TWO</paper-tab>
108 <paper-tab>ITEM THREE</paper-tab>
109
110 </paper-tabs>
111
112 <br>
113 <br>
114
115 <paper-tabs selected="0" class="transparent-teal">
116
117 <paper-tab>ITEM ONE</paper-tab>
118 <paper-tab>ITEM TWO</paper-tab>
119 <paper-tab>ITEM THREE</paper-tab>
120
121 </paper-tabs>
122
123 <br>
124 <br>
125
126 <core-toolbar class="medium-tall">
127
128 <paper-icon-button icon="menu"></paper-icon-button>
129 <div flex>Title</div>
130 <paper-icon-button icon="search"></paper-icon-button>
131 <paper-icon-button icon="more-vert"></paper-icon-button>
132
133 <div class="bottom fit" horizontal layout>
134
135 <paper-tabs selected="0" flex style="max-width: 600px;">
136
137 <paper-tab>ITEM ONE</paper-tab>
138 <paper-tab>ITEM TWO</paper-tab>
139 <paper-tab>ITEM THREE</paper-tab>
140
141 </paper-tabs>
142
143 </div>
144
145 </core-toolbar>
146
147 <br>
148 <br>
149
150 <core-toolbar class="tall">
151
152 <paper-tabs selected="0" class="bottom indent" style="width: 200px;" self-en d>
153
154 <paper-tab>ITEM ONE</paper-tab>
155 <paper-tab>ITEM TWO</paper-tab>
156
157 </paper-tabs>
158
159 <div class="bottom" flex></div>
160
161 <paper-icon-button class="bottom" icon="search"></paper-icon-button>
162
163 </core-toolbar>
164
165 </body>
166 </html>
OLDNEW
« no previous file with comments | « bower_components/paper-tabs/bower.json ('k') | bower_components/paper-tabs/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698