mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-29 17:14:55 +01:00
111 lines
2.1 KiB
CSS
111 lines
2.1 KiB
CSS
|
/*
|
||
|
DO NOT USE THIS FILE until we resolve how to import .css files into shadow dom
|
||
|
As a workaround, use the file mindplot-styles.js instead
|
||
|
*/
|
||
|
.mindplot-svg-tooltip {
|
||
|
display: none;
|
||
|
color: rgb(51, 51, 51);
|
||
|
text-align: center;
|
||
|
padding: 1px;
|
||
|
border-radius: 6px;
|
||
|
position: absolute;
|
||
|
z-index: 999;
|
||
|
background-color: rgb(255, 255, 255);
|
||
|
animation: fadeIn 0.4s;
|
||
|
}
|
||
|
|
||
|
.fade-in {
|
||
|
animation: fadeIn ease 0.4s;
|
||
|
-webkit-animation: fadeIn ease 0.4s;
|
||
|
-moz-animation: fadeIn ease 0.4s;
|
||
|
-o-animation: fadeIn ease 0.4s;
|
||
|
-ms-animation: fadeIn ease 0.4s;
|
||
|
}
|
||
|
|
||
|
|
||
|
@keyframes fadeIn {
|
||
|
0% { opacity: 0; }
|
||
|
100% { opacity: 1; }
|
||
|
}
|
||
|
|
||
|
@-moz-keyframes fadeIn {
|
||
|
0% { opacity: 0; }
|
||
|
100% { opacity: 1; }
|
||
|
}
|
||
|
|
||
|
@-webkit-keyframes fadeIn {
|
||
|
0% { opacity: 0; }
|
||
|
100% { opacity: 1; }
|
||
|
}
|
||
|
|
||
|
@-o-keyframes fadeIn {
|
||
|
0% { opacity: 0; }
|
||
|
100% { opacity: 1; }
|
||
|
}
|
||
|
|
||
|
@-ms-keyframes fadeIn {
|
||
|
0% { opacity: 0; }
|
||
|
100% { opacity: 1; }
|
||
|
}
|
||
|
|
||
|
.mindplot-svg-tooltip-title {
|
||
|
background-color: rgb(247, 247, 247);
|
||
|
border-bottom-color: rgb(235, 235, 235);
|
||
|
border-bottom-left-radius: 0px;
|
||
|
border-bottom-right-radius: 0px;
|
||
|
border-bottom-style: solid;
|
||
|
border-bottom-width: 1px;
|
||
|
border-top-left-radius: 5px;
|
||
|
border-top-right-radius: 5px;
|
||
|
box-sizing: border-box;
|
||
|
color: rgb(51, 51, 51);
|
||
|
cursor: default;
|
||
|
display: block;
|
||
|
font-family: Arial;
|
||
|
padding: 8px 14px;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
.mindplot-svg-tooltip-content {
|
||
|
background-color: rgb(255, 255, 255);
|
||
|
padding: 6px 4px;
|
||
|
max-width: 250px;
|
||
|
}
|
||
|
|
||
|
.mindplot-svg-tooltip-content-link {
|
||
|
padding: 3px 5px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.mindplot-svg-tooltip-content-note {
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
.mindplot-svg-tooltip:before {
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
width: 0;
|
||
|
height: 0;
|
||
|
border-left: 10px solid transparent;
|
||
|
border-right: 10px solid transparent;
|
||
|
border-bottom: 10px solid #fff;
|
||
|
bottom: 100%;
|
||
|
right: 50%;
|
||
|
transform: translateX(50%);
|
||
|
z-index: 5;
|
||
|
}
|
||
|
|
||
|
.mindplot-svg-tooltip:after {
|
||
|
content: "";
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
width: 0;
|
||
|
height: 0;
|
||
|
border-left: 10px solid transparent;
|
||
|
border-right: 10px solid transparent;
|
||
|
border-bottom: 10px solid rgb(247, 247, 247);
|
||
|
bottom: calc(1px + 100%);
|
||
|
right: 50%;
|
||
|
transform: translateX(50%);
|
||
|
}
|