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://polymer.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/CONTRIBUTORS.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/PATENTS.txt
13 <title>paper-ripple
</title>
15 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0">
16 <meta name=
"mobile-web-app-capable" content=
"yes">
17 <meta name=
"apple-mobile-web-app-capable" content=
"yes">
19 <script src=
"../webcomponentsjs/webcomponents.js"></script>
21 <link rel=
"import" href=
"../core-icons/core-icons.html">
22 <link rel=
"import" href=
"paper-ripple.html">
23 <link rel=
"import" href=
"../font-roboto/roboto.html">
24 <link rel=
"import" href=
"../core-icon/core-icon.html">
26 <style shim-shadowdom
>
29 background-color: #f9f9f9;
30 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
31 -webkit-user-select: none;
32 -moz-user-select: none;
33 -ms-user-select: none;
35 -webkit-tap-highlight-color: rgba(
0,
0,
0,
0);
36 -webkit-touch-callout: none;
49 display: inline-block;
56 background-color: #fff;
60 .button
> paper-ripple {
70 background-color: #eee;
74 background-color: #
4285f4;
79 background-color: #
0f9d58;
84 transition: box-shadow
0.2s cubic-bezier(
0.4,
0,
0.2,
1);
85 transition-delay:
0.2s;
86 box-shadow:
0 2px
5px
0 rgba(
0,
0,
0,
0.26);
89 .button.raised:active {
90 box-shadow:
0 8px
17px
0 rgba(
0,
0,
0,
0.2);
97 display: inline-block;
102 .icon-button
> core-icon {
104 transition: -webkit-transform
0.2s cubic-bezier(
0.4,
0,
0.2,
1);
105 transition: transform
0.2s cubic-bezier(
0.4,
0,
0.2,
1);
108 .icon-button:hover
> core-icon {
109 -webkit-transform: scale(
1.2);
110 transform: scale(
1.2);
113 .icon-button
> paper-ripple {
118 .icon-button.red
> core-icon::shadow path {
122 .icon-button.red
> paper-ripple {
126 .icon-button.blue
> core-icon::shadow path {
130 .icon-button.blue
> paper-ripple {
137 display: inline-block;
143 transition: box-shadow
0.2s cubic-bezier(
0.4,
0,
0.2,
1);
144 transition-delay:
0.2s;
145 box-shadow:
0 2px
5px
0 rgba(
0,
0,
0,
0.26);
149 background-color: #d23f31;
153 background-color: #
4285f4;
157 background-color: #
0f9d58;
161 box-shadow:
0 8px
17px
0 rgba(
0,
0,
0,
0.2);
162 transition-delay:
0s;
169 .fab
> core-icon::shadow path {
175 display: inline-block;
177 background-color: #fff;
178 box-shadow:
0 8px
17px
0 rgba(
0,
0,
0,
0.2);
196 display: inline-block;
200 background-color: #fff;
201 box-shadow:
0 12px
15px
0 rgba(
0,
0,
0,
0.24);
205 box-sizing: border-box;
214 .dialog
> .content
> .title {
224 background: url(http://lorempixel.com/
300/
240/nature/);
252 <div class=
"button raised">
253 <div class=
"center" fit
>SUBMIT
</div>
254 <paper-ripple fit
></paper-ripple>
257 <div class=
"button raised grey">
258 <div class=
"center" fit
>CANCEL
</div>
259 <paper-ripple fit
></paper-ripple>
262 <div class=
"button raised blue">
263 <div class=
"center" fit
>COMPOSE
</div>
264 <paper-ripple fit
></paper-ripple>
267 <div class=
"button raised green">
268 <div class=
"center" fit
>OK
</div>
269 <paper-ripple fit
></paper-ripple>
276 <div class=
"button raised grey narrow">
277 <div class=
"center" fit
>+
1</div>
278 <paper-ripple fit
></paper-ripple>
281 <div class=
"button raised grey narrow label-blue">
282 <div class=
"center" fit
>+
1</div>
283 <paper-ripple fit
></paper-ripple>
286 <div class=
"button raised grey narrow label-red">
287 <div class=
"center" fit
>+
1</div>
288 <paper-ripple fit
></paper-ripple>
295 <div class=
"icon-button">
296 <core-icon icon=
"menu"></core-icon>
297 <paper-ripple class=
"circle recenteringTouch" fit
></paper-ripple>
300 <div class=
"icon-button">
301 <core-icon icon=
"more-vert"></core-icon>
302 <paper-ripple class=
"circle recenteringTouch" fit
></paper-ripple>
305 <div class=
"icon-button red">
306 <core-icon icon=
"delete"></core-icon>
307 <paper-ripple class=
"circle recenteringTouch" fit
></paper-ripple>
310 <div class=
"icon-button blue">
311 <core-icon icon=
"account-box"></core-icon>
312 <paper-ripple class=
"circle recenteringTouch" fit
></paper-ripple>
319 <div class=
"fab red">
320 <core-icon icon=
"add"></core-icon>
321 <paper-ripple class=
"circle recenteringTouch" fit
></paper-ripple>
324 <div class=
"fab blue">
325 <core-icon icon=
"mail"></core-icon>
326 <paper-ripple class=
"circle recenteringTouch" fit
></paper-ripple>
329 <div class=
"fab green">
330 <core-icon icon=
"create"></core-icon>
331 <paper-ripple class=
"circle recenteringTouch" fit
></paper-ripple>
341 <div class=
"label" fit
>Mark as unread
</div>
342 <paper-ripple fit
></paper-ripple>
345 <div class=
"label" fit
>Mark as important
</div>
346 <paper-ripple fit
></paper-ripple>
349 <div class=
"label" fit
>Add to Tasks
</div>
350 <paper-ripple fit
></paper-ripple>
353 <div class=
"label" fit
>Create event
</div>
354 <paper-ripple fit
></paper-ripple>
359 <div class=
"menu blue">
362 <div class=
"label" fit
>Import
</div>
363 <paper-ripple fit
></paper-ripple>
366 <div class=
"label" fit
>Export
</div>
367 <paper-ripple fit
></paper-ripple>
370 <div class=
"label" fit
>Print
</div>
371 <paper-ripple fit
></paper-ripple>
374 <div class=
"label" fit
>Restore contacts
</div>
375 <paper-ripple fit
></paper-ripple>
386 <div class=
"content">
387 <div class=
"title">Permission
</div><br>
388 <div>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
</div>
391 <div class=
"button label-blue">
392 <div class=
"center" fit
>ACCEPT
</div>
393 <paper-ripple fit
></paper-ripple>
397 <div class=
"center" fit
>DECLINE
</div>
398 <paper-ripple fit
></paper-ripple>
405 <paper-ripple class=
"recenteringTouch" fit
></paper-ripple>
409 <div class=
"card image">
411 <paper-ripple class=
"recenteringTouch" fit
></paper-ripple>