2021-01-28 12:58:35 +01:00
|
|
|
@import "../css/variables.module";
|
2021-07-15 18:48:03 +02:00
|
|
|
|
|
|
|
// container in body where the actual tooltip is appended to
|
2021-05-25 13:52:04 +02:00
|
|
|
.excalidraw-tooltip {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1000;
|
2020-12-14 18:54:54 +05:30
|
|
|
|
2021-05-25 13:52:04 +02:00
|
|
|
padding: 8px;
|
|
|
|
border-radius: 6px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
pointer-events: none;
|
|
|
|
word-wrap: break-word;
|
2020-12-14 18:54:54 +05:30
|
|
|
|
2021-05-25 13:52:04 +02:00
|
|
|
background: $oc-black;
|
2020-12-14 18:54:54 +05:30
|
|
|
|
2021-05-25 13:52:04 +02:00
|
|
|
line-height: 1.5;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: $oc-white;
|
2020-12-14 18:54:54 +05:30
|
|
|
|
2021-05-25 13:52:04 +02:00
|
|
|
display: none;
|
2020-06-19 11:36:49 +01:00
|
|
|
|
2021-05-25 13:52:04 +02:00
|
|
|
&.excalidraw-tooltip--visible {
|
|
|
|
display: block;
|
2020-09-26 02:48:45 +05:30
|
|
|
}
|
2020-06-19 11:36:49 +01:00
|
|
|
}
|
2021-05-25 21:37:14 +02:00
|
|
|
|
2021-07-15 18:48:03 +02:00
|
|
|
// wraps the element we want to apply the tooltip to
|
|
|
|
.excalidraw-tooltip-wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.excalidraw-tooltip-icon {
|
|
|
|
width: 0.9em;
|
|
|
|
height: 0.9em;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: 1px;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
@include isMobile {
|
|
|
|
display: none;
|
2021-05-25 21:37:14 +02:00
|
|
|
}
|
|
|
|
}
|