Files
react-native-devtools-frontend/front_end/ui/tooltip.css
T
Mathias Bynens e4de6b3c30 Reland “Enable property-no-vendor-prefix stylelint check”
This patch drops unnecessary -webkit- prefixes in CSS and enables
a lint check to enforce that prevent such properties from being
added in the future. Note that the use of vendor-prefixed CSS
properties is still accepted in cases where there is no standardized
and browser-supported alternative.

TBR=changhaohan@chromium.org

No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1104187
Change-Id: Ibf36fe5a3802b5f3ac663b7ac873a4758e0fda14
Fixed: chromium:1031475
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2297386
Reviewed-by: Changhao Han <changhaohan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2297393
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2020-07-14 14:47:38 +00:00

51 lines
1.0 KiB
CSS

/*
* Copyright (c) 2015 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
.tooltip {
background: hsl(0deg 0% 95%);
border-radius: 2px;
color: hsl(0deg 0% 20%);
padding: 5px 8px;
line-height: 14px;
display: flex;
align-items: center;
filter: drop-shadow(0 1px 2px hsl(0deg 0% 0% / 30%));
border: 1px solid hsl(0deg 0% 0% / 10%);
background-clip: padding-box;
box-sizing: border-box;
position: absolute;
visibility: hidden;
transition: visibility 0s 100ms, opacity 150ms cubic-bezier(0, 0, 0.2, 1);
z-index: 20001;
top: 0;
left: 0;
opacity: 0%;
text-overflow: ellipsis;
overflow: hidden;
pointer-events: none;
}
.tooltip-breakword {
word-break: break-word;
}
.tooltip.shown {
visibility: visible;
transition-delay: 600ms;
opacity: 100%;
}
.tooltip.shown.instant {
transition-delay: 0s;
}
.tooltip-shortcut {
color: hsl(0deg 0% 45%);
display: inline-block;
margin-left: 8px;
flex: 0 0 auto;
}