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.

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