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

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

Issue 2089563002: [Polymer] update polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: polymer update Created 4 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.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
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.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 --> 67 -->
68 68
69 </head><body><dom-module id="paper-icon-button"> 69 </head><body><dom-module id="paper-icon-button">
70 <template strip-whitespace=""> 70 <template strip-whitespace="">
71 <style> 71 <style>
72 :host { 72 :host {
73 display: inline-block; 73 display: inline-block;
74 position: relative; 74 position: relative;
75 padding: 8px; 75 padding: 8px;
76 outline: none; 76 outline: none;
77 -webkit-tap-highlight-color: rgba(0,0,0,0);
78 -webkit-user-select: none; 77 -webkit-user-select: none;
79 -moz-user-select: none; 78 -moz-user-select: none;
80 -ms-user-select: none; 79 -ms-user-select: none;
81 user-select: none; 80 user-select: none;
82 cursor: pointer; 81 cursor: pointer;
83 z-index: 0; 82 z-index: 0;
84 line-height: 1; 83 line-height: 1;
85 84
86 width: 40px; 85 width: 40px;
87 height: 40px; 86 height: 40px;
88 87
88 /* NOTE: Both values are needed, since some phones require the value to be `transparent`. */
89 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
90 -webkit-tap-highlight-color: transparent;
91
89 /* Because of polymer/2558, this style has lower specificity than * */ 92 /* Because of polymer/2558, this style has lower specificity than * */
90 box-sizing: border-box !important; 93 box-sizing: border-box !important;
91 94
92 @apply(--paper-icon-button); 95 @apply(--paper-icon-button);
93 } 96 }
94 97
95 :host #ink { 98 :host #ink {
96 color: var(--paper-icon-button-ink-color, --primary-text-color); 99 color: var(--paper-icon-button-ink-color, --primary-text-color);
97 opacity: 0.6; 100 opacity: 0.6;
98 } 101 }
(...skipping 14 matching lines...) Expand all
113 --iron-icon-width: 100%; 116 --iron-icon-width: 100%;
114 --iron-icon-height: 100%; 117 --iron-icon-height: 100%;
115 } 118 }
116 </style> 119 </style>
117 120
118 <iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-ico n> 121 <iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-ico n>
119 </template> 122 </template>
120 123
121 </dom-module> 124 </dom-module>
122 <script src="paper-icon-button-extracted.js"></script></body></html> 125 <script src="paper-icon-button-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698