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/ui/softDropDown.css

Issue 2911363002: DevTools: Split SoftDropdown out of ConsoleContextSelector (Closed)
Patch Set: Created 3 years, 6 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 .item {
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: 36px; 11 height: 36px;
12 justify-content: center; 12 justify-content: center;
13 } 13 }
14 14
15 .context.disabled { 15 .item.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 { 25 .badge {
26 pointer-events: none; 26 pointer-events: none;
27 margin-right: 4px; 27 margin-right: 4px;
28 display: inline-block; 28 display: inline-block;
29 height: 15px; 29 height: 15px;
30 } 30 }
31 31
32 .subtitle { 32 .subtitle {
33 color: #999; 33 color: #999;
34 margin-right: 3px; 34 margin-right: 3px;
35 overflow: hidden; 35 overflow: hidden;
36 text-overflow: ellipsis; 36 text-overflow: ellipsis;
37 flex-grow: 0; 37 flex-grow: 0;
38 } 38 }
39 39
40 .context-list { 40 .item-list {
41 background-color: white; 41 background-color: white;
42 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 42 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05),
43 0 2px 4px rgba(0, 0, 0, 0.2), 43 0 2px 4px rgba(0, 0, 0, 0.2),
44 0 2px 6px rgba(0, 0, 0, 0.1); 44 0 2px 6px rgba(0, 0, 0, 0.1);
45 overflow-x: hidden; 45 overflow-x: hidden;
46 overflow-y: auto; 46 overflow-y: auto;
47 width: 100%; 47 width: 100%;
48 } 48 }
49 49
50 .context.selected { 50 .item.selected {
51 color: white; 51 color: white;
52 background-color: rgb(56, 121, 217); 52 background-color: rgb(56, 121, 217);
53 } 53 }
54 54
55 .context.selected .subtitle { 55 .item.selected .subtitle {
56 color: white; 56 color: white;
einbinder 2017/05/30 22:30:41 I am not sure where this CSS should go. The Filter
caseq 2017/05/30 23:40:08 I think each item should have its own shadow DOM a
einbinder 2017/05/31 21:14:27 Done.
57 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698