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

Unified Diff: third_party/polymer/components-chromium/core-animated-pages/transitions/hero-transition.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-animated-pages/transitions/hero-transition.css
diff --git a/third_party/polymer/components-chromium/core-animated-pages/transitions/hero-transition.css b/third_party/polymer/components-chromium/core-animated-pages/transitions/hero-transition.css
new file mode 100644
index 0000000000000000000000000000000000000000..093b9cb83573b48b196f67b9bdde7c53abe46c79
--- /dev/null
+++ b/third_party/polymer/components-chromium/core-animated-pages/transitions/hero-transition.css
@@ -0,0 +1,12 @@
+/* Hide heroes that are not currently transitioning */
+polyfill-next-selector { content: ':host > [animate] [hero]'; }
+::content > [animate] /deep/ [hero], ::content > [animate]::shadow [hero] {
+ visibility: hidden;
+}
+
+polyfill-next-selector { content: ':host > .core-selected[animate] [hero]'; }
+::content > .core-selected[animate] /deep/ [hero],
+::content > .core-selected[animate]::shadow [hero] {
+ visibility: visible;
+ z-index: 10000;
+}

Powered by Google App Engine
This is Rietveld 408576698