| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 -webkit-margin-start: 16px; | 83 -webkit-margin-start: 16px; |
| 84 } | 84 } |
| 85 | 85 |
| 86 paper-item { | 86 paper-item { |
| 87 -webkit-user-select: none; | 87 -webkit-user-select: none; |
| 88 cursor: pointer; | 88 cursor: pointer; |
| 89 font: inherit; | 89 font: inherit; |
| 90 min-height: 40px; | 90 min-height: 40px; |
| 91 } | 91 } |
| 92 | 92 |
| 93 paper-item:hover { | |
| 94 background: #eaeaea; /* TODO(dbeam): real color? */ | |
| 95 } | |
| 96 | |
| 97 @media not all and (max-width: 1024px) { | 93 @media not all and (max-width: 1024px) { |
| 98 /* Hide vertical dot menu when there's enough room for #actions. */ | 94 /* Hide vertical dot menu when there's enough room for #actions. */ |
| 99 paper-menu-button { | 95 paper-menu-button { |
| 100 display: none; | 96 display: none; |
| 101 } | 97 } |
| 102 } | 98 } |
| 103 | 99 |
| 104 @media all and (max-width: 1024px) { | 100 @media all and (max-width: 1024px) { |
| 105 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */ | 101 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */ |
| 106 #actions { | 102 #actions { |
| 107 display: none; | 103 display: none; |
| 108 } | 104 } |
| 109 } | 105 } |
| OLD | NEW |