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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-toggle-button/paper-toggle-button.html

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../paper-styles/color.html"> 10 <link rel="import" href="../paper-styles/color.html">
(...skipping 14 matching lines...) Expand all
25 The following custom properties and mixins are available for styling: 25 The following custom properties and mixins are available for styling:
26 26
27 Custom property | Description | Default 27 Custom property | Description | Default
28 ----------------|-------------|---------- 28 ----------------|-------------|----------
29 `--paper-toggle-button-unchecked-bar-color` | Slider color when the input is not checked | `#000000` 29 `--paper-toggle-button-unchecked-bar-color` | Slider color when the input is not checked | `#000000`
30 `--paper-toggle-button-unchecked-button-color` | Button color when the input is not checked | `--paper-grey-50` 30 `--paper-toggle-button-unchecked-button-color` | Button color when the input is not checked | `--paper-grey-50`
31 `--paper-toggle-button-unchecked-ink-color` | Selected/focus ripple color when t he input is not checked | `--dark-primary-color` 31 `--paper-toggle-button-unchecked-ink-color` | Selected/focus ripple color when t he input is not checked | `--dark-primary-color`
32 `--paper-toggle-button-checked-bar-color` | Slider button color when the input i s checked | `--google-green-500` 32 `--paper-toggle-button-checked-bar-color` | Slider button color when the input i s checked | `--google-green-500`
33 `--paper-toggle-button-checked-button-color` | Button color when the input is ch ecked | `--google-green-500` 33 `--paper-toggle-button-checked-button-color` | Button color when the input is ch ecked | `--google-green-500`
34 `--paper-toggle-button-checked-ink-color` | Selected/focus ripple color when the input is checked | `--google-green-500` 34 `--paper-toggle-button-checked-ink-color` | Selected/focus ripple color when the input is checked | `--google-green-500`
35 `--paper-toggle-button-unchecked-bar` | Mixin applied to the slider when the inp ut is not checked | `{}`
36 `--paper-toggle-button-unchecked-button` | Mixin applied to the slider button wh en the input is not checked | `{}`
37 `--paper-toggle-button-checked-bar` | Mixin applied to the slider when the input is checked | `{}`
38 `--paper-toggle-button-checked-button` | Mixin applied to the slider button when the input is checked | `{}`
35 39
36 @group Paper Elements 40 @group Paper Elements
37 @element paper-toggle-button 41 @element paper-toggle-button
38 @hero hero.svg 42 @hero hero.svg
39 @demo demo/index.html 43 @demo demo/index.html
40 --> 44 -->
41 45
42 </head><body><dom-module id="paper-toggle-button"> 46 </head><body><dom-module id="paper-toggle-button">
43 47
44 <link rel="import" type="css" href="paper-toggle-button.css"> 48 <link rel="import" type="css" href="paper-toggle-button.css">
45 49
46 <template> 50 <template>
47 51
48 <div id="toggleContainer"> 52 <div id="toggleContainer">
49 <div id="toggleBar" class="toggle-bar"></div> 53 <div id="toggleBar" class="toggle-bar"></div>
50 <div id="toggleButton" class="toggle-button"> 54 <div id="toggleButton" class="toggle-button">
51 <paper-ripple id="ink" class="toggle-ink circle" recenters=""></paper-ri pple> 55 <paper-ripple id="ink" class="toggle-ink circle" recenters=""></paper-ri pple>
52 </div> 56 </div>
53 </div> 57 </div>
54 58
55 </template> 59 </template>
56 60
57 </dom-module> 61 </dom-module>
58 <script src="paper-toggle-button-extracted.js"></script></body></html> 62 <script src="paper-toggle-button-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698