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

Unified Diff: third_party/polymer/components/core-layout/demo.html

Issue 592603004: Revert "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-layout/demo.html
diff --git a/third_party/polymer/components/core-layout/demo.html b/third_party/polymer/components/core-layout/demo.html
deleted file mode 100644
index 46c91b54da4673ae60e7c2309a346945dd8c9ac9..0000000000000000000000000000000000000000
--- a/third_party/polymer/components/core-layout/demo.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!DOCTYPE html>
-<!--
-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
--->
-<html>
-<head>
- <title>core-layout demo</title>
-
- <script src="../platform/platform.js"></script>
- <link rel="import" href="core-layout.html">
-
- <style>
- body {
- font-size: 20px;
- }
-
- layout-demo {
- height: 300px;
- }
-
- </style>
-
-</head>
-<body unresolved>
-
- <polymer-element name="layout-demo" noscript>
- <template>
- <style>
- div, core-layout {
- box-sizing: border-flow;
- -moz-flow-sizing: border-flow;
- border: 2px solid #ccc;
- }
-
- .abs {
- position: absolute;
- font-size: 14px;
- padding: 4px;
- right: 10%;
- bottom: 10px;
- height: 30px;
- width: 70px;
- border-radius: 10px;
- background: seagreen;
- border: none;
- }
- </style>
- <core-layout></core-layout>
- <core-layout core-flex>
- <div>Hi I'm some content</div>
- <core-layout core-flex vertical>
- <core-layout align="center">
- <h3>Title</h3>
- <button>hello</button>
- </core-layout>
- <core-layout core-flex>
- <div core-flex class="core-relative">
- Main content
- <div class="abs">abs pos :)</div>
- </div>
- <div>Sidebar content</div>
- </core-layout>
- <div>Some more stuffs...</div>
- <core-layout justify="end">
- <b>Footer</b>
- </core-layout>
- </core-layout>
- <div>A last bit, like a panel</div>
- </core-layout>
- </template>
- </polymer-element>
-
- <h3>core-layout example</h3>
- <layout-demo></layout-demo>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698