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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-button/paper-button.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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html b/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html
index 80b728bda6dccf3d7f5af30ca969b76807a5524b..5010e2066554f007ae79441efd8168cba76b371b 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-button/paper-button.html
@@ -70,63 +70,61 @@ Custom property | Description | Default
-->
</head><body><dom-module id="paper-button">
-
- <style>
-
- :host {
- display: inline-block;
- position: relative;
- box-sizing: border-box;
- min-width: 5.14em;
- margin: 0 0.29em;
- background: transparent;
- text-align: center;
- font: inherit;
- text-transform: uppercase;
- outline: none;
- border-radius: 3px;
- -moz-user-select: none;
- -ms-user-select: none;
- -webkit-user-select: none;
- user-select: none;
- cursor: pointer;
- z-index: 0;
-
- @apply(--paper-button);
- }
-
- .keyboard-focus {
- font-weight: bold;
- }
-
- :host([disabled]) {
- background: #eaeaea;
- color: #a8a8a8;
- cursor: auto;
- pointer-events: none;
-
- @apply(--paper-button-disabled);
- }
-
- :host([noink]) paper-ripple {
- display: none;
- }
-
- paper-material {
- border-radius: inherit;
- }
-
- .content > ::content * {
- text-transform: inherit;
- }
-
- .content {
- padding: 0.7em 0.57em
- }
- </style>
-
<template>
+ <style>
+ :host {
+ display: inline-block;
+ position: relative;
+ box-sizing: border-box;
+ min-width: 5.14em;
+ margin: 0 0.29em;
+ background: transparent;
+ text-align: center;
+ font: inherit;
+ text-transform: uppercase;
+ outline-width: 0;
+ border-radius: 3px;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
+ cursor: pointer;
+ z-index: 0;
+
+ @apply(--paper-button);
+ }
+
+ .keyboard-focus {
+ font-weight: bold;
+ }
+
+ :host([disabled]) {
+ background: #eaeaea;
+ color: #a8a8a8;
+ cursor: auto;
+ pointer-events: none;
+
+ @apply(--paper-button-disabled);
+ }
+
+ :host([noink]) paper-ripple {
+ display: none;
+ }
+
+ paper-material {
+ border-radius: inherit;
+ }
+
+ .content > ::content * {
+ text-transform: inherit;
+ }
+
+ .content {
+ padding: 0.7em 0.57em
+ }
+ </style>
+
<paper-ripple></paper-ripple>
<paper-material class$="[[_computeContentClass(receivedFocusFromKeyboard)]]" elevation="[[_elevation]]" animated="">
@@ -134,7 +132,6 @@ Custom property | Description | Default
</paper-material>
</template>
-
</dom-module>
<script src="paper-button-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698