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

Side by Side Diff: third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --> 9 -->
10 10
(...skipping 15 matching lines...) Expand all
26 <paper-checkbox>label</paper-checkbox> 26 <paper-checkbox>label</paper-checkbox>
27 27
28 <paper-checkbox checked> label</paper-checkbox> 28 <paper-checkbox checked> label</paper-checkbox>
29 29
30 ### Styling 30 ### Styling
31 31
32 The following custom properties and mixins are available for styling: 32 The following custom properties and mixins are available for styling:
33 33
34 Custom property | Description | Default 34 Custom property | Description | Default
35 ----------------|-------------|---------- 35 ----------------|-------------|----------
36 `--paper-checkbox-unchecked-color` | Checkbox color when the input is not checke d | `--primary-text-color` 36 `--paper-checkbox-unchecked-background-color` | Checkbox background color when t he input is not checked | `transparent`
37 `--paper-checkbox-unchecked-color` | Checkbox border color when the input is not checked | `--primary-text-color`
37 `--paper-checkbox-unchecked-ink-color` | Selected/focus ripple color when the in put is not checked | `--primary-text-color` 38 `--paper-checkbox-unchecked-ink-color` | Selected/focus ripple color when the in put is not checked | `--primary-text-color`
38 `--paper-checkbox-checked-color` | Checkbox color when the input is checked | `- -default-primary-color` 39 `--paper-checkbox-checked-color` | Checkbox color when the input is checked | `- -default-primary-color`
39 `--paper-checkbox-checked-ink-color` | Selected/focus ripple color when the inpu t is checked | `--default-primary-color` 40 `--paper-checkbox-checked-ink-color` | Selected/focus ripple color when the inpu t is checked | `--default-primary-color`
41 `--paper-checkbox-checkmark-color` | Checkmark color | `white`
40 `--paper-checkbox-label-color` | Label color | `--primary-text-color` 42 `--paper-checkbox-label-color` | Label color | `--primary-text-color`
41 43
42 @demo demo/index.html 44 @demo demo/index.html
43 --> 45 -->
44 46
45 <dom-module id="paper-checkbox"> 47 <dom-module id="paper-checkbox">
46 <link rel="import" type="css" href="paper-checkbox.css"> 48 <link rel="import" type="css" href="paper-checkbox.css">
47 49
48 <template> 50 <template>
49 51
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 _computeCheckmarkClass: function(checked) { 144 _computeCheckmarkClass: function(checked) {
143 if (!checked) { 145 if (!checked) {
144 return 'hidden'; 146 return 'hidden';
145 } 147 }
146 return ''; 148 return '';
147 } 149 }
148 }) 150 })
149 </script> 151 </script>
150 152
151 </dom-module> 153 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698