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.

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