vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1254 lines
28 KiB

9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. .vis .overlay {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. /* Must be displayed above for example selected Timeline items */
  8. z-index: 10;
  9. }
  10. .vis-active {
  11. box-shadow: 0 0 10px #86d5f8;
  12. }
  13. /* override some bootstrap styles screwing up the timelines css */
  14. .vis [class*="span"] {
  15. min-height: 0;
  16. width: auto;
  17. }
  18. .vis-timeline {
  19. position: relative;
  20. border: 1px solid #bfbfbf;
  21. overflow: hidden;
  22. padding: 0;
  23. margin: 0;
  24. box-sizing: border-box;
  25. }
  26. .vis-panel {
  27. position: absolute;
  28. padding: 0;
  29. margin: 0;
  30. box-sizing: border-box;
  31. }
  32. .vis-panel.vis-center,
  33. .vis-panel.vis-left,
  34. .vis-panel.vis-right,
  35. .vis-panel.vis-top,
  36. .vis-panel.vis-bottom {
  37. border: 1px #bfbfbf;
  38. }
  39. .vis-panel.vis-center,
  40. .vis-panel.vis-left,
  41. .vis-panel.vis-right {
  42. border-top-style: solid;
  43. border-bottom-style: solid;
  44. overflow: hidden;
  45. }
  46. .vis-panel.vis-center,
  47. .vis-panel.vis-top,
  48. .vis-panel.vis-bottom {
  49. border-left-style: solid;
  50. border-right-style: solid;
  51. }
  52. .vis-background {
  53. overflow: hidden;
  54. }
  55. .vis-panel > .vis-content {
  56. position: relative;
  57. }
  58. .vis-panel .vis-shadow {
  59. position: absolute;
  60. width: 100%;
  61. height: 1px;
  62. box-shadow: 0 0 10px rgba(0,0,0,0.8);
  63. /* TODO: find a nice way to ensure vis-shadows are drawn on top of items
  64. z-index: 1;
  65. */
  66. }
  67. .vis-panel .vis-shadow.vis-top {
  68. top: -1px;
  69. left: 0;
  70. }
  71. .vis-panel .vis-shadow.vis-bottom {
  72. bottom: -1px;
  73. left: 0;
  74. }
  75. .vis-labelset {
  76. position: relative;
  77. overflow: hidden;
  78. box-sizing: border-box;
  79. }
  80. .vis-labelset .vis-label {
  81. position: relative;
  82. left: 0;
  83. top: 0;
  84. width: 100%;
  85. color: #4d4d4d;
  86. box-sizing: border-box;
  87. }
  88. .vis-labelset .vis-label {
  89. border-bottom: 1px solid #bfbfbf;
  90. }
  91. .vis-labelset .vis-label.draggable {
  92. cursor: pointer;
  93. }
  94. .vis-labelset .vis-label:last-child {
  95. border-bottom: none;
  96. }
  97. .vis-labelset .vis-label .vis-inner {
  98. display: inline-block;
  99. padding: 5px;
  100. }
  101. .vis-labelset .vis-label .vis-inner.vis-hidden {
  102. padding: 0;
  103. }
  104. .vis-itemset {
  105. position: relative;
  106. padding: 0;
  107. margin: 0;
  108. box-sizing: border-box;
  109. }
  110. .vis-itemset .vis-background,
  111. .vis-itemset .vis-foreground {
  112. position: absolute;
  113. width: 100%;
  114. height: 100%;
  115. overflow: visible;
  116. }
  117. .vis-axis {
  118. position: absolute;
  119. width: 100%;
  120. height: 0;
  121. left: 0;
  122. z-index: 1;
  123. }
  124. .vis-foreground .vis-group {
  125. position: relative;
  126. box-sizing: border-box;
  127. border-bottom: 1px solid #bfbfbf;
  128. }
  129. .vis-foreground .vis-group:last-child {
  130. border-bottom: none;
  131. }
  132. .vis-overlay {
  133. position: absolute;
  134. top: 0;
  135. left: 0;
  136. width: 100%;
  137. height: 100%;
  138. z-index: 10;
  139. }
  140. .vis-item {
  141. position: absolute;
  142. color: #1A1A1A;
  143. border-color: #97B0F8;
  144. border-width: 1px;
  145. background-color: #D5DDF6;
  146. display: inline-block;
  147. /*overflow: hidden;*/
  148. }
  149. .vis-item.vis-selected {
  150. border-color: #FFC200;
  151. background-color: #FFF785;
  152. /* z-index must be higher than the z-index of custom time bar and current time bar */
  153. z-index: 2;
  154. }
  155. .vis-editable.vis-selected {
  156. cursor: move;
  157. }
  158. .vis-item.vis-point.vis-selected {
  159. background-color: #FFF785;
  160. }
  161. .vis-item.vis-box {
  162. text-align: center;
  163. border-style: solid;
  164. border-radius: 2px;
  165. }
  166. .vis-item.vis-point {
  167. background: none;
  168. }
  169. .vis-item.vis-dot {
  170. position: absolute;
  171. padding: 0;
  172. border-width: 4px;
  173. border-style: solid;
  174. border-radius: 4px;
  175. }
  176. .vis-item.vis-range {
  177. border-style: solid;
  178. border-radius: 2px;
  179. box-sizing: border-box;
  180. }
  181. .vis-item.vis-background {
  182. border: none;
  183. background-color: rgba(213, 221, 246, 0.4);
  184. box-sizing: border-box;
  185. padding: 0;
  186. margin: 0;
  187. }
  188. .vis-item .vis-item-overflow {
  189. position: relative;
  190. width: 100%;
  191. height: 100%;
  192. padding: 0;
  193. margin: 0;
  194. overflow: hidden;
  195. }
  196. .vis-item.vis-range .vis-item-content {
  197. position: relative;
  198. display: inline-block;
  199. }
  200. .vis-item.vis-background .vis-item-content {
  201. position: absolute;
  202. display: inline-block;
  203. }
  204. .vis-item.vis-line {
  205. padding: 0;
  206. position: absolute;
  207. width: 0;
  208. border-left-width: 1px;
  209. border-left-style: solid;
  210. }
  211. .vis-item .vis-item-content {
  212. white-space: nowrap;
  213. box-sizing: border-box;
  214. padding: 5px;
  215. }
  216. .vis-item .vis-delete {
  217. background: url('img/timeline/delete.png') no-repeat center;
  218. position: absolute;
  219. width: 24px;
  220. height: 24px;
  221. top: -4px;
  222. right: -24px;
  223. cursor: pointer;
  224. }
  225. .vis-item.vis-range .vis-drag-left {
  226. position: absolute;
  227. width: 24px;
  228. max-width: 20%;
  229. min-width: 2px;
  230. height: 100%;
  231. top: 0;
  232. left: -4px;
  233. cursor: w-resize;
  234. }
  235. .vis-item.vis-range .vis-drag-right {
  236. position: absolute;
  237. width: 24px;
  238. max-width: 20%;
  239. min-width: 2px;
  240. height: 100%;
  241. top: 0;
  242. right: -4px;
  243. cursor: e-resize;
  244. }
  245. .vis-time-axis {
  246. position: relative;
  247. overflow: hidden;
  248. }
  249. .vis-time-axis.vis-foreground {
  250. top: 0;
  251. left: 0;
  252. width: 100%;
  253. }
  254. .vis-time-axis.vis-background {
  255. position: absolute;
  256. top: 0;
  257. left: 0;
  258. width: 100%;
  259. height: 100%;
  260. }
  261. .vis-time-axis .vis-text {
  262. position: absolute;
  263. color: #4d4d4d;
  264. padding: 3px;
  265. overflow: hidden;
  266. box-sizing: border-box;
  267. white-space: nowrap;
  268. }
  269. .vis-time-axis .vis-text.vis-measure {
  270. position: absolute;
  271. padding-left: 0;
  272. padding-right: 0;
  273. margin-left: 0;
  274. margin-right: 0;
  275. visibility: hidden;
  276. }
  277. .vis-time-axis .vis-grid.vis-vertical {
  278. position: absolute;
  279. border-left: 1px solid;
  280. }
  281. .vis-time-axis .vis-grid.vis-minor {
  282. border-color: #e5e5e5;
  283. }
  284. .vis-time-axis .vis-grid.vis-major {
  285. border-color: #bfbfbf;
  286. }
  287. .vis-current-time {
  288. background-color: #FF7F6E;
  289. width: 2px;
  290. z-index: 1;
  291. }
  292. .vis-custom-time {
  293. background-color: #6E94FF;
  294. width: 2px;
  295. cursor: move;
  296. z-index: 1;
  297. }
  298. .vis-timeline {
  299. /*
  300. -webkit-transition: height .4s ease-in-out;
  301. transition: height .4s ease-in-out;
  302. */
  303. }
  304. .vis-panel {
  305. /*
  306. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  307. transition: height .4s ease-in-out, top .4s ease-in-out;
  308. */
  309. }
  310. .vis-axis {
  311. /*
  312. -webkit-transition: top .4s ease-in-out;
  313. transition: top .4s ease-in-out;
  314. */
  315. }
  316. /* TODO: get animation working nicely
  317. .vis-item {
  318. -webkit-transition: top .4s ease-in-out;
  319. transition: top .4s ease-in-out;
  320. }
  321. .vis-item.line {
  322. -webkit-transition: height .4s ease-in-out, top .4s ease-in-out;
  323. transition: height .4s ease-in-out, top .4s ease-in-out;
  324. }
  325. /**/
  326. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-horizontal {
  327. position: absolute;
  328. width: 100%;
  329. height: 0;
  330. border-bottom: 1px solid;
  331. }
  332. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-minor {
  333. border-color: #e5e5e5;
  334. }
  335. .vis-panel.vis-background.vis-horizontal .vis-grid.vis-major {
  336. border-color: #bfbfbf;
  337. }
  338. .vis-data-axis .vis-y-axis.vis-major {
  339. width: 100%;
  340. position: absolute;
  341. color: #4d4d4d;
  342. white-space: nowrap;
  343. }
  344. .vis-data-axis .vis-y-axis.vis-major.vis-measure {
  345. padding: 0;
  346. margin: 0;
  347. border: 0;
  348. visibility: hidden;
  349. width: auto;
  350. }
  351. .vis-data-axis .vis-y-axis.vis-minor {
  352. position: absolute;
  353. width: 100%;
  354. color: #bebebe;
  355. white-space: nowrap;
  356. }
  357. .vis-data-axis .vis-y-axis.vis-minor.vis-measure {
  358. padding: 0;
  359. margin: 0;
  360. border: 0;
  361. visibility: hidden;
  362. width: auto;
  363. }
  364. .vis-data-axis .vis-y-axis.vis-title {
  365. position: absolute;
  366. color: #4d4d4d;
  367. white-space: nowrap;
  368. bottom: 20px;
  369. text-align: center;
  370. }
  371. .vis-data-axis .vis-y-axis.vis-title.vis-measure {
  372. padding: 0;
  373. margin: 0;
  374. visibility: hidden;
  375. width: auto;
  376. }
  377. .vis-data-axis .vis-y-axis.vis-title.vis-left {
  378. bottom: 0;
  379. -webkit-transform-origin: left top;
  380. -moz-transform-origin: left top;
  381. -ms-transform-origin: left top;
  382. -o-transform-origin: left top;
  383. transform-origin: left bottom;
  384. -webkit-transform: rotate(-90deg);
  385. -moz-transform: rotate(-90deg);
  386. -ms-transform: rotate(-90deg);
  387. -o-transform: rotate(-90deg);
  388. transform: rotate(-90deg);
  389. }
  390. .vis-data-axis .vis-y-axis.vis-title.vis-right {
  391. bottom: 0;
  392. -webkit-transform-origin: right bottom;
  393. -moz-transform-origin: right bottom;
  394. -ms-transform-origin: right bottom;
  395. -o-transform-origin: right bottom;
  396. transform-origin: right bottom;
  397. -webkit-transform: rotate(90deg);
  398. -moz-transform: rotate(90deg);
  399. -ms-transform: rotate(90deg);
  400. -o-transform: rotate(90deg);
  401. transform: rotate(90deg);
  402. }
  403. .vis-legend {
  404. background-color: rgba(247, 252, 255, 0.65);
  405. padding: 5px;
  406. border: 1px solid #b3b3b3;
  407. box-shadow: 2px 2px 10px rgba(154, 154, 154, 0.55);
  408. }
  409. .vis-legend-text {
  410. /*font-size: 10px;*/
  411. white-space: nowrap;
  412. display: inline-block
  413. }
  414. .vis-graph-group0 {
  415. fill:#4f81bd;
  416. fill-opacity:0;
  417. stroke-width:2px;
  418. stroke: #4f81bd;
  419. }
  420. .vis-graph-group1 {
  421. fill:#f79646;
  422. fill-opacity:0;
  423. stroke-width:2px;
  424. stroke: #f79646;
  425. }
  426. .vis-graph-group2 {
  427. fill: #8c51cf;
  428. fill-opacity:0;
  429. stroke-width:2px;
  430. stroke: #8c51cf;
  431. }
  432. .vis-graph-group3 {
  433. fill: #75c841;
  434. fill-opacity:0;
  435. stroke-width:2px;
  436. stroke: #75c841;
  437. }
  438. .vis-graph-group4 {
  439. fill: #ff0100;
  440. fill-opacity:0;
  441. stroke-width:2px;
  442. stroke: #ff0100;
  443. }
  444. .vis-graph-group5 {
  445. fill: #37d8e6;
  446. fill-opacity:0;
  447. stroke-width:2px;
  448. stroke: #37d8e6;
  449. }
  450. .vis-graph-group6 {
  451. fill: #042662;
  452. fill-opacity:0;
  453. stroke-width:2px;
  454. stroke: #042662;
  455. }
  456. .vis-graph-group7 {
  457. fill:#00ff26;
  458. fill-opacity:0;
  459. stroke-width:2px;
  460. stroke: #00ff26;
  461. }
  462. .vis-graph-group8 {
  463. fill:#ff00ff;
  464. fill-opacity:0;
  465. stroke-width:2px;
  466. stroke: #ff00ff;
  467. }
  468. .vis-graph-group9 {
  469. fill: #8f3938;
  470. fill-opacity:0;
  471. stroke-width:2px;
  472. stroke: #8f3938;
  473. }
  474. .vis-timeline .vis-fill {
  475. fill-opacity:0.1;
  476. stroke: none;
  477. }
  478. .vis-timeline .vis-bar {
  479. fill-opacity:0.5;
  480. stroke-width:1px;
  481. }
  482. .vis-timeline .vis-point {
  483. stroke-width:2px;
  484. fill-opacity:1.0;
  485. }
  486. .vis-timeline .vis-legend-background {
  487. stroke-width:1px;
  488. fill-opacity:0.9;
  489. fill: #ffffff;
  490. stroke: #c2c2c2;
  491. }
  492. .vis-timeline .vis-outline {
  493. stroke-width:1px;
  494. fill-opacity:1;
  495. fill: #ffffff;
  496. stroke: #e5e5e5;
  497. }
  498. .vis-timeline .vis-icon-fill {
  499. fill-opacity:0.3;
  500. stroke: none;
  501. }
  502. div.vis-network div.vis-manipulation {
  503. border-width: 0;
  504. border-bottom: 1px;
  505. border-style:solid;
  506. border-color: #d6d9d8;
  507. background: #ffffff; /* Old browsers */
  508. background: -moz-linear-gradient(top, #ffffff 0%, #fcfcfc 48%, #fafafa 50%, #fcfcfc 100%); /* FF3.6+ */
  509. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(48%,#fcfcfc), color-stop(50%,#fafafa), color-stop(100%,#fcfcfc)); /* Chrome,Safari4+ */
  510. background: -webkit-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Chrome10+,Safari5.1+ */
  511. background: -o-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* Opera 11.10+ */
  512. background: -ms-linear-gradient(top, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* IE10+ */
  513. background: linear-gradient(to bottom, #ffffff 0%,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%); /* W3C */
  514. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
  515. position: absolute;
  516. left: 0;
  517. top: 0;
  518. width: 100%;
  519. height: 30px;
  520. }
  521. div.vis-network div.vis-edit-mode {
  522. position:absolute;
  523. left: 0;
  524. top: 15px;
  525. height: 30px;
  526. }
  527. /* FIXME: shouldn't the vis-close button be a child of the vis-manipulation div? */
  528. div.vis-network div.vis-close {
  529. position:absolute;
  530. right: 0;
  531. top: 0;
  532. width: 30px;
  533. height: 30px;
  534. background-position: 20px 3px;
  535. background-repeat: no-repeat;
  536. background-image: url("img/network/cross.png");
  537. cursor: pointer;
  538. -webkit-touch-callout: none;
  539. -webkit-user-select: none;
  540. -khtml-user-select: none;
  541. -moz-user-select: none;
  542. -ms-user-select: none;
  543. user-select: none;
  544. }
  545. div.vis-network div.vis-close:hover {
  546. opacity: 0.6;
  547. }
  548. div.vis-network div.vis-manipulation div.vis-button,
  549. div.vis-network div.vis-edit-mode div.vis-button {
  550. position:relative;
  551. top:-7px;
  552. font-family: verdana;
  553. font-size: 12px;
  554. -moz-border-radius: 15px;
  555. border-radius: 15px;
  556. display:inline-block;
  557. background-position: 0px 0px;
  558. background-repeat:no-repeat;
  559. height:24px;
  560. margin: 0px 0px 0px 10px;
  561. vertical-align:middle;
  562. cursor: pointer;
  563. padding: 0px 8px 0px 8px;
  564. -webkit-touch-callout: none;
  565. -webkit-user-select: none;
  566. -khtml-user-select: none;
  567. -moz-user-select: none;
  568. -ms-user-select: none;
  569. user-select: none;
  570. }
  571. div.vis-network div.vis-manipulation div.vis-button:hover {
  572. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.20);
  573. }
  574. div.vis-network div.vis-manipulation div.vis-button:active {
  575. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.50);
  576. }
  577. div.vis-network div.vis-manipulation div.vis-button.vis-back {
  578. background-image: url("img/network/backIcon.png");
  579. }
  580. div.vis-network div.vis-manipulation div.vis-button.vis-none:hover {
  581. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  582. cursor: default;
  583. }
  584. div.vis-network div.vis-manipulation div.vis-button.vis-none:active {
  585. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.0);
  586. }
  587. div.vis-network div.vis-manipulation div.vis-button.vis-none {
  588. padding: 0;
  589. }
  590. div.vis-network div.vis-manipulation div.notification {
  591. margin: 2px;
  592. font-weight: bold;
  593. }
  594. div.vis-network div.vis-manipulation div.vis-button.vis-add {
  595. background-image: url("img/network/addNodeIcon.png");
  596. }
  597. div.vis-network div.vis-manipulation div.vis-button.vis-edit,
  598. div.vis-network div.vis-edit-mode div.vis-button.vis-edit {
  599. background-image: url("img/network/editIcon.png");
  600. }
  601. div.vis-network div.vis-edit-mode div.vis-button.vis-edit.vis-edit-mode {
  602. background-color: #fcfcfc;
  603. border: 1px solid #cccccc;
  604. }
  605. div.vis-network div.vis-manipulation div.vis-button.vis-connect {
  606. background-image: url("img/network/connectIcon.png");
  607. }
  608. div.vis-network div.vis-manipulation div.vis-button.vis-delete {
  609. background-image: url("img/network/deleteIcon.png");
  610. }
  611. /* top right bottom left */
  612. div.vis-network div.vis-manipulation div.vis-label,
  613. div.vis-network div.vis-edit-mode div.vis-label {
  614. margin: 0 0 0 23px;
  615. line-height: 25px;
  616. }
  617. div.vis-network div.vis-manipulation div.vis-separator-line {
  618. display:inline-block;
  619. width:1px;
  620. height:20px;
  621. background-color: #bdbdbd;
  622. margin: 5px 7px 0 15px;
  623. }
  624. /* TODO: is this redundant?
  625. div.network-navigation_wrapper {
  626. position: absolute;
  627. left: 0;
  628. top: 0;
  629. width: 100%;
  630. height: 100%;
  631. }
  632. */
  633. div.vis-network div.vis-navigation div.vis-button {
  634. width:34px;
  635. height:34px;
  636. -moz-border-radius: 17px;
  637. border-radius: 17px;
  638. position:absolute;
  639. display:inline-block;
  640. background-position: 2px 2px;
  641. background-repeat:no-repeat;
  642. cursor: pointer;
  643. -webkit-touch-callout: none;
  644. -webkit-user-select: none;
  645. -khtml-user-select: none;
  646. -moz-user-select: none;
  647. -ms-user-select: none;
  648. user-select: none;
  649. }
  650. div.vis-network div.vis-navigation div.vis-button:hover {
  651. box-shadow: 0 0 3px 3px rgba(56, 207, 21, 0.30);
  652. }
  653. div.vis-network div.vis-navigation div.vis-button:active {
  654. box-shadow: 0 0 1px 3px rgba(56, 207, 21, 0.95);
  655. }
  656. div.vis-network div.vis-navigation div.vis-button.vis-up {
  657. background-image: url("img/network/upArrow.png");
  658. bottom:50px;
  659. left:55px;
  660. }
  661. div.vis-network div.vis-navigation div.vis-button.vis-down {
  662. background-image: url("img/network/downArrow.png");
  663. bottom:10px;
  664. left:55px;
  665. }
  666. div.vis-network div.vis-navigation div.vis-button.vis-left {
  667. background-image: url("img/network/leftArrow.png");
  668. bottom:10px;
  669. left:15px;
  670. }
  671. div.vis-network div.vis-navigation div.vis-button.vis-right {
  672. background-image: url("img/network/rightArrow.png");
  673. bottom:10px;
  674. left:95px;
  675. }
  676. div.vis-network div.vis-navigation div.vis-button.vis-zoomIn {
  677. background-image: url("img/network/plus.png");
  678. bottom:10px;
  679. right:15px;
  680. }
  681. div.vis-network div.vis-navigation div.vis-button.vis-zoomOut {
  682. background-image: url("img/network/minus.png");
  683. bottom:10px;
  684. right:55px;
  685. }
  686. div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends {
  687. background-image: url("img/network/zoomExtends.png");
  688. bottom:50px;
  689. right:15px;
  690. }
  691. div.vis-network-tooltip {
  692. position: absolute;
  693. visibility: hidden;
  694. padding: 5px;
  695. white-space: nowrap;
  696. font-family: verdana;
  697. font-size:14px;
  698. font-color:#000000;
  699. background-color: #f5f4ed;
  700. -moz-border-radius: 3px;
  701. -webkit-border-radius: 3px;
  702. border-radius: 3px;
  703. border: 1px solid #808074;
  704. box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  705. pointer-events: none;
  706. }
  707. div.vis-network-configuration {
  708. position:relative;
  709. display:block;
  710. float:left;
  711. font-size:12px;
  712. }
  713. div.vis-network-configuration-wrapper {
  714. display:block;
  715. width:700px;
  716. }
  717. div.vis-network-configuration.vis-option-container{
  718. display:block;
  719. width:495px;
  720. background-color: #ffffff;
  721. border:2px solid #f7f8fa;
  722. border-radius:4px;
  723. margin-top:20px;
  724. left:10px;
  725. padding-left:5px;
  726. }
  727. div.vis-network-configuration.button{
  728. display:block;
  729. width:495px;
  730. height:25px;
  731. vertical-align: middle;
  732. line-height:25px;
  733. background-color: #f7f8fa;
  734. border:2px solid #ceced0;
  735. border-radius:4px;
  736. margin-top:20px;
  737. left:10px;
  738. padding-left:5px;
  739. cursor: pointer;
  740. margin-bottom:30px;
  741. }
  742. div.vis-network-configuration.button.hover{
  743. background-color: #4588e6;
  744. border:2px solid #214373;
  745. color:#ffffff;
  746. }
  747. div.vis-network-configuration.item{
  748. display:block;
  749. float:left;
  750. width:495px;
  751. height:25px;
  752. vertical-align: middle;
  753. line-height:25px;
  754. }
  755. div.vis-network-configuration.item.s2{
  756. left:10px;
  757. background-color: #f7f8fa;
  758. padding-left:5px;
  759. border-radius:3px;
  760. }
  761. div.vis-network-configuration.item.s3{
  762. left:20px;
  763. background-color: #e4e9f0;
  764. padding-left:5px;
  765. border-radius:3px;
  766. }
  767. div.vis-network-configuration.item.s4{
  768. left:30px;
  769. background-color: #cfd8e6;
  770. padding-left:5px;
  771. border-radius:3px;
  772. }
  773. div.vis-network-configuration.header{
  774. font-size:18px;
  775. font-weight: bold;
  776. }
  777. div.vis-network-configuration.label{
  778. width:120px;
  779. height:25px;
  780. line-height: 25px;
  781. }
  782. div.vis-network-configuration.label.s3{
  783. width:110px;
  784. }
  785. div.vis-network-configuration.label.s4{
  786. width:100px;
  787. }
  788. div.vis-network-configuration.colorBlock{
  789. top:1px;
  790. width:30px;
  791. height:19px;
  792. border:1px solid #444444;
  793. border-radius:2px;
  794. padding:0px;
  795. margin:0px;
  796. cursor:pointer;
  797. }
  798. input.vis-network-configuration.checkbox {
  799. left:-5px;
  800. }
  801. input.vis-network-configuration.rangeinput{
  802. position:relative;
  803. top:-5px;
  804. width:60px;
  805. height:13px;
  806. padding:1px;
  807. margin:0;
  808. pointer-events:none;
  809. }
  810. input.vis-network-configuration.range{
  811. /*removes default webkit styles*/
  812. -webkit-appearance: none;
  813. /*fix for FF unable to apply focus style bug */
  814. border: 0px solid white;
  815. background-color:rgba(0,0,0,0);
  816. /*required for proper track sizing in FF*/
  817. width: 300px;
  818. height:20px;
  819. }
  820. input.vis-network-configuration.range::-webkit-slider-runnable-track {
  821. width: 300px;
  822. height: 5px;
  823. background: #dedede; /* Old browsers */
  824. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  825. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  826. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  827. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  828. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  829. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  830. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  831. border: 1px solid #999999;
  832. box-shadow: #aaaaaa 0px 0px 3px 0px;
  833. border-radius: 3px;
  834. }
  835. input.vis-network-configuration.range::-webkit-slider-thumb {
  836. -webkit-appearance: none;
  837. border: 1px solid #14334b;
  838. height: 17px;
  839. width: 17px;
  840. border-radius: 50%;
  841. background: #3876c2; /* Old browsers */
  842. background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */
  843. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3876c2), color-stop(100%,#385380)); /* Chrome,Safari4+ */
  844. background: -webkit-linear-gradient(top, #3876c2 0%,#385380 100%); /* Chrome10+,Safari5.1+ */
  845. background: -o-linear-gradient(top, #3876c2 0%,#385380 100%); /* Opera 11.10+ */
  846. background: -ms-linear-gradient(top, #3876c2 0%,#385380 100%); /* IE10+ */
  847. background: linear-gradient(to bottom, #3876c2 0%,#385380 100%); /* W3C */
  848. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */
  849. box-shadow: #111927 0px 0px 1px 0px;
  850. margin-top: -7px;
  851. }
  852. input.vis-network-configuration.range:focus {
  853. outline: none;
  854. }
  855. input.vis-network-configuration.range:focus::-webkit-slider-runnable-track {
  856. background: #9d9d9d; /* Old browsers */
  857. background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */
  858. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d9d9d), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  859. background: -webkit-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  860. background: -o-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Opera 11.10+ */
  861. background: -ms-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* IE10+ */
  862. background: linear-gradient(to bottom, #9d9d9d 0%,#c8c8c8 99%); /* W3C */
  863. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  864. }
  865. input.vis-network-configuration.range::-moz-range-track {
  866. width: 300px;
  867. height: 10px;
  868. background: #dedede; /* Old browsers */
  869. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  870. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  871. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  872. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  873. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  874. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  875. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  876. border: 1px solid #999999;
  877. box-shadow: #aaaaaa 0px 0px 3px 0px;
  878. border-radius: 3px;
  879. }
  880. input.vis-network-configuration.range::-moz-range-thumb {
  881. border: none;
  882. height: 16px;
  883. width: 16px;
  884. border-radius: 50%;
  885. background: #385380;
  886. }
  887. /*hide the outline behind the border*/
  888. input.vis-network-configuration.range:-moz-focusring{
  889. outline: 1px solid white;
  890. outline-offset: -1px;
  891. }
  892. input.vis-network-configuration.range::-ms-track {
  893. width: 300px;
  894. height: 5px;
  895. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  896. background: transparent;
  897. /*leave room for the larger thumb to overflow with a transparent border */
  898. border-color: transparent;
  899. border-width: 6px 0;
  900. /*remove default tick marks*/
  901. color: transparent;
  902. }
  903. input.vis-network-configuration.range::-ms-fill-lower {
  904. background: #777;
  905. border-radius: 10px;
  906. }
  907. input.vis-network-configuration.range::-ms-fill-upper {
  908. background: #ddd;
  909. border-radius: 10px;
  910. }
  911. input.vis-network-configuration.range::-ms-thumb {
  912. border: none;
  913. height: 16px;
  914. width: 16px;
  915. border-radius: 50%;
  916. background: #385380;
  917. }
  918. input.vis-network-configuration.range:focus::-ms-fill-lower {
  919. background: #888;
  920. }
  921. input.vis-network-configuration.range:focus::-ms-fill-upper {
  922. background: #ccc;
  923. }
  924. div.vis-color-picker {
  925. position:absolute;
  926. margin-top:-140px;
  927. margin-left:30px;
  928. width:293px;
  929. height:425px;
  930. padding: 10px;
  931. border-radius:15px;
  932. background-color:#ffffff;
  933. display:none;
  934. box-shadow: rgba(0,0,0,0.5) 0px 0px 10px 0px;
  935. }
  936. div.vis-color-picker div.vis-arrow {
  937. position: absolute;
  938. top:147px;
  939. left:5px;
  940. }
  941. div.vis-color-picker div.vis-arrow:after,
  942. div.vis-color-picker div.vis-arrow:before {
  943. right: 100%;
  944. top: 50%;
  945. border: solid transparent;
  946. content: " ";
  947. height: 0;
  948. width: 0;
  949. position: absolute;
  950. pointer-events: none;
  951. }
  952. div.vis-color-picker div.vis-arrow:after {
  953. border-color: rgba(255, 255, 255, 0);
  954. border-right-color: #ffffff;
  955. border-width: 30px;
  956. margin-top: -30px;
  957. }
  958. div.vis-color-picker div.vis-color {
  959. position:absolute;
  960. width: 289px;
  961. height: 289px;
  962. cursor: pointer;
  963. }
  964. div.vis-color-picker div.vis-brightness {
  965. position: absolute;
  966. top:313px;
  967. }
  968. div.vis-color-picker div.vis-opacity {
  969. position:absolute;
  970. top:350px;
  971. }
  972. div.vis-color-picker div.vis-selector {
  973. position:absolute;
  974. top:137px;
  975. left:137px;
  976. width:15px;
  977. height:15px;
  978. border-radius:15px;
  979. border:1px solid #ffffff;
  980. background: #4c4c4c; /* Old browsers */
  981. background: -moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 50%, #000000 51%, #111111 60%, #2b2b2b 76%, #1c1c1c 91%, #131313 100%); /* FF3.6+ */
  982. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(12%,#595959), color-stop(25%,#666666), color-stop(39%,#474747), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(60%,#111111), color-stop(76%,#2b2b2b), color-stop(91%,#1c1c1c), color-stop(100%,#131313)); /* Chrome,Safari4+ */
  983. background: -webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Chrome10+,Safari5.1+ */
  984. background: -o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* Opera 11.10+ */
  985. background: -ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* IE10+ */
  986. background: linear-gradient(to bottom, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%); /* W3C */
  987. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  988. }
  989. div.vis-color-picker div.vis-new-color {
  990. position:absolute;
  991. width:140px;
  992. height:20px;
  993. border:1px solid rgba(0,0,0,0.1);
  994. border-radius:5px;
  995. top:380px;
  996. left:159px;
  997. text-align:right;
  998. padding-right:2px;
  999. font-size:10px;
  1000. color:rgba(0,0,0,0.4);
  1001. vertical-align:middle;
  1002. line-height:20px;
  1003. }
  1004. div.vis-color-picker div.vis-initial-color {
  1005. position:absolute;
  1006. width:140px;
  1007. height:20px;
  1008. border:1px solid rgba(0,0,0,0.1);
  1009. border-radius:5px;
  1010. top:380px;
  1011. left:10px;
  1012. text-align:left;
  1013. padding-left:2px;
  1014. font-size:10px;
  1015. color:rgba(0,0,0,0.4);
  1016. vertical-align:middle;
  1017. line-height:20px;
  1018. }
  1019. div.vis-color-picker div.vis-label {
  1020. position:absolute;
  1021. width:300px;
  1022. left:10px;
  1023. }
  1024. div.vis-color-picker div.vis-label.vis-brightness {
  1025. top:300px;
  1026. }
  1027. div.vis-color-picker div.vis-label.vis-opacity {
  1028. top:338px;
  1029. }
  1030. div.vis-color-picker div.vis-button {
  1031. position:absolute;
  1032. width:68px;
  1033. height:25px;
  1034. border-radius:10px;
  1035. vertical-align: middle;
  1036. text-align:center;
  1037. line-height: 25px;
  1038. top:410px;
  1039. border:2px solid #d9d9d9;
  1040. background-color: #f7f7f7;
  1041. cursor:pointer;
  1042. }
  1043. div.vis-color-picker div.vis-button.vis-cancel {
  1044. /*border:2px solid #ff4e33;*/
  1045. /*background-color: #ff7761;*/
  1046. left:5px;
  1047. }
  1048. div.vis-color-picker div.vis-button.vis-load {
  1049. /*border:2px solid #a153e6;*/
  1050. /*background-color: #cb8dff;*/
  1051. left:82px;
  1052. }
  1053. div.vis-color-picker div.vis-button.vis-apply {
  1054. /*border:2px solid #4588e6;*/
  1055. /*background-color: #82b6ff;*/
  1056. left:159px;
  1057. }
  1058. div.vis-color-picker div.vis-button.vis-save {
  1059. /*border:2px solid #45e655;*/
  1060. /*background-color: #6dff7c;*/
  1061. left:236px;
  1062. }
  1063. div.vis-color-picker input.vis-range {
  1064. width: 290px;
  1065. height:20px;
  1066. }
  1067. /* TODO: is this redundant?
  1068. div.vis-color-picker input.vis-range-brightness {
  1069. width: 289px !important;
  1070. }
  1071. div.vis-color-picker input.vis-saturation-range {
  1072. width: 289px !important;
  1073. }*/