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

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

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS
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 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS
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="../iron-icon/iron-icon.html"> 10 <link rel="import" href="../iron-icon/iron-icon.html">
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 --> 68 -->
69 69
70 </head><body><dom-module id="paper-icon-button"> 70 </head><body><dom-module id="paper-icon-button">
71 <style> 71 <style>
72 72
73 :host { 73 :host {
74 display: inline-block; 74 display: inline-block;
75 position: relative; 75 position: relative;
76 padding: 8px; 76 padding: 8px;
77 outline: none; 77 outline: none;
78 -webkit-tap-highlight-color: rgba(0,0,0,0);
78 -webkit-user-select: none; 79 -webkit-user-select: none;
79 -moz-user-select: none; 80 -moz-user-select: none;
80 -ms-user-select: none; 81 -ms-user-select: none;
81 user-select: none; 82 user-select: none;
82 cursor: pointer; 83 cursor: pointer;
83 z-index: 0; 84 z-index: 0;
84 85
85 @apply(--paper-icon-button); 86 @apply(--paper-icon-button);
86 } 87 }
87 88
88 :host #ink { 89 :host #ink {
89 color: var(--paper-icon-button-ink-color, --primary-text-color); 90 color: var(--paper-icon-button-ink-color, --primary-text-color);
90 opacity: 0.6; 91 opacity: 0.6;
91 } 92 }
92 93
93 :host([disabled]) { 94 :host([disabled]) {
94 color: var(--paper-icon-button-disabled-text, --disabled-text-color); 95 color: var(--paper-icon-button-disabled-text, --disabled-text-color);
95 pointer-events: none; 96 pointer-events: none;
96 cursor: auto; 97 cursor: auto;
97 @apply(--paper-icon-button-disabled); 98 @apply(--paper-icon-button-disabled);
98 } 99 }
99 </style> 100 </style>
100 <template> 101 <template>
101 <paper-ripple id="ink" class="circle" center=""></paper-ripple> 102 <paper-ripple id="ink" class="circle" center=""></paper-ripple>
102 <iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-ico n> 103 <iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-ico n>
103 </template> 104 </template>
104 </dom-module> 105 </dom-module>
105 <script src="paper-icon-button-extracted.js"></script></body></html> 106 <script src="paper-icon-button-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698