2016-04-17 21:04:43 -05:00
|
|
|
$popover-arrow-size: 0.7rem;
|
2016-02-22 04:41:50 -06:00
|
|
|
$color: inherit;
|
|
|
|
$color: $text-color;
|
|
|
|
$useDropShadow: false;
|
2016-02-22 07:20:34 -06:00
|
|
|
$attachmentOffset: 0%;
|
|
|
|
$easing: cubic-bezier(0, 0, 0.265, 1.00);
|
2016-02-22 04:41:50 -06:00
|
|
|
|
2017-09-12 01:01:44 -05:00
|
|
|
@include drop-theme("error", $popover-error-bg, $popover-color);
|
2017-04-14 06:08:03 -05:00
|
|
|
@include drop-theme("popover", $popover-bg, $popover-color, $popover-border-color);
|
|
|
|
@include drop-theme("help", $popover-help-bg, $popover-help-color);
|
2017-04-13 11:39:49 -05:00
|
|
|
|
|
|
|
@include drop-animation-scale("drop", "help", $attachmentOffset: $attachmentOffset, $easing: $easing);
|
|
|
|
@include drop-animation-scale("drop", "error", $attachmentOffset: $attachmentOffset, $easing: $easing);
|
|
|
|
@include drop-animation-scale("drop", "popover", $attachmentOffset: $attachmentOffset, $easing: $easing);
|
|
|
|
|
2016-02-22 04:41:50 -06:00
|
|
|
.drop-element {
|
2016-04-12 10:07:34 -05:00
|
|
|
z-index: 10000;
|
2016-02-22 04:41:50 -06:00
|
|
|
position: absolute;
|
|
|
|
display: none;
|
2016-02-22 07:20:34 -06:00
|
|
|
opacity: 0;
|
2016-02-22 04:41:50 -06:00
|
|
|
|
|
|
|
&.drop-open {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-03-29 04:01:00 -05:00
|
|
|
}
|
2016-02-22 04:41:50 -06:00
|
|
|
|
|
|
|
.drop-element, .drop-element * {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2016-02-22 11:46:58 -06:00
|
|
|
.drop-popopver-close {
|
|
|
|
position: absolute;
|
|
|
|
top: -5px;
|
|
|
|
right: 0;
|
|
|
|
font-size: $font-size-lg;
|
|
|
|
}
|
|
|
|
|
2016-03-01 14:01:41 -06:00
|
|
|
.drop-help {
|
2016-12-16 05:46:29 -06:00
|
|
|
a {
|
2016-12-16 06:06:04 -06:00
|
|
|
color: $white;
|
|
|
|
&:hover {
|
|
|
|
color: darken($white, 10%);
|
|
|
|
}
|
2016-12-16 05:46:29 -06:00
|
|
|
}
|
2016-03-01 14:01:41 -06:00
|
|
|
}
|
|
|
|
|
2016-03-29 04:01:00 -05:00
|
|
|
.drop-hide-out-of-bounds {
|
|
|
|
&.drop-open.drop-help.drop-out-of-bounds,
|
|
|
|
&.drop-open-transitionend.drop-help.drop-out-of-bounds {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2016-12-16 03:34:00 -06:00
|
|
|
|
2017-10-07 03:31:39 -05:00
|
|
|
.drop-element.drop-popover {
|
|
|
|
.drop-content {
|
|
|
|
box-shadow: $popover-shadow;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-13 11:39:49 -05:00
|
|
|
.drop-element.drop-popover--form {
|
|
|
|
.drop-content {
|
|
|
|
max-width: none;
|
2017-10-07 03:31:39 -05:00
|
|
|
padding: 0;
|
2017-04-13 11:39:49 -05:00
|
|
|
}
|
|
|
|
}
|
2017-05-22 06:02:19 -05:00
|
|
|
|
|
|
|
.drop-element.drop-popover--annotation {
|
|
|
|
.drop-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|