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

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

Issue 1336623003: [MD settings] updating polymer to 1.1.13 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed Polymer.IronCheckedElementBehavior name Created 5 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 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/paper-styles.html"> 10 <link rel="import" href="../paper-styles/paper-styles.html">
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 `--paper-slider-secondary-color` | The secondary progress bar color | `--google- blue-300` 43 `--paper-slider-secondary-color` | The secondary progress bar color | `--google- blue-300`
44 `--paper-slider-knob-color` | The knob color | `--google-blue-700` 44 `--paper-slider-knob-color` | The knob color | `--google-blue-700`
45 `--paper-slider-disabled-knob-color` | The disabled knob color | `--google-grey- 500` 45 `--paper-slider-disabled-knob-color` | The disabled knob color | `--google-grey- 500`
46 `--paper-slider-pin-color` | The pin color | `--google-blue-700` 46 `--paper-slider-pin-color` | The pin color | `--google-blue-700`
47 `--paper-slider-font-color` | The pin's text color | `#fff` 47 `--paper-slider-font-color` | The pin's text color | `#fff`
48 `--paper-slider-disabled-active-color` | The disabled progress bar color | `--go ogle-grey-500` 48 `--paper-slider-disabled-active-color` | The disabled progress bar color | `--go ogle-grey-500`
49 `--paper-slider-disabled-secondary-color` | The disabled secondary progress bar color | `--google-grey-300` 49 `--paper-slider-disabled-secondary-color` | The disabled secondary progress bar color | `--google-grey-300`
50 `--paper-slider-knob-start-color` | The fill color of the knob at the far left | `transparent` 50 `--paper-slider-knob-start-color` | The fill color of the knob at the far left | `transparent`
51 `--paper-slider-knob-start-border-color` | The border color of the knob at the f ar left | `#c8c8c8` 51 `--paper-slider-knob-start-border-color` | The border color of the knob at the f ar left | `#c8c8c8`
52 `--paper-slider-pin-start-color` | The color of the pin at the far left | `#c8c8 c8` 52 `--paper-slider-pin-start-color` | The color of the pin at the far left | `#c8c8 c8`
53 `--paper-slider-height` | Height of the progress bar | `2px`
53 54
54 @group Paper Elements 55 @group Paper Elements
55 @element paper-slider 56 @element paper-slider
56 @demo demo/index.html 57 @demo demo/index.html
57 @hero hero.svg 58 @hero hero.svg
58 --> 59 -->
59 60
60 </head><body><dom-module id="paper-slider"> 61 </head><body><dom-module id="paper-slider">
61 62
62 <link rel="import" type="css" href="paper-slider.css"> 63 <link rel="import" type="css" href="paper-slider.css">
63 64
64 <template> 65 <template>
65 <div id="sliderContainer" class$="[[_getClassNames(disabled, pin, snaps, imm ediateValue, min, expand, dragging, transiting, editable)]]"> 66 <div id="sliderContainer" class$="[[_getClassNames(disabled, pin, snaps, imm ediateValue, min, expand, dragging, transiting, editable)]]">
66 67
67 <div class="bar-container"> 68 <div class="bar-container">
68 <paper-progress class$="[[_getProgressClass(transiting)]]" id="sliderBar " aria-hidden="true" min="[[min]]" max="[[max]]" step="[[step]]" value="[[immedi ateValue]]" secondary-progress="[[secondaryProgress]]" on-down="_bardown" on-up= "_resetKnob" on-track="_onTrack"> 69 <paper-progress disabled$="[[disabled]]" id="sliderBar" aria-hidden="tru e" min="[[min]]" max="[[max]]" step="[[step]]" value="[[immediateValue]]" second ary-progress="[[secondaryProgress]]" on-down="_bardown" on-up="_resetKnob" on-tr ack="_onTrack">
69 </paper-progress> 70 </paper-progress>
70 </div> 71 </div>
71 72
72 <template is="dom-if" if="[[snaps]]"> 73 <template is="dom-if" if="[[snaps]]">
73 <div class="slider-markers horizontal layout"> 74 <div class="slider-markers horizontal layout">
74 <template is="dom-repeat" items="[[markers]]"> 75 <template is="dom-repeat" items="[[markers]]">
75 <div class="slider-marker flex"></div> 76 <div class="slider-marker flex"></div>
76 </template> 77 </template>
77 </div> 78 </div>
78 </template> 79 </template>
79 80
80 <div id="sliderKnob" class="center-justified center horizontal layout" on- down="_knobdown" on-up="_resetKnob" on-track="_onTrack" on-transitionend="_knobT ransitionEnd"> 81 <div id="sliderKnob" class="center-justified center horizontal layout" on- down="_knobdown" on-up="_resetKnob" on-track="_onTrack" on-transitionend="_knobT ransitionEnd">
81 <paper-ripple center="" id="ink" class="circle" hidden$="[[!receivedFo cusFromKeyboard]]"> 82 <paper-ripple center="" id="ink" class="circle" hidden$="[[!receivedFo cusFromKeyboard]]">
82 </paper-ripple> 83 </paper-ripple>
83 <div id="sliderKnobInner" value$="[[immediateValue]]"></div> 84 <div id="sliderKnobInner" value$="[[immediateValue]]"></div>
84 </div> 85 </div>
85 </div> 86 </div>
86 87
87 <template is="dom-if" if="[[editable]]"> 88 <template is="dom-if" if="[[editable]]">
88 <paper-input id="input" class="slider-input" disabled$="[[disabled]]" on-c hange="_inputChange" value="[[_fixForInput(immediateValue)]]"> 89 <paper-input id="input" class="slider-input" disabled$="[[disabled]]" on-c hange="_inputChange" value="[[_fixForInput(immediateValue)]]">
89 </paper-input> 90 </paper-input>
90 </template> 91 </template>
91 </template> 92 </template>
92 93
93 </dom-module> 94 </dom-module>
94 95
95 <script src="paper-slider-extracted.js"></script></body></html> 96 <script src="paper-slider-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698