Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(847)

Side by Side Diff: chrome/browser/resources/md_downloads/toolbar.css

Issue 2203073003: MD Downloads: show "More Actions" menu in less janky way (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: todo Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698