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

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

Issue 2157723002: MD Downloads: drop :hover effect because it looks like a lot like :focus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
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