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.

1233 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.vis-option-container{
  701. display:block;
  702. width:495px;
  703. background-color: #ffffff;
  704. border:2px solid #f7f8fa;
  705. border-radius:4px;
  706. margin-top:20px;
  707. left:10px;
  708. padding-left:5px;
  709. }
  710. div.vis-network-configuration.button{
  711. display:block;
  712. width:495px;
  713. height:25px;
  714. vertical-align: middle;
  715. line-height:25px;
  716. background-color: #f7f8fa;
  717. border:2px solid #ceced0;
  718. border-radius:4px;
  719. margin-top:20px;
  720. left:10px;
  721. padding-left:5px;
  722. cursor: pointer;
  723. margin-bottom:30px;
  724. }
  725. div.vis-network-configuration.button.hover{
  726. background-color: #4588e6;
  727. border:2px solid #214373;
  728. color:#ffffff;
  729. }
  730. div.vis-network-configuration.item{
  731. display:block;
  732. width:495px;
  733. height:25px;
  734. vertical-align: middle;
  735. line-height:25px;
  736. }
  737. div.vis-network-configuration.item.s2{
  738. left:10px;
  739. background-color: #f7f8fa;
  740. padding-left:5px;
  741. border-radius:3px;
  742. }
  743. div.vis-network-configuration.item.s3{
  744. left:20px;
  745. background-color: #e4e9f0;
  746. padding-left:5px;
  747. border-radius:3px;
  748. }
  749. div.vis-network-configuration.item.s4{
  750. left:30px;
  751. background-color: #cfd8e6;
  752. padding-left:5px;
  753. border-radius:3px;
  754. }
  755. div.vis-network-configuration.header{
  756. font-size:18px;
  757. font-weight: bold;
  758. }
  759. div.vis-network-configuration.label{
  760. width:120px;
  761. height:25px;
  762. line-height: 25px;
  763. }
  764. div.vis-network-configuration.label.s3{
  765. width:110px;
  766. }
  767. div.vis-network-configuration.label.s4{
  768. width:100px;
  769. }
  770. div.vis-network-configuration.colorBlock{
  771. top:1px;
  772. width:30px;
  773. height:19px;
  774. border:1px solid #444444;
  775. border-radius:2px;
  776. padding:0px;
  777. margin:0px;
  778. cursor:pointer;
  779. }
  780. input.vis-network-configuration.checkbox {
  781. left:-5px;
  782. }
  783. input.vis-network-configuration.rangeinput{
  784. position:relative;
  785. top:-5px;
  786. width:60px;
  787. height:13px;
  788. padding:1px;
  789. margin:0;
  790. pointer-events:none;
  791. }
  792. input.vis-network-configuration.range{
  793. /*removes default webkit styles*/
  794. -webkit-appearance: none;
  795. /*fix for FF unable to apply focus style bug */
  796. border: 0px solid white;
  797. background-color:rgba(0,0,0,0);
  798. /*required for proper track sizing in FF*/
  799. width: 300px;
  800. height:20px;
  801. }
  802. input.vis-network-configuration.range::-webkit-slider-runnable-track {
  803. width: 300px;
  804. height: 5px;
  805. background: #dedede; /* Old browsers */
  806. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  807. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  808. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  809. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  810. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  811. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  812. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  813. border: 1px solid #999999;
  814. box-shadow: #aaaaaa 0px 0px 3px 0px;
  815. border-radius: 3px;
  816. }
  817. input.vis-network-configuration.range::-webkit-slider-thumb {
  818. -webkit-appearance: none;
  819. border: 1px solid #14334b;
  820. height: 17px;
  821. width: 17px;
  822. border-radius: 50%;
  823. background: #3876c2; /* Old browsers */
  824. background: -moz-linear-gradient(top, #3876c2 0%, #385380 100%); /* FF3.6+ */
  825. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3876c2), color-stop(100%,#385380)); /* Chrome,Safari4+ */
  826. background: -webkit-linear-gradient(top, #3876c2 0%,#385380 100%); /* Chrome10+,Safari5.1+ */
  827. background: -o-linear-gradient(top, #3876c2 0%,#385380 100%); /* Opera 11.10+ */
  828. background: -ms-linear-gradient(top, #3876c2 0%,#385380 100%); /* IE10+ */
  829. background: linear-gradient(to bottom, #3876c2 0%,#385380 100%); /* W3C */
  830. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3876c2', endColorstr='#385380',GradientType=0 ); /* IE6-9 */
  831. box-shadow: #111927 0px 0px 1px 0px;
  832. margin-top: -7px;
  833. }
  834. input.vis-network-configuration.range:focus {
  835. outline: none;
  836. }
  837. input.vis-network-configuration.range:focus::-webkit-slider-runnable-track {
  838. background: #9d9d9d; /* Old browsers */
  839. background: -moz-linear-gradient(top, #9d9d9d 0%, #c8c8c8 99%); /* FF3.6+ */
  840. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9d9d9d), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  841. background: -webkit-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  842. background: -o-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* Opera 11.10+ */
  843. background: -ms-linear-gradient(top, #9d9d9d 0%,#c8c8c8 99%); /* IE10+ */
  844. background: linear-gradient(to bottom, #9d9d9d 0%,#c8c8c8 99%); /* W3C */
  845. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9d9d9d', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  846. }
  847. input.vis-network-configuration.range::-moz-range-track {
  848. width: 300px;
  849. height: 10px;
  850. background: #dedede; /* Old browsers */
  851. background: -moz-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* FF3.6+ */
  852. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dedede), color-stop(99%,#c8c8c8)); /* Chrome,Safari4+ */
  853. background: -webkit-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* Chrome10+,Safari5.1+ */
  854. background: -o-linear-gradient(top, #dedede 0%, #c8c8c8 99%); /* Opera 11.10+ */
  855. background: -ms-linear-gradient(top, #dedede 0%,#c8c8c8 99%); /* IE10+ */
  856. background: linear-gradient(to bottom, #dedede 0%,#c8c8c8 99%); /* W3C */
  857. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dedede', endColorstr='#c8c8c8',GradientType=0 ); /* IE6-9 */
  858. border: 1px solid #999999;
  859. box-shadow: #aaaaaa 0px 0px 3px 0px;
  860. border-radius: 3px;
  861. }
  862. input.vis-network-configuration.range::-moz-range-thumb {
  863. border: none;
  864. height: 16px;
  865. width: 16px;
  866. border-radius: 50%;
  867. background: #385380;
  868. }
  869. /*hide the outline behind the border*/
  870. input.vis-network-configuration.range:-moz-focusring{
  871. outline: 1px solid white;
  872. outline-offset: -1px;
  873. }
  874. input.vis-network-configuration.range::-ms-track {
  875. width: 300px;
  876. height: 5px;
  877. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  878. background: transparent;
  879. /*leave room for the larger thumb to overflow with a transparent border */
  880. border-color: transparent;
  881. border-width: 6px 0;
  882. /*remove default tick marks*/
  883. color: transparent;
  884. }
  885. input.vis-network-configuration.range::-ms-fill-lower {
  886. background: #777;
  887. border-radius: 10px;
  888. }
  889. input.vis-network-configuration.range::-ms-fill-upper {
  890. background: #ddd;
  891. border-radius: 10px;
  892. }
  893. input.vis-network-configuration.range::-ms-thumb {
  894. border: none;
  895. height: 16px;
  896. width: 16px;
  897. border-radius: 50%;
  898. background: #385380;
  899. }
  900. input.vis-network-configuration.range:focus::-ms-fill-lower {
  901. background: #888;
  902. }
  903. input.vis-network-configuration.range:focus::-ms-fill-upper {
  904. background: #ccc;
  905. }
  906. div.vis-color-picker {
  907. position:absolute;
  908. margin-top:-140px;
  909. margin-left:30px;
  910. width:293px;
  911. height:425px;
  912. padding: 10px;
  913. border-radius:15px;
  914. background-color:#ffffff;
  915. display:none;
  916. box-shadow: rgba(0,0,0,0.5) 0px 0px 10px 0px;
  917. }
  918. div.vis-color-picker div.vis-arrow {
  919. position: absolute;
  920. top:147px;
  921. left:5px;
  922. }
  923. div.vis-color-picker div.vis-arrow:after,
  924. div.vis-color-picker div.vis-arrow:before {
  925. right: 100%;
  926. top: 50%;
  927. border: solid transparent;
  928. content: " ";
  929. height: 0;
  930. width: 0;
  931. position: absolute;
  932. pointer-events: none;
  933. }
  934. div.vis-color-picker div.vis-arrow:after {
  935. border-color: rgba(255, 255, 255, 0);
  936. border-right-color: #ffffff;
  937. border-width: 30px;
  938. margin-top: -30px;
  939. }
  940. div.vis-color-picker div.vis-color {
  941. position:absolute;
  942. width: 289px;
  943. height: 289px;
  944. cursor: pointer;
  945. }
  946. div.vis-color-picker div.vis-brightness {
  947. position: absolute;
  948. top:313px;
  949. }
  950. div.vis-color-picker div.vis-opacity {
  951. position:absolute;
  952. top:350px;
  953. }
  954. div.vis-color-picker div.vis-selector {
  955. position:absolute;
  956. top:137px;
  957. left:137px;
  958. width:15px;
  959. height:15px;
  960. border-radius:15px;
  961. border:1px solid #ffffff;
  962. background: #4c4c4c; /* Old browsers */
  963. 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+ */
  964. 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+ */
  965. 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+ */
  966. 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+ */
  967. 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+ */
  968. 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 */
  969. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  970. }
  971. div.vis-color-picker div.vis-new-color {
  972. position:absolute;
  973. width:140px;
  974. height:20px;
  975. border:1px solid rgba(0,0,0,0.1);
  976. border-radius:5px;
  977. top:380px;
  978. left:159px;
  979. text-align:right;
  980. padding-right:2px;
  981. font-size:10px;
  982. color:rgba(0,0,0,0.4);
  983. vertical-align:middle;
  984. line-height:20px;
  985. }
  986. div.vis-color-picker div.vis-initial-color {
  987. position:absolute;
  988. width:140px;
  989. height:20px;
  990. border:1px solid rgba(0,0,0,0.1);
  991. border-radius:5px;
  992. top:380px;
  993. left:10px;
  994. text-align:left;
  995. padding-left:2px;
  996. font-size:10px;
  997. color:rgba(0,0,0,0.4);
  998. vertical-align:middle;
  999. line-height:20px;
  1000. }
  1001. div.vis-color-picker div.vis-label {
  1002. position:absolute;
  1003. width:300px;
  1004. left:10px;
  1005. }
  1006. div.vis-color-picker div.vis-label.vis-brightness {
  1007. top:300px;
  1008. }
  1009. div.vis-color-picker div.vis-label.vis-opacity {
  1010. top:338px;
  1011. }
  1012. div.vis-color-picker div.vis-button {
  1013. position:absolute;
  1014. width:68px;
  1015. height:25px;
  1016. border-radius:10px;
  1017. vertical-align: middle;
  1018. text-align:center;
  1019. line-height: 25px;
  1020. top:410px;
  1021. border:2px solid #d9d9d9;
  1022. background-color: #f7f7f7;
  1023. cursor:pointer;
  1024. }
  1025. div.vis-color-picker div.vis-button.vis-cancel {
  1026. /*border:2px solid #ff4e33;*/
  1027. /*background-color: #ff7761;*/
  1028. left:5px;
  1029. }
  1030. div.vis-color-picker div.vis-button.vis-load {
  1031. /*border:2px solid #a153e6;*/
  1032. /*background-color: #cb8dff;*/
  1033. left:82px;
  1034. }
  1035. div.vis-color-picker div.vis-button.vis-apply {
  1036. /*border:2px solid #4588e6;*/
  1037. /*background-color: #82b6ff;*/
  1038. left:159px;
  1039. }
  1040. div.vis-color-picker div.vis-button.vis-save {
  1041. /*border:2px solid #45e655;*/
  1042. /*background-color: #6dff7c;*/
  1043. left:236px;
  1044. }
  1045. div.vis-color-picker input.vis-range {
  1046. width: 290px;
  1047. height:20px;
  1048. }
  1049. /* TODO: is this redundant?
  1050. div.vis-color-picker input.vis-range-brightness {
  1051. width: 289px !important;
  1052. }
  1053. div.vis-color-picker input.vis-saturation-range {
  1054. width: 289px !important;
  1055. }*/