1 /* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 Code distributed by Google as part of the polymer project is also
6 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */
8 :host
(.paper-dialog-transition
) {
11 transition: transform
0.2s cubic-bezier
(0.4, 0, 0.2, 1), opacity
0.2s cubic-bezier
(0.4, 0, 0.2, 1);
12 -webkit-transition: -webkit-transform
0.2s cubic-bezier
(0.4, 0, 0.2, 1), opacity
0.2s cubic-bezier
(0.4, 0, 0.2, 1);
15 :host
(.paper-dialog-transition
.core-opened
) {
18 -webkit-transform: none
;
21 :host
(.paper-dialog-transition-bottom
) {
22 transform: scale
(0.9) translateY
(200%);
23 -webkit-transform: scale
(0.9) translateY
(200%);
26 :host
(.paper-dialog-transition-center
.core-opened
) {
27 animation: paper-dialog-transition-center-keyframes
0.2s cubic-bezier
(0.4, 0, 0.2, 1);
28 -webkit-animation: paper-dialog-transition-center-keyframes
0.2s cubic-bezier
(0.4, 0, 0.2, 1);
31 @keyframes paper-dialog-transition-center-keyframes
{
33 transform: scale
(0.5) translateY
(0);
34 -webkit-transform: scale
(0.5) translateY
(0);
37 transform: scale
(1) translateY
(-10px);
38 -webkit-transform: scale
(1) translateY
(-10px);
41 transform: scale
(1) translateY
(0);
42 -webkit-transform: scale
(1) translateY
(0);
46 @-webkit-keyframes paper-dialog-transition-center-keyframes
{
48 transform: scale
(0.5) translateY
(0);
49 -webkit-transform: scale
(0.5) translateY
(0);
52 transform: scale
(1) translateY
(-10px);
53 -webkit-transform: scale
(1) translateY
(-10px);
56 transform: scale
(1) translateY
(0);
57 -webkit-transform: scale
(1) translateY
(0);