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

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

Issue 1318903007: Devtools UI: Fix tooltip issues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 (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;
21 }
22
23 .tooltip {
24 position: absolute; 20 position: absolute;
25 visibility: hidden; 21 visibility: hidden;
26 transition: visibility 0s 100ms, opacity 150ms cubic-bezier(0, 0, .2, 1); 22 transition: visibility 0s 100ms, opacity 150ms cubic-bezier(0, 0, .2, 1);
27 z-index: 20001; 23 z-index: 20001;
28 top: 0; 24 top: 0;
29 left: 0; 25 left: 0;
30 opacity: 0; 26 opacity: 0;
27 text-overflow: ellipsis;
28 overflow: hidden;
31 } 29 }
32 30
33 .tooltip.shown { 31 .tooltip.shown {
34 visibility: visible; 32 visibility: visible;
35 transition-delay: 600ms; 33 transition-delay: 600ms;
36 opacity: 1; 34 opacity: 1;
37 } 35 }
38 36
39 .tooltip.shown.instant { 37 .tooltip.shown.instant {
40 transition-delay: 0s; 38 transition-delay: 0s;
41 } 39 }
42 40
43 .tooltip-shortcut { 41 .tooltip-shortcut {
44 color: hsl(0, 0%, 45%); 42 color: hsl(0, 0%, 45%);
45 display: inline-block; 43 display: inline-block;
46 margin-left: 8px; 44 margin-left: 8px;
47 flex: 0 0 auto; 45 flex: 0 0 auto;
48 } 46 }
OLDNEW
« Source/devtools/front_end/ui/Tooltip.js ('K') | « Source/devtools/front_end/ui/Tooltip.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698