2017-08-22 19:22:06 +00:00
|
|
|
/**
|
|
|
|
* Mousemove padding styles are used to add invisible elements to the popover
|
|
|
|
* to allow mouse movement from the popover trigger to the popover itself
|
|
|
|
* without triggering a mouseleave event.
|
|
|
|
*/
|
2018-07-25 18:28:36 +00:00
|
|
|
%vertical-popover-padding {
|
2017-08-22 19:22:06 +00:00
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2021-10-06 09:53:27 +00:00
|
|
|
width: 20px;
|
|
|
|
padding: 20px 0;
|
|
|
|
top: -20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
%horizontal-popover-padding {
|
|
|
|
height: 25px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 35px;
|
|
|
|
left: -35px;
|
2017-08-22 19:22:06 +00:00
|
|
|
}
|
|
|
|
|
2018-07-25 18:28:36 +00:00
|
|
|
.popover-mousemove-padding-left {
|
|
|
|
@extend %vertical-popover-padding;
|
2021-10-06 09:53:27 +00:00
|
|
|
left: -35px;
|
2018-07-25 18:28:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.popover-mousemove-padding-right {
|
|
|
|
@extend %vertical-popover-padding;
|
2021-10-06 09:53:27 +00:00
|
|
|
right: -35px;
|
2018-07-25 18:28:36 +00:00
|
|
|
}
|
|
|
|
|
2021-10-06 09:53:27 +00:00
|
|
|
.popover-mousemove-padding-bottom {
|
|
|
|
@extend %horizontal-popover-padding;
|
|
|
|
bottom: -40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popover-mousemove-padding-top {
|
|
|
|
@extend %horizontal-popover-padding;
|
|
|
|
top: -40px;
|
2017-08-22 19:22:06 +00:00
|
|
|
}
|
2019-03-11 11:43:33 +00:00
|
|
|
|
|
|
|
.popover {
|
|
|
|
margin: -16px -24px;
|
2021-02-11 19:32:38 +00:00
|
|
|
z-index: $popoverZ;
|
2019-03-11 11:43:33 +00:00
|
|
|
}
|
2022-09-30 14:50:45 +00:00
|
|
|
|
|
|
|
.excalidraw .popover {
|
|
|
|
margin: 0;
|
|
|
|
}
|