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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-button/README.md

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake 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 unified diff | Download patch
OLDNEW
1 paper-button 1 paper-button
2 ============ 2 ============
3 3
4 Material Design: <a href="http://www.google.com/design/spec/components/buttons.h tml">Buttons</a> 4 Material Design: <a href="http://www.google.com/design/spec/components/buttons.h tml">Buttons</a>
5 5
6 `paper-button` is a button. When the user touches the button, a ripple effect em anates 6 `paper-button` is a button. When the user touches the button, a ripple effect em anates
7 from the point of contact. It may be flat or raised. A raised button is styled w ith a 7 from the point of contact. It may be flat or raised. A raised button is styled w ith a
8 shadow. 8 shadow.
9 9
10 Example: 10 Example:
(...skipping 25 matching lines...) Expand all
36 By default, the ripple is the same color as the foreground at 25% opacity. You m ay 36 By default, the ripple is the same color as the foreground at 25% opacity. You m ay
37 customize the color using this selector: 37 customize the color using this selector:
38 38
39 ```css 39 ```css
40 /* make #my-button use a blue ripple instead of foreground color */ 40 /* make #my-button use a blue ripple instead of foreground color */
41 #my-button::shadow paper-ripple { 41 #my-button::shadow paper-ripple {
42 color: blue; 42 color: blue;
43 } 43 }
44 ``` 44 ```
45 The opacity of the ripple is not customizable via CSS. 45 The opacity of the ripple is not customizable via CSS.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698