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

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

Issue 1363853002: Update Polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix resources 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-button/README.md
diff --git a/third_party/polymer/v1_0/components-chromium/paper-button/README.md b/third_party/polymer/v1_0/components-chromium/paper-button/README.md
index 035b004bdaaae4d547ce33049af0888741e03661..5c49a907711facf5d9a71e8885bd9502d469e451 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-button/README.md
+++ b/third_party/polymer/v1_0/components-chromium/paper-button/README.md
@@ -13,33 +13,12 @@ Example:
<paper-button raised>raised button</paper-button>
<paper-button noink>No ripple effect</paper-button>
```
-You may use custom DOM in the button body to create a variety of buttons. For example, to
-create a button with an icon and some text:
-```html
+You may use custom DOM in the button body to create a variety of buttons. For example, to create a button with an icon and some text:
+
+```html
<paper-button>
<iron-icon icon="favorite"></iron-icon>
custom button content
</paper-button>
```
-## Styling
-
-Style the button with CSS as you would a normal DOM element.
-
-```css
- /* make #my-button green with yellow text */
- #my-button {
- background: green;
- color: yellow;
- }
-```
-By default, the ripple is the same color as the foreground at 25% opacity. You may
-customize the color using this selector:
-
-```css
- /* make #my-button use a blue ripple instead of foreground color */
- #my-button::shadow paper-ripple {
- color: blue;
- }
-```
-The opacity of the ripple is not customizable via CSS.

Powered by Google App Engine
This is Rietveld 408576698