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