|
@ -5,7 +5,7 @@ |
|
|
* A dynamic, browser-based visualization library. |
|
|
* A dynamic, browser-based visualization library. |
|
|
* |
|
|
* |
|
|
* @version 3.9.2-SNAPSHOT |
|
|
* @version 3.9.2-SNAPSHOT |
|
|
* @date 2015-02-10 |
|
|
|
|
|
|
|
|
* @date 2015-02-11 |
|
|
* |
|
|
* |
|
|
* @license |
|
|
* @license |
|
|
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
|
|
|
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
|
|
@ -21220,21 +21220,13 @@ return /******/ (function(modules) { // webpackBootstrap |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// create the frame
|
|
|
// create the frame
|
|
|
this.frame = document.createElement("div"); |
|
|
|
|
|
var styleAttr = this.frame.style; |
|
|
|
|
|
styleAttr.position = "absolute"; |
|
|
|
|
|
styleAttr.visibility = "hidden"; |
|
|
|
|
|
styleAttr.border = "1px solid " + style.color.border; |
|
|
|
|
|
styleAttr.color = style.fontColor; |
|
|
|
|
|
styleAttr.fontSize = style.fontSize + "px"; |
|
|
|
|
|
styleAttr.fontFamily = style.fontFace; |
|
|
|
|
|
styleAttr.padding = this.padding + "px"; |
|
|
|
|
|
styleAttr.backgroundColor = style.color.background; |
|
|
|
|
|
styleAttr.borderRadius = "3px"; |
|
|
|
|
|
styleAttr.MozBorderRadius = "3px"; |
|
|
|
|
|
styleAttr.WebkitBorderRadius = "3px"; |
|
|
|
|
|
styleAttr.boxShadow = "3px 3px 10px rgba(128, 128, 128, 0.5)"; |
|
|
|
|
|
styleAttr.whiteSpace = "nowrap"; |
|
|
|
|
|
|
|
|
this.frame = document.createElement('div'); |
|
|
|
|
|
this.frame.className = 'network-tooltip'; |
|
|
|
|
|
this.frame.style.color = style.fontColor; |
|
|
|
|
|
this.frame.style.backgroundColor = style.color.background; |
|
|
|
|
|
this.frame.style.borderColor = style.color.border; |
|
|
|
|
|
this.frame.style.fontSize = style.fontSize + 'px'; |
|
|
|
|
|
this.frame.style.fontFamily = style.fontFace; |
|
|
this.container.appendChild(this.frame); |
|
|
this.container.appendChild(this.frame); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|