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

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

Issue 2911363002: DevTools: Split SoftDropdown out of ConsoleContextSelector (Closed)
Patch Set: fixes 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
7 :host {
7 padding: 2px 1px 2px 2px; 8 padding: 2px 1px 2px 2px;
8 white-space: nowrap; 9 white-space: nowrap;
9 display: flex; 10 display: flex;
10 flex-direction: column; 11 flex-direction: column;
11 height: 36px; 12 height: 36px;
12 justify-content: center; 13 justify-content: center;
13 } 14 }
14 15
15 .context.disabled {
16 opacity: 0.5;
17 }
18
19 .title { 16 .title {
20 overflow: hidden; 17 overflow: hidden;
21 text-overflow: ellipsis; 18 text-overflow: ellipsis;
22 flex-grow: 0; 19 flex-grow: 0;
23 } 20 }
24 21
25 .badge { 22 .badge {
26 pointer-events: none; 23 pointer-events: none;
27 margin-right: 4px; 24 margin-right: 4px;
28 display: inline-block; 25 display: inline-block;
29 height: 15px; 26 height: 15px;
30 } 27 }
31 28
32 .subtitle { 29 .subtitle {
33 color: #999; 30 color: #999;
34 margin-right: 3px; 31 margin-right: 3px;
35 overflow: hidden; 32 overflow: hidden;
36 text-overflow: ellipsis; 33 text-overflow: ellipsis;
37 flex-grow: 0; 34 flex-grow: 0;
38 } 35 }
39 36
40 .context-list { 37 :host(.highlighted) .subtitle {
41 background-color: white; 38 color: inherit;
42 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05),
43 0 2px 4px rgba(0, 0, 0, 0.2),
44 0 2px 6px rgba(0, 0, 0, 0.1);
45 overflow-x: hidden;
46 overflow-y: auto;
47 width: 100%;
48 } 39 }
49
50 .context.selected {
51 color: white;
52 background-color: rgb(56, 121, 217);
53 }
54
55 .context.selected .subtitle {
56 color: white;
57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698