Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/polymer/components-chromium/core-transition/core-transition-overlay.css

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/components-chromium/core-transition/core-transition-overlay.css
diff --git a/third_party/polymer/components-chromium/core-transition/core-transition-overlay.css b/third_party/polymer/components-chromium/core-transition/core-transition-overlay.css
new file mode 100644
index 0000000000000000000000000000000000000000..07b2d69374735098f80d1cd1815c16342f11d89e
--- /dev/null
+++ b/third_party/polymer/components-chromium/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%);
+}

Powered by Google App Engine
This is Rietveld 408576698