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

Unified Diff: third_party/polymer/v0_8/components/paper-checkbox/demo/index.html

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rerun reproduce.sh Created 5 years, 8 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/v0_8/components/paper-checkbox/demo/index.html
diff --git a/third_party/polymer/v0_8/components/paper-checkbox/demo/index.html b/third_party/polymer/v0_8/components/paper-checkbox/demo/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..80aad6f1d21ff64c40fba55c58757fc67b7e9f43
--- /dev/null
+++ b/third_party/polymer/v0_8/components/paper-checkbox/demo/index.html
@@ -0,0 +1,89 @@
+<!doctype html>
+<!--
+@license
+Copyright (c) 2015 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>paper-checkbox demo</title>
+
+ <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
+ <meta name="mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+
+ <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
+ <link rel="import" href="../../paper-styles/layout.html">
+ <link rel="import" href="../paper-checkbox.html">
+
+ <link rel="stylesheet" href="../../paper-styles/demo.css">
+
+ <style is="x-style">
+ paper-checkbox.blue {
+ --paper-checkbox-unchecked-color: var(--dark-primary-color);
+ --paper-checkbox-unchecked-ink-color: var(--dark-primary-color);
+
+ --paper-checkbox-checked-color: var(--accent-color);
+ --paper-checkbox-checked-ink-color: var(--accent-color);
+ }
+
+ .note {
+ padding-left: 30px;
+ }
+
+ section {
+ width: 300px;
+ }
+
+ </style>
+ </head>
+ <body>
+ <section>
+ <div>
+ <paper-checkbox><h4>Notifications</h4></paper-checkbox>
+ <div class="note">Notify me about updates to apps or games that I've downloaded</div>
+
+ <br>
+
+ <paper-checkbox checked><h4>Auto-updates</h4></paper-checkbox>
+ <div class="note">Auto-update apps over wifi only</div>
+
+ <br>
+
+ <paper-checkbox><h4>Clear search history</h4></paper-checkbox>
+ <div class="note">Remove all the searches you have ever performed</div>
+
+ <br>
+
+ <paper-checkbox disabled checked><h4>Use as default browser</h4></paper-checkbox>
+
+ <br>
+
+ <paper-checkbox disabled><h4>Allow in incognito</h4></paper-checkbox>
+ </div>
+ </section>
+
+ <section>
+ <h3>Sound</h3>
+
+ <div class="center horizontal layout">
+ <div class="flex">Touch sounds</div>
+ <paper-checkbox class="blue" checked></paper-checkbox>
+ </div>
+
+ <div class="center horizontal layout">
+ <div class="flex">Screen lock sound</div>
+ <paper-checkbox class="blue"></paper-checkbox>
+ </div>
+
+ <div class="center horizontal layout">
+ <div class="flex">Vibrate on touch</div>
+ <paper-checkbox class="blue"></paper-checkbox>
+ </div>
+ </section>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698