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

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

Issue 1265683003: MD downloads: add a narrow mode for smaller windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@paper-menu-button2
Patch Set: tommycli@ review Created 5 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
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 @apply(--downloads-shared-style); 6 @apply(--downloads-shared-style);
7 align-items: center; 7 align-items: center;
8 background: rgb(63, 85, 102); 8 background: rgb(63, 85, 102);
9 color: white; 9 color: white;
10 content-sizing: padding-box; 10 content-sizing: padding-box;
(...skipping 21 matching lines...) Expand all
32 width: var(--downloads-item-width); 32 width: var(--downloads-item-width);
33 } 33 }
34 34
35 #search { 35 #search {
36 display: flex; 36 display: flex;
37 justify-content: flex-end; 37 justify-content: flex-end;
38 } 38 }
39 39
40 #search-term { 40 #search-term {
41 --paper-input-container-color: rgba(255, 255, 255, .5); 41 --paper-input-container-color: rgba(255, 255, 255, .5);
42 --paper-input-container-focus-color: white;
42 --paper-input-container-input: { 43 --paper-input-container-input: {
43 font-size: 14px; 44 font-size: 14px;
44 }; 45 };
45 --paper-input-container-input-color: white; 46 --paper-input-container-input-color: white;
46 --paper-input-container-focus-color: white;
47 --paper-input-container-label: { 47 --paper-input-container-label: {
48 font-size: 14px; 48 font-size: 14px;
49 }; 49 };
50 -webkit-margin-end: 8px; 50 -webkit-margin-end: 8px;
51 } 51 }
52
53 paper-menu-button {
54 --paper-menu-button: {
55 padding: 0;
56 };
57 }
58
59 paper-item {
60 -webkit-user-select: none;
61 cursor: pointer;
62 font: inherit;
63 }
64
65 paper-item:hover {
66 background: #eaeaea; /* TODO(dbeam): real color? */
67 }
68
69 @media not all and (max-width: 1024px) {
70 /* Hide vertical dot menu when there's enough room for #actions. */
71 paper-menu-button {
72 display: none;
73 }
74 }
75
76 @media all and (max-width: 1024px) {
77 /* Hide #actions for narrow windows; they're shown in a vertical dot menu. */
78 #actions {
79 display: none;
80 }
81 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/manager.css ('k') | chrome/browser/resources/md_downloads/toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698