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

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

Issue 913353002: Update paper-checkbox to 0.5.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Applying sed to remove cr's. Created 5 years, 10 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/paper-checkbox/demo.html
diff --git a/third_party/polymer/components/paper-checkbox/demo.html b/third_party/polymer/components/paper-checkbox/demo.html
index 4d62226cf703ed210aa6a755497376ea04c655f1..3de6844c29ef45ef60244345da3da07eda676cfc 100644
--- a/third_party/polymer/components/paper-checkbox/demo.html
+++ b/third_party/polymer/components/paper-checkbox/demo.html
@@ -28,10 +28,6 @@
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
margin: 0;
padding: 24px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-touch-callout: none;
}
@@ -45,11 +41,12 @@
}
paper-checkbox.blue::shadow #ink[checked] {
- color: #4285f4;
+ color: #BBDEFB;
}
-
+
paper-checkbox.blue::shadow #checkbox.checked {
- border-color: #4285f4;
+ background-color: #2196F3;
+ border-color: #2196F3;
}
</style>
@@ -57,58 +54,77 @@
</head>
<body unresolved>
- <core-label horizontal layout>
- <paper-checkbox for></paper-checkbox>
- <div vertical layout>
- <h4>Notifications</h4>
- <div>Notify me about updates to apps or games that I've downloaded</div>
- </div>
- </core-label>
-
- <br>
-
- <core-label horizontal layout>
- <paper-checkbox checked for></paper-checkbox>
- <div vertical layout>
- <h4>Auto-updates</h4>
- <div>Auto-update apps over wifi only</div>
- </div>
- </core-label>
-
- <br>
-
- <core-label horizontal layout>
- <paper-checkbox for></paper-checkbox>
- <div vertical layout>
- <h4>Clear search history</h4>
- <div>Remove all the searches you have ever performed</div>
- </div>
- </core-label>
+ <section>
+ <core-label horizontal layout>
+ <paper-checkbox for></paper-checkbox>
+ <div vertical layout>
+ <h4>Notifications</h4>
+ <div>Notify me about updates to apps or games that I've downloaded</div>
+ </div>
+ </core-label>
+
+ <br>
+
+ <core-label horizontal layout>
+ <paper-checkbox checked for></paper-checkbox>
+ <div vertical layout>
+ <h4>Auto-updates</h4>
+ <div>Auto-update apps over wifi only</div>
+ </div>
+ </core-label>
+
+ <br>
+
+ <core-label horizontal layout>
+ <paper-checkbox for></paper-checkbox>
+ <div vertical layout>
+ <h4>Clear search history</h4>
+ <div>Remove all the searches you have ever performed</div>
+ </div>
+ </core-label>
+
+ <br>
+
+ <core-label horizontal layout>
+ <paper-checkbox for disabled checked></paper-checkbox>
+ <div vertical layout>
+ <h4>Use as default browser</h4>
+ </div>
+ </core-label>
+
+ <br>
+
+ <core-label horizontal layout>
+ <paper-checkbox for disabled></paper-checkbox>
+ <div vertical layout>
+ <h4>Allow in incognito</h4>
+ </div>
+ </core-label>
+ </section>
+
<br>
<br>
<br>
-
+
<section>
-
<h3>Sound</h3>
-
+
<core-label center horizontal layout>
<div flex>Touch sounds</div>
<paper-checkbox class="blue" checked for></paper-checkbox>
</core-label>
-
+
<core-label center horizontal layout>
<div flex>Screen lock sound</div>
<paper-checkbox class="blue" for></paper-checkbox>
</core-label>
-
+
<core-label center horizontal layout>
<div flex>Vibrate on touch</div>
<paper-checkbox class="blue" for></paper-checkbox>
</core-label>
-
</section>
-
+
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698