| Index: polymer_0.5.4/bower_components/paper-dropdown-menu/paper-dropdown-menu.html
|
| diff --git a/polymer_0.5.0/bower_components/paper-dropdown-menu/paper-dropdown-menu.html b/polymer_0.5.4/bower_components/paper-dropdown-menu/paper-dropdown-menu.html
|
| similarity index 95%
|
| copy from polymer_0.5.0/bower_components/paper-dropdown-menu/paper-dropdown-menu.html
|
| copy to polymer_0.5.4/bower_components/paper-dropdown-menu/paper-dropdown-menu.html
|
| index adcca1b53bc02eb19529f52a4510a89b7c4cf135..bc9972bc85812a88c1a32419c5941af0a76e84a1 100644
|
| --- a/polymer_0.5.0/bower_components/paper-dropdown-menu/paper-dropdown-menu.html
|
| +++ b/polymer_0.5.4/bower_components/paper-dropdown-menu/paper-dropdown-menu.html
|
| @@ -36,6 +36,7 @@ This example renders a drop-down menu with 4 options.
|
| @group Paper Elements
|
| @element paper-dropdown-menu
|
| @extends core-dropdown-base
|
| +@mixins Polymer.CoreFocusable https://github.com/polymer/core-focusable
|
| @status unstable
|
| @homepage github.io
|
| -->
|
| @@ -93,7 +94,7 @@ contains the selection state.
|
| outline: none;
|
| }
|
|
|
| - #label, #arrow {
|
| + #label:not(.selectedItem), #arrow {
|
| color: #757575;
|
| }
|
|
|
| @@ -164,8 +165,10 @@ contains the selection state.
|
| selectAction: function(e) {
|
| var detail = e.detail;
|
| if (detail.isSelected) {
|
| + this.$.label.classList.add('selectedItem');
|
| this.selectedItemLabel = detail.item.label || detail.item.textContent;
|
| } else {
|
| + this.$.label.classList.remove('selectedItem');
|
| this.selectedItemLabel = '';
|
| }
|
| }
|
|
|