| Index: third_party/polymer/components/core-transition/core-transition-overlay.css
|
| diff --git a/third_party/polymer/components/core-transition/core-transition-overlay.css b/third_party/polymer/components/core-transition/core-transition-overlay.css
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..07b2d69374735098f80d1cd1815c16342f11d89e
|
| --- /dev/null
|
| +++ b/third_party/polymer/components/core-transition/core-transition-overlay.css
|
| @@ -0,0 +1,46 @@
|
| +/* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|
| +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
| +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
| +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
| +Code distributed by Google as part of the polymer project is also
|
| +subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */
|
| +
|
| +:host(.core-transition) {
|
| + outline: none;
|
| + overflow: hidden;
|
| + opacity: 0;
|
| + transition: transform 0.2s ease-in-out, opacity 0.2s ease-in;
|
| + -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in;
|
| +}
|
| +
|
| +
|
| +:host(.core-transition.core-opened) {
|
| + opacity: 1;
|
| + transform: none;
|
| + -webkit-transform: none;
|
| +}
|
| +
|
| +:host(.core-transition-center) {
|
| + transform: scale(0.5);
|
| + -webkit-transform: scale(0.5);
|
| +}
|
| +
|
| +:host(.core-transition-top) {
|
| + transform: translateY(-200%);
|
| + -webkit-transform: translateY(-200%);
|
| +}
|
| +
|
| +:host(.core-transition-bottom) {
|
| + transform: translateY(200%);
|
| + -webkit-transform: translateY(200%);
|
| +}
|
| +
|
| +:host(.core-transition-left) {
|
| + transform: translateX(-200%);
|
| + -webkit-transform: translateX(-200%);
|
| +}
|
| +
|
| +:host(.core-transition-right) {
|
| + transform: translateX(200%);
|
| + -webkit-transform: translateX(200%);
|
| +}
|
|
|