New maps in progress... (node tooltips)

This commit is contained in:
Arturo Gonzalez 2016-02-22 10:20:46 +01:00
parent 2da733e8b5
commit accac98aae
3 changed files with 5 additions and 124 deletions

View File

@ -132,12 +132,14 @@ MapController.prototype.click_event = function(event) {
event.stopPropagation();
switch (event.which) {
case 1:
if ($(event.currentTarget).attr("class") == "node") {
if ($(event.currentTarget).hasClass("node")) {
self.tooltip_map_create(self, event);
}
else {
self.tooltip_map_close(self, event);
}
break;
case 2:
self.tooltip_map_close(self, event);
break;
case 3:
break;

View File

@ -3123,124 +3123,3 @@ table#policy_modules td * {
transform: rotate(359deg);
}
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++ PROVISIONAL +++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Top arrow to nodes dialog (Networkmap) */
.nodeDialogTop {
position: relative;
background: #82b92e;
}
.nodeDialogTop:after {
bottom: 100%;
left: 8%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-bottom-color: #82b92e;
border-width: 15px;
margin-left: -15px;
}
.nodeDialogTop2 {
float: left;
position: relative;
background: #82b92e;
}
.nodeDialogTop2:after {
bottom: 100%;
right: 8%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-bottom-color: #82b92e;
border-width: 15px;
margin-left: -15px;
}
/* Bottom arrow to nodes dialog (Networkmap) */
.nodeDialogBottom {
position: relative;
background: #82b92e;
}
.nodeDialogBottom:after {
top: 100%;
right: 8%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-top-color: #82b92e;
border-width: 15px;
margin-left: -15px;
}
.nodeDialogBottom2 {
position: relative;
background: #82b92e;
}
.nodeDialogBottom2:after {
top: 100%;
left: 8%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-top-color: #82b92e;
border-width: 15px;
margin-left: -15px;
}
/* Right arrow to nodes dialog (Networkmap) */
.nodeDialogRight {
position: relative;
background: #82b92e;
}
.nodeDialogRight:after {
left: 100%;
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-left-color: #82b92e;
border-width: 15px;
margin-top: -15px;
}
/* Left arrow to nodes dialog (Networkmap) */
.nodeDialogLeft {
position: relative;
background: #82b92e;
}
.nodeDialogLeft:after {
right: 100%;
top: 50%;
border: #82b92e;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: transparent;
border-right-color: #82b92e;
border-width: 15px;
margin-top: -15px;
}

View File

@ -1,6 +1,6 @@
.tooltipster-noir {
border-radius: 0px;
border: 3px solid #82E92B;
border: 3px solid #82B92E;
background: #fff;
color: #2c2c2c;
}