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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css

Issue 2889833003: DevTools: Show badges instead of products in ConsoleContextSelector (Closed)
Patch Set: Created 3 years, 7 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 /* 1 /*
2 * Copyright 2017 The Chromium Authors. All rights reserved. 2 * Copyright 2017 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 .context { 6 .context {
7 padding: 2px 1px 2px 2px; 7 padding: 2px 1px 2px 2px;
8 white-space: nowrap; 8 white-space: nowrap;
9 display: flex; 9 display: flex;
10 flex-direction: column; 10 flex-direction: column;
11 height: 34px; 11 height: 36px;
12 justify-content: center; 12 justify-content: center;
13 } 13 }
14 14
15 .context.disabled { 15 .context.disabled {
16 opacity: 0.5; 16 opacity: 0.5;
17 } 17 }
18 18
19 .title { 19 .title {
20 overflow: hidden; 20 overflow: hidden;
21 text-overflow: ellipsis; 21 text-overflow: ellipsis;
22 flex-grow: 0; 22 flex-grow: 0;
23 } 23 }
24 24
25 .badge {
26 margin-right: 4px;
27 }
28
25 .subtitle { 29 .subtitle {
26 color: #999; 30 color: #999;
27 margin-right: 3px; 31 margin-right: 3px;
28 overflow: hidden; 32 overflow: hidden;
29 text-overflow: ellipsis; 33 text-overflow: ellipsis;
30 flex-grow: 0; 34 flex-grow: 0;
31 } 35 }
32 36
33 .context-list { 37 .context-list {
34 background-color: white; 38 background-color: white;
35 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 39 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05),
36 0 2px 4px rgba(0, 0, 0, 0.2), 40 0 2px 4px rgba(0, 0, 0, 0.2),
37 0 2px 6px rgba(0, 0, 0, 0.1); 41 0 2px 6px rgba(0, 0, 0, 0.1);
38 overflow-x: hidden; 42 overflow-x: hidden;
39 overflow-y: auto; 43 overflow-y: auto;
40 width: 100%; 44 width: 100%;
41 } 45 }
42 46
43 .context.selected { 47 .context.selected {
44 color: white; 48 color: white;
45 background-color: rgb(56, 121, 217); 49 background-color: rgb(56, 121, 217);
46 } 50 }
47 51
48 .context.selected .subtitle { 52 .context.selected .subtitle {
49 color: white; 53 color: white;
50 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698