| OLD | NEW |
| 1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
| 4 | 4 |
| 5 :host { | 5 :host { |
| 6 align-items: center; | 6 align-items: center; |
| 7 background: var(--md-toolbar-color); | 7 background: var(--md-toolbar-color); |
| 8 color: white; | 8 color: white; |
| 9 content-sizing: padding-box; | 9 content-sizing: padding-box; |
| 10 display: flex; | 10 display: flex; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 --paper-menu-selected-item: { | 87 --paper-menu-selected-item: { |
| 88 font-weight: normal; | 88 font-weight: normal; |
| 89 }; | 89 }; |
| 90 } | 90 } |
| 91 | 91 |
| 92 paper-item { | 92 paper-item { |
| 93 -webkit-user-select: none; | 93 -webkit-user-select: none; |
| 94 cursor: pointer; | 94 cursor: pointer; |
| 95 font: inherit; | 95 font: inherit; |
| 96 min-height: 40px; | 96 min-height: 40px; |
| 97 /* TODO(michaelpg): fix this for everybody ever. |
| 98 * https://github.com/PolymerElements/paper-menu-button/issues/56 */ |
| 99 white-space: nowrap; |
| 97 } | 100 } |
| 98 | 101 |
| 99 @media not all and (max-width: 1024px) { | 102 @media not all and (max-width: 1024px) { |
| 100 /* Hide vertical dot menu when there's enough room for #actions. */ | 103 /* Hide vertical dot menu when there's enough room for #actions. */ |
| 101 paper-menu-button { | 104 paper-menu-button { |
| 102 display: none; | 105 display: none; |
| 103 } | 106 } |
| 104 } | 107 } |
| 105 | 108 |
| 106 @media all and (max-width: 1024px) { | 109 @media all and (max-width: 1024px) { |
| 107 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */ | 110 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */ |
| 108 #actions { | 111 #actions { |
| 109 display: none; | 112 display: none; |
| 110 } | 113 } |
| 111 } | 114 } |
| OLD | NEW |