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

Side by Side Diff: Source/devtools/front_end/ui/tooltip.css

Issue 1300743002: DevTools: render DOM markers with their colors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2015 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 6
7 .tooltip { 7 .tooltip {
8 background: hsl(0, 0%, 95%); 8 background: hsl(0, 0%, 95%);
9 border-radius: 2px; 9 border-radius: 2px;
10 color: hsl(0, 0%, 20%); 10 color: hsl(0, 0%, 20%);
11 padding: 5px 8px; 11 padding: 5px 8px;
12 font-size: 11px; 12 font-size: 11px;
13 line-height: 14px; 13 line-height: 14px;
14 display: flex; 14 display: flex;
15 align-items: center; 15 align-items: center;
16 -webkit-filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, 0.3)); 16 -webkit-filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, 0.3));
17 border: 1px solid hsla(0, 0%, 0%, 0.1); 17 border: 1px solid hsla(0, 0%, 0%, 0.1);
18 background-clip: padding-box; 18 background-clip: padding-box;
19 box-sizing: border-box; 19 box-sizing: border-box;
20 white-space: pre;
20 } 21 }
21 22
22 .tooltip { 23 .tooltip {
23 position: absolute; 24 position: absolute;
24 visibility: hidden; 25 visibility: hidden;
25 transition: visibility 0s 100ms, opacity 150ms cubic-bezier(0, 0, .2, 1); 26 transition: visibility 0s 100ms, opacity 150ms cubic-bezier(0, 0, .2, 1);
26 z-index: 20001; 27 z-index: 20001;
27 top: 0; 28 top: 0;
28 left: 0; 29 left: 0;
29 opacity: 0; 30 opacity: 0;
30 } 31 }
31 32
32 .tooltip.shown { 33 .tooltip.shown {
33 visibility: visible; 34 visibility: visible;
34 transition-delay: 600ms; 35 transition-delay: 600ms;
35 opacity: 1; 36 opacity: 1;
36 } 37 }
37 38
38 .tooltip.shown.instant { 39 .tooltip.shown.instant {
39 transition-delay: 0s; 40 transition-delay: 0s;
40 } 41 }
41 42
42 .tooltip-shortcut { 43 .tooltip-shortcut {
43 color: hsl(0, 0%, 45%); 44 color: hsl(0, 0%, 45%);
44 display: inline-block; 45 display: inline-block;
45 margin-left: 8px; 46 margin-left: 8px;
46 flex: 0 0 auto; 47 flex: 0 0 auto;
47 } 48 }
OLDNEW
« Source/devtools/front_end/main/Main.js ('K') | « Source/devtools/front_end/main/Main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698