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.

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