| Index: third_party/polymer/components/paper-dropdown-menu/paper-dropdown-menu.css
|
| diff --git a/third_party/polymer/components/core-input/core-input.css b/third_party/polymer/components/paper-dropdown-menu/paper-dropdown-menu.css
|
| similarity index 53%
|
| copy from third_party/polymer/components/core-input/core-input.css
|
| copy to third_party/polymer/components/paper-dropdown-menu/paper-dropdown-menu.css
|
| index d58da9934e4fe043eacfba6a447ac8b9dd95c4d9..2621f6279bbc25712d32fe285f463024d506af59 100644
|
| --- a/third_party/polymer/components/core-input/core-input.css
|
| +++ b/third_party/polymer/components/paper-dropdown-menu/paper-dropdown-menu.css
|
| @@ -9,33 +9,36 @@
|
| */
|
|
|
| :host {
|
| - display: inline-block;
|
| - text-align: inherit;
|
| position: relative;
|
| - width: 20em;
|
| + display: inline-block;
|
| + background-color: #fff;
|
| + -moz-user-select: none;
|
| + -ms-user-select: none;
|
| + -webkit-user-select: none;
|
| + user-select: none;
|
| + cursor: pointer;
|
| + padding: 0.75em 0;
|
| }
|
|
|
| -:host:hover {
|
| - cursor: text;
|
| +#control {
|
| + box-sizing: border-box;
|
| + max-height: 2em;
|
| + color: #757575;
|
| + border-bottom: 1px solid #757575;
|
| }
|
|
|
| -input,
|
| -textarea {
|
| - font: inherit;
|
| - color: inherit;
|
| - width: 100%;
|
| - margin: 0;
|
| - padding: 0;
|
| - background-color: transparent;
|
| - border: none;
|
| - outline: none;
|
| - width: 100%;
|
| +#control[selected] {
|
| + color: #000;
|
| }
|
|
|
| -textarea {
|
| - resize: none;
|
| +#control > div {
|
| + padding: 0.5em 0 0.25em;
|
| + overflow: hidden;
|
| + /* FIXME not working for some reason */
|
| + white-space: nowrap;
|
| + text-overflow: ellipsis;
|
| }
|
|
|
| -textarea[rows=fit] {
|
| - height: 100%;
|
| +core-icon {
|
| + margin: 0.3em 0 0.2em 0.25em;
|
| }
|
|
|