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.

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