mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 03:32:37 -06:00
49 lines
1018 B
SCSS
49 lines
1018 B
SCSS
$popover-arrow-size: 1rem;
|
|
$color: inherit;
|
|
$backgroundColor: $btn-secondary-bg;
|
|
$color: $text-color;
|
|
$useDropShadow: false;
|
|
$attachmentOffset: 0%;
|
|
$easing: cubic-bezier(0, 0, 0.265, 1.00);
|
|
|
|
.drop-element {
|
|
position: absolute;
|
|
display: none;
|
|
opacity: 0;
|
|
|
|
&.drop-open {
|
|
display: block;
|
|
}
|
|
|
|
}
|
|
|
|
.drop-element, .drop-element * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.drop-popopver-close {
|
|
position: absolute;
|
|
top: -5px;
|
|
right: 0;
|
|
font-size: $font-size-lg;
|
|
}
|
|
|
|
.drop-help {
|
|
ul {
|
|
padding-left: $spacer;
|
|
}
|
|
}
|
|
|
|
.drop-hide-out-of-bounds {
|
|
&.drop-open.drop-help.drop-out-of-bounds,
|
|
&.drop-open-transitionend.drop-help.drop-out-of-bounds {
|
|
display: none;
|
|
}
|
|
}
|
|
@include drop-theme("help", $popover-help-bg, $popover-help-color);
|
|
@include drop-theme("popover", $popover-bg, $popover-color);
|
|
|
|
@include drop-animation-scale("drop", "help", $attachmentOffset: $attachmentOffset, $easing: $easing);
|
|
@include drop-animation-scale("drop", "popover", $attachmentOffset: $attachmentOffset, $easing: $easing);
|
|
|