OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2016 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-a11y-keys-behavior/iron-a11y-keys-behavior.html
"> | 10 <link rel="import" href="../iron-a11y-keys-behavior/iron-a11y-keys-behavior.html
"> |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 * between the input and the label (from the input's padding-top) | 166 * between the input and the label (from the input's padding-top) |
167 */ | 167 */ |
168 top: 28px; | 168 top: 28px; |
169 box-sizing: border-box; | 169 box-sizing: border-box; |
170 width: 100%; | 170 width: 100%; |
171 padding-right: 20px; /* Right padding so that text doesn't overlap th
e icon */ | 171 padding-right: 20px; /* Right padding so that text doesn't overlap th
e icon */ |
172 text-align: left; | 172 text-align: left; |
173 transition-duration: .2s; | 173 transition-duration: .2s; |
174 transition-timing-function: cubic-bezier(.4,0,.2,1); | 174 transition-timing-function: cubic-bezier(.4,0,.2,1); |
175 color: var(--paper-dropdown-menu-color, --secondary-text-color); | 175 color: var(--paper-dropdown-menu-color, --secondary-text-color); |
176 cursor: pointer; | |
177 @apply(--paper-dropdown-menu-label); | 176 @apply(--paper-dropdown-menu-label); |
178 } | 177 } |
179 | 178 |
180 :host-context([dir="rtl"]) label { | 179 :host-context([dir="rtl"]) label { |
181 padding-right: 0px; | 180 padding-right: 0px; |
182 padding-left: 20px; | 181 padding-left: 20px; |
183 } | 182 } |
184 | 183 |
185 :host([no-label-float]) label { | 184 :host([no-label-float]) label { |
186 top: 8px; | 185 top: 8px; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 <div id="input" tabindex="-1"> </div> | 281 <div id="input" tabindex="-1"> </div> |
283 <iron-icon icon="paper-dropdown-menu:arrow-drop-down"></iron-icon> | 282 <iron-icon icon="paper-dropdown-menu:arrow-drop-down"></iron-icon> |
284 <span class="error">[[errorMessage]]</span> | 283 <span class="error">[[errorMessage]]</span> |
285 </div> | 284 </div> |
286 <content id="content" select=".dropdown-content"></content> | 285 <content id="content" select=".dropdown-content"></content> |
287 </paper-menu-button> | 286 </paper-menu-button> |
288 </template> | 287 </template> |
289 | 288 |
290 </dom-module> | 289 </dom-module> |
291 <script src="paper-dropdown-menu-light-extracted.js"></script></body></html> | 290 <script src="paper-dropdown-menu-light-extracted.js"></script></body></html> |
OLD | NEW |