Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / third_party / polymer / components / paper-dialog / paper-dialog-transition.css
blob6a55d2bd8e7ea6a7e5d1ab1dd1f52cc65dd44f5d
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) {
9 outline: none;
10 opacity: 0;
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) {
16 opacity: 1;
17 transform: none;
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 {
32 0% {
33 transform: scale(0.5) translateY(0);
34 -webkit-transform: scale(0.5) translateY(0);
36 90% {
37 transform: scale(1) translateY(-10px);
38 -webkit-transform: scale(1) translateY(-10px);
40 100% {
41 transform: scale(1) translateY(0);
42 -webkit-transform: scale(1) translateY(0);
46 @-webkit-keyframes paper-dialog-transition-center-keyframes {
47 0% {
48 transform: scale(0.5) translateY(0);
49 -webkit-transform: scale(0.5) translateY(0);
51 90% {
52 transform: scale(1) translateY(-10px);
53 -webkit-transform: scale(1) translateY(-10px);
55 100% {
56 transform: scale(1) translateY(0);
57 -webkit-transform: scale(1) translateY(0);