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

Unified Diff: third_party/polymer/components/core-pages/core-pages.css

Issue 582873003: Polymer elements added to third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/core-pages/core-pages.css
diff --git a/third_party/polymer/polymer/polymer.html b/third_party/polymer/components/core-pages/core-pages.css
similarity index 57%
copy from third_party/polymer/polymer/polymer.html
copy to third_party/polymer/components/core-pages/core-pages.css
index 424006a04e7d1837ec411f5db7b89b7c07f62a48..8cca77d80bf355380af9a7bde0999393d8f86039 100644
--- a/third_party/polymer/polymer/polymer.html
+++ b/third_party/polymer/components/core-pages/core-pages.css
@@ -1,13 +1,30 @@
-<!--
+/*
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
--->
+*/
-<link rel="import" href="layout.html">
+:host {
+ display: block;
+ position: relative;
+}
-<script src="polymer.js"></script>
-<!--<link rel="import" href="../polymer-dev/polymer.html">-->
+polyfill-next-selector { content: ':host > *'; }
+::content > * {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ visibility: hidden;
+ z-index: -1000;
+}
+
+polyfill-next-selector { content: ':host > .core-selected'; }
+::content > .core-selected {
+ visibility: visible;
+ z-index: auto;
+}
« no previous file with comments | « third_party/polymer/components/core-pages/bower.json ('k') | third_party/polymer/components/core-pages/core-pages.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698