/* 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%);
}