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

Unified Diff: polymer_1.0.4/bower_components/paper-slider/README.md

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 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: polymer_1.0.4/bower_components/paper-slider/README.md
diff --git a/polymer_1.0.4/bower_components/paper-slider/README.md b/polymer_1.0.4/bower_components/paper-slider/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..fd00cd26db5a073a81f83b3a0610a61db579f2c9
--- /dev/null
+++ b/polymer_1.0.4/bower_components/paper-slider/README.md
@@ -0,0 +1,69 @@
+paper-slider
+============
+
+`paper-slider` allows user to select a value from a range of values by
+moving the slider thumb. The interactive nature of the slider makes it a
+great choice for settings that reflect intensity levels, such as volume,
+brightness, or color saturation.
+
+Example:
+
+```html
+<paper-slider></paper-slider>
+```
+
+Use `min` and `max` to specify the slider range. Default is `0` to `100`. For example:
+```html
+<paper-slider min="10" max="200" value="110"></paper-slider>
+```
+
+### Styling slider
+
+To change the slider progress bar color:
+```css
+paper-slider {
+ --paper-slider-active-color: #0f9d58;
+}
+```
+
+To change the slider knob color:
+```css
+paper-slider {
+ --paper-slider-knob-color: #0f9d58;
+}
+```
+
+To change the slider pin color:
+```css
+paper-slider {
+ --paper-slider-pin-color: #0f9d58;
+}
+```
+
+To change the slider pin's font color:
+```css
+paper-slider {
+ --paper-slider-pin-font-color: #0f9d58;
+}
+```
+
+To change the slider secondary progress bar color:
+```css
+paper-slider {
+ --paper-slider-secondary-color: #0f9d58;
+}
+```
+
+To change the slider disabled active color:
+```css
+paper-slider {
+ --paper-slider-disabled-active-color: #ccc;
+}
+```
+
+To change the slider disabled secondary progress bar color:
+```css
+paper-slider {
+ --paper-slider-disabled-secondary-color: #ccc;
+}
+```
« no previous file with comments | « polymer_1.0.4/bower_components/paper-slider/.gitignore ('k') | polymer_1.0.4/bower_components/paper-slider/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698