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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/popover.css

Issue 2712063002: [DevTools] Migrate Popover to GlassPane (Closed)
Patch Set: nit Created 3 years, 9 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 | « third_party/WebKit/Source/devtools/front_end/ui/inspectorStyle.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :host { 1 /*
2 position: absolute; 2 * Copyright 2017 The Chromium Authors. All rights reserved.
3 z-index: 600; 3 * Use of this source code is governed by a BSD-style license that can be
4 pointer-events: none; 4 * found in the LICENSE file.
5 display: flex; 5 */
6 background-color: white;
7 box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 4px 0 rgba(0, 0, 0, 0.37);
8 border-radius: 2px;
9 }
10 6
11 .widget { 7 .widget {
12 flex: auto; 8 display: flex;
13 pointer-events: none; 9 background: white;
14 overflow: visible; 10 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2), 0 2p x 6px rgba(0, 0, 0, 0.1);
15 } 11 border-radius: 2px;
16
17 .popover-content {
18 pointer-events: auto;
19 overflow: auto; 12 overflow: auto;
20 -webkit-user-select: text; 13 -webkit-user-select: text;
21 line-height: 11px; 14 line-height: 11px;
22 flex: auto;
23 padding: 6px; 15 padding: 6px;
24 } 16 }
25 17
26 .popover-content.no-padding { 18 .widget.no-padding {
27 padding: 0; 19 padding: 0;
28 overflow: hidden;
29 } 20 }
30
31 .arrow {
32 position: absolute;
33 background-image: url(Images/popoverArrows.png);
34 width: 19px;
35 height: 19px;
36 margin-top: -19px;
37 top: 0;
38 left: 0;
39 z-index: 1;
40 }
41
42 :host-context(.-theme-with-dark-background) .arrow {
43 -webkit-filter: invert(80%);
44 }
45
46 .arrow.top-left-arrow {
47 /* The default is top-left, no styles needed. */
48 }
49
50 .arrow.top-right-arrow {
51 right: 19px;
52 left: auto;
53 }
54
55 .arrow.bottom-left-arrow {
56 top: auto;
57 bottom: 0;
58 margin-top: 0;
59 margin-bottom: -19px;
60 background-position: 0 -19px;
61 }
62
63 .arrow.bottom-right-arrow {
64 right: 15px;
65 left: auto;
66 top: auto;
67 bottom: 0;
68 margin-top: 0;
69 margin-bottom: -19px;
70 background-position: 0 -19px;
71 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/inspectorStyle.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698